Skip to content

fix(runtime)!: declare tools for actual run authority (AB4) - #304

Merged
lg2m merged 40 commits into
perf/eng-1040-ab3-read-windowfrom
fix/eng-1041-ab4-run-authority
Oct 14, 2026
Merged

lg2m merged 40 commits into
perf/eng-1040-ab3-read-windowfrom
fix/eng-1041-ab4-run-authority

Conversation

@lg2m

@lg2m lg2m commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

AB4 freezes each run’s declarations to its actual authority. Read-only runs expose inspection and permitted read-child delegation, with spawn arguments and immutable guidance matching the runtime gate. Write-child delegation and external effect hints cannot leak authority through rosters, schemas or host collisions.

Spec: ENG-1041, docs/plans/action-bias.md (AB4), ADR-0059. Stacked on #303; integrates merged main007adcda and qualifiedbb6bc776, including descriptor15/schema49 durable replay and checkpoint corrections.

Verification at immutableef4403b1aefdad70cac00262b0fd01672034fe3a: fresh cargo test --workspace -- --test-threads=1 passed2,410 tests, zero failures,14ignored; cargo fmt --all -- --check, cargo clippy --workspace --all-targets --all-features -- -D warnings, and cargo build --workspace passed. Independent authority/manifest/projection integration review approves. Current descriptor15/prompt22 is pinned; historical13/prompt20–22 and14/prompt20,22 digests remain covered.

Prompt history now explains21→22, and architecture consistently states that read-only declarations omit all external tools. Published26bf4763 adds only the ledger receipt. Fresh Codex found a duplicate-host grant leak: grants now remain with their declaring host through admission, and the descriptor derives effective grants from surviving entries. A later duplicate cannot authorize the first host. Regressions cover all owner/later grant combinations in normal Ask and unattended paths, including actual host call counters. The original grant union predates AB4; this slice adds the affected unattended declaration path. Historical descriptors and explicit human session grants retain their semantics.

Fresh hosted checks, Codex review and named performance gates remain open; no performance gate is waived.

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

AB4 is draft. Please review actual unattended/read-only declaration eligibility, the shared compiled-grant snapshot, pin/index/selection filtering and authority-neutral prompts. Independent source/integration review approves; full immutable workspace gates pass (2,305 tests, 0 failed, 14 ignored; fmt/Clippy/build). Matched performance and final parent-receipt integration remain open.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T20:32:26.244464Z 26bf476 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: be880ae44e

ℹ️ 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".

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Review current head 5a7af60 with the latest accepted parent repairs. Independent source/integration review and immutable full workspace checks pass; receipts and open performance gates are in the updated description.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5a7af60967

ℹ️ 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".

Comment thread crates/qq-core/src/runtime/prompt.rs Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Current head 97bd896 bumps authority-sensitive prompt identity to 21 and qualifies all accepted AB1–AB3 repairs. Immutable source bca83a3 passes 2,324 workspace tests (0 failures,14 ignored), fmt/Clippy/build. Public descriptor and headless JSONL provenance regressions cover v21; separate child fixture gates remove nondeterministic release ordering. Independent integration review approves. Matched performance and native Windows upstream execution remain open.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 97bd896d56

ℹ️ 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".

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review current head 11534a5. Authority prompt identity21, first-poll compiled grant snapshots, shared eligibility and separate child fixture gates are retained atop accepted AB1–AB3 repairs.

Immutable source dac23ed passes 2,331 workspace tests (0 failures,14ignored),fmt,all-target/all-feature Clippy and build after explicitly clearing every workspace package debug artifact. Source remained clean/unchanged. Independent source reviews approve.

Matched performance remains open; AB6's pinned historical recount and deployed seven-day candidate cohort remain open. No merge/deployment/paid evaluation claimed.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 11534a5769

ℹ️ 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".

Comment thread crates/qq-core/src/runtime/prompt.rs Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review current head c300514. Latest stack integration has fresh local workspace qualification. Please report concrete new defects against this head and respect settled decisions; performance qualification is explicitly still open.

@lg2m
lg2m added this pull request to stack #307 October 14, 2026 15:27
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: c300514768

ℹ️ 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".

@lg2m
lg2m marked this pull request as ready for review October 14, 2026 15:29

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review current head 364eb74 after integrating #301 verified process context, #302 output reservations, #303 read-window bounds and current main. Immutable 2f061ec passes all local workspace gates; final commit adds only a ledger receipt.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 364eb74c32

ℹ️ 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".

Comment thread crates/qq-core/src/runtime/prompt.rs Resolved
Comment thread docs/design/architecture.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review published329c569c on qualified #303bb6bc776. Authority remains frozen; both documentation findings are repaired. Descriptor15/prompt22 and historical13/14 digests are pinned, with parent durable replay/checkpoint fixes inherited. Immutablee1a41b1f freshworkspace2,409/0/14,fmt/Clippy/build pass. Hosted/named performance qualification remains open.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 329c569c4e

ℹ️ 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".

Comment thread crates/qq-core/src/catalog.rs Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review26bf4763, including declaring-host grant admission and descriptor effective grants. Immutableef4403b1 passes fresh workspace2,410/0/14, fmt, Clippy and build; normalAsk/unattended duplicate-host regressions and independent review pass.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 26bf476363

ℹ️ 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".

@lg2m
lg2m merged commit bba99ab into main Oct 14, 2026
7 checks passed
@lg2m
lg2m deleted the fix/eng-1041-ab4-run-authority branch October 14, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant