fo-core: defer Status Viewer + Issue Filing into a lazily-loaded reference#452
Merged
Conversation
…t FO core Move the `## Status Viewer` (incl `### Captain-Facing State Display`) and `## Issue Filing` sections verbatim out of first-officer-shared-core.md into a new host-neutral references/fo-status-viewer.md, reached by a deferred-module pointer (AC-1: boot core -1908 chars, net-negative vs origin/main). Register fo-status-viewer.md's three anchors in foReferenceCores so the content-carriage closure guard proves the reference CARRIES the moved sections, not merely that it exists (AC-3). Add assertGreetReadsNoDeferredStatusReference + a committed multi-delta negative fixture (pre-greet Read of fo-status-viewer.md on a later delta); extend ClaudeTurn with per-turn read targets so the oracle can detect a pre-greet read; wire the oracle into the shallow-boot live lane alongside assertShallowBoot (AC-2). Co-Authored-By: Claude Opus 4.8 <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.
Defer the Status Viewer and Issue Filing guidance out of the boot-resident FO core — ~1,900 chars off every greet, loaded only when the FO answers a status question, mutates state, or files an issue.
What changed
## Status Viewer(incl. Captain-Facing State Display) and## Issue Filingverbatim into a new host-neutralreferences/fo-status-viewer.md, replaced in the boot core by a deferred-module pointer.Evidence
go test ./...green.Review guidance
Greet-independence is the load-bearing claim — proven by the live lane plus a multi-delta-negative oracle, not a prose assertion.
84