Skip to content

Release prep: CLI v0.1.0, spec workflow v2, scope guard fixes#58

Merged
AnExiledDev merged 1 commit intostagingfrom
feat/cli-features
Mar 14, 2026
Merged

Release prep: CLI v0.1.0, spec workflow v2, scope guard fixes#58
AnExiledDev merged 1 commit intostagingfrom
feat/cli-features

Conversation

@AnExiledDev
Copy link
Owner

Summary

  • CLI v0.1.0 (Experimental) — new codeforge index and codeforge container command groups, container proxy, plugin management updates
  • Spec Workflow v2 — 8 commands → 3 (/spec, /build, /specs), directory-based spec packages, Constitution support
  • Scope Guard v2.1.1 — fix /dev/null false positive, fix CWD drift via session-scoped persistence
  • Docs sweep — all changes reflected in commands reference, tools page, changelog, and container README

Test plan

  • cd cli && bun test — CLI tests pass
  • cd container && npm test — container plugin tests pass
  • cd docs && npm run build — docs site builds
  • Verify codeforge CLI marked experimental in all metadata
  • Verify no codeforge review mentions in docs/changelog
  • Verify scope guard: for f in *.md; do wc -l "$f" 2>/dev/null; done not blocked

…weep

CLI (experimental):
- Add index command group (build, search, show, stats, tree, clean)
- Add container command group (up, down, rebuild, exec, ls, shell)
- Add container proxy — auto-proxies into devcontainer from host
- Remove review command (never shipped)
- Mark CLI as experimental in all metadata and docs

Container (v2.1.0 + v2.1.1):
- Spec workflow v2 "Spec Packages" — 8 commands replaced with 3
- Scope guard: fix /dev/null false positive, fix CWD drift
- Updated agents, skills, system prompts, and config

Docs:
- Add CLI commands to reference, tools, and changelog pages
- Sync docs changelog with container CHANGELOG (v2.1.0, v2.1.1)
- Update spec workflow, agents, skills, and rules docs
@coderabbitai
Copy link

coderabbitai bot commented Mar 14, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 72ca5cbb-dad8-4232-b8d4-5dcfa86733eb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/cli-features
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can get early access to new features in CodeRabbit.

Enable the early_access setting to enable early access features such as new models, tools, and more.

@AnExiledDev AnExiledDev merged commit 750af19 into staging Mar 14, 2026
8 checks passed
@AnExiledDev AnExiledDev deleted the feat/cli-features branch March 14, 2026 01:31
AnExiledDev added a commit that referenced this pull request Mar 14, 2026
* Harden scope guard for worktrees and throttle Stop hook reminders

Scope guard: resolve CWD with realpath to prevent symlink mismatches,
detect .claude/worktrees/ and expand scope to project root so sibling
worktrees aren't blocked, and improve error messages with resolved paths.

Stop hooks: add 5-minute per-session cooldown to commit-reminder and
spec-reminder to prevent repeated firing in team/agent scenarios.

* Fix scope guard blocking project root from subdirectory CWDs

resolve_scope_root() now walks up from CWD looking for .git to find the
repository root, preventing false positives when working in subdirectories
like cli/, src/, or tests/. Safety ceiling at /workspaces prevents scope
from escaping the workspace boundary.

* Restructure as monorepo: move container to subdirectory

Move .git/ to project root so the entire workspace is tracked in a
single repository. Git detects all container-root files as renames
into the container/ subdirectory. Root-level files (.github/,
LICENSE.txt, CLA.md, CONTRIBUTING.md, .gitattributes) remain at the
repository root. The docs/ package was already tracked at docs/ and
is unaffected by this change.

This is a structural reorganization — no code changes.

* Add cli package to monorepo

Add codeforge-cli v0.1.0 (Bun/TypeScript) — a CLI for CodeForge
development workflows including session search, plan management,
and task tracking. The docs package was already tracked from the
previous repository structure.

* Update CI, configs, and docs for monorepo structure

CI workflows:
- Add working-directory: container to all container job steps
- Add path filters (container/**, cli/**) to trigger workflows selectively
- Add test-cli job using Bun for CLI package
- Update changelog/package.json paths for container subdirectory
- Update devcontainer feature publish paths

Config:
- Add repository.directory to container and cli package.json
- Remove docs:* scripts from container (docs is now a sibling package)
- Simplify container/.gitignore (root handles shared patterns)
- Update dependabot directories for monorepo layout

Docs:
- Add root README.md with monorepo overview and package table
- Add root CLAUDE.md with branching strategy and dev rules
- Update container/CLAUDE.md to reference root for shared rules

* Fix docs changelog sync path for monorepo structure

Update sync-changelog.mjs to read from container/.devcontainer/CHANGELOG.md
instead of the old .devcontainer/CHANGELOG.md path. Regenerate the docs
changelog page with updated source reference.

* Add plugin, config, and review commands to CLI

- plugin list/show/enable/disable/hooks/agents/skills subcommands
- config show/apply subcommands with settings writer
- review command with headless Claude runner and prompt templates
- Plugin/config/review schemas, loaders, and output formatters
- Platform detection utility
- Tests for plugin loader, plugin list, review output, review runner,
  settings writer, and platform detection

* Improve CLI core: register new commands, fix search and packaging

- Register plugin, config, and review subcommands in index.ts
- Remove fast-glob dependency (use native Bun glob)
- Fix build output to single file (--outfile dist/codeforge.js)
- Add npm publish metadata (keywords, files, prepublishOnly)
- Fix search filter edge cases with new tests
- Fix plan-loader path resolution
- Update session list/show formatting

* Add CLI release workflow, devcontainer feature, and CI improvements

- release-cli.yml: tag-triggered (cli-v*) npm publish + GitHub release
- codeforge-cli devcontainer feature: installs CLI globally via npm
- Register codeforge-cli feature in devcontainer.json
- Remove dead codeforge alias, add codeforge to cc-tools list
- CI: cross-platform test matrix (ubuntu, windows, macos)
- Fix docs changelog sync paths for monorepo structure

* Release prep: CLI v0.1.0, spec workflow v2, scope guard fixes, docs sweep (#58)

CLI (experimental):
- Add index command group (build, search, show, stats, tree, clean)
- Add container command group (up, down, rebuild, exec, ls, shell)
- Add container proxy — auto-proxies into devcontainer from host
- Remove review command (never shipped)
- Mark CLI as experimental in all metadata and docs

Container (v2.1.0 + v2.1.1):
- Spec workflow v2 "Spec Packages" — 8 commands replaced with 3
- Scope guard: fix /dev/null false positive, fix CWD drift
- Updated agents, skills, system prompts, and config

Docs:
- Add CLI commands to reference, tools, and changelog pages
- Sync docs changelog with container CHANGELOG (v2.1.0, v2.1.1)
- Update spec workflow, agents, skills, and rules docs

Co-authored-by: AnExiledDev <AnExiledDev@users.noreply.github.com>

* Bump container version to 2.1.1 for release

* Fix stale CLI changelog version and remove redundant CWD injector

- CLI CHANGELOG: "Ships with CodeForge v2.1.0" → "v2.1.1" to match
  the actual container release version
- Remove agent-system's inject-cwd.py and its SubagentStart hook —
  workspace-scope-guard already handles SubagentStart with superior
  scope-resolved CWD (worktree-aware, git-root-aware, session-persisted)

---------

Co-authored-by: AnExiledDev <AnExiledDev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant