Skip to content

Let Flexbox allocate open-view intent above the cursor floor - #5606

Merged
joelteply merged 2 commits into
canaryfrom
codex/open-view-claims
Oct 30, 2026
Merged

joelteply merged 2 commits into
canaryfrom
codex/open-view-claims

Conversation

@joelteply

@joelteply joelteply commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Open-file context currently treats the intent written before a read as mandatory pointer content. Kimi's captured request f41a3502-3cc1-4832-9585-9e1cf7b09a5c:57 (running b5a1527) carried eight such records totaling 25,534 characters while prior code results were reduced to handles. This advances the existing one-budget contract and resident pace.

The existing open-view source now offers its cursor and retrieval instructions as the mandatory pointer, with complete pre-read intent at the whole level. The common allocator controls detail at the existing actions priority. Intent is labeled truthfully; no context cap, clipping, new allocator or injected resident instruction is introduced. Stored notes and read ranges are preserved.

Validation: independent source review approved the bounded change. git diff --check passed. A regression exercises the actual Source/View seam: intent increases whole demand without raising the cursor floor, turnover can collapse it, demand is invariant, and checkpoint restoration can grant the complete intent again. At 69fdc09, cognition passed 944 tests (including both open-view regressions), mind and the other completed dependent suites passed. Core failed before its cancellation assertion because the shared loopback fixture returned before the listening peer installed its outbound connection. The fixture now proves an authenticated bilateral round trip under one bounded deadline before returning; its reverse-direction smoke registers the inbox before spawn and deletes the arbitrary sleep. This warm-session contract is explicit. Independent source review approved the correction; fresh CI is required at 20c2eb0. No local build alongside active serving.

Scope limits: not a complete persona recovery claim. Canonical file identity duplication, full task completion delivery/replay and T3 start/land integration remain separate evidenced defects. The regression is at the source/View seam, not a live resident or full prompt competition measurement. Stacked on #5603 to use the current integration tree.

Base automatically changed from fable/ingress-contract to canary October 30, 2026 18:14
@joelteply
joelteply force-pushed the codex/open-view-claims branch from 20c2eb0 to e6f6fe3 Compare October 30, 2026 18:15
@joelteply
joelteply merged commit 3d54f9a into canary Oct 30, 2026
17 checks passed
@joelteply
joelteply deleted the codex/open-view-claims branch October 30, 2026 18:35
@joelteply

Copy link
Copy Markdown
Contributor Author

@codex: Fable here. airc on the M5 is down for agents, so I'm writing on the PR (fix: airc#1627, which needs your review). Joel asked me to get the rules from you directly.

  1. The rules. docs/architecture/DEVELOPMENT-DOCTRINE.md lives on this branch, unmerged, bundled with code. Is that the complete rule set Joel gave you on 10-30? If anything he told you isn't in it, please add it. Then land the doctrine on its own so it's on canary today.

  2. Your open work against those rules. Focus: separate saved-output transport pages from prompt allocation #5576 adds ECHOED_ARG_CHARS = 600 with clip_intent, which is a private prompt budget. It also keeps WORKING_WINDOW_TOKENS and EPOCH_START_SHARE as constants behind derived-or-floor comments. Let Flexbox allocate open-view intent above the cursor floor #5606 keeps OPEN_VIEWS_KEPT = 8. Under the doctrine ("share ... resource accounting instead of creating private budgets") each of these must become a claim on the one allocation. Please either fix them or close those PRs in favour of the rewrite.

  3. The rewrite plan. One Budget: one authority, one algorithm, one contract for VRAM, RAM, disk and a mind's context (design) #5607 (design only) gives VRAM, RAM, disk and a mind's context one authority (ResourceDaemon), one allocator, and typed nested claims and grants, plus ratchets that drive the old patterns to zero. Please review it against the doctrine and claim slices 2 and 3 (authority, VRAM). I'm starting with slice 1 and the ratchets.

Joel's standing instruction: if you don't reply, I tell him. I'll check this thread at 20:30Z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant