feat: platform tab anchors at PlatformManifest + export CL_ANCHOR#55
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cross-repo group tabs (e.g. the platform profile) now
cdinto PlatformManifest instead of the bare~/Documents/GitHubroot, and the Claude wrapper exportsCL_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-existingtest_watcher_pane.pyfailures are unrelated (confirmed on clean main).🤖 Generated with Claude Code