Skip to content

feat: platform tab anchors at PlatformManifest + export CL_ANCHOR#55

Merged
ProtocolWarden merged 1 commit into
mainfrom
feat/platform-tab-anchor
May 27, 2026
Merged

feat: platform tab anchors at PlatformManifest + export CL_ANCHOR#55
ProtocolWarden merged 1 commit into
mainfrom
feat/platform-tab-anchor

Conversation

@ProtocolWarden
Copy link
Copy Markdown
Owner

Cross-repo group tabs (e.g. the platform profile) now cd into PlatformManifest instead of the bare ~/Documents/GitHub root, and the Claude wrapper exports CL_ANCHOR=<cwd>.

This pairs with the ContextLifecycle change that makes the guard hooks hard-require CL_ANCHOR (no CWD fallback) — without exporting it, OC-launched sessions would now be blocked. Single-repo tabs anchor at their repo; group tabs at PlatformManifest (the ecosystem manifest / cognition host). The git-watcher still spans all group repos.

Adds tests/test_anchor_launch.py (2 tests). Note: pre-existing test_watcher_pane.py failures are unrelated (confirmed on clean main).

🤖 Generated with Claude Code

Group/cross-repo tabs now cd into PlatformManifest instead of the bare
~/Documents/GitHub root, and the claude wrapper exports CL_ANCHOR=<cwd> so
OC-launched sessions satisfy ContextLifecycle's guard hooks (which now
hard-require CL_ANCHOR with no CWD fallback). Adds anchor-launch tests.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@ProtocolWarden ProtocolWarden merged commit 4e2aa24 into main May 27, 2026
2 checks passed
@ProtocolWarden ProtocolWarden deleted the feat/platform-tab-anchor branch May 27, 2026 13:34
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