fix: give a role launch its own user-scoped load points #252
No reviewers
Labels
No labels
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agent-compose!252
Loading…
Reference in a new issue
No description provided.
Delete branch "native-home/968-user-scope-projection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two commits fixing where a composed role actually lands.
5b21ac8// wire claude's global skill load point by defaultskill_load_pointshad no defaults, soskillmountiterated only over harnesses the host config named explicitly. The fleet config namescodexalone, so~/.claude/skillswas never created and a Claude session ran with no global skills at all while Codex had 161. The instruction side never had this problem, becausecascade.DefaultLoadPointswires claude and codex whether or not config mentions them.DefaultSkillLoadPointsandResolveSkillLoadPointsnow mirror that, falsy opt-out included.SkillLoadPointsmoves toRawValueso a null can express the opt-out, and both resolvers share one helper. Naming one harness leaves the other on its default.Detail lives in the new
docs/skill-load-points.md, becausedocs/cascade.mdsat at 78 of its 80-line cap.f1097ac// project the role into the session home, base includedNative launch projected at repo scope into the session projects root, so the role landed at
<projects>/CLAUDE.mdwhile the user-scoped load point still pointed at the host file. A session therefore read the host's all-roles COMPOSED document and the selected role card at once, and role scoping was never enforced where the harness reads.AGENT_COMPOSE_RUNTIME_HOMEalready carried the staged home from the launch consumer but only reconfigured the harness process. Projection uses it now: when set, the bundle lands at the harness global load points.That replaces the host load point, which supplied the operating base, so a runtime-home launch composes the base ahead of the role card through the new
cascade.OperatingBase. A repo-scope launch still reads the host file and omits the base, which would otherwise double it.Notes
Pairs with agentic-os PR for the shadow-home side. Home-scope projection is only safe once that lands: without it,
.codexand.configare single symlinks in the session home and a projection would write through to the host copy.convergetests never isolated$HOME, which was harmless only while skill load points had no defaults to fall back on. Therunhelper now pins it beside the config.internal/evaluationfails onmainbefore these commits, nine cases of codex result-pack digest drift. Confirmed by stashing and re-running. Out of scope here, but it gates the release train.Refs coilyco-flight-deck/agentic-os#968