You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[luv-336] fix: route OpenCode project pages by encoded cwd; drop ## Unreleased from changelog (#335)
* [luv-336] fix: route OpenCode project pages by encoded cwd, not basename
Align `ProjectFolder.name` for OpenCode projects with the URL-slug
encoding every other CLI uses (`encodeFolderName(worktree)`), replacing
the prior `proj.name`/`basename(worktree)` fallback. Fixes a 404 on the
project page for OpenCode-only sessions (e.g. /project/dev-purge → 404)
while session URLs already worked via `encodeCwdForUrl(cwd)`. As a side
benefit, OpenCode projects now merge with their Claude/Codex/Copilot/
Cursor/Pi/Gemini siblings into one row in `mergeProjectFolders`.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* [luv-336] feat: drop `## Unreleased`; ship every PR release-ready
Switches the changelog convention so every feature PR's entry lands
directly under a versioned `## <version> — <YYYY-MM-DD>` section
(matching package.json's current version + today's date). The `##
Unreleased` heading is gone — feature PRs already ship release-ready,
so a separate cut PR is no longer required for the changelog rename.
- `.failproofai/policies/workflow-policies.mjs`:
- new `release-prep-check` policy fires on `gh pr create` and
instructs the agent to put entries under a dated versioned heading,
creating that heading above the previous version's section if needed
- `changelog-check` updated to drop the `## Unreleased` reference
- `CHANGELOG.md`: drop the empty `## Unreleased` heading; this PR's
entry now sits directly under `## 0.0.10-beta.10 — 2026-05-09`
- `CLAUDE.md`: update the Changelog section to describe the new
no-`Unreleased` flow
Version bumps in `package.json` remain reserved for `luv-cut-*` PRs by
the existing `block-version-bumps` policy.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* [luv-336] fix: anchor workflow-policy regexes to command boundaries
The `release-prep-check`, `changelog-check`, `docs-check`, and
`pr-description-check` policies used unanchored regexes against the
Bash command string, so the literal phrases (`gh pr create`,
`git commit`, `git push`) matched anywhere — including inside HEREDOC
bodies or quoted arguments. Concrete failure: editing a PR body that
contained the words "gh pr create" inside backticks fired the new
`release-prep-check` policy on the `gh pr edit` invocation.
Extracts a shared `matchesCommand(cmd, verbPattern)` helper that
anchors the verb-phrase match to a command boundary (`^`, `;`, `&&`,
`||`, `|`, or newline). All four policies route through it.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* [luv-336] docs: trim 0.0.10-beta.10 changelog entries to one-liners
Per CLAUDE.md:425-435 the changelog convention is one short line per
entry with the PR number; the prior verbose paragraph form has been
trimmed to match. Implementation detail lives in commit messages and
the PR description. CodeRabbit flagged the previous verbosity on PR
#335.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
"Before creating the PR, ensure CHANGELOG.md entries land under a versioned section so the PR ships release-ready:\n"+
93
+
" 1. Read `version` from package.json (e.g. `0.0.10-beta.10`).\n"+
94
+
" 2. Ensure your changelog entries are under a `## <version> — <today's date in YYYY-MM-DD>` heading. If that heading does not exist yet, create it above the previous version's section. There is NO `## Unreleased` section — entries always go under a dated, versioned heading.\n"+
95
+
" 3. If you are on a `luv-cut-X.Y.Z` branch, the cut PR handles version bump itself.\n"+
96
+
" 4. Do NOT bump `package.json`'s `version` outside of `luv-cut-*` branches — that is enforced by `block-version-bumps`."
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
# Changelog
2
2
3
-
## Unreleased
3
+
## 0.0.10-beta.10 — 2026-05-09
4
+
5
+
### Fixes
6
+
- Route OpenCode project pages by encoded cwd (`encodeFolderName(worktree)`) instead of opencode's project name / basename, fixing the dashboard `/project/<slug>` 404 for OpenCode-only sessions and merging same-cwd OpenCode + other-CLI rows on the Projects page (#335).
7
+
-`.failproofai/policies/workflow-policies.mjs`: drop the `## Unreleased` section; new `release-prep-check` policy + updated `changelog-check` instruct the agent to put entries under a dated `## <version> — <YYYY-MM-DD>` heading so each PR ships release-ready, and all four workflow policies now anchor command-phrase matches to shell boundaries to avoid false-positives from HEREDOC bodies (#335).
0 commit comments