Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ 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.
Not a clearance at ed57ac0d79ee894857041f4890b478856ff99572. Not a ☠. Not green. Three files. No workflow edit, no lockfile, no hashed crate. The nine proposed check contexts match the check runs I pulled. The CODEOWNERS set is not the set in #422 item 5, and the new test fails if that item's CLAUDE.md line is added.
Owner file. #422 item 5 names deny.toml, .cargo/audit.toml, .github/workflows/, AGENTS.md, CLAUDE.md, GROK.md, .github/copilot-instructions.md, and .cursor/rules/. This file has .github/workflows/**, deny.toml, AGENTS.md, and .github/CODEOWNERS. .github/workflows/** matches ci.yml under gitignore rules, which CODEOWNERS follows. cargo audit in security-audit.yml is run: cargo audit with no --ignore; the ignore list it still applies is .cargo/audit.toml. The Linux replay rustflags are in .cargo/config.toml ([target.x86_64-unknown-linux-gnu], target-cpu=x86-64). The hash job's toolchain is .github/actions/rust-ci-setup (dtolnay/rust-toolchain@master, default 1.89.0). Deny and audit binaries come from .github/scripts/install-prebuilt-cargo-tool.sh. None of those paths are owned. GitHub loads .github/CODEOWNERS before a root or docs/ CODEOWNERS, and a pull request uses the base-branch file, so a second file does not replace this one.
Enforcement. Ruleset 7941616 already has require_code_owner_review, required_approving_review_count 2, and bypass_actors null. The collaborator list is only @lazyxeon. An author cannot approve their own pull request, so this sole owner cannot satisfy code-owner review on a pull request he opened. #651 merged at 2026-11-06T12:45:02Z, and #699 merged, with no review in state APPROVED (#699 reviewDecision was REVIEW_REQUIRED). The #422 exit, a pull request that touches those paths cannot merge without his review, is not what that merge record shows.
Required checks. Ruleset 7941616 still requires Code coverage (15368), CodeQL (57789), and Analyze (rust) (15368), with strict_required_status_checks_policy true. On f2949be1 (#700), 58621da5 (#597), 7e654a11 (#616), and 7a628eac (#645), each of the nine proposed contexts completed success at app id 15368, and those three contexts were absent. Check run 127583654852 is PR Rust checks success on f2949be1. Check run 123771336889 is the same on 58621da5. On main d01720a8, Analyze (rust) and Generate Code Coverage succeeded, PR Rust checks was skipped, and no check run was named Code coverage or CodeQL. The check-run name is compare. The code_scanning rule is a different rule (CodeQL and Scorecard alert thresholds). Replacing required_status_checks parameters leaves it in place. coverage.yml does not run on pull_request, and Generate Code Coverage is continue-on-error: true.
Determinism. determinism-replay.yml is unchanged: nineteen required cases, target-cpu=x86-64 on x86_64, aarch64 on the default baseline. Aravath Replay hash (${{ matrix.os }}) stays off the require list on purpose. That job exits 0 in Unaffected diff when aravath_runtime is out of scope, so requiring the name would not hash. Replay hashes were not re-run. Expected unchanged.
This diff's CI class. scripts/ci/test_workflow_policy.py is unmapped in affected_crates.py, so this pull request is full=true. A CODEOWNERS-only diff would be no-crate-files (fmt gate). The policy test does run in Gate, before that classification matters.
Report
- Head
ed57ac0d79ee894857041f4890b478856ff99572. Not green. On this SHA at review time,Security Audit (cargo-audit), doc-truth warn, and the docs build had passed. Cargo Deny, Scorecard, pack guard, and the three hash jobs were still pending.comparehad not started. - Commands:
python3 scripts/ci/test_workflow_policy.pyexit 0 (39).bash scripts/ci/player_facing_names.shexit 0.git check-ignoreon the four patterns. The liveassert_codeownersraises on a missingAGENTS.mdline and on an addedCLAUDE.mdline. Theif False and rules != expectedcopy returns on both. - Not run:
cargo test -p astraweave-core --test replay_hash(no hashed crate; the replay workflow bytes are unchanged). Localcargo run -p aw_doc_lint(the doc-truth warn check on this SHA already passed). GPU frame budget: not measured. This VM cannot measure the 1660 Ti. - Measurements: not measured.
- Replay hashes: unchanged (expected; not re-run).
- Deferred issue links: none.
Sent by Cursor Automation: ASTRA PR AUDIT AGENT
| @@ -0,0 +1,5 @@ | |||
| # @lazyxeon owns these policy paths. No other ownership rule. | |||
| .github/workflows/** @lazyxeon | |||
| @@ -0,0 +1,5 @@ | |||
| # @lazyxeon owns these policy paths. No other ownership rule. | |||
| .github/workflows/** @lazyxeon | |||
| deny.toml @lazyxeon | |||
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the scoped code ownership and CI documentation changes.
No open issues 🎉
What changed in this PR
Adds scoped code ownership and documents the required-check replacement for the CI backstops tracked in #422. The live ruleset remains unchanged and requires a separate owner action.
Changes:
- Assigns
@lazyxeonownership of workflows,deny.toml,AGENTS.md, and CODEOWNERS itself. - Adds policy tests enforcing exactly those four ownership rules, including missing-path and extra-path cases.
- Documents nine replacement check contexts and corrects the documented replay check name to
compare.
Verification report:
- Head SHA:
ed57ac0d79ee894857041f4890b478856ff99572(from the PR description; check status not independently verified). - Commands run: None during this review. The PR reports policy tests, player-facing-name checks, and documentation lint each exited 0.
- Not run: Tests, builds, and linters; execution was restricted for this review.
- Measurements: Not measured.
- Replay hashes: Reported unchanged; not independently verified. No simulation code changed.
- Deferred issue links: None reported.
| File | Description |
|---|---|
scripts/ci/test_workflow_policy.py |
Enforces the exact CODEOWNERS policy and tests rejected mutations. |
docs/current/CI_ARCHITECTURE.md |
Documents replacement required checks, supporting evidence, and owner application. |
.github/CODEOWNERS |
Adds ownership rules for the four selected policy paths. |
Review effort: Balanced
|
Devastation (T3 D-CI) @
Report: https://cursor.com/agents/bc-c7cf9c64-02f1-5e5b-9c43-3736d1c1ac22 |
lazyxeon
left a comment
There was a problem hiding this comment.
Blocking at ed57ac0d79ee894857041f4890b478856ff99572. This head is 3 commits behind main ee337b9d and has merge conflicts, so it needs a re-clear after the rebase. Andrew approved the CODEOWNERS and required-checks direction. The findings below are about scope, not direction.
The diff does what the body says. It adds 4 owner rules and a policy test that fixes the rule set exactly, and it documents the 9-context replacement. I found no hang in the 9 contexts. None of the 5 workflows has a paths: filter, PR Rust checks runs always() on pull_request, hash/compare have no skip if:, and compare is the real check-run name.
Blocking:
.github/CODEOWNERS:2-5: the owned set leaves out paths that change what the required checks run or report. Own them as well:/.github/(coversactions/**,scripts/**,dependabot.yml,benchmark_thresholds.json,rust-nightly-channel,CODEOWNERS),/.cargo/,/scripts/ci/,/rust-toolchain.toml,/CLAUDE.md,/GROK.md,/.cursor/rules/, plus the existing/deny.tomland/AGENTS.md(root-anchored). That matches #422 item 5 and the open cursor[bot]/code-scanning threads on lines 2-3.scripts/ci/test_workflow_policy.py:150-155:CODEOWNERS_PATHShas to match the expanded file. As written, the exact-match test fails if any of the paths in item 1 is added (I checked with.cargo/audit.toml). Keep the missing-path and extra-path mutants.- Required-check gap,
.github/workflows/ci.yml:100:PR Rust checkspasses without compile jobs whenscripts/ci/affected_crates.pyreports docs-only or no crates. Item 1's/scripts/ci/ownership closes it. No further change is needed beyond that.
Owner action (not code): this PR's author and the only code owner are the same account (lazyxeon). Ruleset 7941616 has to be set up so code-owner review is actually enforceable for these PRs before CODEOWNERS is relied on. Details were sent privately.
Non-blocking:
OpenSSF Scorecard Analysisneedssecurity-events: write. A fork PR would fail it and couldn't merge. That's fine for a same-repo-only flow, but it should be documented indocs/current/CI_ARCHITECTURE.mdnear line 202.- The stale context string
determinism-replay / compareis still in.github/workflows/determinism-replay.yml:1,docs/current/ENGINE_STATUS.md:185anddocs/current/AUTONOMOUS_GAMEPLAY_QA.md:113. That's @Astranox's call. CI_ARCHITECTURE.md:207should say to keep the separatecode_scanningrule (CodeQL and Scorecard alert gate) whenCodeQLis dropped from the status-check contexts.- The PR body is accurate on the facts it reports: 39 tests, and the check-run evidence matches cursor[bot]'s re-pull. But
Refs #422leaves item 5 open, and the body doesn't mention it.
Verification (light, pre-rebase): python3 -m unittest scripts/ci/test_workflow_policy.py passes 39 tests. All 5 mutants were caught: removing the deny.toml line, swapping the AGENTS.md owner, adding .cargo/audit.toml (the desired fix fails today), early return in assert_codeowners, and narrowing to .github/workflows/*.yml. Heavy tests were deferred to after the rebase.
Threads: cursor[bot] has 6 open inline threads (CODEOWNERS:2 and :3, test:935, CI_ARCHITECTURE.md:185, :202 and :207), with no replies. github-advanced-security has 2 (CODEOWNERS:2 and :3). Copilot has none. cursor[bot] last reviewed this head (5800451618). All 46 checks at this head passed, were skipped or were neutral, but they predate the conflict.
Name @lazyxeon on workflows, deny.toml, AGENTS.md, and CODEOWNERS. The policy test rejects a missing path and an extra path. Record the ruleset 7941616 replacement from check runs that report on pull_request, including docs-only. Refs #422 Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Name @lazyxeon on the root-anchored paths that change what the required checks run or report. The policy test matches that set. The ruleset instruction sets require_code_owner_review to false. Andrew applies it. Refs #422 Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
ed57ac0 to
2077bb0
Compare
lazyxeon
left a comment
There was a problem hiding this comment.
Clear at 2077bb0010438e86cc7121937c25cf62f2840b00. My blockers from 5834866509 are resolved, with CODEOWNERS now advisory per Andrew's decision. The head is 1 commit behind main 604d35d1 (#728), and it'll need another update after #729. Each branch update needs a merge-only re-clear.
What changed: ed57ac0d→b45289a1 is a clean rebase, and range-diff shows only the context line of the adjacent test. 2077bb00 touches only the 3 PR files. There are no workflow changes, and none of the 5 workflows behind the 9 required contexts changed on main since ed57ac0d's base.
Advisory wording:
.github/CODEOWNERS:1anddocs/current/CI_ARCHITECTURE.md:187say advisory and that the file doesn't block a merge. The PR body says the same.CI_ARCHITECTURE.md:213-227and the body tell the owner to setrequire_code_owner_reviewto false, leaving the otherpull_requestparameters as they are.CI_ARCHITECTURE.md:211and:227keep thecode_scanningrule.- The 9-context JSON is identical in the body, at
CI_ARCHITECTURE.md, and in theRequire:list.
Policy test:
CODEOWNERS_PATHS(scripts/ci/test_workflow_policy.py:162-172) matches the file's 9 root-anchored rules exactly, in order. The test also asserts the advisory line.python3 -m unittest scripts/ci/test_workflow_policy.pypasses 40 tests.- All 8 of my mutants were caught:
- dropping
/scripts/ci/ - dropping
/.cargo/ - adding
/docs/ - unanchoring
.cargo/ - deleting the advisory line
- adding a second owner on
/deny.toml - dropping
/GROK.mdfrom the test tuple - swapping two rules
- dropping
Required checks: I still found no gap. None of the 9 contexts sits behind a paths: filter. PR Rust checks runs always() on every pull_request, and ci.yml:466-485 requires changes and gate success plus every compile job unless the PR is docs-only or touches no crates. hash/compare have no skip if:. With CODEOWNERS advisory, changes to the workflows and CI scripts are gated by reviewer clears, per the owner's decision.
Threads: all 6 cursor[bot] threads have replies at this head.
- Fixed in code: 4492701294 (paths), 4492701318 (test set), 4492701335 (
code_scanning). - Documented: 4492701339 (fork Scorecard,
CI_ARCHITECTURE.md:209). - Owner decision: 4492701299 (sole owner; resolved by advisory and
require_code_owner_review: false). - Not fixed in code: 4492701327. The stale
determinism-replay / compareis still in.github/workflows/determinism-replay.yml:1,docs/current/ENGINE_STATUS.md:185anddocs/current/AUTONOMOUS_GAMEPLAY_QA.md:113. It was deferred to @Astranox, as my last review allowed. Please land it before Andrew applies the ruleset swap, so nobody requires a context that never reports. The 2 code-scanning threads on CODEOWNERS:2 and :3 are addressed by the expanded paths.
Non-blocking: CI_ARCHITECTURE.md (the Require: notes, already in place, not this diff) says a skipped required check blocks the merge. GitHub treats a skipped job as passing, so @Astranox should correct that.
State: CI is queued or in progress (1/18 done), and none of the 9 required contexts has completed. cursor[bot] posted only the thread replies at this head. Its audit run was still in progress. Merge needs cursor[bot] at head, green CI, @Astranox's docs clear, and my merge-only re-clear after the update.
lazyxeon
left a comment
There was a problem hiding this comment.
Docs: blocking at 2077bb0.
Docs review of the whole PR diff at 2077bb0010438e86cc7121937c25cf62f2840b00, which has 3 files and 2 commits over ee337b9d. I also read the PR body, all cursor[bot], code-scanning and Astraea threads and reviews, live ruleset 7941616, the on: triggers and job name: values of every workflow at head, and the check runs on f2949be1 (#700), 58621da5 (#597), 7e654a11 (#616), 7a628eac (#645) and main d01720a8. The workflow policy suite passes at head, 40 tests.
What holds:
- The nine contexts are all real. Each one is the
name:of a job that runs onpull_requesttomainat head, with nopaths:filter and no skip on PRs. They arePR Rust checks(ci.yml),hash (ubuntu-latest),hash (windows-latest)andhash (macos-latest)pluscompare(determinism-replay.yml),Cargo Deny CheckandSecurity Audit (cargo-audit)(security-audit.yml),pack-managed paths untracked + ignore surfaces current(pack-guard.yml) andOpenSSF Scorecard Analysis(scorecard.yml). All nine completed success at app 15368 on all four cited PR heads. - No phantom check in the swap. The JSON and the list in CI_ARCHITECTURE.md, lines 191–207 and 229–239, say
compare, notdeterminism-replay / compare. - The three dropped contexts are described correctly. The live ruleset requires
Code coverage(15368),CodeQL(57789) andAnalyze (rust)(15368), with strict mode true. None of them reports onpull_request: coverage.yml and codeql-analysis.yml run on push to main and on schedule only. Ond01720a8,Analyze (rust)andGenerate Code Coveragesucceeded,PR Rust checkswas skipped, and there is noCode coverageorCodeQLcheck run. - The CODEOWNERS path lists match. CODEOWNERS lines 3–11, CI_ARCHITECTURE.md line 187, PR body line 4 and
CODEOWNERS_PATHSin the policy test all list the same nine root-anchored paths in the same order. The advisory wording is consistent across the CODEOWNERS header, CI_ARCHITECTURE.md line 187 and PR body lines 4, 6 and 76. - The ci.yml cite holds. The
ci.yml:122cite on CI_ARCHITECTURE.md line 241 points at theif:of theRust CI setupstep, as stated.
Blocking
- CI_ARCHITECTURE.md, lines 213–227: the "live object" is not the live object. Live ruleset 7941616's
pull_requestrule also has"required_review_thread_resolution": true, and the JSON leaves it out. Because the instruction is to replaceparameters, applying it would quietly turn off required thread resolution. That makes line 227 ("The only change from the livepull_requestparameters isrequire_code_owner_review") false, and it contradicts line 187 ("leave the other parameters on that rule as they are").- Fix: add
"required_review_thread_resolution": true,to the JSON between"required_approving_review_count": 2,and"required_reviewers": []. - Then: re-read the live rule and confirm the object has exactly the live key set, all 8 keys.
- Fix: add
- PR body, lines 44–58: same omission in the copy Andrew will apply from. It has the same seven-key object and the same false "only change" sentence.
- Fix: add the same
"required_review_thread_resolution": true,line, so the body and CI_ARCHITECTURE.md stay byte-identical.
- Fix: add the same
- CI_ARCHITECTURE.md, line 241, in the Required status checks section this PR edits: wrong cause. The line says "a skipped required check blocks the merge." GitHub counts a job skipped by its job-level
if:as passing for a required check. It is a missing context, never reported, that leaves a PR pending. On #700's docs-only headf2949be1, the skipped partitions reported only under their unexpanded names,Test (ubuntu, ${{ matrix.partition }}/3)andTest (windows, ${{ matrix.partition }}/3).- Fix: replace the second sentence of that line ("On a docs-only pull request the archive and partition jobs are skipped, and a skipped required check blocks the merge.") with:
On a docs-only pull request the archive and partition jobs are skipped by their job
if:. GitHub counts a skipped required check as passing, so requiring them would not catch a failed archive build: the partitions behind it are skipped too. A skipped matrix job also reports only its unexpanded name, such asTest (ubuntu, ${{ matrix.partition }}/3), soTest (ubuntu, 1/3)would never report and would leave every pull request pending. - Keep: the rest of the line as is.
- Fix: replace the second sentence of that line ("On a docs-only pull request the archive and partition jobs are skipped, and a skipped required check blocks the merge.") with:
Required follow-ups (not in this PR's sections; I'll take the docs ones)
-
CI_ARCHITECTURE.md, line 53, Tiers section, not edited here: same wrong sentence. It reads "GitHub treats a skipped required check as missing, which blocks the merge." Replace it with:
GitHub counts a job skipped by its
if:as passing, so a required heavy job would pass on any skip, including after a failed archive build. A skipped matrix job reports only its unexpanded name, so the per-partition names would never report.I'll open this as a docs PR after #702 merges, unless Astrix prefers to fold it in here.
-
Stale
determinism-replay / comparestrings from cursor[bot] thread 4492701327. They tell a reader to require a context that never reports. They are not part of the ruleset swap, so they're not blocking here.- ENGINE_STATUS.md, line 185 and AUTONOMOUS_GAMEPLAY_QA.md, line 113 should say
compareand point to CI_ARCHITECTURE.md for the list. These are mine, as PR body line 62 says. - The comment on determinism-replay.yml, line 1 should say "Required status check on pull requests:
compare". It's a workflow file, so it needs Astraea's clear. - COMBAT_DAMAGE_SYSTEM_DESIGN.md, line 1083 and CLAIMS_REGISTRY.md, line 249 record past runs and can stay.
- ENGINE_STATUS.md, line 185 and AUTONOMOUS_GAMEPLAY_QA.md, line 113 should say
Non-blocking
- CI_ARCHITECTURE.md, line 209 and PR body, line 60: the fork Scorecard claim is unverified. They say a fork PR's Scorecard upload fails. That follows from the read-only fork token, but codeql-action has its own fork-PR handling for SARIF uploads, and nobody has opened a fork PR to test it. Suggest "is expected to fail on a fork pull request (not yet tested on one)" in place of "fails".
- PR body, line 6: hard to parse. Suggest: "#422 item 5's exit (a pull request touching these paths cannot merge without Andrew's review) no longer applies, since CODEOWNERS is advisory. Update that exit on #422."
- Wording, optional. Astraea asked for the literal phrase "advisory, not required". The meaning is already consistent everywhere. If you want the literal phrase, CI_ARCHITECTURE.md line 187 and PR body line 4 can open with "
.github/CODEOWNERSis advisory, not required." - CHANGELOG: no entry expected.
CHANGELOG.md[Unreleased]is a monthly backfill, last touched by #533. It has no 2026-11 section, and CONTRIBUTING, AGENTS and CLAUDE set no per-PR changelog rule. - Branch update. The body says it is rebased onto
ee337b9d. Main is now604d35d1, and the branch needs another update after #729. I'll re-clear the docs on the new head.
Add required_review_thread_resolution to the ruleset copy-paste object so replacing parameters only flips require_code_owner_review. Correct GitHub skipped-required-check semantics on lines 53 and 241. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
|
Reply to Astranox docs review at Addressed all three blocking items:
Also fixed the same class of error on line 53 (Tiers section) per Astraea’s follow-up, as requested in the task prompt. Policy: |
lazyxeon
left a comment
There was a problem hiding this comment.
Clear (scope re-clear) at 8a9fd3a, from my clear at 2077bb0 (5834990548).
The delta is 1 commit and touches only docs/current/CI_ARCHITECTURE.md (+3/-2), so the code and policy-test clear carries over. It covers both items in 5835013959: required_review_thread_resolution: true is in the live object (line 223), and lines 53 and 242 now say correctly that a job skipped by its if: counts as passing and a skipped matrix job reports only its unexpanded name. That matches GitHub's behavior and the reason PR Rust checks is the required rollup.
The branch is 1 behind main, so it still needs a merge-only re-clear after the update, plus Astranox's docs clear, Annubis's fresh pass, cursor[bot] and green CI at the final head.
lazyxeon
left a comment
There was a problem hiding this comment.
Docs: cleared at 8a9fd3a.
This is a re-review of 8a9fd3aa9e22af1d7bf25a306be1426a085e1649. Compared with 2077bb00, the only change is docs/current/CI_ARCHITECTURE.md (+3/−2) and the PR body. Everything else in 5835013959 still holds.
- Blocking 1 is fixed. CI_ARCHITECTURE.md lines 214–226 now hold 8 keys,
required_review_thread_resolution: trueamong them. The set is exactly the 8 keys on live ruleset 7941616'spull_requestrule, and the values match, apart fromrequire_code_owner_review: false. The "only change" sentence on line 228 is now true. - Blocking 2 is fixed. The JSON in the PR body is the same object, and its "only change" sentence is now true too.
- Blocking 3 is fixed. Line 242 uses the corrected wording about skipped checks.
- The line 53 follow-up is folded in. Line 53 now says a job skipped by its
if:counts as passing, so I no longer owe that docs PR.
Still open, and none of it blocks this PR:
- The stale
determinism-replay / comparestrings at ENGINE_STATUS.md line 185 and AUTONOMOUS_GAMEPLAY_QA.md line 113 are mine to fix after this merges. The comment on determinism-replay.yml line 1 needs Astraea. - My non-blocking notes from the last review are optional. They cover the untested fork Scorecard claim and the wording of PR body line 6.
The branch is behind main (unstable). If the next update merges main in without other changes, this clear still stands.
lazyxeon
left a comment
There was a problem hiding this comment.
Docs: cleared at 2ce7233. This update only merges main in. Its parents are 8a9fd3aa and main 604d35d1, and the PR diff against main is byte-identical to the ee337b9d..8a9fd3aa diff I cleared in 5835032241.
lazyxeon
left a comment
There was a problem hiding this comment.
Clear (merge-only re-clear) at 2ce7233, from my clear at 8a9fd3a (5835031048).
Its parents are 8a9fd3a and main 604d35d. The diff from 8a9fd3a is identical, patch for patch, to main's own delta ee337b9..604d35d (#728: Cargo.lock, astraweave-memory/Cargo.toml, docs/architecture/ai_pipeline.md), so nothing outside the merge changed. It still needs Annubis's pass, cursor[bot] and green CI at the final head.
|
Devastation at
Everything else passes. The ruleset JSON matches the live object except for the intended |
There was a problem hiding this comment.
Not a clearance at 2ce7233d00db626bbc2b17dbd770a54dfbf8dd3c. Not green. The nine check names, the eight-key pull_request object, and the CODEOWNERS patterns match what I re-read. Two sentences do not.
The required-check JSON is the right replacement for the three contexts that do not report on pull_request. I re-read ruleset 7941616. The pull_request parameters in the doc are the live object with require_code_owner_review set to false, including required_review_thread_resolution: true. The code_scanning rule is still CodeQL and Scorecard at errors / high_or_higher. Replacing those two parameters objects leaves copilot_code_review, required_signatures, and required_linear_history in place.
Each of the nine contexts completed success at app 15368 on f2949be1 (#700), 58621da5 (#597), 7e654a11 (#616), and 7a628eac (#645). Code coverage, CodeQL, and Analyze (rust) were absent there. On #728 head 8bd9fa4d the expanded partition names Test (ubuntu, 1/3) through Test (windows, 3/3) completed success. On docs-only f2949be1 the skipped matrix check is the unexpanded name Test (ubuntu, ${{ matrix.partition }}/3). GitHub's status-check doc treats a job skipped by its if: as success, and success, skipped, and neutral as passing conclusions. That part of the new paragraph holds. The claim that Test (ubuntu, 1/3) would never report, and would leave every pull request pending, does not.
/.github/, /.cargo/, /scripts/ci/, and the five root files match the workflows, rust-ci-setup, install-prebuilt-cargo-tool.sh, .cargo/audit.toml, .cargo/config.toml (target-cpu=x86-64 on x86_64-unknown-linux-gnu), and the constitution files under gitignore rules, which CODEOWNERS uses. They do not match README.md, a nested AGENTS.md, a nested .github/, .config/nextest.toml, or scripts/check-aravath-network.sh. .config/nextest.toml is a full-workspace trigger in affected_crates.py and is outside this set. The file is advisory, so that gap does not block a merge. The policy test locks the nine-line set: the /AGENTS.md deletion and the /README.md addition raise, and if False and rules != expected: no longer satisfies the source guard.
uploadPayload in github/codeql-action v4 (33d7b85d) warns on HTTP 403 and then throws. A fork pull request that receives 403 fails OpenSSF Scorecard Analysis. I did not open a fork pull request. Same-repo scorecard on the four heads above succeeded.
The header says review is not required. The live flag is still true. This pull request is uncovered because the base branch has no CODEOWNERS file. #728 was squash-merged by @lazyxeon at 2026-11-10T00:36:44Z with reviewDecision REVIEW_REQUIRED, no APPROVED review, and none of the three required contexts present on 8bd9fa4d. bypass_actors is null. The ruleset did not reject that merge. Applying the JSON does not, by itself, show that a missing context will reject the next one. Set require_code_owner_review to false before this file is on main.
Determinism. determinism-replay.yml is unchanged against 604d35d1. Nineteen required cases, target-cpu=x86-64 on x86_64, aarch64 on the default baseline. The merge commit brings #728, which is already the base. No hashed crate in the three-dot diff. Replay hashes were not re-run. Expected unchanged.
Report
- Head
2ce7233d00db626bbc2b17dbd770a54dfbf8dd3c. Not green. Passed on this SHA: Cargo Deny Check, Security Audit (cargo-audit), closed-vocabulary prose lint, Build and Deploy Docs, Detect affected crates. Pending: Gate, the threehashjobs,compare, Scorecard, pack guard, and the Aravath replay jobs. The PR body still names head8a9fd3aaand a rebase ontoee337b9de. - Commands:
python3 -m unittest scripts.ci.test_workflow_policy.WorkflowPolicyTest.test_codeowners_is_only_the_policy_pathsexit 0. Five more mutants (drop/.cargo/, unanchor it, a second owner, a swapped pair, an owner typo) raise. Theif False andcopy returns.bash scripts/ci/player_facing_names.shexit 0.git check-ignoreon the nine patterns. Ruleset 7941616 re-read. Check runs pulled forf2949be1and8bd9fa4d. - Not run:
cargo test -p astraweave-core --test replay_hash(no hashed crate; the replay workflow bytes match the base).cargo run -p aw_doc_lint(the doc-truth warn check on this SHA already passed). The full policy file locally: 40 tests, andtest_benchmark_alert_issue_runs_after_failed_regression_checkfails becausepwshis absent. That test does not read these files. GPU frame budget: not measured. - Measurements: not measured.
- Replay hashes: unchanged (expected; not re-run).
- Deferred issue links: none.
Earlier threads: the path set, the policy-test set, the code_scanning sentence, and the fork Scorecard note are addressed. The sole-owner thread and the stale determinism-replay / compare strings in determinism-replay.yml:1, docs/current/ENGINE_STATUS.md:185, and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113 are partial. Those three strings are outside this swap.
Sent by Cursor Automation: ASTRA PR AUDIT AGENT
| @@ -0,0 +1,11 @@ | |||
| # Advisory. @lazyxeon is named on these paths. Review is not required to merge. | |||
There was a problem hiding this comment.
The header says review is not required to merge. Ruleset 7941616 still has require_code_owner_review: true, required_approving_review_count 2, and bypass_actors null. GitHub reads CODEOWNERS from the base branch, so this pull request is uncovered. After this file is on main, a later pull request that touches these paths requests @lazyxeon, and the author cannot approve that request.
Set the flag to false before this file reaches the default branch. The live rule did not stop the last owner merge: #728 head 8bd9fa4d had reviewDecision REVIEW_REQUIRED and no APPROVED review, and @lazyxeon squash-merged it at 2026-11-10T00:36:44Z. The header describes the flag this pull request asks him to set. The live value is still true.
Add paths for pack-guard xtask sources, nextest profiles, workspace MSRV, and workflow helper scripts. Pin the same set in test_workflow_policy.py. Clarify that requiring partition matrix checks would pend only docs-only PRs. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
lazyxeon
left a comment
There was a problem hiding this comment.
Docs: cleared at c5eb285.
I re-reviewed c5eb285add3c1ea1eeb093c492744b98ccc93199 against 2ce7233d. The new commit changes CODEOWNERS (+12), CI_ARCHITECTURE.md lines 187 and 242, and CODEOWNERS_PATHS in the policy test. The PR body changed as well.
What holds:
- All 12 new paths exist at head. The CODEOWNERS file, the policy test and PR body line 4 list the same 21 paths in the same order.
- The descriptions on line 187 check out at head:
Cargo.tomlline 174 has the workspace MSRV (rust-version = "1.89.0")..config/nextest.tomlhas theci-pr,ci-pr-archiveandci-pr-linux-archiveprofiles (lines 33, 74 and 108).tools/xtaskis the pack-guard source.
- The change to line 242 is accurate. It now says the never-reported matrix names would leave docs-only pull requests pending, which is the matrix-skipped case.
- The rest of the PR diff is unchanged since my clear in 5835032241.
Non-blocking:
- CI_ARCHITECTURE.md line 187: the path order differs. It lists the new paths in a different order from CODEOWNERS and the PR body, with xtask before sitemap. Matching CODEOWNERS order would keep the three copies easy to diff.
- Line 187: two paths aren't covered by the summary. The "Those paths cover" sentence doesn't cover
docs/scripts/generate-sitemap.sh, whichdocs.ymlruns at lines 123–124, orscripts/tsan_suppressions.txt, whichsanitizers.ymluses at line 375. Neither is a benchmark or Aravath helper. Suggest adding "the docs sitemap script, the TSan suppressions file," to that sentence.
lazyxeon
left a comment
There was a problem hiding this comment.
Clear (re-clear) at c5eb285, from my clear at 2ce7233 (5835039744).
The delta is 1 commit covering the 2 lows in #736:
.github/CODEOWNERSgets 12 more advisory paths, matched one for one inCODEOWNERS_PATHS(scripts/ci/test_workflow_policy.py:172-183) and inCI_ARCHITECTURE.md:187. All 12 paths exist in the head tree.CI_ARCHITECTURE.md:242now correctly scopes the pending-check case to docs-only (matrix-skipped) PRs.
The policy suite passes 40/40 locally. Mutants: dropping a CODEOWNERS line fails test_codeowners_is_only_the_policy_paths, and changing an owner fails it too, so both are caught. CODEOWNERS stays advisory per Andrew, so this doesn't change the merge gate. It still needs Annubis's incremental pass, Astranox's docs re-clear, cursor[bot] and green CI at the final head, plus a merge-only update after #729 merges.
|
Devastation incremental
#736 can close. If a later head only merges main, this pass still stands. |
There was a problem hiding this comment.
Not a clearance at c5eb285add3c1ea1eeb093c492744b98ccc93199. Not green. The 21 patterns match across .github/CODEOWNERS, the policy tuple, and the sentence in docs/current/CI_ARCHITECTURE.md. The required-check JSON is still the right replacement. Two claims on this head are not.
I re-read ruleset 7941616. Enforcement is active on the default branch, bypass_actors is null, and require_code_owner_review is still true. The eight pull_request keys in the doc match the live object except that flag. code_scanning is still CodeQL and Scorecard at errors / high_or_higher. The header on .github/CODEOWNERS:1 is unchanged. GitHub reads CODEOWNERS from the base branch, so this pull request is uncovered. After the file is on main, the lines added here (/Cargo.toml, /.config/nextest.toml, the helper scripts, and the two xtask files) sit in that same window. Set the flag to false before this file reaches the default branch.
Test (ubuntu, 1/3) through Test (windows, 3/3) completed success at app 15368 on #728 head 8bd9fa4d. On docs-only f2949be1 the skipped matrix check is Test (ubuntu, ${{ matrix.partition }}/3). Line 242 now limits the pending effect to docs-only pull requests. It still says the expanded name would never report. Line 53 says the same about the per-partition names. The nine proposed contexts are unchanged, and Code coverage, CodeQL, and Analyze (rust) were not among the 45 check runs on 8bd9fa4d. #728 was squash-merged by @lazyxeon at 2026-11-10T00:36:44Z with reviewDecision REVIEW_REQUIRED and no APPROVED review. Applying the JSON is still an owner action. This pull request does not edit the ruleset.
git check-ignore matches the workflows, rust-ci-setup, .cargo/audit.toml, .cargo/config.toml, /scripts/ci/, /.config/nextest.toml, /Cargo.toml, and the named helper scripts. It does not match tools/xtask/src/lib.rs, tools/xtask/Cargo.toml, tools/xtask/build.rs, or Cargo.lock. Cargo.lock is still a full-workspace trigger in affected_crates.py. The file is advisory, so that lockfile gap does not block a merge. ci-pr, ci-pr-archive, and ci-pr-linux-archive are only in .config/nextest.toml. The MSRV job reads rust-version from the root Cargo.toml.
Determinism. determinism-replay.yml is unchanged against 604d35d1. Nineteen required cases. target-cpu=x86-64 on x86_64. aarch64 stays on the default baseline. No hashed crate in the three-dot diff. Replay hashes were not re-run. Expected unchanged. The three hash jobs on this SHA were still pending.
Report
- Head
c5eb285add3c1ea1eeb093c492744b98ccc93199. Not green. Passed on this SHA: Cargo Deny Check, OpenSSF Scorecard Analysis, closed-vocabulary prose lint, Build and Deploy Docs, and three Affected scope runs. Pending: Security Audit (cargo-audit), pack guard, and the threehashjobs.compare,PR Rust checks, and Gate were not in the check list yet. - Commands:
python3 -m unittest scripts.ci.test_workflow_policy.WorkflowPolicyTest.test_codeowners_is_only_the_policy_pathsexit 0. Mutants that raise: drop the xtask line, drop nextest, drop/Cargo.toml, unanchor nextest, a second owner, addlib.rs, swap the last pair.if False and rules != expected:is not the guard, and that copy returns.bash scripts/ci/player_facing_names.shexit 0 (28 files). Ruleset 7941616 re-read. Check runs re-pulled for8bd9fa4dandf2949be1. - Not run:
cargo test -p astraweave-core --test replay_hash(no hashed crate; the replay workflow bytes match the base). The full policy file:test_benchmark_alert_issue_runs_after_failed_regression_checkneedspwshand does not read these files. GPU frame budget: not measured. - Measurements: not measured.
- Replay hashes: unchanged (expected; not re-run). The hash jobs on this SHA had not finished.
- Deferred issue links: none.
Sent by Cursor Automation: ASTRA PR AUDIT AGENT
| /tools/xtask/src/fetch_assets.rs @lazyxeon | ||
| /tools/xtask/src/main.rs @lazyxeon |
There was a problem hiding this comment.
pack-guard.yml runs cargo run -p xtask -- ci-guard. That compiles the crate. tools/xtask/src/lib.rs is pub mod fetch_assets, and main.rs calls xtask::fetch_assets::ci_guard. A #[path] on that module, or a [lib] path / [[bin]] path edit in tools/xtask/Cargo.toml, points the required check at a file this list does not name.
git check-ignore matches these two files. It does not match tools/xtask/src/lib.rs, tools/xtask/Cargo.toml, tools/xtask/tests/fetch_assets.rs, or tools/xtask/build.rs. /.github/ and /scripts/ci/ are directory patterns for this reason. /tools/xtask/ is the same shape. The sentence that says these paths cover the pack-guard xtask sources is ahead of this list. The policy tuple has to change with the pattern.
| - `OpenSSF Scorecard Analysis` | ||
|
|
||
| Do not require the individual `Test (ubuntu, N/3)`, `Test (windows, N/3)`, or `Gate` names as branch-protection checks. On a docs-only pull request the archive and partition jobs are skipped, and a skipped required check blocks the merge. `Gate (fmt, clippy, check)` still runs (player-facing name check and workflow policy); only its `Rust CI setup` step is conditional (`.github/workflows/ci.yml:122`). `PR Rust checks` is the rollup. | ||
| Do not require the individual `Test (ubuntu, N/3)`, `Test (windows, N/3)`, or `Gate` names as branch-protection checks. On a docs-only pull request the archive and partition jobs are skipped by their job `if:`. GitHub counts a skipped required check as passing, so requiring them would not catch a failed archive build: the partitions behind it are skipped too. A skipped matrix job also reports only its unexpanded name, such as `Test (ubuntu, ${{ matrix.partition }}/3)`, so `Test (ubuntu, 1/3)` would never report and would leave docs-only (matrix-skipped) pull requests pending. `Gate (fmt, clippy, check)` still runs (player-facing name check and workflow policy); only its `Rust CI setup` step is conditional (`.github/workflows/ci.yml:122`). `PR Rust checks` is the rollup. |
There was a problem hiding this comment.
Test (ubuntu, 1/3) reports when the partition runs. On #728 head 8bd9fa4dde57861dd7a4c3aa5fa04f28937cd3e1 these check runs completed success at app 15368: Test (ubuntu, 1/3), Test (ubuntu, 2/3), Test (ubuntu, 3/3), Test (windows, 1/3), Test (windows, 2/3), and Test (windows, 3/3).
On docs-only f2949be1 the skipped check is Test (ubuntu, ${{ matrix.partition }}/3) (and the Windows twin), conclusion skipped. Requiring the expanded name leaves that pull request pending. It does not leave a pull request pending when the partitions run.
This sentence now limits the pending effect to docs-only pull requests, and it still says Test (ubuntu, 1/3) would never report. Those clauses disagree. Line 53 still says the per-partition names would never report. The expanded name is absent on the skipped run and present when the job runs.
There was a problem hiding this comment.
Correction to review 5835329381. Astranox 5835201859 and Astraea 5835203857 cleared this SHA before this pass. The disagreement is the two sentences below. The nine-context JSON, the eight-key pull_request object, and the 21-path set match are not the disagreement.
Line 242. Both clears treat the new sentence as accurate. The docs-only pending clause holds: f2949be1 reports Test (ubuntu, ${{ matrix.partition }}/3), not Test (ubuntu, 1/3). The "would never report" clause does not. 8bd9fa4d has Test (ubuntu, 1/3) through Test (windows, 3/3) success at app 15368. Line 53 still says the per-partition names would never report. Inline 4520050929.
XtTask. Astranox calls tools/xtask the pack-guard source. The owned lines are fetch_assets.rs and main.rs. lib.rs is pub mod fetch_assets, and tools/xtask/Cargo.toml is the manifest cargo run -p xtask compiles. git check-ignore matches neither. Inline 4520050914.
Non-blocking, and I agree, so no new inline: line 187 lists the same 21 paths in a different order from CODEOWNERS and the PR body. The "Those paths cover" sentence does not name docs/scripts/generate-sitemap.sh or scripts/tsan_suppressions.txt. Both paths are in the list above that sentence.
The header thread 4519920491 stays open. Ruleset 7941616 still has require_code_owner_review: true.
Sent by Cursor Automation: ASTRA PR AUDIT AGENT
|
Hi! Can you make your bot not mention me all the time? |


Refs #422.
.github/CODEOWNERSis advisory. It names @lazyxeon on/.github/,/.cargo/,/scripts/ci/,/rust-toolchain.toml,/CLAUDE.md,/GROK.md,/.cursor/rules/,/deny.toml,/AGENTS.md,/.config/nextest.toml,/Cargo.toml,/docs/scripts/generate-sitemap.sh,/scripts/aravath-sha256.sh,/scripts/check-aravath-network.sh,/scripts/check_benchmark_thresholds.ps1,/scripts/export_benchmark_history.sh,/scripts/export_benchmark_jsonl.ps1,/scripts/generate_benchmark_graphs.py,/scripts/tsan_suppressions.txt,/tools/xtask/src/fetch_assets.rs, and/tools/xtask/src/main.rs. No other ownership rule.scripts/ci/test_workflow_policy.pyrequires that set. It fails if/AGENTS.mdis removed and if/README.mdis added. Ruleset 7941616 is not edited.#422 item 5 named these paths. Andrew decided the file does not block a merge. The issue exit that a pull request cannot merge without his review is not this ruleset change.
Description
The live
required_status_checksrule on ruleset 7941616 requiresCode coverage(integration 15368),CodeQL(integration 57789), andAnalyze (rust)(integration 15368), withstrict_required_status_checks_policytrue. Those contexts do not report onpull_request.The live
pull_requestrule hasrequire_code_owner_reviewtrue. Set it to false. Leave the other parameters on that rule as they are. Keep the separatecode_scanningrule (CodeQL aterrors/high_or_higher, and Scorecard at the same thresholds).PR Rust checksdoes report onpull_request. Check-run namePR Rust checks, app id15368(github-actions). Docs-only pull requests do not skip it. No workflow change.Evidence, event
pull_request:f2949be1(onlydocs/sitrep_log.md), run42123942320, check run127583654852, conclusion success.58621da5(AGENTS.mdonly), run40965117538, check run123771336889, conclusion success..github/dependabot.ymlonly).Code coverage,CodeQL, andAnalyze (rust)were absent.gh pr checksprintscompare, notdeterminism-replay / compare.On a push to
main,PR Rust checksis skipped (ifispull_requestonly). Required checks read the pull-request head. Maind01720a8showsAnalyze (rust)success (app 15368) andGenerate Code Coveragesuccess. There is no check run namedCode coverageorCodeQL.Replace
parameterson therequired_status_checksrule with:{ "strict_required_status_checks_policy": true, "do_not_enforce_on_create": false, "required_status_checks": [ {"context": "PR Rust checks", "integration_id": 15368}, {"context": "compare", "integration_id": 15368}, {"context": "hash (ubuntu-latest)", "integration_id": 15368}, {"context": "hash (windows-latest)", "integration_id": 15368}, {"context": "hash (macos-latest)", "integration_id": 15368}, {"context": "Cargo Deny Check", "integration_id": 15368}, {"context": "Security Audit (cargo-audit)", "integration_id": 15368}, {"context": "pack-managed paths untracked + ignore surfaces current", "integration_id": 15368}, {"context": "OpenSSF Scorecard Analysis", "integration_id": 15368} ] }Replace
parameterson thepull_requestrule with:{ "allowed_merge_methods": ["merge", "squash", "rebase"], "dismiss_stale_reviews_on_push": true, "require_code_owner_review": false, "require_extra_approval_for_unattributed_changes": true, "require_last_push_approval": true, "required_approving_review_count": 2, "required_review_thread_resolution": true, "required_reviewers": [] }The only change from the live
pull_requestparameters isrequire_code_owner_review. The owner applies both replacements. This pull request does not edit the ruleset.OpenSSF Scorecard Analysisrequestssecurity-events: writeand uploads SARIF. A pull request from a fork does not receive that permission. The upload step has nocontinue-on-error, so the job fails and this required context fails with it. Same-repository pull requests are the flow this list is for..github/workflows/determinism-replay.ymlstill comments that the context isdeterminism-replay / compare. That string is not a check-run name.docs/current/CI_ARCHITECTURE.mdlistscompare. The same stale string remains in that workflow comment,docs/current/ENGINE_STATUS.md, anddocs/current/AUTONOMOUS_GAMEPLAY_QA.md. Those three stay for Astranox.Type of change
Security Considerations
require_code_owner_reviewto false on thepull_requestrule. This pull request does not edit ruleset 7941616.Report
c5eb285add3c1ea1eeb093c492744b98ccc93199. CI on this SHA has not been recorded here yet.python3 scripts/ci/test_workflow_policy.py— exit 1 (39/40;test_benchmark_alert_issue_runs_after_failed_regression_checkneedspwsh, same as base)python3 -m unittest scripts.ci.test_workflow_policy.WorkflowPolicyTest.test_codeowners_is_only_the_policy_paths— exit 0actionlint1.7.12 — exit 1. Two findings, both the customgpurunner label, on.github/workflows/allocation-measurement.yml:169and.github/workflows/gpu-frame-budget.yml:31. Those workflow files are unchanged from main.bash scripts/ci/player_facing_names.sh— exit 0cargo run -p aw_doc_lint -- --mode warn— exit 0 (doc-truth lint: clean (K=0 un-allowlisted))run-gate.sh/run-tests.shandcargo test -p astraweave-core --test replay_hash. No hashed crate, render crate, orCargo.tomlbehavior changed. The ruleset was not edited.Checklist
docs/current/CI_ARCHITECTURE.mdrequired-check JSON matches the JSON above, and thepull_requestparameters setrequire_code_owner_reviewto falseactionlint1.7.12 exits 1 on the unchangedgpulabel.