Repository navigation
feat(desk): add SA-4 operational read projections and retire B6 - #1226
Conversation
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
Security findingsAdvisory findings (1)
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3d5efb3e36
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f5533973d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
AI Code Review (opencode /
|
AI Code Review (opencode /
|
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ef9faa4d31
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
🛡️ Codex Security Review · Automatically triggered
Here are some automated security review suggestions for this pull request.
Reviewed commit: ef9faa4d31
ℹ️ About Codex security reviews in GitHub
This is an experimental Codex feature. Security reviews are triggered when:
- You comment "@codex security review"
- A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review
Once complete, Codex will leave suggestions, or a comment if no findings are found.
- Owner-decision queue records stale and unknown-freshness candidates it omits; the 12A queue and decisions inbox treat that source as incomplete instead of verified_empty. - Accounts derive readback layer availability from readable field and execution-mode evidence, not from layer envelope presence. - Live GET readbacks admit one in-flight read per actor and a 5-read burst per 30 s window, held in DO memory so GET stays write-free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011iHeYdZHqdsDyVsVxzUJLA
|
@codex review Generated by Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c3641fda7d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
Stored readbacks outlive their deployment evidence TTL. The accounts rollup now re-checks observed_at + ttl_seconds against the request time and treats expired or undatable evidence as stale, so its observed comparisons no longer roll up to match or drift. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011iHeYdZHqdsDyVsVxzUJLA
|
@codex review Generated by Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1a721ea7eb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Status: blocked on an owner scope decision. No push yet. The open P1 (
The open P2 on Generated by Claude Code |
- Frontend N1 guards and types accept the optional fleet_mode_summary, owner_queue_12a, book runtime fields and readback_9a exactly as the schemas define them, all still closed. Tests build the fields from the real producers and require guard and schema to agree. - saved_vs_platform compares explicit execution modes, so a dry_run versus live drift surfaces without deployment evidence. - Regenerate the embedded v2 asset map for the rebuilt frontend. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011iHeYdZHqdsDyVsVxzUJLA
|
@codex review Generated by Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2884d62a72
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
The accounts rollup reuses a stored readback only when its saved_revision equals the target's current revision and its recorded broker environment and account suffix match the current config. Otherwise the broker reports an unknown readback with no layer evidence. Tests pin the snapshot's revision and identity. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011iHeYdZHqdsDyVsVxzUJLA
|
@codex review Generated by Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a200e682aa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review The only finding on Generated by Claude Code |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
AI assistance
Gemini (Antigravity agent) authored and verified the changes against repository schemas, fixtures, and acceptance tests.
What changed
Completed SUPPLY-A SA-4 Desk Operational Read & Readback Contracts across 6 staged commits (
SA4-W1..SA4-W6):schemas/desk/{common,ribbon,n1-ribbon,overview,n1-overview,readback,accounts,n1-accounts}.json: Added optionalstatus: "not_enabled"toDisabledActionand closed optional contracts forFleetModeSummary(8A),Readback*9A(9A:saved_settings,platform_configuration,observed_deployment,comparisons,actions), andOwnerQueue12A(12A), keeping every object strictlyadditionalProperties: falseand preserving zero newn1-overview/n1-accountsregressions.web/strategy-switch-console/application/console_api/runtime_readback.js,desk/{ribbon,overview,accounts,readback}.js,runtime_instances/durable_object.js:projectFleetExecutionMode,fleet_mode_summary) and preservedreadywhen upstream target mode is omitted (8A)."desk_readback_read"withread_only: trueonreadAccountSettings(bypassingreadRiskProfileAuthority), keepingGET /api/desk/readbackszero-writer and three-layer split (9Areapply_saved&adopt_platformstay"not_enabled"), while preservingPOSTrefresh 429/TTL/replay behavior.projectUnifiedOwnerQueue12A) consumingprojectCredentialCalendar®ISTERED_CREDENTIALS(12A) and propagatingtruncated/corrupt_omitted_countcompleteness without silent omission.SA4-W5): RetiredB6(action:desk_readback_fresh) fromweb/strategy-switch-console/application/read_contracts.js,tests/fixtures/read-contract-exceptions.json,tests/fixtures/read-contract-runtime-manifest.json,docs/adr/0002-observation-and-identity-boundaries.md, anddocs/console-api.md; added 3-phasepristine-desk-readback-readzero-writer proof and macOS canonical temp-path normalization (realpathSync) intests/read_contract_boundaries_validation.mjs.SA4-W1,SA4-W6): Added frozen SA-4 acceptance matrix (tests/sa4_desk_8a_9a_12a_na_validation.mjs,SA-A15..SA-A18) and demo validation (tests/sa4_demo_validation.mjs,SA4-D1..SA4-D6) with fixtures undertests/fixtures/sa4/, wired into.github/workflows/validate.yml(jsjob).How verified
node tests/sa4_demo_validation.mjs-> PASS (6 cases: SA4-D1..SA4-D6)node tests/sa4_desk_8a_9a_12a_na_validation.mjs-> PASS (SA-A15..SA-A18)node tests/desk_contract_validation.mjs-> PASS (29 responses, 83 fixtures, 1085 closed objects)node tests/desk_n1_projection_validation.mjs-> PASSnode tests/desk_readback_validation.mjs-> PASSnode tests/runtime_readback_validation.mjs-> PASSnode tests/console_inbox_requests_validation.mjs-> PASSnode tests/read_contract_boundaries_validation.mjs-> PASS (26 discover, 208 reject, 16 pass;99 runtime cases,12 W entries,110 route branches, 112 internal operations, 9 exceptions)node tests/account_identity_inventory_validation.mjs-> PASSnode tests/account_management_storage_validation.mjs-> PASSnpm run test:operations --prefix web/strategy-switch-console-> PASSpython3 -m unittest discover -s python/tests -v-> PASSgit diff --check-> exited 0;git diff main -- web/strategy-switch-console/frontend/ python/scripts/-> empty.Why
Provide clean operational read projections for fleet execution modes (
8A), three-layer readback comparison with zero-write GETs (9A), and unified owner queues (12A) while retiring the temporaryB6read-side write exception under ADR 0002.Risk
python/scripts/edits, no deployments, and9Awrite actions remain"not_enabled").GET /api/desk/readbacksand"action:desk_readback_read"reclassified from["B6", "B1", "B0"]to"B0"/read(), retiringB6; reads perform zero storage writes/alarms; all new schemas setadditionalProperties: falseand propagate queue cap/truncation/corrupt-omission counts explicitly.