Skip to content

test(core): stabilize delegation audit fixtures (ENG-1028) - #325

Merged
lg2m merged 12 commits into
mainfrom
test/eng-1028-af6-delegation-audit
Oct 16, 2026
Merged

lg2m merged 12 commits into
mainfrom
test/eng-1028-af6-delegation-audit

Conversation

@lg2m

@lg2m lg2m commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

AF6.2 — delegation fixture audit

Plan: docs/plans/agent-feedback.md; ENG-1028 (follow-up, not closing the entire issue).

Changes

  • Native write_file transcript growth replaces process-heavy shell inflation in two child compaction receipts. Sixteen 2 KiB writes still force real compaction; exact accounting and cleanup-order assertions remain.
  • Replace both delegation fixed sleeps with paused-time advances; first child explicitly consumes 10ms before the next admission. Sleep ceiling 76 → 74.
  • Complete 256-call audit fixture uses nextest process watchdog rather than racing the shared 30s inner helper. No assertions removed and no production timeout or runtime changes.
  • Reconcile fix(xtask): close feedback gate review gaps (ENG-1028) #317 shipped status. AF5, further AF6 modules, AF9 mining, AF10, merge-queue operator setup remain open.

Verification

Baseline: 71 delegation tests, 67s; one retried-pass failure. Early stress exposed three more flaky attempts; deadline fixtures fixed. Final concurrent stress: 710/710 delegation tests pass while full gate ran. Independent second-agent review: Approve.

Full CI-profile gate: 2471/2471 workspace tests, doctests, Clippy, minimal provider 211/211 passed (279s). Earlier full run failed two other fixtures; focused reruns and final full gate passed, not hidden. Mutation audit: 17 generated, 10 caught, 6 missed, 1 unviable; no test deletion or mutation-score improvement claimed. Remaining misses concern descendant bounds. No user-visible behavior change; smoke remains remote CI gate.

cargo xtask check

Head 729e83f14a0e vs origin/main; 6 changed files; scope qq, qq-client, qq-core, qq-harness, qq-server, qq-tui, xtask.

Gate Result Tests Time Command
fmt pass 1.3s cargo fmt --all -- --check
lint pass 1.8s cargo xtask lint
clippy pass 17.6s cargo clippy --color never -p qq -p qq-client -p qq-core -p qq-harness -p qq-server -p qq-tui -p xtask --all-targets --all-features -- -D warnings
test pass 1945/1945 passed, 13 skipped 215.9s cargo nextest run --color never --profile ci -p qq -p qq-client -p qq-core -p qq-harness -p qq-server -p qq-tui -p xtask

All gates passed in 236.7s.

Compatibility

Test-only changes. No protocol, schema, dependency, or production performance impact. Module stress iterations typically 24–43s on loaded host; not a controlled performance claim.

@codex review

integrate-your-mind and others added 2 commits October 15, 2026 20:35
* feat(jev): sync cross-host contract boundary

* fix(jev): validate shared nullable usage

* fix(jev): retain approval response provenance

* fix(jev): update approval provenance fixture

* fix(jev): retain checkpoint response provenance

* chore(jev): refresh sleep lint coordinates

* docs(jev): record canonical temp verification

* docs: record final Jev verification and platform limits

* test(qq-core): stabilize shell duration deadline fixture

* fix(jev): retain transport request provenance [skip ci]

* fix(jev): reject reflected credential IDs [skip ci]

* docs(jev): record live transport provenance [skip ci]

---------

Co-authored-by: openclaw-consensus-bot <[email protected]>
AF6.2: baseline a_text_only_slice_report_is_never_audited_or_treated_as_the_answer retried after its inner deadline. Preserve assertions and nextest hang guard; use paused clock for deadlines and native writes for compaction. Mutation audit records remaining descendant-bound coverage gaps.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 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-16T03:30:22.690844Z f4db1da 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.

integrate-your-mind and others added 2 commits October 15, 2026 18:17
…287)

* fix(runtime): preserve protocol 31 recovery baseline

Retain credential coalescing, typed review diagnostics and remaining tool allowances for the protocol 31 compatibility line.

* fix(installer): retain executable payloads before selection

Preserve legacy rollback bytes, verify read-only single-link payloads and reject unexpected selectors before atomically choosing a version.

* WIP: preserve deterministic fixtures and advisory journal ownership

* fix(install): retain rollback payloads with recoverable publication

* docs(install): record takeover of existing PR 287

---------

Co-authored-by: openclaw-consensus-bot <[email protected]>
Co-authored-by: Zachary Meyer <[email protected]>
…egation-audit

# Conflicts:
#	xtask/src/legacy-sleeps.txt
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 729e83f14a

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

* docs(plans): consolidate remaining work and retire stale plans

* docs(plans): preserve review acceptance and successor status

* docs(plans): retain retention and MCP response safety gates
@lg2m

lg2m commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review
Latest main merged without rewriting branch; only conflict was deleted sleep baseline entries versus moved lines. Full CI-profile gate passed at e036b87 in 322.2s. Please review current tip before merge.

@lg2m lg2m closed this Oct 16, 2026
@lg2m lg2m reopened this Oct 16, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: e036b87151

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

…egation-audit

# Conflicts:
#	docs/plans/agent-feedback.md
@lg2m

lg2m commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review
Main advanced with #323 deleting the superseded plan. Resolved modify/delete by preserving that deletion; original audit code unchanged. Affected CI-profile gate passes at ebe11c1 (195.8s). Prior full remote CI at e036b87 passed including Windows and WASM; local smoke 6/6. Please approve latest merge tip.

@lg2m

lg2m commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

Final tip ebe11c1: full local CI-profile gate passes in 175.2s: fmt/lint/Clippy; 2476/2476 workspace tests (14 skipped); doctests; minimal-provider Clippy and 211/211 tests. Local smoke 6/6. Latest PR CI 38836155762 passes (5m26s), website build passes. Previous full dispatched CI 38835025352 also passed Windows teardown and WASM. No review threads exist to resolve. Waiting for current-tip Codex completion/actual thumbs-up before merge.

@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: ebe11c108a

ℹ️ 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 commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review
Fixed and explicitly resolved frozen-clock watchdog thread in 45c93ee. Full local CI-profile gate passes: 2476 workspace tests plus 211 minimal-provider tests, doctests, lint, fmt and Clippy (242.8s). Please review final tip for thumbs-up.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 45c93eeab9

ℹ️ 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 enabled auto-merge (squash) October 16, 2026 02:05
@lg2m

lg2m commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

Codex reviewed final tip 45c93ee with no findings and its actual +1 reaction is present. The only review thread is explicitly resolved. CI passes (5m14s); full local gate passed 2476/2476 + minimal 211/211. Auto-merge enabled. Immediate merge is blocked by repository rules requiring one approving/code-owner review, last-push approval, and github-pages deployment. I did not bypass those policies with --admin.

@lg2m
lg2m disabled auto-merge October 16, 2026 02:39
@lg2m

lg2m commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

Removed reverted PR #319 from this branch in ec75767. Its original merge 60dd03d was present via an earlier main merge; explicit revert now cancels it. Verified against current main: diff is only five AF6 audit files (shared tests, delegation tests, progress ledger, legacy sleep baseline, lint ceiling). All 21 non-overlapping #319 paths match main exactly; two shared paths contain only audit edits, not Jev provenance additions. No production Jev/protocol changes remain. Full CI-profile gate passes in 202.6s. Auto-merge remains disabled pending renewed review. @codex review

@lg2m

lg2m commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

Final reconciliation 0b8a6ed also merges rewritten current main, so GitHub three-dot diff is narrowed to the same five audit files (no unrelated install/docs changes). Affected CI-profile gate passes in 190.8s; resulting tree is unchanged from full-gate-verified ec75767. PR319 code remains reverted. @codex review

…egation-audit

# Conflicts:
#	xtask/src/legacy-sleeps.txt
#	xtask/src/lint.rs

@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: 0b8a6edbb3

ℹ️ 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 commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

Conflicts resolved in fc6c1e5 against main ffa4694: preserve main’s removed side-timeout sleep and updated locations, preserve this PR’s two removed delegation sleeps. Ceiling now 73 = main 75 minus two. cargo xtask lint passes 73/73; affected CI-profile check passes in 276.4s. Diff remains only five AF6 audit files; reverted PR319 production code is not reintroduced. @codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: fc6c1e5c80

ℹ️ 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 commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review
Post-release frozen collection now has its own live 30-second watchdog in d661c1d, with paused-time failure-path regression. Finding explicitly marked resolved. Affected CI-profile gate passes.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: d661c1d752

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

…egation-audit

# Conflicts:
#	xtask/src/legacy-sleeps.txt
@lg2m

lg2m commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

Resolved latest legacy-sleeps conflict in f4db1da. Preserved current main line movements and the two delegation sleep removals. lint passes 73/73; affected CI-profile gate passes in 260.5s. @codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: f4db1da43c

ℹ️ 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 bd17a20 into main Oct 16, 2026
6 checks passed
@lg2m
lg2m deleted the test/eng-1028-af6-delegation-audit branch October 16, 2026 03:32
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.

2 participants