Skip to content

[3137 by GPT-6 Astra] Atomic dual-authority contract for managed extension phases - #3138

Merged
integry merged 8 commits into
mainfrom
3137/gpt-6-astra-atomic-dual-authority-con-20261015-1232-kvr
Oct 15, 2026
Merged

integry merged 8 commits into
mainfrom
3137/gpt-6-astra-atomic-dual-authority-con-20261015-1232-kvr

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3137

Branch: 3137/gpt-6-astra-atomic-dual-authority-con-20261015-1232-kvr
Commits: ✅ Changes committed (a2fa9e2)


AI Processing Completed

Execution Details:

Summary:
Implemented v2 with independent Routing signatures, atomic SQLite mutations and receipts, signed Core proofs, and retry/crash protection. Preserved v1 and published the handoff bundle.

Exact handoff pins:

  • Schema: 9165092e8bedec5ba024fb94b32ff6442a8f4a57e3bdfc68310b9ed785382706
  • Source manifest: 5ba51fb402ba52b8ee334859032ecbc7b81fc6c1311c9a4549cf4dc31eb2b600

All 54 focused tests passed, including 14 SIGKILL boundaries. Builds, root typecheck, generated artifacts, checksums, secret scans, and diff checks passed. The unrelated fleetNativeReset.test.ts hit its unchanged 180-second timeout.

Routing must use one call per request, dispatch, and completion phase. All readiness flags remain false; downstream Fleet/Routing completion is not claimed.

Detailed Logs:

  • Conversation: 120 messages
  • Session: 01a13f8e-cb75-78d1-9682-640b78674748

Log files stored at:

  • conversation: /usr/src/app/logs/executions/issue-3137-2026-10-15T13-04-44-295Z-conversation.json
  • output: /usr/src/app/logs/executions/issue-3137-2026-10-15T13-04-44-295Z-output.txt
Latest Conversation Messages

This PR was created automatically by ProPR after processing issue #3137.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

…aged extensi

Implemented by ProPR AI using gpt-6-astra model.

Implementation completed successfully.
@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

/review codex-astra

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex-astra

Overall Evaluation

The PR adds an explicitly versioned Unix-only contract that verifies independent Routing authorization and commits Core’s decision, native SQLite changes, and signed receipt together. The supplied code supports the intended approach; no merge-blocking defect was verified. Merge readiness remains conditional on the seven pending checks.

✅ Independent authentication — Routing signatures are verified against operator-provisioned trust, separately from the transport HMAC, and bind the exact phase request.

✅ Durable recovery boundaries — Create-only intents prevent redispatch after ambiguity; native SQLite mutations and receipts share the same transaction. Added SIGKILL tests cover the principal dispatch boundaries.

✅ Explicit qualification limits — The handoff preserves v1, keeps readiness flags false, and documents that receipt commitments do not provide native-result retrieval.

This was a static review of the supplied diff and context. No commands or tests were run.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Exercise sealed credential consumption

The new acquisition test dispatches the mutation with sealed: []. It verifies the acquisition’s operation and intent commitments, but does not exercise encrypted credential consumption through the new authorization adapter. Before downstream qualification, add coverage for actual sealed credentials, including rejection of recipients from another acquisition or v1. The supplied excerpts do not include the complete recipient-consumption implementation, so this review cannot independently confirm that entire path. This is a qualification follow-up, not a demonstrated defect.

S2: 🟢 Broaden atomic mutation coverage

The crash tests exercise profile.create. Additional targeted cases for update, delete, and skill import would strengthen confidence that each reused store path remains inside the caller-owned transaction, particularly as those implementations evolve. The supplied store excerpts use compatible transaction patterns, so this is additional regression protection rather than a required correction.

Score

The implementation has coherent authority binding, recovery semantics, and substantial fault coverage. No actionable defect was established; current checks report zero failures, with seven still pending.

Score: 8/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 14s
  • Tokens: 98,158 (97,001 in / 1,157 out)
  • Cost: $0.92

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S1 S2

🤖 Review by ProPR

@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

/fix S1 S2

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 2a1d607

Addressed 1 AI review comment (IDs: 6192849945)

Addressed suggestions S1, S2

Summary of Changes

Implemented S1 and S2 only.

  • Added encrypted credential coverage for create/update, rejecting recipients from another acquisition or v1.
  • Expanded crash regressions to update, delete, disable, and skill import.
  • Refreshed required source hashes.

Behavioral tests passed; the artifact check passed after hash regeneration. Production code is unchanged.

Coverage limitation: tests capture recipients at the adapter boundary because v2 responses expose only the native-result digest.


🤖 Implementation Details

  • Model: GPT-6 Astra (medium)
  • Requested By: @integry
  • Time: 6m 58s
  • Tokens: 1,318,552 (1,312,805 in / 5,747 out)
  • Cost: $2.18
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6192917785✓

Implemented S1 and S2 only.

- Added encrypted credential coverage for create/update, rejecting recipients from another acquisition or v1.
- Expanded crash regressions to update, delete, disable, and skill import.
- Refreshed required source hashes.

Behavioral tests passed; the artifact check passed after hash regeneration. Production code is unchanged.

Coverage limitation: tests capture recipients at the adapter boundary because v2 responses expose only the native-result digest.

PR: #3138
Comment by: @integry (ID: 6192917785)
Model: GPT-6 Astra
@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

/review codex-astra

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex-astra

Overall Evaluation

The PR implements a separate v2 contract that binds independently signed Routing authorization to Core’s local authority decision, native SQLite mutation, and durable receipt. The implementation appears merge-ready within its explicitly limited local-contract scope, conditional on pending checks completing successfully.

✅ Atomic persistence — Native store operations use the owned SQLite connection; mutation and receipt commit together, with rollback on failure.

✅ Explicit trust boundaries — Routing signatures use operator-provisioned keys, requests bind immutable work, and the public listener refuses v2 traffic.

✅ Recovery coverage — Added tests cover retained retries, authority changes, malformed wire input, and real SIGKILL boundaries across five mutation actions.

This assessment is a static review of the supplied diff and context; no commands or tests were run. The supplied current-head status reports no failures and eight pending checks.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S3: 🟢 Exercise independent database contenders

The concurrency test in packages/core/test/extensionAuthorityV2.test.ts sends contenders through one fixture and database pool. A follow-up using separate processes or independent connections against the same database would strengthen evidence for the cross-process behavior of BEGIN IMMEDIATE, unique phase admission, and shared filesystem fences. This is optional: the implementation already provides explicit SQLite serialization and exclusive fence creation, and the supplied code does not demonstrate a concurrency defect.

Score

The implementation has strong authority binding and unusually thorough failure-boundary coverage, with clearly documented downstream limitations. Static review found no merge blocker; pending CI still needs to complete.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 53s
  • Tokens: 99,852 (99,062 in / 790 out)
  • Cost: $0.92

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S3

🤖 Review by ProPR

@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

/fix S3

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 86349b2

Addressed 1 AI review comment (IDs: 6193155375)

Addressed suggestion S3

Summary of Changes

Implemented S3 with independent SQLite pools and connections covering writer-lock contention, unique phase admission, exact receipt retries, single mutation, and shared filesystem fences.

Updated the required artifact hashes. Validation: 45 tests passed initially; the sole stale-hash failure passed after regeneration. Core typecheck and artifact checks passed.


🤖 Implementation Details

  • Model: GPT-6 Astra (medium)
  • Requested By: @integry
  • Time: 6m 0s
  • Tokens: 841,618 (837,670 in / 3,948 out)
  • Cost: $1.47

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6193176574✓

…s covering writer-lock contention, unique phase admission, exact receipt retries, single mutation, and shared filesystem fences.

Implemented S3 with independent SQLite pools and connections covering writer-lock contention, unique phase admission, exact receipt retries, single mutation, and shared filesystem fences.

Updated the required artifact hashes. Validation: 45 tests passed initially; the sole stale-hash failure passed after regeneration. Core typecheck and artifact checks passed.

PR: #3138
Comment by: @integry (ID: 6193176574)
Model: GPT-6 Astra
@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

/review codex-astra

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex-astra

Overall Evaluation

The PR implements a separately versioned dual-authority contract with independently verified Routing signatures, durable phase admission, and atomic native SQLite mutations and signed receipts. It is merge-ready within the stated local-contract scope, conditional on the pending checks completing successfully.

✅ Independent authority binding — Core verifies Routing’s signature against operator-provisioned trust and binds it to the exact request, immutable work, and authority epochs.

✅ Atomic mutation and evidence — Native store operations share the owned SQLite connection; mutation and receipt commit together, while durable intents prevent redispatch after ambiguous failures.

✅ Recovery coverage — Added tests cover retained retries, independent database pools, authority changes, and actual SIGKILL boundaries. Readiness flags accurately remain false.

This was a static review of the supplied diff and surrounding context; no commands or tests were run. The supplied current-head status reports zero failures and five pending checks.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S4: 🟢 Validate status result consistency

Consider adding explicit status-result invariants to docs/contracts/extension-authority-v2/verifier.mjs: completed status should carry both dispatch and native-result commitments, while incomplete status should carry neither. The current producer constructs these combinations correctly, and signatures prevent transport tampering, so this is optional protection against future producer regressions.

Score

The implementation addresses the scoped atomicity and authentication requirements with substantial recovery coverage and no verified merge blocker. Final merge readiness remains conditional on the pending validation and test checks.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 12s
  • Tokens: 103,956 (102,777 in / 1,179 out)
  • Cost: $0.96

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S4

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Full Test Suite Shard 2/4

Please investigate and fix this CI failure.

  • Check: Full Test Suite Shard 2/4
  • Result: failure
  • Commit: 86349b26a29d (86349b26a29dcda772ab4ca4acdf6e58cfb97535)
  • Details: View CI failure

Failure evidence

.github:11
Process completed with exit code 1.

.github:34339
Process completed with exit code 1.

.github:2
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 090d829

Summary of Changes

Fixed the CI failure by deferring the profile-store import until atomic dispatch, preventing reset recovery from starting the logger worker that crashed.

Strengthened the regression test and refreshed contract checksums.

Validation passed: Core build and all four relevant test files—297 tests passed, 4 skipped. The reset suite required a longer local timeout; CI configuration is unchanged.


🤖 Implementation Details

  • Model: GPT-6 Astra (medium)
  • Requested By: @propr-dev[bot]
  • Time: 16m 47s
  • Tokens: 3,269,854 (3,264,008 in / 5,846 out)
  • Cost: $4.19
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6193638126✓

@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Current exact head 86349b26a29dcda772ab4ca4acdf6e58cfb97535 has one deterministic CI failure in Full Test Suite shard 2/4, job 116451305341:

  • packages/core/test/fleetNativeReset.test.ts
  • subtest recovery cold start never loads application services or opens customer SQLite
  • Node 22.23.3 exits with ERR_INPUT_TYPE_NOT_ALLOWED from the child command that combines --import tsx, --input-type=module, and -e. The tsx import machinery starts a file-backed worker that inherits --input-type, so the tripwire never runs. The remaining 215/216 shard units passed.

Fix this test portability problem without weakening or skipping the cold-start isolation assertion and without changing production behavior. Prefer a real temporary .mjs entry file invoked with node --import tsx <entry-file> (or an equivalently robust file-backed module approach), preserving the fresh-process boundary, module-import tripwires, SQLite-open tripwire, exact environment, timeout, cleanup, and final tenant-tree equality assertion. Do not merely remove --input-type while leaving static ESM imports in a CommonJS eval, and do not suppress ERR_INPUT_TYPE_NOT_ALLOWED.

Run the exact failing test under Node 22 and Node 24 where available, plus the extension-authority focused tests, typecheck, and artifact/hash checks. Keep the v2 contract and readiness flags unchanged. Report the exact validation. This is a focused CI repair on the existing reviewed implementation.

…until atomic dispatch, preventing reset recovery from starting the logger worker that crashed.

Fixed the CI failure by deferring the profile-store import until atomic dispatch, preventing reset recovery from starting the logger worker that crashed.

Strengthened the regression test and refreshed contract checksums.

Validation passed: Core build and all four relevant test files—297 tests passed, 4 skipped. The reset suite required a longer local timeout; CI configuration is unchanged.

PR: #3138
Comment by: @propr-dev[bot] (ID: 6193638126)
Model: GPT-6 Astra
@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 8e824d6

Summary of Changes

Updated fleetNativeReset.test.ts to run a temporary .mjs entry with automatic cleanup. Preserved all isolation assertions, environment, timeout, and fresh-process behavior. Production code, v2 contract, and readiness flags are unchanged.

Validation:

  • Exact cold-start subtest: passed on Node 22.23.3 and 24.22.0, no skips.
  • Four authority-focused files: 139 passed.
  • Full reset file: 176 passed, four existing mount-capability skips.
  • Root and Core typechecks: passed.
  • Shared build, v2 fixture --check, all eight artifact checksums, and git diff --check: passed.

Broader tests used TMPDIR=/dev/shm after stopping slow filesystem runs. Validation used checkout 090d829, not reported head 86349b2.


🤖 Implementation Details

  • Model: GPT-6 Astra (medium)
  • Requested By: @integry
  • Time: 7m 51s
  • Tokens: 1,239,256 (1,234,405 in / 4,851 out)
  • Cost: $1.90

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6193691467✓

…kages/core/test/fleetNativeReset.test.ts:607) to run a temporary `.mjs` entry with automatic cleanup. Preserved all isolation assertions, environment, timeout, and fresh-process behavior. Production code, v2 contract, and readiness flags are unchanged.

Updated [fleetNativeReset.test.ts](/home/node/workspace/packages/core/test/fleetNativeReset.test.ts:607) to run a temporary `.mjs` entry with automatic cleanup. Preserved all isolation assertions, environment, timeout, and fresh-process behavior. Production code, v2 contract, and readiness flags are unchanged.

Validation:
- Exact cold-start subtest: passed on Node **22.23.3** and **24.22.0**, no skips.
- Four authority-focused files: **139 passed**.
- Full reset file: **176 passed**, four existing mount-capability skips.
- Root and Core typechecks: passed.
- Shared build, v2 fixture `--check`, all eight artifact checksums, and `git diff --check`: passed.

Broader tests used `TMPDIR=/dev/shm` after stopping slow filesystem runs. Validation used checkout `090d829`, not reported head `86349b2`.

PR: #3138
Comment by: @integry (ID: 6193691467)
Model: GPT-6 Astra
@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

/review codex-astra

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex-astra

Overall Evaluation

The PR adds a separately versioned authority contract that binds independent Routing authorization to Core’s local decision, native SQLite mutation, and signed receipt. The supplied code supports merge readiness within its explicitly limited local-contract scope, conditional on pending checks completing successfully.

✅ Atomic mutation and receipt — Native store operations use the owned SQLite connection; mutation and receipt commit together after a final authority observation.

✅ Durable retry protection — Immutable intents, unique phase admission, and shared native filesystem fences prevent redispatch after an ambiguous failure. Tests cover both injected faults and actual SIGKILL boundaries.

✅ Independent trust boundaries — Routing signatures use operator-provisioned keys, Core signs receipts independently, and the public listener explicitly refuses the new endpoint.

This was a static review of the supplied diff and context; no commands were run. The authoritative status lists zero failed checks and seven pending checks. The historical cold-start failure is not treated as a current failure.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S5: 🟢 Bound crash-test child lifetime

In packages/core/test/extensionAuthorityV2Crash.test.ts, the parent waits for child exit without an explicit timeout or cleanup that kills a stalled child. A timeout with guaranteed termination would make future regressions fail promptly instead of potentially occupying a CI worker until its job deadline. This improves test diagnostics and resource cleanup; it does not undermine the demonstrated production transaction guarantees.

S6: 🟢 Test normalization boundaries explicitly

The canonical-envelope comparison in packages/core/src/fleet/extensionAuthorityV2.ts deliberately rejects schema normalization, whereas the supplied legacy tests exercise names with surrounding whitespace. Add a focused v2 test and document whether callers must normalize native inputs before computing request and intent digests. This would clarify the new transport’s accepted-input boundary without changing its deliberately strict authentication behavior.

Score

The implementation has strong transaction, authentication, and recovery coverage, with no verified merge blocker in the supplied code. Pending checks still need to complete; runtime qualification and downstream integration remain explicitly deferred.

Score: 8/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 24s
  • Tokens: 104,180 (102,863 in / 1,317 out)
  • Cost: $1.02

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S5 S6

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate Changes

Please investigate and fix this CI failure.

Failure evidence

.github:8
Process completed with exit code 1.

.github:401
Process completed with exit code 1.

.github:554 — 🎭 Playwright Run Summary
464 passed (21.9m)

@github-actions

Copy link
Copy Markdown

Checks Failed

Validation failed during setup, tests, CLI packaging, linting, or build checks.

View Logs
Build check diagnostics for run 38749563123, attempt 1
Checkout outcome: success

--- GitHub Actions workflow lint ---
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667: Pulling from rhysd/actionlint
589002ba0eae: Pulling fs layer
c09af8888d6a: Pulling fs layer
4ccd7d76ca98: Pulling fs layer
b6b4b7b0e257: Pulling fs layer
b6b4b7b0e257: Waiting
c09af8888d6a: Verifying Checksum
c09af8888d6a: Download complete
4ccd7d76ca98: Verifying Checksum
4ccd7d76ca98: Download complete
589002ba0eae: Verifying Checksum
589002ba0eae: Download complete
589002ba0eae: Pull complete
b6b4b7b0e257: Verifying Checksum
b6b4b7b0e257: Download complete
c09af8888d6a: Pull complete
4ccd7d76ca98: Pull complete
b6b4b7b0e257: Pull complete
Digest: sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
Status: Downloaded newer image for rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667

--- Release shell script lint ---

--- Toolchain ---
v22.23.3
10.9.9

--- Dependency installation ---
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]

added 1112 packages, and audited 1121 packages in 20s

317 packages are looking for funding
  run `npm fund` for details

8 high severity vulnerabilities

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

--- CLI release package ---
Verifying propr-cli release package...

> [email protected] cli:pack
> node packages/cli/scripts/build-publish.mjs


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc && node scripts/copy-assets.mjs

copy-assets: copied 9 file(s) into the CLI package.

Staged [email protected] at /home/runner/work/propr/propr/dist-publish/propr-cli
npm notice
npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 26.7kB README.md
npm notice 36.3kB dist/agentSkill.js
npm notice 754B dist/api/agentRuntime.js
npm notice 7.1kB dist/api/agents.js
npm notice 2.6kB dist/api/agentTank.js
npm notice 4.0kB dist/api/automations.js
npm notice 11.7kB dist/api/client.js
npm notice 5.0kB dist/api/errors.js
npm notice 16.6kB dist/api/goals.js
npm notice 6.0kB dist/api/implement.js
npm notice 2.4kB dist/api/index.js
npm notice 1.9kB dist/api/logs.js
npm notice 6.2kB dist/api/plans.js
npm notice 4.2kB dist/api/relay.js
npm notice 12.3kB dist/api/repos.js
npm notice 14.2kB dist/api/settings.js
npm notice 775B dist/api/stats.js
npm notice 1.6kB dist/api/syntheticPools.js
npm notice 1.8kB dist/api/system.js
npm notice 5.9kB dist/api/tasks.js
npm notice 2.9kB dist/api/todos.js
npm notice 86B dist/api/types.js
npm notice 313B dist/api/visualPreviewAuth.js
npm notice 29.5kB dist/assets/env.example.txt
npm notice 5.8kB dist/auth/githubLogin.js
npm notice 19.7kB dist/commands/agentCommands.js
npm notice 4.2kB dist/commands/agentPoolCommands.js
npm notice 4.3kB dist/commands/agentSkillCommands.js
npm notice 29.7kB dist/commands/agentValidation.js
npm notice 27.2kB dist/commands/automationCommands.js
npm notice 70.8kB dist/commands/checkCommands.js
npm notice 8.9kB dist/commands/configCommands.js
npm notice 14.6kB dist/commands/connectCommand.js
npm notice 5.5kB dist/commands/githubAppApi.js
npm notice 27.7kB dist/commands/githubAppCommands.js
npm notice 57.9kB dist/commands/goalCommands.js
npm notice 2.4kB dist/commands/imageCommands.js
npm notice 8.0kB dist/commands/implementCommands.js
npm notice 1.8kB dist/commands/index.js
npm notice 7.3kB dist/commands/initCommands.js
npm notice 14.1kB dist/commands/initStack.js
npm notice 6.1kB dist/commands/logCommands.js
npm notice 24.9kB dist/commands/planCommands.js
npm notice 8.4kB dist/commands/relayCommands.js
npm notice 38.6kB dist/commands/repoCommands.js
npm notice 2.7kB dist/commands/repoValidate.js
npm notice 7.5kB dist/commands/runtimeCommands.js
npm notice 17.9kB dist/commands/settingCommands.js
npm notice 4.6kB dist/commands/setup/agentHostActions.js
npm notice 123B dist/commands/setup/agents.js
npm notice 4.5kB dist/commands/setup/engine.js
npm notice 51B dist/commands/setup/github.js
npm notice 28.8kB dist/commands/setup/hostActions.js
npm notice 3.2kB dist/commands/setup/imagePlatform.js
npm notice 27.3kB dist/commands/setup/sequential.js
npm notice 51B dist/commands/setup/state.js
npm notice 51B dist/commands/setup/types.js
npm notice 10.7kB dist/commands/setupCommand.js
npm notice 4.4kB dist/commands/stackCommands.js
npm notice 1.4kB dist/commands/startCommand.js
npm notice 3.7kB dist/commands/statsCommands.js
npm notice 13.5kB dist/commands/systemCommands.js
npm notice 3.5kB dist/commands/tankCommands.js
npm notice 46.3kB dist/commands/taskCommands.js
npm notice 29.7kB dist/commands/todoCommands.js
npm notice 31.0kB dist/commands/tunnelCommand.js
npm notice 2.7kB dist/commands/uiDocsCommands.js
npm notice 8.3kB dist/completion.js
npm notice 20.3kB dist/config/ConfigManager.js
npm notice 276B dist/config/index.js
npm notice 989B dist/config/rootKey.js
npm notice 345B dist/config/types.js
npm notice 46.0kB dist/connectIdentity.js
npm notice 25.0kB dist/connectRootAuthority.js
npm notice 32.5kB dist/connectWindowsAuthority.js
npm notice 2.2kB dist/desktopDiscovery.js
npm notice 13.2kB dist/desktopLocalSetup.js
npm notice 17.1kB dist/index.js
npm notice 4.5kB dist/native/darwin-authority-broker.c
npm notice 8.9kB dist/native/directory-operations.c
npm notice 50.1kB dist/native/prebuilds/darwin-arm64/connect-authority-broker
npm notice 54.2kB dist/native/prebuilds/darwin-arm64/directory-operations.node
npm notice 17.1kB dist/native/prebuilds/darwin-x64/connect-authority-broker
npm notice 24.3kB dist/native/prebuilds/darwin-x64/directory-operations.node
npm notice 28.9kB dist/native/prebuilds/linux-arm64/directory-operations.node
npm notice 17.4kB dist/native/prebuilds/linux-x64/directory-operations.node
npm notice 1.2kB dist/native/README.md
npm notice 3.1kB dist/orchestrator/format.js
npm notice 13.4kB dist/orchestrator/index.js
npm notice 302B dist/orchestrator/manifest.json
npm notice 121.0kB dist/orchestrator/orchestrator.mjs
npm notice 408B dist/orchestrator/types.js
npm notice 237B dist/skill/propr/agents/openai.yaml
npm notice 8.7kB dist/skill/propr/SKILL.md
npm notice 4.5kB dist/tui/AgentTableApp.js
npm notice 4.5kB dist/tui/app.js
npm notice 11.6kB dist/tui/CheckApp.js
npm notice 5.1kB dist/tui/render.js
npm notice 32.5kB dist/tui/SetupApp.js
npm notice 18.4kB dist/tui/SetupApp.test.js
npm notice 8.2kB dist/tui/StartApp.js
npm notice 3.6kB dist/utils/apiErrorPresentation.js
npm notice 12.0kB dist/utils/directoryDescriptor.js
npm notice 739B dist/utils/dockerPort.js
npm notice 5.0kB dist/utils/envFile.js
npm notice 520B dist/utils/index.js
npm notice 5.7kB dist/utils/io.js
npm notice 717B dist/utils/localSetupPlatform.js
npm notice 1.5kB dist/utils/nativeArtifact.js
npm notice 544B dist/utils/parseState.js
npm notice 417B dist/utils/positiveInteger.js
npm notice 4.5kB dist/utils/privateFilesystem.js
npm notice 4.2kB dist/utils/resolveProject.js
npm notice 7.2kB dist/vendor/local-setup/agents.js
npm notice 63.2kB dist/vendor/local-setup/engine.js
npm notice 5.0kB dist/vendor/local-setup/envFile.js
npm notice 11.1kB dist/vendor/local-setup/github.js
npm notice 188B dist/vendor/local-setup/index.js
npm notice 27.5kB dist/vendor/local-setup/publicInstanceIdentity.js
npm notice 14.6kB dist/vendor/local-setup/state.js
npm notice 2.8kB dist/vendor/local-setup/types.js
npm notice 1.0kB dist/vendor/shared/accountStatusTimestamp.js
npm notice 7.6kB dist/vendor/shared/activityEvents.js
npm notice 2.8kB dist/vendor/shared/agentConfigRedaction.js
npm notice 4.4kB dist/vendor/shared/agentDefinitions.js
npm notice 3.4kB dist/vendor/shared/agentLogin.js
npm notice 3.1kB dist/vendor/shared/agentTank.js
npm notice 2.8kB dist/vendor/shared/analyticsTimeframe.js
npm notice 2.0kB dist/vendor/shared/antigravityCompatibility.js
npm notice 5.1kB dist/vendor/shared/apiOrigin.js
npm notice 3.5kB dist/vendor/shared/assignment.js
npm notice 9.2kB dist/vendor/shared/automationDefinitions.js
npm notice 8.5kB dist/vendor/shared/connectDiscovery.js
npm notice 9.6kB dist/vendor/shared/cronSchedule.js
npm notice 254B dist/vendor/shared/demoMode.js
npm notice 4.3kB dist/vendor/shared/desktopPairing.js
npm notice 481B dist/vendor/shared/desktopTokenRevocation.js
npm notice 8.9kB dist/vendor/shared/events.js
npm notice 2.8kB dist/vendor/shared/extensionAuthorityProof.js
npm notice 4.8kB dist/vendor/shared/extensionAuthorityV2.js
npm notice 3.1kB dist/vendor/shared/extensionProfiles.js
npm notice 2.7kB dist/vendor/shared/fleetData.js
npm notice 10.1kB dist/vendor/shared/fleetExtensions.js
npm notice 4.5kB dist/vendor/shared/fleetReset.js
npm notice 2.5kB dist/vendor/shared/githubAppManifest.js
npm notice 1.6kB dist/vendor/shared/githubAuthMode.js
npm notice 2.0kB dist/vendor/shared/githubEventIntakeMode.js
npm notice 11.6kB dist/vendor/shared/goalBlockers.js
npm notice 6.0kB dist/vendor/shared/goalCheckpoints.js
npm notice 4.0kB dist/vendor/shared/goalCreation.js
npm notice 4.9kB dist/vendor/shared/goalWait.js
npm notice 12.9kB dist/vendor/shared/index.js
npm notice 214B dist/vendor/shared/instanceAuthorization.js
npm notice 54B dist/vendor/shared/instanceCatalog.js
npm notice 584B dist/vendor/shared/instanceStorage.js
npm notice 4.0kB dist/vendor/shared/intakeModePrerequisites.js
npm notice 2.9kB dist/vendor/shared/labelUtils.js
npm notice 16.6kB dist/vendor/shared/modelDefinitions.js
npm notice 3.5kB dist/vendor/shared/notificationLinks.js
npm notice 51.3kB dist/vendor/shared/notifications.js
npm notice 7.5kB dist/vendor/shared/previewStorage/v1.js
npm notice 866B dist/vendor/shared/projectSlug.js
npm notice 3.8kB dist/vendor/shared/proprCompatibility.js
npm notice 13.0kB dist/vendor/shared/proprServiceUrls.js
npm notice 16.6kB dist/vendor/shared/prTemplate.js
npm notice 2.2kB dist/vendor/shared/publishedVisualPreviews.js
npm notice 2.6kB dist/vendor/shared/reasoningLevels.js
npm notice 1.2kB dist/vendor/shared/repositoryIcon.js
npm notice 1.4kB dist/vendor/shared/repositoryIconUrl.js
npm notice 3.9kB dist/vendor/shared/repositoryPresentation.js
npm notice 9.5kB dist/vendor/shared/reviewContextBudget.js
npm notice 5.8kB dist/vendor/shared/reviewFeedbackIds.js
npm notice 1.7kB dist/vendor/shared/reviewPrompt.js
npm notice 907B dist/vendor/shared/runCostCap.js
npm notice 861B dist/vendor/shared/sessionSecret.js
npm notice 603B dist/vendor/shared/statusKeys.js
npm notice 7.5kB dist/vendor/shared/syntheticAgents.js
npm notice 2.2kB dist/vendor/shared/taskIdentifiers.js
npm notice 1.8kB dist/vendor/shared/taskLifecycle.js
npm notice 733B dist/vendor/shared/taskReplacement.js
npm notice 957B dist/vendor/shared/text.js
npm notice 9.8kB dist/vendor/shared/usageTips.catalog.json
npm notice 5.0kB dist/vendor/shared/usageTips.js
npm notice 335B dist/vendor/shared/usageTypes.js
npm notice 1.1kB dist/vendor/shared/userWhitelist.js
npm notice 758B dist/vendor/shared/validateRelayUrl.js
npm notice 2.2kB dist/vendor/shared/validateRoutingUrl.js
npm notice 7.1kB dist/vendor/shared/visualPreviewCapacity.js
npm notice 9.3kB dist/vendor/shared/voice.js
npm notice 222B dist/vendor/shared/workEvidence.js
npm notice 675B package.json
npm notice Tarball Details
npm notice name: propr-cli
npm notice version: 0.9.0
npm notice filename: propr-cli-0.9.0.tgz
npm notice package size: 474.6 kB
npm notice unpacked size: 2.0 MB
npm notice shasum: 274ba1ef1890e720ee19368591c69bb8da1d87da
npm notice integrity: sha512-PSqe0bLZ2itLO[...]sImS7SL7UI/8A==
npm notice total files: 191
npm notice
propr-cli-0.9.0.tgz

Dry run only. Re-run with --publish to publish to npm.
✅ propr-cli release package verified
Starting changed-area validation process...
Reusing this job's @propr/shared build from CLI packaging.
Reusing this job's @propr/local-setup build from CLI packaging.

--- Core Service: Lint & Build ---
✅ Core Lint passed
✅ Core Source Build passed

--- UI: Typecheck, Lint & Build ---
✅ Client Package validation passed
✅ UI Typecheck passed
✅ UI Lint passed
✅ UI Build passed

--- Docs: Typecheck & Build ---
✅ Docs Typecheck passed
✅ Docs Build passed

--- Core Package: Build & Lint ---
✅ Core Package Build passed
❌ Core Package Lint FAILED

/home/runner/work/propr/propr/packages/core/src/fleet/extensionAuthorityV2.ts
   55:3   warning  Async method 'invoke' has a complexity of 70. Maximum allowed is 20      complexity
   89:26  warning  Arrow function has a complexity of 30. Maximum allowed is 20             complexity
  223:3   warning  Method 'checkAcquisition' has a complexity of 29. Maximum allowed is 20  complexity

/home/runner/work/propr/propr/packages/core/src/fleet/extensions.ts
  166:3  warning  Async method 'dispatchAtomic' has too many parameters (6). Maximum allowed is 4  max-params

✖ 4 problems (0 errors, 4 warnings)

ESLint found too many warnings (maximum: 0).

--- CLI: Lint ---
✅ CLI Lint passed

--- API: Build & Lint ---
✅ API Build passed
❌ API Lint FAILED

> @propr/[email protected] lint
> eslint . --max-warnings 0


/home/runner/work/propr/propr/packages/api/fleetDataListener.ts
  122:108  warning  Async arrow function has a complexity of 24. Maximum allowed is 20  complexity

✖ 1 problem (0 errors, 1 warning)

ESLint found too many warnings (maximum: 0).
npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/propr/propr/packages/api
npm error workspace @propr/[email protected]
npm error location /home/runner/work/propr/propr/packages/api
npm error command failed
npm error command sh -c eslint . --max-warnings 0

--- API Reference: OpenAPI Spec & Client Contract ---
✅ OpenAPI spec is current and valid
✅ @propr/client matches the OpenAPI spec

--- Stage outcomes ---
Workflow lint: success
Release shell lint: success
Pre-setup gate: skipped
Node setup: success
Toolchain: success
Dependency install: success
Release metadata: success
CLI packaging: success
Change detection: success
Changed-area checks: failure

View Workflow

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 000ff7f

Summary of Changes

Fixed all five reported lint warnings through helper extraction and grouped dispatch options.

  • Changed-file lint, API lint, and both builds pass.
  • Four regression suites pass.
  • Two integrity tests require refreshed contract hashes.
  • Native reset suite timed out; its cold-start isolation test passed.
  • Full Core lint reports ten unrelated warnings.

May I update source-pins.json and SHA256SUMS for the v1/v2 contracts? Your explicit three-file scope restriction requires approval for those additional edits.


🤖 Implementation Details

  • Model: GPT-6 Astra (medium)
  • Requested By: @github-actions[bot]
  • Time: 13m 4s
  • Tokens: 2,591,558 (2,585,842 in / 5,716 out)
  • Cost: $3.53
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6194747561✓

@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Current exact head 8e824d6f19ad16b215da271613b1fc49d3819e51 passed all four Full Test Suite shards and the browser smoke test, but Build & Lint run https://github.com/integry/propr/actions/runs/38749563123 failed its zero-warning gate. The sanitized artifact reports these exact warnings:

  • packages/core/src/fleet/extensionAuthorityV2.ts:55: invoke complexity 70 > 20
  • packages/core/src/fleet/extensionAuthorityV2.ts:89: arrow-function complexity 30 > 20
  • packages/core/src/fleet/extensionAuthorityV2.ts:223: checkAcquisition complexity 29 > 20
  • packages/core/src/fleet/extensions.ts:166: dispatchAtomic has 6 parameters > 4
  • packages/api/fleetDataListener.ts:122: async arrow-function complexity 24 > 20

Fix these warnings with behavior-preserving typed decomposition and an options object where appropriate. Do not add eslint disables, raise thresholds, relax --max-warnings 0, weaken validation, change the v2 wire contract, alter transaction/recovery/authentication behavior, or enable any readiness/public listener. Preserve the cold-start lazy-import boundary. Refresh every source/checksum pin affected by byte changes. Run exact Core/API lint, typechecks, v2/reset/extension authority tests, fixture and checksum verification, and git diff --check; report any broader test limitation truthfully.

…tion and grouped dispatch options.

Fixed all five reported lint warnings through helper extraction and grouped dispatch options.

- Changed-file lint, API lint, and both builds pass.
- Four regression suites pass.
- Two integrity tests require refreshed contract hashes.
- Native reset suite timed out; its cold-start isolation test passed.
- Full Core lint reports ten unrelated warnings.

May I update `source-pins.json` and `SHA256SUMS` for the v1/v2 contracts? Your explicit three-file scope restriction requires approval for those additional edits.

PR: #3138
Comment by: @github-actions[bot] (ID: 6194747561)
Model: GPT-6 Astra
@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit dc0fb3f

Summary of Changes

Fixed all five warnings using typed helper extraction and an options parameter. Preserved validation, transaction/authentication behavior, wire contracts, and lazy imports. Refreshed affected v1/v2 pins.

Passed: changed-Core and full-API zero-warning lint, both typechecks, authority/v2/crash/extension/reset-proof/data-plane suites, fixture/checksum verification, and git diff --check.

Limitations: native reset timed out at both 180s and 300s; cold-start isolation passed. Mount tests required unavailable privileges. Whole-Core lint retains 10 unrelated warnings. Full CI/browser smoke were not rerun.


🤖 Implementation Details

  • Model: GPT-6 Astra (medium)
  • Requested By: @integry
  • Time: 16m 22s
  • Tokens: 2,543,411 (2,536,677 in / 6,734 out)
  • Cost: $3.41
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6194781662✓

…n options parameter. Preserved validation, transaction/authentication behavior, wire contracts, and lazy imports. Refreshed affected v1/v2 pins.

Fixed all five warnings using typed helper extraction and an options parameter. Preserved validation, transaction/authentication behavior, wire contracts, and lazy imports. Refreshed affected v1/v2 pins.

Passed: changed-Core and full-API zero-warning lint, both typechecks, authority/v2/crash/extension/reset-proof/data-plane suites, fixture/checksum verification, and `git diff --check`.

Limitations: native reset timed out at both 180s and 300s; cold-start isolation passed. Mount tests required unavailable privileges. Whole-Core lint retains 10 unrelated warnings. Full CI/browser smoke were not rerun.

PR: #3138
Comment by: @integry (ID: 6194781662)
Model: GPT-6 Astra
@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @propr-dev[bot]

Analysis Summary

The reported failure is already fixed on current head dc0fb3f31; no further edits were needed.

Verified:

  • Zero-warning lint for all three affected files and the full API package.
  • Core and API typechecks.
  • All 139 tests across four authority, crash-recovery, and extension suites.

Full CI was not rerun. No visual preview is needed.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: GPT-6 Astra (medium)
  • Time: 6m 27s
  • Tokens: 1,433,638 (1,431,302 in / 2,336 out)
  • Cost: $1.96
  • Subscription usage: Weekly +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6194747491✓

@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

/review codex-astra

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex-astra

Overall Evaluation

The PR introduces a separately versioned dual-authority contract with independent Routing authentication, transactional native mutations, and durable signed receipts. It needs a localized test correction before merge.

✅ Independent authentication — Routing signatures are verified against operator-provisioned trust, while the Fleet HMAC separately authenticates transport.

✅ Durable replay protection — Immutable intents and receipts distinguish committed results from incomplete attempts, and exact retries cannot redispatch native work.

✅ Explicit qualification limits — The handoff documents the lack of native-result retrieval and keeps downstream readiness flags false.

The supplied current-head status reports no failed checks and 15 pending. This review is based on static analysis; no commands were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F1: 🔴 Authority-change tests now pass on unrelated errors

  • Required behavior: Regression tests for authority changes during native work must actually change authority and demonstrate that the resulting refusal rolls back the mutation.

  • Evidence: packages/core/test/extensionAuthorityV2.test.ts, test authority changes during native work roll back the mutation and leave a terminal intent; packages/core/src/fleet/extensions.ts, dispatchAtomic.

    1. The actor and extension cases invoke the real dispatchAtomic, which performs the native mutation inside the open SQLite transaction.
    2. Their wrapper assigns args[3] to database. The changed method signature now makes this argument an options object containing { database, guard, secret }.
    3. Calling database('instance_members') or database('extension_instance_identity') throws a TypeError before either authority change occurs.
    4. ExtensionAuthorityV2Plane.invoke catches that unrelated exception, converts it to the expected unavailable refusal, and rolls back the transaction.
    5. The rejection, empty profiles, retained intent, and missing receipt assertions consequently pass without exercising either authority-change scenario.

    The observable consequence is false-positive security regression coverage: these two cases would still pass if the post-mutation authority observation stopped detecting membership or extension-identity changes. The broad production catch hides the actual failure reason from assert.rejects. Verification provenance: static trace of the changed signature, test wrapper, and invocation cleanup; no tests executed.

  • Minimum fix: Read args[3].database in both affected cases. Assert that each intended authority change completed before checking the refusal and rollback, so an injection error cannot satisfy the regression test.

Suggestions

These are optional follow-ups and are not sent to /fix.

No suggestions.

Score

The implementation provides substantial authentication, transaction, and crash-recovery coverage, but two authority-change tests currently succeed for the wrong reason. Correct that localized regression and confirm the pending checks before merge.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 52s
  • Tokens: 104,401 (103,506 in / 895 out)
  • Cost: $0.97

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F1

🤖 Review by ProPR

@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

/fix F1

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 00f27d1

Addressed 1 AI review comment (IDs: 6195628109)

Addressed finding F1

Summary of Changes

Addressed F1 only: corrected args[3].database access and strengthened assertions to prove mutation and authority-change completion before accepting refusal and rollback. Refreshed required checksum records.

All 46 tests pass; generated-artifact verification and diff checks pass. No additional affected callers found. ESLint excludes test files. No visual changes.


🤖 Implementation Details

  • Model: GPT-6 Astra (medium)
  • Requested By: @integry
  • Time: 4m 49s
  • Tokens: 606,305 (604,045 in / 2,260 out)
  • Cost: $1.16

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6195683355✓

…strengthened assertions to prove mutation and authority-change completion before accepting refusal and rollback. Refreshed required checksum records.

Addressed F1 only: corrected `args[3].database` access and strengthened assertions to prove mutation and authority-change completion before accepting refusal and rollback. Refreshed required checksum records.

All 46 tests pass; generated-artifact verification and diff checks pass. No additional affected callers found. ESLint excludes test files. No visual changes.

PR: #3138
Comment by: @integry (ID: 6195683355)
Model: GPT-6 Astra
@integry

integry commented Oct 15, 2026

Copy link
Copy Markdown
Owner

/review codex-astra

@propr-dev

propr-dev Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex-astra

Overall Evaluation

The PR adds a separately versioned, independently authenticated authority contract and commits native SQLite mutations together with signed receipts. No merge-blocking defect was verified in the supplied diff. It is merge-ready within the stated local-contract scope, conditional on the pending checks completing successfully.

✅ Independent authority binding — Routing signatures cover the exact request and are verified against operator-provisioned trust. Core separately checks durable local administrator authority, authority epoch, and runtime identity.

✅ Atomic mutation and receipt — The adapter binds native store queries and nested transactions to the owned SQLite connection. Final authority observation and commit execute synchronously, with incomplete intents preventing redispatch.

✅ Explicit recovery coverage — Added tests exercise transaction failures, independent connection contention, actual SIGKILL boundaries, retained receipts, and credential-acquisition substitutions. Readiness flags correctly remain false.

This review used static tracing of the supplied code; no commands or tests were run. The authoritative current-head status reports no failures and seven pending checks.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S7: 🟢 Bound crash-test child execution

In packages/core/test/extensionAuthorityV2Crash.test.ts, the spawned child has no explicit timeout. If initialization or dispatch hangs before reaching the injected SIGKILL boundary, the parent waits indefinitely for its exit. A bounded timeout that kills and reaps the child would make future regressions easier to diagnose and keep test execution bounded. This is optional test-harness resilience; it does not undermine the demonstrated transaction assertions.

Score

The implementation has strong authentication, transaction, and recovery protections, with substantial targeted coverage and clearly documented qualification limits. Static review found no actionable defect; final merge readiness remains conditional on pending CI results.

Score: 8/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 38s
  • Tokens: 105,848 (105,133 in / 715 out)
  • Cost: $0.98

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S7

🤖 Review by ProPR

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Atomic dual-authority contract for managed extension phases

1 participant