feat(boot): surface oldest-paused age + cliff in cross_passage#440
Merged
Conversation
A bare `suspended` count in cross_passage reads the same whether the oldest pause is hours or months old, so a long-forgotten thread hides inside the count. Add `oldest_suspended_age_days` and `oldest_suspended_cliff` to each passage orientation summary (null when nothing is paused), turning boot into a forgotten-thread alarm. Text mode renders an `↳ oldest paused Nd ago: <cliff>` line when the oldest pause is at least a day old. Found by dogfood: an agora play sat suspended 39 days with its conclusion intact, because re-entry only ever saw the count. This closes the other half of records-outlive-writers — records must also be *findable* on re-entry, not merely countable (the PassageOrientation type comment already flagged this gap). - PassageOrientation: optional age + cliff fields, documented as the staleness cue the count can't carry - agora orientation: pick the longest-paused play (oldest last-suspension timestamp), expose its age in whole days + closing cliff - bootRender: emit the alarm line under the passage (>= 1 day threshold) - schema: extend cross_passage entry-shape contract - tests: assert fields populate when paused, stay null when clean
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.
Why
A bare
suspendedcount ingate boot'scross_passagereads the same whether the oldest pause is two hours or two months old — so a long-forgotten thread hides inside the count. ThePassageOrientationSummarytype comment already named this gap: "records must also be findable on re-entry... substrate that exists on disk but isn't surfaced at orientation might as well be silent." The count surfaces existence, but not staleness, and staleness is the cue an agent needs.Found by dogfood: an agora play sat
suspended39 days with its conclusion fully intact (a four-move discussion that had reached a decision), because every re-entry only ever sawagora: ... (3 paused)and skimmed past it. The thread wasn't lost — it was uncountable as stale.What
Add two optional fields to each passage's orientation summary (null when nothing is paused):
oldest_suspended_age_days— whole days since the longest-paused record was suspendedoldest_suspended_cliff— that record's one-line closing cliffThis turns boot into a forgotten-thread alarm. Text mode renders an alarm line under the passage when the oldest pause is at least a day old:
Full cliff/invitation prose still lives at each passage's own read verbs (
agora show); orientation carries only the single line that lets an agent decide resume-now vs leave-paused without walking the records — consistent with the existing "count + recency cues, detail stays at read verbs" split.Changes
PassageOrientation— two optional fields, documented as the staleness cue the count can't carrybootRender— emit the alarm line under the passage (≥ 1 day threshold; clean board stays silent — voice budget)schema— extend thecross_passageentry-shape contract (schema-as-contract)crossPassageBoot.test.ts)Design notes
records-outlive-writers: records must be findable on re-entry, not merely countable.Tests
New assertions in
crossPassageBoot.test.tspass (tscclean). Pre-existing failures in this working tree (lore-scope.sh,#239 --executordeprecation) are unrelated to this change — they touch neither the orientation path nor the renderer, and reproduce onmainwithout this branch.