Skip to content

Turn adapter-less deferred modules into non-user-invocable skills + cut self-referential contract rhetoric#457

Open
clkao wants to merge 1 commit into
mainfrom
spacedock-ensign/deferred-modules-to-skills-and-rhetoric-trim
Open

Turn adapter-less deferred modules into non-user-invocable skills + cut self-referential contract rhetoric#457
clkao wants to merge 1 commit into
mainfrom
spacedock-ensign/deferred-modules-to-skills-and-rhetoric-trim

Conversation

@clkao

@clkao clkao commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Slim the first-officer contract: convert two adapter-less deferred references into non-user-invocable skills and cut self-referential rhetoric, netting a leaner boot core.

What changed

  • Convert fo-status-viewer + fo-write-core references into user-invocable:false skills carrying their when-to-load in frontmatter.
  • Collapse the four-entry deferred-modules registry into one ## Deferred load points block.
  • Cut self-referential rhetoric (host-neutral labels, self-describing headers, named-by parentheticals) across the FO cores.
  • Wire ClaudeTurn.SkillNames parallel to ReadTargets and re-point the AC-2 greet oracle to skill invocations.
  • Rewrite both registry-coupled contractlint tests and add a dead-path grep gate.

Evidence

  • contractlint + ensigncycle + journeymetrics green; full go test ./... green.
  • AC-1 measured: −1924 B net-negative vs origin/main (independently re-confirmed byte-for-byte).
  • Detached adversarial audit CLEAN — reachability, AC-2 non-hollow later-delta, no-behavior-loss, AC-1 all confirmed.

nt

…ble skills + trim self-referential rhetoric

Turn the adapter-less deferred FO modules (fo-status-viewer, fo-write-core)
into non-user-invocable skills whose SKILL.md description carries the
when-to-load, and cut the self-referential contract rhetoric the lean-contract
deferrals accreted.

Part A — skill conversion:
- Add skills/fo-status-viewer/SKILL.md + skills/fo-write-core/SKILL.md
  (user-invocable:false, description carries the load-point, section bodies
  verbatim), mirroring present-gate / feedback-rejection-flow.
- Delete references/fo-status-viewer.md + references/fo-write-core.md.
- Collapse the four-entry `## Deferred Modules (registry)` into a terse
  `## Deferred load points` block: two Skill(...) invocations + two
  references/*.md, one shared greet-guard, no arrow-taxonomy.
- Re-point the three cross-refs off the deleted paths (feedback-rejection-flow,
  claude runtime adapter, migrated status-viewer body).

Part B — rhetoric trim: cut the `(host-neutral)` header labels, the
self-describing "Lazily loaded ... never reads it" headers, and the
`(named by the boot-resident core)` parentheticals across the shared core,
the Claude runtime adapter, and the dispatch/merge references.

Test wiring:
- journeymetrics: ClaudeTurn.SkillNames extracted parallel to ReadTargets
  (per-block + later-delta merge + fresh-turn init).
- ensigncycle: retire the Read-based greet oracle for
  assertGreetInvokesNoDeferredFOSkill (keys on the skill argument; present-gate
  allowed pre-greet), with a dedicated later-delta RED control and an augmented
  GREEN fixture carrying a pre-greet Skill(present-gate).
- contractlint: rewrite both registry-coupled tests for the new shape
  (deferredSkillCores + spacedock:<name> skill-anchor check;
  `## Deferred load points` fold), add the unguarded-re-point grep gate.
- docs/runtime-support.md: state the refined reference-vs-skill discriminator
  (host binding location, not adapter-loaded-alongside).

AC-1 net byte delta over the affected set vs origin/main: -1924 B.
go build ./... and go test ./... green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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