Skip to content

fix(sessions): track context window provenance - #124303

Merged
fuller-stack-dev merged 58 commits into
openclaw:mainfrom
fuller-stack-dev:fix/session-context-token-freshness
Aug 18, 2026
Merged

fuller-stack-dev merged 58 commits into
openclaw:mainfrom
fuller-stack-dev:fix/session-context-token-freshness

Conversation

@fuller-stack-dev

@fuller-stack-dev fuller-stack-dev commented Aug 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • record whether a persisted session context window came from runtime telemetry, a runtime configured with an authored cap, or ordinary config/model resolution
  • persist the producing provider/model/harness ownership tuple and invalidate the grouped context state across model, runtime, reset, transcript rotation, command, auto-reply, cron, and settled-turn lifecycle changes
  • share the typed trust rule across Gateway rows, interactive /status, and CLI/Gateway JSON status
  • keep current authored caps authoritative, clamp effective context to a lower native window, and preserve locked native-session ownership

Root cause

SessionEntry.contextTokens was an unqualified last-run cache. After a same-provider/model OpenClaw-to-Codex transition, the current runtime could resolve to Codex while the prior OpenClaw 272k window still won. Fresh/upgraded entries without producing-harness provenance had the same problem, and transcript/budget fallback or status readers could reintroduce the stale value after the Gateway row itself was corrected.

The producer already has typed provider/model/harness and context-window facts. This change records those facts where they occur, clears them at lifecycle ownership changes, and consumes them only when the persisted producer tuple still matches the current selection. It does not infer provenance from UI state, tool text, or provider-specific strings.

Observable behavior

  • a fresh-install/legacy 272k entry with no producing harness/source resolves the current same-model Codex/default 1M window
  • a persisted 272k OpenClaw run resolves 1M after the same model moves to Codex
  • stale transcript and budget telemetry remain historical after restart and cannot retake current-window ownership
  • matching runtime-observed telemetry remains authoritative when no current authored cap supersedes it
  • an authored effective cap is clamped by a lower non-fixed native window without inflating lower discovered budgets or weakening fixed-provider contracts
  • locked sessions preserve their session-owned native window in Gateway, /status, and JSON status
  • successful settled-turn recovery retains the authoritative context value and source instead of falling back to an outer stale budget
  • /new, reset, message-cut rotation, model/runtime/harness changes, and repair paths clear associated provenance atomically

The effective Codex window remains 1M while the catalog-native maximum remains 1.05M. The configured 700k native auto-compaction threshold is unchanged, and the configured runtime remains Codex.

Verification

  • Unmodified-main red: same provider/model moved from OpenClaw272k to Codex while sessions.list retained 272k (run 31906395919).
  • Source-blind public status red on fb372b0: Gateway projected Codex1M/native1.05M, but CLI status, JSON status, and intercepted /status rendered stale272k (run 32086317535).
  • Source-blind public status green on ee59e7b: after an exact Gateway restart, all three status surfaces rendered Codex1M; nested272k telemetry stayed historical; no700k appeared (run 32087923413).
  • Final lifecycle/status proof: settled finalization 3/3, interactive status 11/11, summary 34/34, Gateway 181/181, and test types passed (run 32097237838).
  • Latest relevant main integration: Gateway 182/182 and settled finalization 3/3 passed (run 32098618090). The final signed main refresh touched only CLI transport errors and upgrade-survivor tooling.
  • Exact branch autoreview and TruffleHog are clean. Hosted exact-head CI and ClawSweeper re-review are required before merge.

No live Codex credential was available for source-blind proof, so the Codex transition used public config/session/Gateway surfaces rather than claiming a credentialed Codex turn.

Dependency contract

OpenClaw pins @openai/codex 0.147.0. Direct inspection of sibling Codex tag rust-v0.147.0 (be6e8eac029b183056b7e4402879f15d2c85f61b) confirmed:

  • codex-rs/app-server-protocol/src/protocol/v2/thread.rs:1579-1614 defines the optional model_context_window notification field
  • codex-rs/app-server/src/bespoke_event_handling.rs:1576-1591 emits the live value
  • codex-rs/models-manager/src/model_info.rs:25-34 applies the authored window clamp

OpenClaw forwards the authored cap to Codex and records observed notification provenance without parsing text.

Scope

  • Production: +364/-166 (net +198), justified by the typed producer/lifecycle ownership boundary and its shared consumers
  • Tests: +1317/-54 (net +1263)
  • No SQLite schema-version change, Gateway protocol change, config/default surface, locale change, provider-accounting change, or compaction-threshold change
  • Independent of the landed native preflight/compaction routing repair in fix(agents): allow required-preflight native Codex compaction #120197 and provider accounting work

Related: #124207, #118678.

@clawsweeper

clawsweeper Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime agents Agent runtime and tooling extensions: codex size: L maintainer Maintainer-authored PR labels Aug 15, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 15, 2026
@clawsweeper

clawsweeper Bot commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 18, 2026, 6:50 AM ET / 10:50 UTC.

ClawSweeper review

What this changes

This PR adds provenance to persisted session context windows and applies one projection rule to Gateway, CLI, interactive status, JSON status, and cron finalization.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

The shared resolver removes current main’s unqualified same-model persisted-window path. Keep this protected PR open for maintainer review because the required direct inspection of the pinned Codex source could not be completed in this environment.

Priority: P1
Reviewed head: 636a4bb70bd1748e1c2e90bd27f897ad23aa29b9
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The shared ownership repair and focused coverage are strong, with direct dependency-contract verification still required.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored PR includes linked after-fix Gateway/CLI/status evidence; the external-contributor proof gate does not apply.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored PR includes linked after-fix Gateway/CLI/status evidence; the external-contributor proof gate does not apply.
Evidence reviewed 7 items Current-main failure path: Current main compares persisted context only by provider/model and can retain the stale value without checking the producing harness.
Shared owner boundary: Unlocked telemetry is trusted only for an exact provider/model/harness match; authored caps and locked sessions have explicit rules.
Interactive-status repair: Interactive status now uses the shared projection helper rather than its former local precedence chain.
Findings None None.
Security None None.

Live Verification

Command: pnpm openclaw sessions --help

Result: PASS (completed)

pnpm openclaw sessions --help
runner@runnervmzvulz:/tmp/clawsweeper-live-proof-124303-fDajkc/target$ pnpm openclaw sessions --help
$ node scripts/run-node.mjs sessions --help
pnpm openclaw sessions --help
[openclaw] Building TypeScript (dist is stale: missing_build_stamp - build stamp missing).
[openclaw] Building bundled plugin assets.
[canvas] build: node scripts/bundle-a2ui.mjs
[log] ‹DIR›/a2ui.bundle.js  chunk │ size: 399.88 kB
[log]
[success] rolldown v1.2.0 Finished in 47.59 ms
[diffs] build: node --import tsx ../../scripts/build-diffs-viewer-runtime.mts curated
[diffs-language-pack] build: node --import tsx ../../scripts/build-diffs-viewer-runtime.mts full
[discord] build: node --import tsx ../../scripts/build-discord-activity-sdk.mts
[tsdown-build] invocation 1/2 finished in 0.7s
node_modules/web-tree-sitter/web-tree-sitter.js (2343:30) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
      ╭─[ node_modules/web-tree-sitter/web-tree-sitter.js:2343:31 ]
      │
 2343 │           ASM_CONSTS[start] = eval(func);
      │                               ──┬─
      │                                 ╰─── Use of direct ˋevalˋ here.
      │
      │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
──────╯

node_modules/web-tree-sitter/web-tree-sitter.js (2366:32) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
      ╭─[ node_modules/web-tree-sitter/web-tree-sitter.js:2366:33 ]
      │
 2366 │           moduleExports[name] = eval(func);
      │                                 ──┬─
      │                                   ╰─── Use of direct ˋevalˋ here.
      │
      │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
──────╯

node_modules/playwright-core/lib/coreBundle.js (65821:28) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
       ╭─[ node_modules/playwright-core/lib/coreBundle.js:65821:29 ]
       │
 65821 │               const value = eval(ˋ(${expr})ˋ);
       │                             ──┬─
       │                               ╰─── Use of direct ˋevalˋ here.
       │
       │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
───────╯

node_modules/playwright-core/lib/coreBundle.js (65828:28) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
       ╭─[ node_modules/playwright-core/lib/coreBundle.js:65828:29 ]
       │
 65828 │               const value = eval(ˋ(${expr})ˋ);
       │                             ──┬─
       │                               ╰─── Use of direct ˋevalˋ here.
       │
       │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
───────╯

[tsdown-build] invocation 2/2 finished in 14.4s
[plugin-control-plane-loads] verified 36 built modules with native require and checked doctor closures
runtime-postbuild: 10 phases completed in 4453ms (slowest: built plugin control-plane loads 3683ms)
│
◇

OpenClaw 2026.8.1 (636a4bb) — All your chats, one OpenClaw.

Usage: openclaw sessions [options] [command]

List stored conversation sessions

Options:
  --active ‹minutes›  Only show sessions updated within the past N minutes
  --agent ‹id›        Agent id to inspect (required for multiple explicit agents)
  --all-agents        Aggregate sessions across all configured agents (default: false)
  -h, --help          Display help for command
  --json              Output as JSON (default: false)
  --limit
… output truncated …

Assertions:

  • PASS expect_output: sessions

How this fits together

Agent runs persist a context-window value with its producing provider, model, and harness. Session readers combine those facts with the current selection to present the active budget.

flowchart LR
A[Agent runtime] --> B[Persisted session metadata]
C[Current provider and model] --> D[Provenance resolver]
B --> D
D --> E[Gateway session list]
D --> F[CLI sessions]
D --> G[Status output]
D --> H[Cron finalization]
Loading

Decision needed

Question Recommendation
Can a maintainer complete or explicitly waive direct inspection of Codex 0.147.0 before this protected session-state change is merged? Verify the pinned Codex contract: Inspect the cited Codex protocol field, emitter, and authored-window behavior, then continue normal merge review.

Why: Repository policy requires direct sibling-Codex source inspection for this dependency-backed behavior, but that checkout was unavailable here.

Before merge

  • Resolve merge risk (P1) - Existing unlocked rows without complete producer provenance will refresh from current policy after upgrade, while locked rows retain their stored native window.
  • Complete next step (P2) - The protected PR has no remaining source-level finding, but merge review must wait for direct pinned-Codex inspection and exact-head gating.
Agent review details

Security

None.

PR surface

Source +381, Tests +1592. Total +1973 across 67 files.

View PR surface stats
Area Files Added Removed Net
Source 36 681 300 +381
Tests 31 1646 54 +1592
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 67 2327 354 +1973

Review metrics

Metric Value Why it matters
Production versus test delta production +364/-166; tests +1317/-54 The stated fix adds a shared persisted-session ownership boundary with extensive cross-reader regression coverage.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/commands/doctor/shared/codex-route-session-repair.ts, serialized state: src/agents/tools/sessions-list-tool.test.ts, serialized state: src/auto-reply/reply/agent-runner-session-reset.test.ts, serialized state: src/auto-reply/reply/session-usage.ts, serialized state: src/auto-reply/reply/session.test.ts, serialized state: src/commands/sessions.acp-runtime-metadata.test.ts, and 27 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Verify upgrade behavior before merge (recommended)
    Confirm that unlocked legacy rows refresh from current policy while locked rows retain their session-owned window.
  2. Pause pending dependency verification
    Do not merge until direct inspection of the pinned Codex contract is possible.

Technical review

Best possible solution:

Keep one typed provenance rule at the session boundary, verify the pinned Codex notification contract directly, then merge after exact-head validation.

Do we have a high-confidence way to reproduce the issue?

Yes—source-reproducible: current main accepts a same-provider/model persisted context window without checking its producing harness; the PR’s focused status test encodes that transition.

Is this the best way to solve the issue?

Unclear—the shared resolver is the appropriate owner boundary, but the dependency-backed Codex behavior cannot receive a final best-fix verdict without direct source inspection.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 2d5334fb42b6.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-authored PR includes linked after-fix Gateway/CLI/status evidence; the external-contributor proof gate does not apply.
  • remove proof: sufficient: Current real behavior proof status is not_applicable, not sufficient.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: A stale context window can make session status disagree with the active runtime budget.
  • merge-risk: 🚨 compatibility: Existing persisted session rows receive new provenance interpretation after upgrade.
  • merge-risk: 🚨 session-state: The PR changes trust and lifecycle-clearing rules for durable session context metadata.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-authored PR includes linked after-fix Gateway/CLI/status evidence; the external-contributor proof gate does not apply.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Blame ties the unqualified persisted-window branch on current main to his recent status work. (role: recent current-main status-surface contributor; confidence: medium; commits: ad475ce33ada; files: src/status/status-message.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Perform the direct pinned-Codex source inspection before merge.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (22 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-18T03:24:20.359Z sha 31311f8 :: found issues before merge. :: [P1] Verify the pinned Codex token-usage contract before merge
  • reviewed 2026-08-18T03:48:19.615Z sha 91935f9 :: found issues before merge. :: [P1] Preserve runtime provenance through settled-turn finalization | [P1] Do not cap a locked window in interactive status | [P1] Preserve locked windows in the JSON status summary
  • reviewed 2026-08-18T03:55:19.028Z sha 6a3a52f :: found issues before merge. :: [P1] Preserve runtime provenance through settled-turn finalization
  • reviewed 2026-08-18T04:13:29.746Z sha 3b6e002 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-18T04:36:43.697Z sha dfb6dc5 :: found issues before merge. :: [P1] Route every session-context projection through provenance
  • reviewed 2026-08-18T08:27:00.993Z sha f4c8adb :: found issues before merge. :: [P1] Project cron fallback through the provenance resolver
  • reviewed 2026-08-18T10:03:01.085Z sha 6bc0572 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-18T10:23:42.943Z sha be1ec8c :: found issues before merge. :: [P1] Route interactive status through the shared context projection

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Exact head 403633697c75771e51ba7193d09f5fc2ad0d53df repairs the prior hosted failures without weakening the provenance invariant:

  • reserves contextTokensSource in the plugin slot-key completeness contract
  • gives existing context-window fixtures an explicit matching runtime producer instead of restoring source-less ownership
  • exact named reserved-slot and auto-reply provenance tests passed
  • tsgo:prod and check:test-types passed on Testbox run 31914472114
  • three exact Gateway regressions, all 123 extension boundary compiles, and formatting passed on run 31915158603
  • final exact-branch autoreview is clean (0.96), and current origin/main is an ancestor

The PR body now states accurately that source-blind run 31911834408 concluded cancelled; only its independently captured raw results are claimed.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 15, 2026
@fuller-stack-dev

fuller-stack-dev commented Aug 16, 2026 •

Copy link
Copy Markdown
Member Author

Exact-head refresh after the canonical branch advanced:

  • Head: 81e61304d435758a6b7fe1c7e53975bc0dc7673a
  • Merged origin/main at 5626a79cc836d95d236debd720a34fc2dcdcc685 with a signed, non-rewriting merge.
  • The only newly inherited change is test(tooling): deduplicate updater deployment fixtures #124304's updater deployment fixture deduplication (test/scripts/openclaw-live-updater.test.ts); it does not intersect session provenance, accounting, Gateway projection, or their tests, so the focused behavior proof remains valid.
  • Exact-head Autoreview: clean, no actionable findings (0.97 confidence); TruffleHog scan clean.
  • git diff --check origin/main...HEAD: clean.

Hosted CI is restarting on this exact head. @clawsweeper re-review

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Canonical moved once more while CI was starting. Updated without rebasing or rewriting:

  • Exact head: e368f676ad7b9812aabf82cea83e339c022fc6e8
  • Signed merge includes origin/main at 38e0ae6ec8517ec2d64070f9ae52ac70e62c12e8.
  • The intervening commit is fix(ui): GitHub link hovercard closes before the pointer can reach it #124274 and changes only GitHub-hovercard UI/runtime/styles/tests; no producer provenance, persistence, Gateway projection, plugin-slot, or type-test overlap.
  • Exact-head Autoreview: clean, no actionable findings (0.98); TruffleHog clean.
  • Latest-main ancestry and git diff --check both pass.

Hosted CI is restarting on this head. @clawsweeper re-review

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Latest canonical refresh completed without rewriting:

  • Exact head: 71c5b4eca74778308edf5da741e5da74eebe8869
  • Signed merge includes origin/main at eb13f5719f028c49c94ea80faecd8b0b44ea401e.
  • The sole new canonical change, test(plugins): deduplicate publication fixtures #124312, is limited to plugin-publication test-fixture deduplication and does not overlap session provenance, persistence, Gateway projection, reserved slots, or focused tests.
  • Exact-head Autoreview: clean, no actionable findings (0.98); TruffleHog clean.
  • Latest-main ancestry and git diff --check pass.

Hosted CI is restarting on this exact head. @clawsweeper re-review

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head be1ec8c37ebe10000c89dfcd210f9aff97b65608 contains the latest canonical main by signed non-rewriting merges. The intervening Slack/UI/worker lifecycle changes have no context-provenance owner overlap; the PR diff remains the reviewed owner-boundary repair. Focused projection suites passed 270 tests and exact branch autoreview found no P0/P1 issues. The pinned Codex 0.147.0 source gate was directly inspected at tag be6e8eac029b: codex-rs/app-server-protocol/src/protocol/v2/thread.rs:1579-1614, codex-rs/app-server/src/bespoke_event_handling.rs:1576-1591, and codex-rs/models-manager/src/model_info.rs:25-36.

@clawsweeper

clawsweeper Bot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 18, 2026
@fuller-stack-dev

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head 636a4bb70bd1748e1c2e90bd27f897ad23aa29b9 resolves the interactive-status P1 at the canonical owner. A focused formatter regression was red (11/272k), then green (11/1.0m) after routing interactive /status through resolveProjectedSessionContextTokens; the duplicate status precedence branch was removed. Adjacent status, fallback, locked-session, Gateway, provenance, and JSON-summary controls pass (338 tests), and exact branch P1 autoreview is clean. Direct pinned Codex 0.147.0 inspection remains satisfied at tag be6e8eac029b in model_info.rs:25-36, thread.rs:1579-1614, and bespoke_event_handling.rs:1576-1591.

@clawsweeper

clawsweeper Bot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 18, 2026
@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Merged via squash.

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

Labels

agents Agent runtime and tooling commands Command implementations extensions: codex gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant