Skip to content

Move archives and datagram sockets onto patched releases and replace chrono with time - #758

Merged
lazyxeon merged 23 commits into
mainfrom
cursor/patched-zip-drop-chrono-295f
Nov 23, 2026
Merged

lazyxeon merged 23 commits into
mainfrom
cursor/patched-zip-drop-chrono-295f

Conversation

@lazyxeon

@lazyxeon lazyxeon commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Description

Archives move from zip 9.0.3 to zip 9.7.0, including third_party/candle-core, whose zip dependency is the exact pin =9.7.0. quinn-udp moves from 0.5.14 to 0.5.16. That crate is transitive through reqwest and quinn. No workspace crate depends on it. Wall-clock timestamps that used chrono 0.4.42 now use time. Direct callers format and parse UTC strings, and tests pin those strings. astraweave-quests listed chrono and never called it, so that dependency is gone. url moves from 2.5.7 to 2.5.9 in Cargo.lock, alongside that chrono removal. form_urlencoded moves from 1.2.2 to 1.2.3 in Cargo.lock because url 2.5.9 requires it. tools/parse_probe/Cargo.lock gains url 2.5.9 and form_urlencoded 1.2.3 through the catch-up described below. On main that lock has no url.

chrono is out of the graph. cargo tree -i chrono --locked matches no package.

The advisory list for this lock, compared with origin/main, is stack overflow, RUSTSEC-2026-0592 (url); privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); and unmaintained, RUSTSEC-2026-0543 (chrono). #756 tracks the main audit failure: privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); unmaintained, RUSTSEC-2026-0543 (chrono). url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory. No ignore was added.

A stored year is in -9999..=9999. time is not built with large-dates. +10000 and -10000 are rejected. year_text(10_000) still formats the characters +10000; that string is not a stored timestamp. Years in 0..=9999 stay four digits. Any other accepted year keeps a sign and at least four digits of magnitude.

Signed years pivot through 2000, a leap year. -0004-02-29 round-trips with the sign. +2020-02-29 parses and is written as 2020-02-29. -0001-02-29 is rejected. The same pivot is in all six utc_stamp copies.

The six parsers and format_utc return Err on out-of-range input, and a test expects Err. Display helpers format a UTC value they are given. They are not a second parser.

Text these serializers write still parses. A numeric offset without a colon (+0000) does not. A single separator byte between the date and the time, including a space, still parses, because that is how time 0.3.55 reads RFC 3339. A three-digit negative year (-001) does not parse. An omitted optional timestamp loads as None.

aw_asset_cli writes signed_at with format_utc_rfc3339, which ends in +00:00.

ReadWait in astraweave-llm is compiled only with the ollama feature. Companion fields that need llm are compiled only with that feature. Those gates are not the fail-closed parsers.

The aw_editor bin harness is a step of .github/workflows/ci.yml job Test (ubuntu, build archive): cargo test --locked -p aw_editor --all-features --bins. The PR Rust checks job needs that job. Ruleset enforcement is tracked in PR #702. The job is skipped on a docs-only pull request and when no crate is selected (full is not set and the package list is empty). The step has no continue-on-error, and the job has none. --all-features is the same feature set editor-ci.yml already builds. It includes profiling, which links tracy-client. The feature set is fixed by the lock. It is not a replay hash. --bins builds every bin harness, including aw_game_runtime (test = false). That harness has no tests. Cargo 1.89 does not skip test = false for --bins. The archive still passes --exclude aw_editor.

editor-ci.yml and aw-editor-tests.yml stay off pull_request.

  • editor-ci.yml runs on push to main when tools/aw_editor/**, the workflow file, Cargo.toml, Cargo.lock, or llvm-cov.toml changes, on the 50 6 * * * schedule, and on workflow_dispatch. The job has no continue-on-error. fmt, clippy -D warnings, cargo check, --lib, the headless smoke tests, llvm-cov, and the bin step fail that workflow.
  • aw-editor-tests.yml runs on push to main when tools/aw_editor/**, astraweave-core/**, or the workflow file changes, on the 35 6 * * * schedule, and on workflow_dispatch. The bin step has no continue-on-error. The test job keeps step-level continue-on-error on --lib, integration, fmt, and clippy. The coverage job keeps it on Generate Coverage Report and Upload Coverage to Codecov. The summary no longer cites an 89% pass rate, 18 unit-test failures, or 52 warnings.

Windows and macOS run the bin command in aw-editor-tests.yml on that schedule. They do not run it on this pull request. The first of those runs is after merge, unless someone dispatches the workflow. After merge, Cargo.lock and tools/parse_probe/Cargo.lock pin url 2.5.9 and form_urlencoded 1.2.3. #756 tracks the main audit failure: privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); unmaintained, RUSTSEC-2026-0543 (chrono). url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory. No ignore was added.

Review items

Round 14, on d9896c2dd6b542e76607644ef9d899655d193430, answers Astranox 6022758622, Astraea 6022428292, and Annubis 7101922589.

  • The parenthetical in docs/current/CI_ARCHITECTURE.md:53 and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113, and in the Round 13, Round 12, Round 10, and Round 9 bullets, names a pull-request full=true row: rows 83, 84, 86 and 89 of the table at CI_ARCHITECTURE.md:82-89. Row 83 is the root manifest, lock, toolchain, .cargo/**, or .config/nextest.toml. Row 84 is a workflow, composite action, or CI script. Row 86 is an unmapped file. Row 89 is reason=missing-merge-parent. Row 88 is push, schedule, or workflow_dispatch. PR Rust checks runs only on pull_request (.github/workflows/ci.yml:502), so row 88 does not reach the four checks at :528-531. Rows 82, 85, and 87 are not full=true. The Round 13 bullet says those bullets point at that list.
  • Replies: 4666740117 on thread 4661010539, 4666740243 on 4661010544, and 4666740435 on 4658361474 (corrects 4660995692). Nothing was resolved.

Round 13, on 13b02736af315a3216aca71296ebd4149dfb7526, answers Astranox 6015542697 and Annubis 7088933933.

  • #756 tracks the main audit failure: privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); unmaintained, RUSTSEC-2026-0543 (chrono). url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory. That split is in this body, ENGINE_STATUS.md:46, SECURITY_AUDIT.md:5, ARAVATH_DISTRIBUTION.md:131, and the .cargo/audit.toml comments. No ignore was added.
  • The unmaintained header in .cargo/audit.toml sits above the ignore array (:23-39). The cleared IDs stay above that header. None of them is an ignore.
  • The full=true parenthetical in CI_ARCHITECTURE.md:53, AUTONOMOUS_GAMEPLAY_QA.md:113, and the Round 12, Round 10, and Round 9 bullets point at a pull-request full=true row: rows 83, 84, 86 and 89 of the table at CI_ARCHITECTURE.md:82-89.
  • CI classifies the pull-request diff against main, not each commit. That diff changes Cargo.lock, Cargo.toml, and .cargo/audit.toml, so every head of Move archives and datagram sockets onto patched releases and replace chrono with time #758 takes that path.
  • url moves from 2.5.7 to 2.5.9 in Cargo.lock. tools/parse_probe/Cargo.lock gains url 2.5.9 and form_urlencoded 1.2.3. On main that lock has no url. The bytes pin is unchanged from main. It is #701. The fix is #703, and it stays out of this pull request.
  • Replies: 4660995383 on thread 4660430210, 4660995446 on 4660430215, 4660995540 on 4660430224, and 4660995622 on 4660430229. Follow-ups: 4660995692 on 4660401927, 4660995779 on 4660402048, and 4660995934 on 4660402111. Nothing was resolved.

Round 12, on 7c53eb8fc586ab8b671a4eee9ec8163257beba37, answers Astranox 6014884417, Astraea 6014886442, and Annubis 7086856521.

  • The rollup sentence in docs/current/CI_ARCHITECTURE.md:53 and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113, and in the Round 10 and Round 9 bullets below, now says the rollup passes when the diff is docs-only, or when full is not true and the package list is empty. Otherwise (full is true, or the package list is non-empty), it requires success for test-linux-build, test-linux, test-windows, and msrv (.github/workflows/ci.yml:528-531). A full=true path with an empty package list (a pull-request full=true row: rows 83, 84, 86 and 89 of the table at CI_ARCHITECTURE.md:82-89) is that otherwise branch. The pull-request diff against main changes Cargo.lock, Cargo.toml, and .cargo/audit.toml, so every head of Move archives and datagram sockets onto patched releases and replace chrono with time #758 takes that path. The partition and stable-name split is unchanged. CI_ARCHITECTURE.md:197 still says the rollup fails if an archive build fails or any partition fails. The new wording supersedes the previous rollup clause in reply 4658335775.
  • docs/current/SECURITY_AUDIT.md:5 and docs/current/ENGINE_STATUS.md:46 tag the zip 9.7.0 pin and the url 2.5.9 pin with PR #758. They do not name a commit SHA. This repo squash-merges, so a head SHA would not remain on main. The banner rule treats a sentence that names Move archives and datagram sockets onto patched releases and replace chrono with time #758 as outside the 556a305c survey. The exception lists at ENGINE_STATUS.md:1 and :33 name Move archives and datagram sockets onto patched releases and replace chrono with time #758 the same way. docs/current/ARAVATH_DISTRIBUTION.md:131 carries the same tag.
  • The advisory lists in this body, ENGINE_STATUS.md:46, SECURITY_AUDIT.md:5, ARAVATH_DISTRIBUTION.md:131, and the .cargo/audit.toml comments name the four IDs the workspace lock clears against origin/main 64da1085. #756 tracks the main audit failure: privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); unmaintained, RUSTSEC-2026-0543 (chrono). url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory. cargo audit on origin/main today reports those four (three vulnerabilities and the chrono unmaintained warning) and this head reports none of them. The ten unsound warnings are unchanged. tools/parse_probe/Cargo.lock drops RUSTSEC-2026-0543. RUSTSEC-2026-0007 stays on that separate lock on both origin/main and this head, so it is not in the cleared list. No ignore was added. The ignore array is .cargo/audit.toml:23-39. SECURITY_AUDIT.md cites that range. quinn in those three docs is allowlisted as the quinn-udp crate pin, not a QUIC transport claim.
  • cursor[bot] review 6012873073 said the body still named 7117ca4b and that the versions table omitted url and form_urlencoded. Both were already fixed on f4cd05ba: the report on that SHA named it, and the table has both rows. Its "not green" note was while required CI was still running. Astranox and Astraea record that required CI on f4cd05ba was green. Replies: 4660401860 on thread 4658361471, 4660401927 on 4658361474, 4660402048 on 4658578819, and 4660402111 on 4658578821. Nothing was resolved on a reviewer's behalf.

Round 10, on 7117ca4be25b57a3ea4220b6ec695eb95a06978f, answers Astranox 6007441415, Astraea 6007481027, and Annubis 7067579554.

  • Partition jobs Test (ubuntu, ${{ matrix.partition }}/3) (.github/workflows/ci.yml:276, job-level if: at :280-285, matrix at :286-289) and Test (windows, ${{ matrix.partition }}/3) (:406, job-level if: at :410-414, matrix at :415-418) are matrix jobs. When that if: is false, the matrix never expands. On docs-only docs: restore the README nav row dropped in #392 #720 head 5d53e10c, the Checks API showed runs named Test (ubuntu, ${{ matrix.partition }}/3) and Test (windows, ${{ matrix.partition }}/3), both skipped, and did not create Test (ubuntu, 1/3), 2/3, or 3/3. A required check of an expanded N/3 name would stay pending and block the merge. docs/ci/bottlenecks.md:33 says a matrix that does not expand does not create those names. Stable-name jobs Test (ubuntu, build archive), Test (windows, build archive), and Minimum Supported Rust Version still report a check run when skipped, and that skipped status counts as success, so requiring those names would let a docs-only pull request pass them without running them. docs/current/CI_ARCHITECTURE.md:53 and :195, and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113, say this split.
  • The rollup runs on every pull request. Detect affected crates must succeed (.github/workflows/ci.yml:518), and the gate must succeed (:519). The rollup passes when the diff is docs-only, or when full is not true and the package list is empty. Otherwise (full is true, or the package list is non-empty), it requires success for test-linux-build, test-linux, test-windows, and msrv (:528-531). A full=true path with an empty package list (a pull-request full=true row: rows 83, 84, 86 and 89 of the table at CI_ARCHITECTURE.md:82-89) is that otherwise branch. A skipped or cancelled job is without success and fails those checks. docs/current/CI_ARCHITECTURE.md:197 still says the rollup fails if an archive build fails or any partition fails.
  • Gate (fmt, clippy, check) still runs. Its Rust CI setup step is conditional (.github/workflows/ci.yml:131; the step name is :130), and sccache stats is conditional (:142-144, always() && needs.changes.outputs.docs_only != 'true', ending in || true).
  • The reply 4654147355 on thread 4653702366 is superseded by the reply on 4654196338.

Round 9, on 3463485e1d4541a00ef708b4d40849ecae35ad14, answers Astranox 6007017748, Astraea 6007020842, and Annubis 7066575136.

  • ci(BS-001): CODEOWNERS and the required-check replacement #702 is PR #702. The old issue URL is gone from ci.yml, aw-editor-tests.yml, editor-ci.yml, toolchain-management.yml, docs/architecture/aw_editor.md, docs/current/CI_ARCHITECTURE.md, docs/current/SEMANTIC_AI_DECISION_DEBUGGER.md, and this body.
  • Corrected in Round 10 (7117ca4be25b57a3ea4220b6ec695eb95a06978f). Partition jobs Test (ubuntu, ${{ matrix.partition }}/3) (.github/workflows/ci.yml:276, job-level if: at :280-285, matrix at :286-289) and Test (windows, ${{ matrix.partition }}/3) (:406, job-level if: at :410-414, matrix at :415-418) are matrix jobs. When that if: is false, the matrix never expands. On docs-only docs: restore the README nav row dropped in #392 #720 head 5d53e10c, the Checks API showed runs named Test (ubuntu, ${{ matrix.partition }}/3) and Test (windows, ${{ matrix.partition }}/3), both skipped, and did not create Test (ubuntu, 1/3), 2/3, or 3/3. A required check of an expanded N/3 name would stay pending and block the merge. docs/ci/bottlenecks.md:33 says a matrix that does not expand does not create those names. Stable-name jobs Test (ubuntu, build archive), Test (windows, build archive), and Minimum Supported Rust Version still report a check run when skipped, and that skipped status counts as success, so requiring those names would let a docs-only pull request pass them without running them. The rollup runs on every pull request. Detect affected crates must succeed (.github/workflows/ci.yml:518), and the gate must succeed (:519). The rollup passes when the diff is docs-only, or when full is not true and the package list is empty. Otherwise (full is true, or the package list is non-empty), it requires success for test-linux-build, test-linux, test-windows, and msrv (:528-531). A full=true path with an empty package list (a pull-request full=true row: rows 83, 84, 86 and 89 of the table at CI_ARCHITECTURE.md:82-89) is that otherwise branch. A skipped or cancelled job is without success and fails those checks. Rust CI setup is conditional at .github/workflows/ci.yml:131 (the step name is :130), and sccache stats is conditional at :142-144.
  • docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113 records the editor bin harness on a pull request that is not docs-only and whose affected set is non-empty, inside Test (ubuntu, build archive). Round 10 keeps that paragraph aligned with CI_ARCHITECTURE.md:53, including PR ci(BS-001): CODEOWNERS and the required-check replacement #702, and corrects the skip and rollup sentences.
  • docs/architecture/net_ecs.md cites the client-binary steps at ci.yml:213 (--profile ci-pr at :225), :352 (--profile ci at :358), and :618 (--profile ci at :624).
  • zip stays 9.7.0. The comments in Cargo.toml, .cargo/audit.toml, and docs/current/ARAVATH_DISTRIBUTION.md say that release is patched for the advisories it addresses. They do not call it current. The 9.8.x bump is a separate pull request. docs/current/ENGINE_STATUS.md already states the pin without calling it current.
  • docs/architecture/ui.md:332 still cites ci.yml:180,295,317. Those lines do not name astraweave-ui, and the cite was already wrong on main. It stays for the follow-up docs pull request.

Round 8, on 788afbd911f9a86842dc061724dfbd02c05b5b15, answers Astranox 6006506163 and Astraea 6006507644.

  • --bins builds every bin harness. Cargo 1.89.0 runs a test = false bin when --bins selects it. aw_game_runtime has test = false and no #[test], so its harness runs 0 tests. The step command is unchanged. Job 136885744997 on 3ba61d47 logs Running unittests src/bin/aw_game_runtime.rs and 0 passed, after 3767 passed for aw_editor.
  • The step is in Test (ubuntu, build archive). The PR Rust checks job needs that job. Ruleset enforcement is tracked in PR #702. The job is skipped on a docs-only pull request and when no crate is selected (full is not set and the package list is empty).
  • docs/current/CI_ARCHITECTURE.md:34, :44, :51, :66, and the timeout row at :125 record the step. Editor CI is 50 6 * * *. AW Editor tests are 35 6 * * *. On run 44916883830 the editor step took 6m 06s and the job took 37m 24s, inside the 60-minute timeout.
  • The v1.9 clause in docs/architecture/aw_editor.md cites the live match main.rs:5111-5119. ED-3 maps arm 3 to ShadingMode::Normals and arm 4 to ShadingMode::Uvs (comment at main.rs:5106-5108). Those arms are real modes.
  • aw_editor.md:336, :431, and :507 cite tools/aw_editor/Cargo.toml:147-151. Invariant 13 stays Cargo.toml:142-151.
  • The continue-on-error list names the test job steps (--lib, integration, fmt, clippy) and the coverage job steps (Generate Coverage Report, Upload Coverage to Codecov). [deferred-failure] editor_engine_render_parity hashes diverge on llvmpipe #273 is closed. Editor CI Ubuntu/macOS: libudev-sys fails, libudev.pc missing #265 stays open. The SEMANTIC lead no longer says editor CI on main is partly red, and that paragraph no longer waits on Editor CI Ubuntu/macOS: libudev-sys fails, libudev.pc missing #265 and [deferred-failure] editor_engine_render_parity hashes diverge on llvmpipe #273.

Round 7, on 3ba61d474970150b7ca5454c3bfe1f88e340f39a, answers Astraea 5998196548, Astranox 5998212648, cursor[bot] 5997388292, and Annubis 7048711144.

  • Annubis 7048711144, item 1, and Astraea item 4: the bin harness is the Test (ubuntu, build archive) step above. The PR Rust checks job needs that job. Ruleset enforcement is tracked in PR #702. pull_request was not added to editor-ci.yml or aw-editor-tests.yml.
  • Annubis 7048711144, item 2: EditorApp has 133 fields. The awk command over main.rs:295-535 prints 133. main.rs is unchanged in this commit, so the count is the tree at 401597d0. Every count in docs/architecture/aw_editor.md says 133.
  • Annubis 7048711144, the lib.rs:107 note, and Astraea item 3: pub mod headless is lib.rs:113. The cites at aw_editor.md that said lib.rs:107 now say lib.rs:113.
  • Astranox item 2: the same 133, with verified at 401597d0, at the lines that stated 123.
  • Astranox item 3: entity_id_to_world is main.rs:141-154. SimpleTabViewer is lib.rs:77. The two bins are tools/aw_editor/Cargo.toml:142-151. The shading cite in that round pointed at main.rs:5097-5103. Round 8 cites the live match main.rs:5111-5119. aw_editor.md:336, :431, and :507 now cite Cargo.toml:147-151. Invariant 13 stays Cargo.toml:142-151.
  • Astranox item 4: toolchain-management.yml no longer says editor-ci.yml runs tests with continue-on-error. docs/current/SEMANTIC_AI_DECISION_DEBUGGER.md no longer says those workflows skip libudev-dev or set job-level continue-on-error. rust-ci-setup installs libudev-dev, and aw-editor-tests.yml installs it in the Linux apt step.
  • Astranox item 5: the aw-editor-tests.yml reasons no longer cite 89%, 18 failures, or 52 warnings. The step-level continue-on-error flags that predate this PR are still set.
  • Astranox item 6: the CI bullets in docs/architecture/aw_editor.md name the pull-request job and the push, nightly, and dispatch schedules, and they link docs/current/CI_ARCHITECTURE.md:34 and :66. The harness is 3,767 tests, including the library modules main.rs redeclares.
  • The four cursor threads on 401597d0 are replied on this SHA.

Earlier rounds stay as recorded on 401597d0 and its parents: optional timestamps, the signed-year pivot, fail-closed duration arithmetic, the zero-second temporal window, the voxel brush labels, and the construction cites (struct EditorApp main.rs:295-535, fn default 538-777, fn new 2699-2823, load_manifest at 543, hwnd_cache at 529, impl eframe::App at 9617, fn main at 10211).

Report

  1. Head SHA d9896c2dd6b542e76607644ef9d899655d193430. origin/main 64da1085d151bc333bf80ac7ea135310a74a6b20 is an ancestor (0 behind, 23 ahead). This commit is text only. It does not change a lock, a golden, or an ignore. The workspace lock still clears, against that main, stack overflow, RUSTSEC-2026-0592 (url); privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); and unmaintained, RUSTSEC-2026-0543 (chrono). #756 tracks the main audit failure: privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); unmaintained, RUSTSEC-2026-0543 (chrono). url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory.
  2. Commands and exit codes, on this commit's tree:
    • cargo run -p aw_doc_lint -- --mode warn: 0. 0 un-allowlisted.
    • bash scripts/ci/player_facing_names.sh: 0.
    • cargo audit: 0. No vulnerability. Ten unsound warnings remain (heapless and rustix).
    • cargo deny check advisories bans licenses sources: 0.
    • git merge-base --is-ancestor origin/main HEAD: 0.
    • cargo audit on origin/main 64da1085: exit 1. The three vulnerabilities were RUSTSEC-2026-0538, RUSTSEC-2026-0592, and RUSTSEC-2026-0548. The unmaintained warning was RUSTSEC-2026-0543. This head's cargo audit lists none of those four. The same ten unsound warnings are on both.
  3. Not run, and why:
    • Replay tests, crate tests, and cargo run -p aw_trace_sync -- --check. This commit does not touch a hashed crate, CLAUDE.md, docs/architecture/, or a Cargo.toml. The lock is the lock from f4cd05ba, where those replay tests passed.
    • Windows and macOS. This host is Linux.
    • The GTX 1660 Ti frame capture. A cloud agent cannot measure that card.
  4. Measurements: not measured.
  5. Replay hashes: unchanged. Goldens were not edited. This commit does not change a hashed crate.
  6. Deferred issues: none.

Versions

Crate Before After
zip 9.0.3 9.7.0
quinn-udp 0.5.14 0.5.16, transitive through reqwest and quinn
chrono 0.4.42 removed
url 2.5.7 2.5.9
form_urlencoded 1.2.2 1.2.3, required by url 2.5.9
num_threads absent 0.1.8, through time local-offset
zeroize_derive absent 1.5.0, through zeroize 1.9.2
zeroize 1.8.2 1.9.2
lzma-rust2 0.21.0 0.25.0
typed-path 0.12.3 0.13.0
iana-time-zone 0.1.64 removed
iana-time-zone-haiku 0.1.2 removed
windows-core 0.62.2 (other versions remain) 0.62.2 removed
windows-result 0.4.1 (other versions remain) 0.4.1 removed
windows-strings 0.5.1 (other versions remain) 0.5.1 removed
mutants absent 0.0.4, optional, visual only

tools/parse_probe/Cargo.lock is a separate workspace. Regenerating it caught that lock up to the crates it path-depends on. Two versions in that catch-up were not required by a parent: redox_syscall is back at 0.5.17, and quote is pinned to 1.0.44. The root lock still has quote 1.0.41.

The docs commit adds no dependency. The lock, unchanged by that commit, moves url 2.5.7 to 2.5.9 and form_urlencoded 1.2.2 to 1.2.3, zip 9.0.3 to 9.7.0, and quinn-udp 0.5.14 to 0.5.16, and removes chrono. #756 tracks the main audit failure: privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); unmaintained, RUSTSEC-2026-0543 (chrono). url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory. No new ignore was added. The pull-request bin step has no continue-on-error.

Type of change

  • Security enhancement

Security Considerations

  • Does this PR introduce new dependencies? num_threads 0.1.8 and zeroize_derive 1.5.0. time itself was already in the graph. mutants 0.0.4 marks the windowed companion entry so mutation leaves it alone. It has no runtime effect and is optional on the visual feature. astraweave-embeddings is a path dev-dependency so coordination tests can build a RagPipeline, and time is a hello_companion dev-dependency so the pin tests compile. The docs commit adds no dependency. #756 tracks the main audit failure: privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); unmaintained, RUSTSEC-2026-0543 (chrono). url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory. No ignore was added.
  • Does this PR modify how user input is handled? UTC text is parsed fail-closed, and format_utc returns Err on out-of-range input. Display helpers format a UTC value they are given. Accepted stamps are years -9999..=9999, including a signed leap day. +2020-02-29 parses and is written as 2020-02-29. Rejected stamps include a year outside that range, a signed non-leap February 29, a three-digit negative year, and an offset without a colon. An omitted optional timestamp loads as None. Storyline generation returns an error and stores nothing when the span does not fit the clock. An unusable saved retention keeps the tasks. A configured request timeout or cache TTL that does not fit the clock uses the latest instant the clock can store. A temporal window in [0, 1) hour stores a finite strength.
  • Does this PR change authentication or authorization mechanisms?
  • Does this PR access sensitive data or modify how it's stored? Saved timestamps stay UTC RFC 3339 strings. An omitted optional timestamp loads as None.
  • Does this PR introduce new network communication or modify existing protocols?

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
  • I have run security checks (cargo audit, cargo deny) locally
Open in Web Open in Cursor 

cursoragent and others added 3 commits November 17, 2026 23:44
The workspace requirement, the packager, and the vendored candle-core pin now share that release.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
The parent requirement already accepts that 0.5 release, so the lock changes only this crate.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Direct callers format and parse the same UTC strings. The unused quests dependency is gone. The editor clock reads the local offset, which pulls num_threads.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T00:55:48.535474Z 13d5728 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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

@chatgpt-codex-connector 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: 13d572855a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread astraweave-coordination/src/agent.rs Outdated
Comment on lines +154 to +155
#[serde(with = "crate::utc_stamp::serde_rfc3339::option")]
pub deadline: Option<time::OffsetDateTime>,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve missing-field defaults for optional timestamps

When deserializing a Task whose JSON omits deadline, this new serde(with = ...) attribute makes deserialization fail with missing field deadline; previously, Serde's normal handling of Option<DateTime<Utc>> supplied None. The custom option deserializer handles explicit null, but it is not invoked for an absent field. Add #[serde(default)] alongside the adapter here and on the other migrated optional timestamps, including AgentGoal::deadline and Experiment::{started_at, ended_at}, so previously accepted payloads remain readable.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The nine optional timestamps now use #[serde(default)] with the RFC 3339 adapter. A missing key loads as None, an explicit null loads as None, and a present stamp loads as Some. Tests cover all three for the coordination types and for Experiment's started_at and ended_at.

@cursor cursor 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.

Head 13d572855a53ae8cf2dc0fdf4fd2953be9c3e355. Not green. The advisory migration holds. The nested tools/parse_probe lock floats two crates the chrono removal does not need.

Advisories

Versions and checksums match crates.io. None of these releases are yanked.

  • zip 9.0.3 to 9.7.0. 9.7.0 is the newest 9.x and is inside RUSTSEC-2026-0548 (patched >= 9.0.5). RUSTSEC-2026-0367, 0368, 0369, 0429, 0545, 0546, and 0547 are patched >= 9.0.0. Checksum 08687262e7c0f1284b259686f322805a8adaa8ef4d7210e76448950b3f083bf7. The 0548 fix is opt-in (ZipStreamReader::enforce_header_consistency), and this tree never calls ZipStreamReader. ZipArchive::by_index reads the central-directory name. tools/xtask/src/fetch_assets.rs unpack_zip still rejects a member name() that fails is_safe_relative. third_party/candle-core keeps default-features = false on the same 9.7.0 pin. zip 9.7.0 requires rustc 1.88; the workspace rust-version is 1.89.0.
  • The root lock's other zip-closure bumps are required by that crate's manifest, and their checksums match: zeroize 1.8.2 to 1.9.2 (zeroize = "1.9", checksum 85ccff8a4805aba1eaa4cd4afcd49f7557dd2cf5fd79ffc37f8959466effc5aa), lzma-rust2 0.21.0 to 0.25.0, typed-path 0.12.3 to 0.13.0. No advisory is filed for those three. The root lock does not float unrelated crates (1010 packages to 1009).
  • quinn-udp 0.5.14 to 0.5.16. RUSTSEC-2026-0538 is patched for >= 0.5.16, < 0.6.0 and >= 0.6.3. Checksum af66907df18639dcf4db56ca65490cabc4b27a97dbadd96f2926cca73298f016. quinn 0.11.19 still depends on the 0.5 line, so 0.6.3 is the wrong parent. The affected receive path is Apple without fast-apple-datapath, OpenBSD, NetBSD, Solaris, and illumos. Linux, Android, FreeBSD, and Windows are outside that path. One quinn-udp remains in the lock.
  • chrono 0.4.42 is gone from every Cargo.lock. RUSTSEC-2026-0543 is informational unmaintained with patched = []. time 0.3.55 was already in the root graph (checksum cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134). RUSTSEC-2026-0009 is patched for >= 0.3.47, and these callers parse Rfc3339, not Rfc2822. .cargo/audit.toml only updates the candle comment. No ignore was added.

num_threads 0.1.8 (checksum cabcc654086861f9e1bc5115258de62ef92c79b20f4615a1b0e03ccb87de09998732de) is the local-offset feature of time 0.3.55. No advisory. The editor calls OffsetDateTime::now_local, which on Unix is localtime_r and does not call refresh_tz_unchecked. Err falls back to UTC. chrono 0.4.42 Local::now read the zoneinfo file instead. The civil-time digits for a stable zone match, and the unsound entry point is not called.

Timestamp contract

Checked against the chrono 0.4.42 sources, not against the new tests alone.

  • DateTime::to_rfc3339 calls write_rfc3339(..., AutoSi, false), so the suffix is +00:00. format_utc_rfc3339 does that. Serialize for DateTime calls write_rfc3339(..., AutoSi, true), so the suffix is Z. serde_rfc3339 does that. AutoSi and NaiveTime's Debug use the same milli / micro / nano split as push_fraction. DateTime<Utc>'s Display is that time plus UTC, which is format_utc_display. Default is the Unix epoch, and the new Default impls use OffsetDateTime::UNIX_EPOCH. CSV export still uses %Y-%m-%d %H:%M:%S UTC.
  • Duration::try_from(std::time::Duration).unwrap_or_default() matches chrono::Duration::from_std(...).unwrap_or_default(). whole_days / whole_seconds truncate toward zero the same way num_days / num_seconds do.
  • FromStr for DateTime<Utc> also accepted a space separator and +0000. time's Rfc3339 parser rejects both. Serializers in this tree wrote T and either Z or +00:00, so a save written by Serialize still loads. A hand-edited stamp in the relaxed form will not.

No hashed-crate source is in the diff. Wall-clock stamps stay in the LLM, memory, RAG, coordination, editor, and tool crates. docs/architecture/ai_pipeline.md still records RAG timestamps as wall-clock Unix seconds.

CI on this SHA

Passed: Gate, cargo-audit, cargo-deny, Security Audit, trace sync, docs build, prose lint, pack guard, lavapipe startup, net-tests, volumetrics, PBR, Scorecard analysis, Replay hash (ubuntu-latest).

Still running: Replay hash (macOS, Windows), determinism-replay hash on all three OS, greybox, MSRV, Windows startup, archive tests. Not green.

I did not re-run the replay hash locally. Ubuntu's Replay hash job passed. The other hash jobs are still running. No golden was edited. Expected unchanged. GPU frame time: not measured.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread tools/parse_probe/Cargo.lock Resolved

@cursor cursor 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.

Correction to the timestamp section of review 5949295580. Absent optional keys are a real load failure.

#[serde(with = "serde_rfc3339::option")] disables serde's missing-Option rule. The seven fields below reject a payload that omits the key. chrono's derived Option<DateTime<Utc>> filled that case with None. The new tests only round-trip a present null.

  • AgentGoal::deadline and Task::deadline
  • expires_at
  • narrative deadline, estimated_resolution_time, achievement_date
  • Storyline::estimated_end_time
  • Experiment::started_at and Experiment::ended_at

#[serde(default)] on each field is the fix. The string format, the Z / +00:00 split, and the advisory versions in the earlier review are unchanged.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread astraweave-coordination/src/agent.rs Resolved
Comment thread astraweave-llm/src/ab_testing.rs Resolved

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Docs: BLOCKING at 13d5728

Docs review of #758 (zip 9.0.3 → 9.7.0, quinn-udp 0.5.14 → 0.5.16, chrono → time). Per the 11/17 rules I ran no mutant sweep and built nothing. Everything below was checked with git and the GitHub API at this head against base 95283696. 6 items.

Blocking

  1. Optional timestamps no longer load when the key is missing, and the body says parsing is unchanged. Nine Option<OffsetDateTime> fields use #[serde(with = "…serde_rfc3339::option")] without #[serde(default)]: agent.rs:117 and :154, coordination.rs:128, narrative_coherence.rs:83, :306 and :341, world_events.rs:241, and ab_testing.rs:56 and :58. Under chrono, a JSON document that left these keys out loaded as None. Now it fails with missing field. The utc_stamp tests only round-trip an explicit null. The parser is also stricter than chrono's: chrono also accepted a space instead of T and an offset written as +0000, and time's RFC 3339 parser rejects both. Files written by our own serializers still load. Fix: add #[serde(default)] to all nine fields and a test that loads {}. Then change the body's "Timestamp parsing still accepts the same RFC 3339 text" to say what is still true: anything our serializers wrote still parses, and the relaxed forms don't. Review threads 4607854869 (codex), 4607947310 and 4607947318 (cursor) raise the missing-key part and have no reply yet.

  2. The body's dependency report is incomplete, and its CI line is out of date.

    • The Versions table and the "new dependencies" box list only num_threads. The root lock also adds one new crate, zeroize_derive 1.5.0 (pulled in by zeroize 1.9.2). It bumps zeroize 1.8.2 → 1.9.2, lzma-rust2 0.21.0 → 0.25.0 and typed-path 0.12.3 → 0.13.0, and it drops iana-time-zone, iana-time-zone-haiku, windows-core 0.62.2, windows-result 0.4.1 and windows-strings 0.5.1. All of these should be in the table.
    • The body never mentions tools/parse_probe/Cargo.lock (+408/−217 lines). Most of that change catches up a lock that had fallen behind (astraweave-behavior, astraweave-profiling, histogram 0.11.3, url and the ICU/idna stack, syn 3.0.9, thiserror 1.0.69, time). Two bumps aren't needed by anything, quote 1.0.47 and redox_syscall 0.5.18 (cursor thread 4607938643, no reply yet). Say why the lock was regenerated and roll back or explain the two unneeded bumps.
    • Report item 1 ("GitHub checks are not reported on this SHA yet") is out of date. Every check on this head has now finished green (see CI below).
  3. Docs that are still in use describe the timestamp types that were removed.

    • docs/architecture/ai_pipeline.md:1742: the AgentMessage row shows timestamp: DateTime<Utc>. agent.rs:80 is now time::OffsetDateTime.
    • docs/current/CAUSAL_WORLD_DESIGN.md:43, :44, :45: these list DateTime<Utc> and Utc::now() for WorldEvent, WorldEventGenerator and NarrativeCoherenceEngine. :306 forbids Utc::now on the tick, so it should name the wall clock in general (now OffsetDateTime::now_utc), not the chrono call.
    • docs/current/AUTONOMOUS_GAMEPLAY_QA.md:330: "astraweave-quests stamps Utc::now() and Instant::now()". The PR rewrote :101 of the same file to say quests has no wall-clock crate, so the file now disagrees with itself. astraweave-quests/src has no Utc, SystemTime or Instant at this head.
    • docs/current/SECURITY_AUDIT.md:219 (SEC-LLM-2) cites "timestamps with Utc::now() (llm_quests.rs:433-434)". Line 434 is quest.generated_at = 0;, and quests has no clock. This cite was already wrong before this PR, but the PR's own claim (quests "never called" chrono) now contradicts it. Correct the cite; this is only a wrong cite, not a security finding.
  4. ai_pipeline.md:1578 now names a dependency that isn't there. The PR changed chrono to time in the astraweave-dialogue "LLM layer only" list. astraweave-dialogue/Cargo.toml has neither crate, and it has no uuid or rand either. Remove time (and the other names it doesn't have) rather than renaming the entry.

  5. "Pinned" no longer means pinned. third_party/candle-core/Cargo.toml:205 went from version = "=9.0.3" (exact) to version = "9.7.0", which lets Cargo pick any 9.x release from 9.7.0 up. Four places still call it a pin: the comment just above (:201, "Pinned to the workspace zip release"), root Cargo.toml:306-307, .cargo/audit.toml:8 and docs/current/ARAVATH_DISTRIBUTION.md:131. Either restore =9.7.0 or reword all four to "requires zip 9.7.0 or a later 9.x; Cargo.lock holds 9.7.0".

  6. A design doc still plans to add chrono back. tools/ASSET_SIGNING_DESIGN.md:1354 proposes chrono = "0.4" for timestamps and expiry, and :1635 builds signed_at with chrono::Utc::now().to_rfc3339(). This PR removes chrono (RUSTSEC-2026-0543, unmaintained), and aw_asset_cli now uses time for signed_at. Point the design at time so following it doesn't bring the crate back.

Checked and fine

  • Commits. 9f8b9ae1 (zip): the workspace, aw_build and the vendored candle-core all ask for 9.7.0. 867eaca0 (quinn-udp): only quinn-udp changes in Cargo.lock, as the message says. 13d57285 (time): matches its message.
  • Lock and policy. Exactly one zip (9.7.0) and one quinn-udp (0.5.16) are left. chrono is gone from both lockfiles, and no .rs file references it. deny.toml is unchanged. In .cargo/audit.toml only a comment changed, and its ignore list is identical. No RUSTSEC ignore was added.
  • Output format matches chrono. I compared every call site with the old chrono output. format_utc(…, true) gives the same Z text as serde serialization. format_utc_rfc3339 gives the same +00:00 text as to_rfc3339(), with the same 0/3/6/9-digit fractions. format_utc_display matches DateTime<Utc>'s Display output (… UTC, with the fraction), and format_utc_clock and format_utc_seconds match the old %Y-%m-%d %H:%M:%S patterns. Default is still the Unix epoch, and the whole_* / try_from replacements behave the same as the chrono calls. Save slots still write Zulu RFC 3339. No doc describes the wire format in a way that changed. Every serialized OffsetDateTime field has a with adapter, so none fall back to time's own serde format.
  • Editor local clock. In time 0.3.55 on Unix, now_local calls localtime_r and does not refuse when the process has several threads. Only the TZ refresh checks num_threads. So autosave names stay in local time, and the UTC fallback is documented in local_clock.rs.
  • Docs the PR edited. The ai_pipeline.md coordination list (:1779) and RAG note, SEMANTIC_AI_DECISION_DEBUGGER.md, and AUTONOMOUS_GAMEPLAY_QA.md:101 are correct apart from items 3–5. README, mdBook docs/src, ENGINE_STATUS, SECURITY.md, the ARCHITECTURE_MAP and workspace_map.html don't mention chrono, zip or quinn-udp versions. The remaining mentions are under docs/archive and docs/journey, or in dated plans and audits (PHASE_8_PRIORITY_3_SAVE_LOAD_PLAN, MUTATION_TESTING_AUDIT v1.42.0, CHANGELOG #353, MASTER_ROADMAP row 1.64). Those are historical records and can stay.
  • Trace map. Only external dependencies changed, with no edges between workspace crates, and trace registry/map in sync passed at this head.
  • CHANGELOG. No entry is needed in this PR. [Unreleased] is filled monthly by backfill (#533, up to 2026-10), and the same kind of advisory fixes (#699, #728) merged without their own entry. The next backfill should list #758 under 2026-11 → Security.

CI at 13d5728

All 38 checks that ran passed, finishing by 8:42 PM ET on Nov 17 (01:42 UTC Nov 18). They include Gate, PR Rust checks, all 8 Test shards, Replay hash and determinism hash on all 3 OSes, cargo-audit, cargo-deny + SBOM, Cargo Deny Check, Security Audit, MSRV, trace sync, greybox, both startup passes, and CodeRabbit status. Scorecard is neutral, and the release and full-test jobs were skipped as usual for PRs. cursor[bot]'s "Not green" in 5949295580 was posted before the last jobs finished.

Reviewers at this head

  • cursor[bot]: 5949295580 (migration holds; parse_probe floats) and the 5949306474 correction (missing-key load failure), plus 3 inline threads. None have a reply.
  • chatgpt-codex-connector: 1 P2 inline thread (the same missing-key issue). No reply.
  • Annubis and Astraea: nothing posted at this head yet.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Blocking

Required CI is green at 13d572855a53ae8cf2dc0fdf4fd2953be9c3e355. This is a security advisory PR; Annubis has not ruled at this head. Docs review: Astranox 5949688059 (6 items). I independently confirmed item 1 (missing-key load failure). I do not repeat his other docs items.

  1. Omitted optional timestamps fail to load. #[serde(with = "…::serde_rfc3339::option")] without #[serde(default)] makes a missing key a load error; chrono's derived Option filled None. Confirmed locally: omit fails; explicit null still loads as None; #[serde(default)] restores omit-as-None. Fix: add #[serde(default)] on all nine fields, and tests for an omitted key, an explicit null, and a present timestamp string.

    • astraweave-coordination/src/agent.rs:117 AgentGoal::deadline
    • astraweave-coordination/src/agent.rs:154 Task::deadline
    • astraweave-coordination/src/coordination.rs:128 ResourceAllocation::expires_at
    • astraweave-coordination/src/narrative_coherence.rs:83 PlotPoint::deadline
    • astraweave-coordination/src/narrative_coherence.rs:306 StoryThread::estimated_resolution_time
    • astraweave-coordination/src/narrative_coherence.rs:341 ArcMilestone::achievement_date
    • astraweave-coordination/src/world_events.rs:241 Storyline::estimated_end_time
    • astraweave-llm/src/ab_testing.rs:56 Experiment::started_at
    • astraweave-llm/src/ab_testing.rs:58 Experiment::ended_at
      Unreplied threads on this gap: 4607854869 (Codex), 4607947310 and 4607947318 (cursor), plus cursor review 5949306474. Same finding as Astranox 5949688059 item 1.
  2. Unreplied cursor[bot] thread on tools/parse_probe/Cargo.lock. Thread 4607938643 (also review 5949295580): the nested lock floats quote 1.0.40→1.0.47 and redox_syscall 0.5.17→0.5.18, which the chrono removal does not need. The root lock still has quote 1.0.41. Roll those two versions back or justify them, and reply on the thread.

  3. serde_rfc3339::option::deserialize replaced with always-None survived in five copies of utc_stamp.rs. Tests in those packages never load a present RFC 3339 string through the option adapter (the same mutant is killed in astraweave-coordination). Files: astraweave-llm/src/utc_stamp.rs:85, astraweave-memory/src/utc_stamp.rs:91, astraweave-observability/src/utc_stamp.rs:98, astraweave-optimization/src/utc_stamp.rs:81, crates/astraweave-persistence-player/src/utc_stamp.rs:102. Fix: add a test that deserializes a present timestamp string (and the omitted-key case once serde(default) is in place).

  4. saturating_std in astraweave-optimization/src/utc_stamp.rs:92 survived replacement with a zero duration. The helper is used from batch_inference.rs:338 and :374. astraweave-coordination's copy of the same helper is killed. Fix: add a test on the optimization call sites that fails if the conversion always returns zero.

  5. Incomplete mutation sweep of the rest of the diff. cargo-mutants --in-diff lists 375 statement-level mutants in 41 files. The 134 utc_stamp.rs mutants in eight packages finished (98 killed, 6 survived, 30 unviable because OffsetDateTime has no Default, 0 timeouts; clean suite 244s build + 18s test, per-mutant timeout 47s). Still unrun: 10 local_clock.rs mutants and 231 other in-diff mutants (241). Those stay blockers until they are killed or Annubis accepts an equivalence proof.

Copy link
Copy Markdown
Owner Author

Devastation: BLOCKED @ 13d5728

Supply chain passes: workspace cargo deny check and cargo audit exit 0, RUSTSEC-2026-0548/0538 are gone, there's no new ignore, chrono is fully removed (including tools/parse_probe), and zip 9.7.0 by_index still exposes raw names to the traversal check. No exploitable path. Required CI is green.

Open (all LOW, all blocking):

  1. Parity: optional serde_rfc3339::option timestamps fail when the key is omitted, where chrono gave None. Same as Astranox item 1 / Astraea's review: add #[serde(default)] on all 9 fields and a {} deserialize test.
  2. Parity: negative years format with 3 digits (-001) where chrono writes -0001, in every utc_stamp copy and in format_utc_rfc3339. Pad the magnitude to 4 and keep the sign, with a pin test.
  3. Four review threads (4607854869, 4607938643, 4607947310, 4607947318) are unreplied. The parse_probe lock float of quote/redox_syscall is clean but needs a reply or a pin.
  4. The utc_stamp survivors from Astraea's sweep need killers.

The pre-existing parse_probe advisories (bytes 0007, anyhow 0190, pin-utils 0441) and the clippy failures reproduce on base and are out of scope here.

cursoragent and others added 3 commits November 18, 2026 04:14
Optional timestamp fields load when the key is absent. Year text keeps a sign and four digits of magnitude, and a leading sign parses back to UTC.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
quote 1.0.40 cannot satisfy yoke-derive 0.8.4. 1.0.44 is the minimum that does. redox_syscall returns to 0.5.17.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
The dialogue dependency list matches Cargo.toml. candle-core's zip dependency is =9.7.0, so the existing pin wording stays true.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@cursor cursor 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.

Head 4c8eb37361155841a2341a67eb0ead10851282cf. Not green.

The three commits since 13d572855 close the missing-key load failure, the probe-lock floats, the exact candle-core zip pin, and the clock notes. Two defects remain in the year parser that commit 915aa7c8c added. That parser is copied, byte-for-byte, into six crates.

Still open

  1. The unsigned arm of parse_utc_rfc3339 panics on a valid RFC 3339 stamp whose UTC instant falls in year 10000. checked_to_offset returns None for that instant. chrono 0.4.42 accepts the string.
  2. Signed years pivot through 1970, so a representable February 29 (-0004-02-29T00:00:00Z, +2020-02-29T00:00:00Z) fails to load. chrono 0.4.42 deserializes both. format_utc writes the first of those strings for 4 BCE February 29 and cannot read it back.

Closed on this head

  • All nine Option<OffsetDateTime> fields use #[serde(default, with = "...option")]. Coordination's omitted_optional_timestamps_load_as_none and the experiment test cover an omitted key, an explicit null, and a present string.
  • tools/parse_probe/Cargo.lock: redox_syscall is 0.5.17 again. quote is 1.0.44. yoke-derive 0.8.4 in that lock requires quote = "1.0.44" (^1.0.44), so 1.0.40 does not resolve. The root lock's yoke-derive 0.8.0 allows quote 1.0.28 and stays on 1.0.41. That split is the ICU catch-up.
  • third_party/candle-core zip is =9.7.0. The clock notes in ai_pipeline.md, CAUSAL_WORLD_DESIGN.md, AUTONOMOUS_GAMEPLAY_QA.md, SECURITY_AUDIT.md, and tools/ASSET_SIGNING_DESIGN.md name time. Dialogue's dependency list no longer names a clock crate it does not have.
  • Advisories are unchanged: zip 9.7.0 checksum 08687262e7c0f1284b259686f322805a8adaa8ef4d7210e76448950b3f083bf7, quinn-udp 0.5.16 checksum af66907df18639dcf4db56ca65490cabc4b27a97dbadd96f2926cca73298f016, chrono absent from both lockfiles, no new ignore. num_threads 0.1.8 checksum cabcc654086861f9e1bc5115258de62ef92c79b20f4615a1b0cc57c4e82027d4. No hashed-crate source is in the diff. Wall-clock stamps stay off the replayed tick.

Residuals

time 0.3.55's RFC 3339 parser accepts any one-byte date/time separator. 2020-01-02 03:04:05Z and 2020-01-02X03:04:05Z both parse. chrono's DateTime<Utc> visitor accepts the space and rejects X. An offset written +0000 still fails here; chrono still accepts it. Serializers in this tree write T and Z or +00:00.

The PR body still names head 13d572855. Its versions table still omits zeroize 1.9.2, zeroize_derive, lzma-rust2 0.25.0, typed-path 0.13.0, and the crates the chrono removal dropped (iana-time-zone, iana-time-zone-haiku, windows-core 0.62.2, windows-result 0.4.1, windows-strings 0.5.1).

Report

  1. Head 4c8eb37361155841a2341a67eb0ead10851282cf. Not green. Gate, cargo-audit, cargo-deny, Security Audit, Replay hash (macos, windows), and determinism-replay hash (macos) succeeded. Replay hash (ubuntu), determinism-replay hash (ubuntu, windows), MSRV, trace sync, archive tests, Windows startup, and volumetrics are still running.
  2. Commands: time 0.3.55 probe, exit 0. chrono 0.4.42 probe, exit 0. cargo test -p astraweave-coordination --lib utc_stamp --offline, exit 101.
  3. Not run: crate tests and replay hashes locally. The offline crates.io index has zip 9.0.3, 6.0.0, and 1.1.4, and no 9.7.0. cargo-mutants not run. GPU frame time not measured.
  4. Measurements: not measured.
  5. Replay hashes: expected unchanged. Goldens were not edited. Ubuntu's replay jobs are still running, so this SHA is not yet confirmed on all three OS.
  6. Deferred issues: none.
Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Copy link
Copy Markdown
Owner Author

Devastation: BLOCKED @ 4c8eb37

Round-1 items:

  1. Omitted optional timestamps: fixed. All 9 fields load when the key is omitted, null or present, and the test fails if default is removed.
  2. Negative-year width: not fixed. -0001 now matches chrono and round-trips, but the new year handling still has edge-case gaps (below).
  3. utc_stamp survivors: fixed, with killers verified.
  4. parse_probe lock: fixed. quote 1.0.44 is forced by yoke-derive 0.8.4, and zip is pinned at =9.7.0.

Supply chain is still clean: deny and audit exit 0, 0548/0538 are absent, there's no chrono anywhere, and the zip traversal check is intact. Required CI is green.

New (all blocking):

  • MEDIUM, introduced: an input-validation issue in the RFC3339 parse/format path. Specifics were sent privately and aren't detailed here.
  • LOW, introduced: signed leap-day stamps that chrono wrote don't load.
  • LOW: chrono's year-10000+ stamps don't load. Either support that range or document the rejection.
  • Threads 4609188424 and 4609188430 have no reply.

The pre-existing parse_probe bytes advisory and the ReadWait clippy lint are the same on base and out of scope.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Docs: BLOCKING at 4c8eb37

Full docs review of #758 (zip 9.0.3 → 9.7.0, quinn-udp 0.5.14 → 0.5.16, chrono → time) at 4c8eb373, against base 95283696. This is a full re-check, not a delta. I ran no mutant sweep; Astraea's sweep at this head is still pending (her only sweep so far is for 13d57285). Code claims were checked with git and the GitHub API at this head, and the parser and formatter behaviour with a scratch copy of astraweave-memory/src/utc_stamp.rs built against time 0.3.55. 5 items.

Correction to my round 1

My round-1 review (5949688059) said the new formatters write the same text chrono did at every call site. That was wrong. For years outside 0..=9999, 13d57285 wrote -001 where chrono wrote -0001, as Annubis found. At this head that is fixed. Details are under "Fixed at this head".

Blocking

  1. Security-class: the unsigned-year parse path can abort the process on a well-formed timestamp. One step after a successful RFC 3339 parse can panic, where it should return a parse error. These readers load saves, memory records, experiments and telemetry, so a bad file brings the process down instead of failing to load. chrono returned a value here, so this PR introduced the problem. It was already present at 13d57285, and my round 1 missed it. Sites: astraweave-coordination/src/utc_stamp.rs:63, astraweave-llm/src/utc_stamp.rs:67, astraweave-memory/src/utc_stamp.rs:73, astraweave-observability/src/utc_stamp.rs:80, astraweave-optimization/src/utc_stamp.rs:63 and crates/astraweave-persistence-player/src/utc_stamp.rs:84. cursor thread 4609188424 raises it and has no reply. I confirmed it against time 0.3.55. Details went privately to Annubis for his rating. Make that step fallible in all six copies, add a test that expects Err, and correct the body (item 3).

  2. A signed-year February 29 doesn't parse back, so "text these serializers write still parses" is false. parse_signed_year parses the rest of the string against the fixed year 1970 (astraweave-coordination/src/utc_stamp.rs:85 and the same line in the five other copies). 1970 isn't a leap year, so a leap day in a signed leap year is rejected before the real year is applied. format_utc writes exactly that text for such a date, and the parser can't read it back. I confirmed this for two negative leap years, while unsigned 2020-02-29 and year 0000-02-29 still round-trip. No test covers a leap day on the signed path (signed_years_parse_back_to_utc, :304). cursor thread 4609188430 raises it and has no reply. Parse against a leap year, as cursor suggests, then apply the real year. Add a signed Feb 29 round-trip test and a test that a signed non-leap Feb 29 is still rejected, in all six copies. Until then, the body's "Text these serializers write still parses", "A leading sign parses back to UTC" and the Security Considerations line "Serializer output still parses, including a signed four-digit year" aren't true.

  3. The PR body is out of date at this head.

    • Report item 1 says "Checks on this SHA have not finished". Every check that runs on PRs has now finished (see CI).
    • Security Considerations leaves "Does this PR modify how user input is handled?" unticked, but this PR replaces the parser for every stored timestamp, and items 1 and 2 are about how it handles input. Tick it and describe what is accepted and rejected, and the error-not-panic rule once item 1 is fixed.
    • "Any other year keeps a sign and at least four digits of magnitude (-0001, +10000)": no manifest in the tree turns on time's large-dates feature, so years past 9999 can't be stored, and only negative years ever get a sign. Say that, or drop the +10000 example. (year_text itself does write +10000; its test only checks the helper.)
    • Astrix's room post said the body maps every round-1 item. It doesn't. There's no section mapping my 6 items, Astraea's 5 or Annubis's 4 to commits. Add a short map, or link the thread replies.
    • Everything else in the body checks out. The Versions table matches the root lock diff exactly: zip, quinn-udp, num_threads 0.1.8 (from time 0.3.55), zeroize_derive 1.5.0 (from zeroize 1.9.2), zeroize, lzma-rust2, typed-path, the chrono, iana-time-zone and iana-time-zone-haiku removals, and the windows-core/result/strings 0.62.2/0.4.1/0.5.1 removals, with other versions of those still in the lock. quote 1.0.44 is right: yoke-derive 0.8.4 requires ^1.0.44 in the crates.io index, and the root lock stays on 1.0.41 through yoke-derive 0.8.0. redox_syscall is back at 0.5.17. "Not behind main" holds: compare shows 6 ahead and 0 behind. A single separator byte and a rejected +0000 both match time 0.3.55. The unviable count (44 Default replacements) fits the code.
  4. docs/architecture/ai_pipeline.md:1578 and :1580: the dialogue dependency text is still wrong (round-1 item 4, only partly fixed). time, uuid and rand are now gone from the list, which is correct. But astraweave-dialogue/Cargo.toml also has astraweave-core, and only the LLM layer uses it (SimRng at llm_dialogue.rs:558-561). So the LLM layer pulls in seven AstraWeave crates, not "six", and astraweave-core belongs in the :1578 list. My round 1 missed this. Also, none of the crate's dependencies are optional (there's no [features] gate), so "The basic layer compiles without any of the LLM-stack deps" isn't true as written. Cargo always builds them. Say the basic layer uses none of them.

  5. tools/ASSET_SIGNING_DESIGN.md:1635-1637: the signed_at example doesn't match the tool (round-1 item 6, only partly fixed). chrono is gone from the design (:1354 and the struct fields at :428-429, :480 and :1006-1007 now name time), which is correct. But .format(&Rfc3339) writes a Z suffix, while aw_asset_cli writes +00:00, the old to_rfc3339() text (tools/aw_asset_cli/src/main.rs:526 through format_utc_rfc3339 at :722). Following the design would change the signed_at text. Point the example at the tool's formatter or state the suffix the tool writes.

Fixed at this head (verified)

  • Round-1 item 1 (missing key). All nine Option<OffsetDateTime> fields now have #[serde(default, with = …option)]: agent.rs:117 and :154, coordination.rs:128, narrative_coherence.rs:83, :306 and :341, world_events.rs:241, and ab_testing.rs:56 and :58. omitted_optional_timestamps_load_as_none (coordination tests/mutation_resistant_comprehensive_tests.rs:1062, and ab_testing.rs:1560) covers an omitted key, null and a present string for each field. Each parser copy also has option_timestamp_reads_a_present_string_null_and_omission. That test loads {} and checks a present string, which goes after Astraea's option::deserialize → Ok(None) survivors. The body now says what still parses and what doesn't. The three round-1 threads (4607854869, 4607947310, 4607947318) have replies.
  • Round-1 item 2 (dependency report). The table is complete and the parse_probe lock is explained (see item 3). Thread 4607938643 has a reply. Only the CI line is stale again.
  • Round-1 item 3 (stale clock docs). ai_pipeline.md:1742 now names time::OffsetDateTime, matching agent.rs:80. CAUSAL_WORLD_DESIGN.md:43, :44 and :45 match agent.rs:223, world_events.rs:511 and narrative_coherence.rs:82. :306 now names OffsetDateTime::now_utc. AUTONOMOUS_GAMEPLAY_QA.md:330 and SECURITY_AUDIT.md:219 now say generated_at is a u64 set to 0, which matches llm_quests.rs:28 and :433-434. astraweave-quests has no chrono, time, SystemTime or Instant. So :330 and :101 now agree.
  • Round-1 item 5 (pin). third_party/candle-core/Cargo.toml:205 is =9.7.0 again, so "pinned" at :201, root Cargo.toml:307, .cargo/audit.toml:8 and ARAVATH_DISTRIBUTION.md:131 is true. The workspace (Cargo.toml:184) and aw_build still ask for 9.7.0.
  • Negative-year width (Annubis). All 11 formatters (the 8 utc_stamp.rs copies, local_clock.rs, aw_asset_cli and hello_companion) now go through year_text, which writes {:04} for 0..=9999 and {:+05} otherwise. That matches chrono's -0001. Every .year() call in these files goes through it. Each of the 11 has year_width_keeps_a_sign_and_four_digit_magnitude as a killer test. Each of the 6 parser copies has signed_years_parse_back_to_utc, which pins -0001 round-tripping, an offset carrying back into -0002, and rejecting a three-digit year. The leap-day gap in item 2 is the remaining hole.
  • Mutation claims in the body. The targeted 234-mutant run (190 caught, 44 unviable, 0 survived) fits the code: present-string option tests are in every copy, and saturating_std_keeps_a_nonzero_duration is at astraweave-optimization/src/utc_stamp.rs:346, which goes after Astraea's optimization survivor. The gaps in items 1 and 2 aren't ones cargo-mutants can find (an unchecked call and a string literal), so "0 survived" doesn't cover them. Astraea's full sweep at this head is still pending, including her 241 unrun.

Checked and fine

  • Lock and policy. One zip (9.7.0) and one quinn-udp (0.5.16). chrono is absent from both lockfiles and from every .rs and Cargo.toml. No RUSTSEC ignore and no continue-on-error were added.
  • Docs elsewhere. README, mdBook docs/src, ENGINE_STATUS, SECURITY.md, ARCHITECTURE_MAP and workspace_map.html don't mention chrono, zip or quinn-udp versions. The remaining chrono mentions outside docs/archive and docs/journey are dated records (MUTATION_TESTING_AUDIT.md:451 and :453, v1.42.0, and PHASE_8_PRIORITY_3_SAVE_LOAD_PLAN.md:387) and can stay. AUTONOMOUS_GAMEPLAY_QA.md:300 ("No Utc::now") is still true.
  • Trace map. No workspace crate edges changed, and trace registry/map in sync passed at this head.
  • CHANGELOG. No entry is needed in this PR. The next monthly backfill should list #758 under 2026-11 → Security.

CI at 4c8eb37

46 check runs: 38 passed, 7 skipped (the release, full-test and demo jobs, which skip on PRs as usual) and 1 neutral (Scorecard). The CodeRabbit status passed. The last job finished at 12:04 AM ET on Nov 18, and I checked at 8:32 AM ET. Gate, PR Rust checks, all 8 Test shards, Replay hash and determinism hash on all 3 OSes, cargo-audit, cargo-deny + SBOM, Cargo Deny Check, Security Audit, MSRV, trace sync, greybox, both startup passes and volumetrics all passed.

The ruleset's required contexts Code coverage, CodeQL and Analyze (rust) aren't reported on PR heads, here or at 13d57285. codeql-analysis.yml:3-8 runs only on pushes to main and weekly, and no workflow produces Code coverage. That's the pending ruleset follow-up, not this PR's fault, but it does mean GitHub still shows this PR as unstable.

Reviewers at this head

  • cursor[bot]: 5950803199 ("Not green", posted at 11:27 PM ET on Nov 17, before CI finished). It found 2 open defects (items 1 and 2) and closed the round-1 items. Its 2 new inline threads (4609188424, 4609188430) have no reply. All 4 round-1 inline threads now have replies.
  • chatgpt-codex-connector: nothing at this head. Its last review and summary are for 13d57285.
  • Astraea: nothing at this head yet, and her sweep is pending.
  • Annubis: nothing at this head yet. His last devastation is 6967059805, at 13d57285.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Blocking

Required CI is green at 4c8eb37361155841a2341a67eb0ead10851282cf (46 check runs: 38 passed, 7 skipped as usual on PRs, 1 neutral Scorecard). The ruleset contexts Code coverage, CodeQL and Analyze (rust) are not reported on PR heads; that is the pending ruleset follow-up, not this PR. Annubis has ruled BLOCKED at this head, so this is not a Clear.

In-diff sweep at this head: 448 listed, 448 tested, 267 killed, 66 survived, 0 timed out, 115 unviable, 0 unrun. Unmutated baseline 535s build + 33s test; per-mutant timeout 84s (2.5× multiplier, ≥ 2× the test phase). Campaign finished in 77 minutes.

  1. Annubis devastation BLOCKED at this head: 6980156866. 1 MEDIUM input-validation gap, see Annubis's advisory. 2 LOW year-edge items. I do not restate those items.

  2. Astranox docs BLOCKING at this head: 5957681197, 5 items. His item 1 is the same input-validation gap as Annubis's MEDIUM. His item 2 is the signed-year February 29 LOW. I independently confirmed the code and docs claims; I do not restate the five items.

  3. Unreplied cursor[bot] threads at this head: 4609188424 and 4609188430 (review 5950803199). These are the threads for Annubis's MEDIUM and the signed-year February 29 LOW. Reply on both. The four round-1 threads now have replies. Codex has no review at this SHA.

  4. Surviving mutants in astraweave-coordination/src/agent.rs (2). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head.

    • astraweave-coordination/src/agent.rs:488: replace > with >= in AgentGoal::is_overdue
    • astraweave-coordination/src/agent.rs:532: replace > with >= in Task::is_overdue
  5. Surviving mutants in astraweave-coordination/src/coordination.rs (1). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head.

    • astraweave-coordination/src/coordination.rs:806: replace ResourceManager::update_allocations with ()
  6. Surviving mutants in astraweave-coordination/src/world_events.rs (10). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head.

    • astraweave-coordination/src/world_events.rs:608: replace + with - in WorldEventGenerator::generate_storyline
    • astraweave-coordination/src/world_events.rs:627: replace WorldEventGenerator::update_world_state -> Result<()> with Ok(())
    • astraweave-coordination/src/world_events.rs:693: replace WorldEventGenerator::should_generate_event -> bool with false
    • astraweave-coordination/src/world_events.rs:693: replace WorldEventGenerator::should_generate_event -> bool with true
    • astraweave-coordination/src/world_events.rs:706: replace < with <= in WorldEventGenerator::should_generate_event
    • astraweave-coordination/src/world_events.rs:706: replace < with == in WorldEventGenerator::should_generate_event
    • astraweave-coordination/src/world_events.rs:706: replace < with > in WorldEventGenerator::should_generate_event
    • astraweave-coordination/src/world_events.rs:739: replace WorldEventGenerator::build_world_context -> Result<HashMap<String, serde_json::Value>> with Ok(HashMap::from_iter([("xyzzy".into(), Default::default())]))
    • astraweave-coordination/src/world_events.rs:739: replace WorldEventGenerator::build_world_context -> Result<HashMap<String, serde_json::Value>> with Ok(HashMap::from_iter([(String::new(), Default::default())]))
    • astraweave-coordination/src/world_events.rs:739: replace WorldEventGenerator::build_world_context -> Result<HashMap<String, serde_json::Value>> with Ok(HashMap::new())
  7. Surviving mutants in astraweave-coordination/src/narrative_coherence.rs (1). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head.

    • astraweave-coordination/src/narrative_coherence.rs:1081: replace NarrativeCoherenceEngine::update_character_arc -> Result<()> with Ok(())
  8. Surviving mutants in astraweave-memory/src/components.rs (7). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head.

    • astraweave-memory/src/components.rs:433: replace WorkingMemoryComponent::add_task -> String with "xyzzy".into()
    • astraweave-memory/src/components.rs:433: replace WorkingMemoryComponent::add_task -> String with String::new()
    • astraweave-memory/src/components.rs:464: replace WorkingMemoryComponent::cleanup_old_tasks with ()
    • astraweave-memory/src/components.rs:465: replace - with + in WorkingMemoryComponent::cleanup_old_tasks
    • astraweave-memory/src/components.rs:465: replace - with / in WorkingMemoryComponent::cleanup_old_tasks
    • astraweave-memory/src/components.rs:479: replace SocialMemoryComponent::update_relationship with ()
    • astraweave-memory/src/components.rs:529: replace LearningMemoryComponent::record_practice with ()
  9. Surviving mutants in astraweave-observability/src/llm_telemetry.rs (6). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head.

    • astraweave-observability/src/llm_telemetry.rs:716: replace LlmTelemetry::track_cost -> Result<()> with Ok(())
    • astraweave-observability/src/llm_telemetry.rs:859: replace LlmTelemetry::trigger_alert with ()
    • astraweave-observability/src/llm_telemetry.rs:944: replace LlmTelemetry::calculate_projected_monthly_cost -> f32 with -1.0
    • astraweave-observability/src/llm_telemetry.rs:944: replace LlmTelemetry::calculate_projected_monthly_cost -> f32 with 0.0
    • astraweave-observability/src/llm_telemetry.rs:944: replace LlmTelemetry::calculate_projected_monthly_cost -> f32 with 1.0
    • astraweave-observability/src/llm_telemetry.rs:1075: replace - with + in RequestTracker::complete
  10. Surviving mutants in astraweave-optimization/src/batch_inference.rs (12). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head.

  • astraweave-optimization/src/batch_inference.rs:248: replace + with - in BatchInferenceEngine::submit_request
  • astraweave-optimization/src/batch_inference.rs:337: replace || with && in BatchInferenceEngine::spawn_scheduler
  • astraweave-optimization/src/batch_inference.rs:337: delete ! in BatchInferenceEngine::spawn_scheduler
  • astraweave-optimization/src/batch_inference.rs:338: replace && with || in BatchInferenceEngine::spawn_scheduler
  • astraweave-optimization/src/batch_inference.rs:341: replace >= with < in BatchInferenceEngine::spawn_scheduler
  • astraweave-optimization/src/batch_inference.rs:372: replace - with + in BatchInferenceEngine::spawn_metrics_collector
  • astraweave-optimization/src/batch_inference.rs:372: replace - with / in BatchInferenceEngine::spawn_metrics_collector
  • astraweave-optimization/src/batch_inference.rs:529: replace BatchInferenceEngine::schedule_batch with ()
  • astraweave-optimization/src/batch_inference.rs:568: replace BatchInferenceEngine::calculate_dynamic_batch_size -> usize with 1
  • astraweave-optimization/src/batch_inference.rs:573: replace < with <= in BatchInferenceEngine::calculate_dynamic_batch_size
  • astraweave-optimization/src/batch_inference.rs:573: replace < with == in BatchInferenceEngine::calculate_dynamic_batch_size
  • astraweave-optimization/src/batch_inference.rs:573: replace < with > in BatchInferenceEngine::calculate_dynamic_batch_size
  1. Surviving mutants in astraweave-optimization/src/prompt_cache.rs (8). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head.
  • astraweave-optimization/src/prompt_cache.rs:308: replace PromptCache::get_stats -> CacheStats with Default::default()
  • astraweave-optimization/src/prompt_cache.rs:394: replace PromptCache::is_expired -> bool with false
  • astraweave-optimization/src/prompt_cache.rs:394: replace > with == in PromptCache::is_expired
  • astraweave-optimization/src/prompt_cache.rs:394: replace > with >= in PromptCache::is_expired
  • astraweave-optimization/src/prompt_cache.rs:400: replace PromptCache::record_hit with ()
  • astraweave-optimization/src/prompt_cache.rs:402: replace == with != in PromptCache::record_hit
  • astraweave-optimization/src/prompt_cache.rs:541: replace PromptCache::invalidate_expired -> Result with Ok(0)
  • astraweave-optimization/src/prompt_cache.rs:541: replace PromptCache::invalidate_expired -> Result with Ok(1)
  1. Surviving mutants in tools/aw_editor/src/main.rs (2). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head.
  • tools/aw_editor/src/main.rs:1200: replace EditorApp::perform_auto_save with ()
  • tools/aw_editor/src/main.rs:1351: replace EditorApp::create_lock_file with ()
  1. Surviving mutants in examples/hello_companion/src/main.rs (17). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head. The year_text / format_utc_rfc3339 tests are behind #[cfg(all(test, feature = "metrics"))] and did not run on the default feature set, so enable metrics in this package's tests (or move the tests off that gate).
  • examples/hello_companion/src/main.rs:195: replace main -> Result<()> with Ok(())
  • examples/hello_companion/src/main.rs:1432: replace year_text -> String with "xyzzy".into()
  • examples/hello_companion/src/main.rs:1432: replace year_text -> String with String::new()
  • examples/hello_companion/src/main.rs:1432: delete ! in year_text
  • examples/hello_companion/src/main.rs:1441: replace format_utc_rfc3339 -> String with "xyzzy".into()
  • examples/hello_companion/src/main.rs:1441: replace format_utc_rfc3339 -> String with String::new()
  • examples/hello_companion/src/main.rs:1452: replace != with == in format_utc_rfc3339
  • examples/hello_companion/src/main.rs:1453: replace % with + in format_utc_rfc3339
  • examples/hello_companion/src/main.rs:1453: replace % with / in format_utc_rfc3339
  • examples/hello_companion/src/main.rs:1453: replace == with != in format_utc_rfc3339
  • examples/hello_companion/src/main.rs:1455: replace % with + in format_utc_rfc3339
  • examples/hello_companion/src/main.rs:1455: replace % with / in format_utc_rfc3339
  • examples/hello_companion/src/main.rs:1455: replace == with != in format_utc_rfc3339
  • examples/hello_companion/src/main.rs:1470: replace utc_rfc3339_pins::at -> time::OffsetDateTime with Default::default()
  • examples/hello_companion/src/main.rs:1470: replace + with * in utc_rfc3339_pins::at
  • examples/hello_companion/src/main.rs:1470: replace + with - in utc_rfc3339_pins::at
  • examples/hello_companion/src/main.rs:1503: replace utc_rfc3339_pins::civil -> time::OffsetDateTime with Default::default()

Prior items at 13d5728 (independently re-checked)

    1. Nine optional timestamps lacking serde(default): fixed. All nine production fields have #[serde(default, with = "…option")], with omitted-key, null, and present-string tests (omitted_optional_timestamps_load_as_none and option_timestamp_reads_a_present_string_null_and_omission).
    1. Unreplied cursor thread 4607938643: fixed (reply present; the other three round-1 threads also have replies). redox_syscall is back at 0.5.17; quote 1.0.44 is the minimum that satisfies yoke-derive 0.8.4 (^1.0.44).
    1. option::deserialize survivors in five utc_stamp.rs copies: killed at this head. Confirmed in the in-diff sweep (caught.txt) for llm, memory, observability, optimization, and persistence-player, plus coordination.
    1. saturating_std survivor in astraweave-optimization/src/utc_stamp.rs: killed at this head (saturating_std → Default::default() at :139; killer saturating_std_keeps_a_nonzero_duration at :346).
    1. 241 unrun mutants at 13d57285: superseded by the full in-diff sweep at this head (448 listed, 448 tested, 0 unrun).
  • Annubis negative-year width (-001 vs -0001): fixed for four-digit signed years (year_text uses {:04} for 0..=9999 and {:+05} otherwise). The remaining year-edge holes are in his new LOWs.

Signed years pivot through a leap year, so a leap day round-trips and a non-leap day stays rejected. Years outside the stored range stay rejected. Tests cover the survivor sites. The editor autosave and lock file live in session_files.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@cursor cursor 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.

Blocking @ 15e6161c. The branch is open. Checks on this SHA have not finished.

The two open parser threads are fixed. parse_utc_rfc3339 uses checked_to_offset on the unsigned arm, and the signed arm pivots through year 2000. The same body is in coordination, llm, memory, observability, optimization, and persistence-player. The tests reject 9999-12-31T23:59:59-01:00, accept -0004-02-29T00:00:00Z and +2020-02-29T00:00:00Z, and still reject -0001-02-29T00:00:00Z.

Two arithmetic sites still abort on a value chrono 0.4.42 accepted. time 0.3.55 without large-dates stores years -9999..=9999, and Add/Sub expect after checked_add/checked_sub. chrono's NaiveDate stores through year 262142.

  1. estimated_storyline_end adds model total_phases hours. 80_000_000 hours from 2026 is about year 11153. Duration::hours accepts the count. The addition panics. The JSON fits in the 64 KiB model cap.
  2. cleanup_old_tasks_at subtracts a saved retention_duration. 4e11 seconds is about 12,675 years and lands near year -10649.

Display helpers that still call to_offset (format_utc_date, format_utc_seconds, format_utc_clock, format_utc_display, and the format-only copies in prompts, assets, aw_asset_cli, and hello_companion) receive now_utc() or a value the parser already stored as UTC. to_offset(UTC) on an in-range UTC value returns the same value.

track_cost pops one hourly bucket. That function is the only writer and adds at most one hour per call, so a tracker that starts at or under 168 stays capped.

Supply chain on this SHA: cargo-audit, cargo-deny, and Security Audit succeeded. zip 9.7.0 checksum 08687262…083bf7. quinn-udp 0.5.16 checksum af66907d…298f016. chrono is absent from the root lock and from tools/parse_probe. zeroize 1.9.2 is zip's dependency and pulls zeroize_derive 1.5.0. num_threads 0.1.8 is the time local-offset guard. The probe lock stays at quote 1.0.44 and redox_syscall 0.5.17. candle-core pins zip with =9.7.0. No new ignore.

aw_editor enables time's local-offset. On Linux, time 0.3.55 reads the offset with localtime_r and does not call tzset. now_local falls back to UTC when that read fails.

No hashed crate is in the diff. Replay hash and the determinism hash jobs are still running on ubuntu, macOS, and Windows. Expected unchanged. Gate, lavapipe startup, Windows startup, greybox, and volumetrics are still running.

The PR body still names 4c8eb373.

Measurements: not measured. A local time 0.3.55 build was not run: this VM's rustc is 1.83.0, and that crate requires 1.88. The panic paths are the expect in time 0.3.55 offset_date_time.rs and the year constants in date.rs and chrono 0.4.42 naive/date/mod.rs.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread astraweave-memory/src/components.rs Resolved
Partition jobs were spawning the compile-time CARGO_BIN_EXE path, which
exists only on the archive builder. Nextest already stores that binary
and publishes the extracted path at runtime.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@cursor cursor 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.

Head 1beaa4260a946cc054f80f62d322530cb2cc2be8. Not green. Not a clearance.

The new commit is examples/hello_companion/tests/console_demo.rs only. It resolves the console binary from the runtime variables CARGO_BIN_EXE_hello_companion and NEXTEST_BIN_EXE_hello_companion, then falls back to env!("CARGO_BIN_EXE_hello_companion"). That matches nextest's archive contract. A package with an integration test has its non-test binaries stored in the archive. NEXTEST_BIN_EXE_<name> has been the remapped path since 0.9.113, and CARGO_BIN_EXE_<name> has been set to that same path since 0.9.130, on every rustc. This repo's toolchain is 1.89.0, so plain cargo test still leaves those runtime variables unset and the env! path is the local binary. Command::new does not go through a shell. An empty variable is skipped. The .exe suffix is tried only when the named path is not a file and does not already end in .exe. Windows cargo and nextest already include .exe. If the named path is missing and a sibling with .exe appended exists, that sibling is what runs.

The spawned process is the full console demo: Classical RuleOrchestrator, then 20 run_fixed ticks. No model call. hello_companion is not a hashed crate. The child does not write a golden.

Still blocking. This commit does not touch either site:

  • astraweave-coordination/src/world_events.rs estimated_storyline_end adds total_phases hours with the panicking Add. 80_000_000 hours from parse_bounded_model_json lands near year 11153. time 0.3.55 without large-dates stores years -9999..=9999.
  • astraweave-memory/src/components.rs cleanup_old_tasks_at subtracts retention_duration as i64 seconds with the panicking Sub. A saved 4e11 lands near year -10649.

Report

  1. Head SHA 1beaa4260a946cc054f80f62d322530cb2cc2be8. Checks on this SHA have not finished.
  2. This run inspected the one-file diff, the lock pins, and the check runs. The PR body's cargo commands are for 15e6161c, not this head.
  3. Not run: cargo test, a nextest archive run, and the replay hash job locally. GPU frame capture: a cloud agent cannot measure the GTX 1660 Ti.
  4. Measurements: not measured.
  5. Replay hashes: Replay hash (macos-latest) and Replay hash (windows-latest) succeeded on this SHA. Replay hash (ubuntu-latest) is still running. The determinism-replay hash jobs are still running on three OS. This commit does not change a hashed crate. Expected unchanged. Goldens were not edited.
  6. Deferred issues: none.

Also green on this SHA so far: cargo-audit, cargo-deny, Security Audit, trace sync, docs, net-tests, volumetrics. Gate, greybox, and both startup jobs are still running.

Lock, unchanged by this commit: zip 9.7.0 08687262…083bf7, quinn-udp 0.5.16 af66907d…298f016, time 0.3.55, num_threads 0.1.8 cabcc654…82027d4, zeroize 1.9.2. No chrono package. No new RUSTSEC ignore.

The PR body still names 15e6161c.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Docs: BLOCKING at 1beaa42

Full docs review of #758 (zip 9.0.3 → 9.7.0, quinn-udp 0.5.14 → 0.5.16, chrono → time) at 1beaa426, against base 95283696. This is a full re-check, not a delta. I ran no mutant sweep. Astraea's sweep at this head is still pending; her latest is for 4c8eb373. I checked code claims with git and the GitHub API at this head, and the parser and date-arithmetic behaviour with a scratch build against time 0.3.55. 5 blocking items.

CI: 46 check runs: 38 passed, 7 skipped (the release, full-test and demo jobs, which skip on PRs as usual) and 1 neutral (Scorecard). The CodeRabbit status passed. The last job finished at 4:22 PM ET on Nov 18, and I checked at 4:43 PM ET. The ruleset contexts Code coverage, CodeQL and Analyze (rust) still aren't reported on PR heads. That's the pending ruleset follow-up, not this PR, but GitHub still shows the PR as unstable.

Reviewers at this head: cursor[bot] posted 5964887928 at 3:51 PM ET, before CI finished, saying "Not green. Not a clearance". It also posted 5963089557 at 15e6161c. Of 9 inline threads, 6 have replies: the 4 from round 1, plus 4609188424 and 4609188430, which got replies at 1:44 PM ET. 3 have none: 4619219624 and 4619219636, both at 15e6161c, and 4620623887 at this head. chatgpt-codex-connector has posted nothing since 13d57285. Astraea has posted nothing at this head; her latest is 5960365004 at 4c8eb373, and her sweep is pending. Annubis has posted nothing at this head; his latest is 6980156866 at 4c8eb373.

Blocking

  1. New, security class: an out-of-range value can still abort the process outside the parse/format path. The parser and format_utc now fail closed, but other code in the diff can still panic on an out-of-range value where it should fail closed. chrono returned a value in these cases, so this PR introduced the problem. It has been present since 13d57285, and my rounds 1 and 2 missed it. I confirmed it against time 0.3.55. I've sent the details to Annubis privately for his rating, and it stays blocking until he rules. Until it's fixed, two body claims are true only of parsing and format_utc: "Parsing and formatting fail closed on out-of-range input", and the Security Considerations line "UTC text is parsed and formatted fail-closed on out-of-range input". Narrow both, or make them true for the whole change.

  2. The PR body is out of date at this head (my round-2 item 3, partly fixed).

    • Report item 1 says "Checks on this SHA have not finished". Every check finished by 4:22 PM ET (see CI).
    • The "Review items" entry for my item 4 says "the basic layer uses astraweave-core". It doesn't (see item 3 below).
    • "-0004-02-29 and +2020-02-29 round-trip". +2020-02-29 parses, but it's written back as 2020-02-29 without the sign (the test at astraweave-coordination/src/utc_stamp.rs:378-379 pins exactly that). Say "parse back", or say that a + on a four-digit year is dropped.
    • Two changes in this round aren't described anywhere in the body: the #[cfg(feature = "ollama")] gate on ReadWait (astraweave-llm/src/lib.rs:143), and the llm gates in hello_companion (examples/hello_companion/src/main.rs:168 and :208). Annubis called the ReadWait lint out of scope at 4c8eb373. Add one line saying they're warning-only gates.
    • hello_companion paragraph: the banner test reads CARGO_BIN_EXE_hello_companion, then NEXTEST_BIN_EXE_hello_companion, and then falls back to the compile-time path (examples/hello_companion/tests/console_demo.rs:13-29). Say so. cursor thread 4620623887 says the test also builds against the windowed binary under --features visual. It has no reply, and the body's "no visual-feature test was added" doesn't address it. I'm not ruling on the visual-main mutant. That's Astraea's and Annubis's call.
    • "Review items" maps my round-2 items and Astraea's 66 survivors. It doesn't map Annubis's round-2 items: his MEDIUM, the two LOW year-edge items and the two threads. It also doesn't map Astraea's other round-2 items (1–3). Add them, or link the replies.
    • Fixed since round 2: the "user input" box is ticked and describes what's accepted and rejected, and the +10000 claim is gone. Description :10 now says ±10000 is rejected and year_text(10_000) isn't a stored stamp. That's the documentation half of Annubis's year-10000 LOW; the ruling is his.
  3. docs/architecture/ai_pipeline.md:1577-1578: astraweave-core is on the wrong line (my round-2 item 4, partly fixed). "Seven AstraWeave crates" and "The basic layer uses none of the LLM-stack deps" at :1580 are now right. But :1577 now lists astraweave-core under the basic layer. The only use of it is recorded_line in astraweave-dialogue/src/llm_dialogue.rs:558-561 (SimRng), which is LLM layer. lib.rs, runner.rs and toml_loader.rs don't use it. Move it to :1578, and fix the matching sentence in the body.

  4. Editor docs name code this PR removed, or chrono (new).

    • docs/architecture/aw_editor.md:636 (invariant 6) says auto-save "fires perform_auto_save at main.rs:1063-1111". This round removed perform_auto_save. The work is now session_files::write_autosave (tools/aw_editor/src/session_files.rs:49), called from main.rs:10016, and the check is at main.rs:10010-10013, not :9441-9445. The check is > and the doc says >=. That mismatch was already on base, but fix it while you're on this line.
    • tools/aw_editor/WORLD_CLASS_EDITOR_PLAN.md:366 (status ACTIVE DEVELOPMENT) still builds the autosave name with chrono::Utc::now(). The editor has no chrono, and it names autosaves with local_clock::compact (session_files.rs:63). This is the same kind of item as my round-1 item 6. My rounds 1 and 2 missed it.
    • docs/audits/ED1_EDITOR_HANG.md:10 also names create_lock_file, but it's a dated record (2026-07-22) and can stay.
  5. Round-2 security items: addressed in the code, pending Annubis.

    • My round-2 item 1 (Annubis: MEDIUM, introduced, blocking), the input-validation class in the RFC 3339 parse/format path, is addressed in the code in all six parser copies and format_utc, with an Err test in each. It stays blocking until Annubis rules at this head. cursor thread 4609188424 now has a reply.
    • My round-2 item 2 (Annubis: LOW, blocking), signed-year February 29, is addressed in the code. All six copies have the leap-year pivot and signed_leap_day_round_trips_and_a_non_leap_day_is_rejected. I confirmed that signed leap days in leap years load, and that non-leap ones, including a non-leap century year, are still rejected. It stays blocking until Annubis rules. Thread 4609188430 now has a reply.

Fixed at this head (verified)

  • Round-2 item 5, tools/ASSET_SIGNING_DESIGN.md:1635-1636. The sketch now builds signed_at with format_utc_rfc3339 and says the suffix is +00:00. That matches tools/aw_asset_cli/src/main.rs:526 and the formatter at :722.
  • Round-2 item 4, partly fixed. "Seven" and "uses none" are right (see item 3).
  • Round-2 item 3, partly fixed. See item 2.

Checked and fine

  • New body claims, checked against this head. deadline_equal_to_now_is_not_overdue (agent.rs:845) and should_generate_event_at (world_events.rs:697) exist. The dead current_day > 0 branch is gone (llm_telemetry.rs:945-946). session_files has the five tests the body lists (session_files.rs:164, :182, :197, :222 and :256), and aw_editor declares the module in both the lib (lib.rs:37) and the bin (main.rs:80). That matches "listed once for the lib and once for the bin". astraweave-embeddings is a path dev-dependency of coordination. time is a dev-dependency of hello_companion. The only root-lock change this round is that one dev-dependency line, so no crates.io crate was added. "NotFound at console_demo.rs:6" matches the file at 15e6161c. The mutant counts are for 15e6161c, and this head only changes console_demo.rs, so the files those counts cover are unchanged. Whether they hold is Astraea's call.
  • Supply chain and versions. The Versions table still matches the root lock. Candle-core's zip is =9.7.0 (third_party/candle-core/Cargo.toml:204-205). The parse_probe lock has quote 1.0.44 and redox_syscall 0.5.17. No RUSTSEC ignore and no continue-on-error were added. The only .cargo/audit.toml change is the comment. RUSTSEC-2026-0486 is the existing rustix 1.1.2 "unsound" warning, and this PR doesn't change rustix. 95283696 is an ancestor of this head (8 ahead, 0 behind).
  • chrono. It isn't in any .rs file, any Cargo.toml or either lock. Outside docs/archive and docs/journey, the only mentions left are the dated MUTATION_TESTING_AUDIT.md:453 and the plan in item 4.
  • User-facing text. The editor's autosave and lock-file strings (Auto-saved: …, Auto-save failed: …, Failed to create autosave dir: …, pid=/started=/scene=) are unchanged after the move to session_files. The module docs in the six parser copies now describe the -9999..=9999 range.
  • Trace map. No workspace crate edge changed: the new coordination → embeddings link is a dev-dependency, and the map tracks only normal dependencies. trace registry/map in sync passed at this head.
  • CHANGELOG. No entry is needed in this PR. The next monthly backfill should list #758 under 2026-11 → Security.

Copy link
Copy Markdown
Owner Author

Devastation: BLOCKED @ 1beaa42

Fixed since 4c8eb37: RFC3339 offset handling (checked in all six copies, with a knockout test), signed leap days, rejection of |year|>9999, and threads 4609188424 and 4609188430.

Still blocking:

  • MEDIUM, introduced: an out-of-range class in date arithmetic on loaded or model input. Details are shared privately, and it needs checked arithmetic plus no-panic tests.
  • LOW: unreplied threads 4619219624, 4619219636 and 4620623887. The last is the console_demo.rs test, which runs the binary and isn't gated against --features visual, so it waits until the window closes.

Ruling on the visual main survivor: #[mutants::skip] is accepted if the reason says it needs a window or GPU and the PR body records the skip. The review confirmed that no timestamp or security logic lives only there.

CI on the head is green.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Blocking

Required CI is green at 1beaa4260a946cc054f80f62d322530cb2cc2be8 (46 check runs: 38 passed, 7 skipped as usual on PRs, 1 neutral Scorecard). The ruleset contexts Code coverage, CodeQL and Analyze (rust) are not reported on PR heads; that is the pending ruleset follow-up, not this PR. Annubis has ruled BLOCKED at this head, so this is not a Clear. cursor[bot] posted 5964887928 at this SHA before CI finished (not a clearance). Codex has no review at this SHA.

In-diff sweep at this head: 502 listed, 502 tested, 367 killed, 15 survived, 0 timed out, 120 unviable, 0 unrun. Unmutated baseline 598s build + 32s test; per-mutant timeout 82s (2.5× multiplier, ≥ 2× the test phase). Campaign finished in 2h 28m (4:44 PM–7:12 PM ET). The visual main at examples/hello_companion/src/main.rs:188-191 was not among the 502 listed mutants (#[cfg(feature = "visual")] is off in the default sweep); it remains item 4. Survivors are items 6–8.

  1. Annubis devastation BLOCKED at this head: 6992835124. 1 MEDIUM, introduced: an out-of-range class in date arithmetic on loaded or model input; see Annubis's advisory. I do not restate the specifics. He also lists 3 LOW unreplied threads (item 3). His skip ruling on the visual main survivor is item 4.

  2. Astranox docs BLOCKING at this head: 5965715099, 5 items. His item 1 is the same out-of-range class as Annubis's MEDIUM. I independently confirmed the code and docs claims, including docs/architecture/ai_pipeline.md:1577 listing astraweave-core on the basic layer (the only use is astraweave-dialogue/src/llm_dialogue.rs:558-561), docs/architecture/aw_editor.md:636 still naming perform_auto_save at main.rs:1063-1111 (the work is now session_files::write_autosave at tools/aw_editor/src/session_files.rs:49, called from main.rs:10016; the check at main.rs:10010-10013 is > while the doc says >=), tools/aw_editor/WORLD_CLASS_EDITOR_PLAN.md:366 still using chrono::Utc::now(), and the PR body still naming head 15e6161c and saying "Checks on this SHA have not finished". I do not restate the five items.

  3. Unreplied cursor[bot] threads at this head: 4619219624, 4619219636, and 4620623887. Reply on all three. I independently confirmed the third: examples/hello_companion/tests/console_demo.rs:56 is not feature-gated, so cargo test -p hello_companion --features visual (and --all-features) compiles the test against the windowed binary and Command::output waits on the event loop. Fix: gate the test with #[cfg(not(feature = "visual"))]. The round-2 threads 4609188424 and 4609188430 now have replies.

  4. hello_companion visual main → Ok(()) is not equivalent, and the skip conditions are unmet. examples/hello_companion/src/main.rs:188-191 (#[cfg(feature = "visual")] fn main) delegates to visual_demo::run_visual_demo (examples/hello_companion/src/visual_demo.rs:1547-1562), which creates a winit EventLoop and stays in run_app. Replacing that main with Ok(()) exits success without opening the demo. There is no #[mutants::skip] in the tree and no headless smoke test. Annubis's three skip conditions: (1) a written reason that it needs a window or GPU — unmet (no skip); (2) no timestamp or security logic lives only in that main — met (year_text / format_utc_rfc3339 are separate fns at :1429-1464, with unit tests under #[cfg(any(feature = "metrics", test))] at :1466-1523, so default cargo test -p hello_companion exercises them; the visual main is a 3-line delegate); (3) the PR body records the skip — unmet (the body records the miss, not a skip). Fix: add a headless smoke test that kills the mutant, or add #[mutants::skip] with a written window/GPU reason Annubis already said he will accept, and record that skip in the PR body.

  5. The default in-diff sweep does not compile astraweave-memory/src/components.rs. The module is gated at astraweave-memory/src/lib.rs:68-71 (#[cfg(feature = "bevy")]). The prior 7 survivors in this file have tests in survivor_tests (components.rs:565+), but those tests and mutants only build with --features bevy. Fix: run a supplemental --features bevy in-diff sweep at this head and include it in the campaign (the PR body reports 21 tested, 0 missed on this file at 15e6161c, and the file is unchanged on this SHA).

  6. Surviving mutants in astraweave-memory/src/components.rs (11). This module is #[cfg(feature = "bevy")] (astraweave-memory/src/lib.rs:68-71), so the default in-diff sweep does not compile or exercise it (mutants finished in 0–2s). No equivalences accepted. Fix: add killer tests that run under --features bevy, and add a --features bevy CI/mutation lane, then re-run the in-diff sweep with that feature at the new head.

    • astraweave-memory/src/components.rs:433: replace WorkingMemoryComponent::add_task -> String with String::new()
    • astraweave-memory/src/components.rs:433: replace WorkingMemoryComponent::add_task -> String with "xyzzy".into()
    • astraweave-memory/src/components.rs:464: replace WorkingMemoryComponent::cleanup_old_tasks with ()
    • astraweave-memory/src/components.rs:468: replace WorkingMemoryComponent::cleanup_old_tasks_at with ()
    • astraweave-memory/src/components.rs:468: replace - with + in WorkingMemoryComponent::cleanup_old_tasks_at
    • astraweave-memory/src/components.rs:468: replace - with / in WorkingMemoryComponent::cleanup_old_tasks_at
    • astraweave-memory/src/components.rs:481: replace SocialMemoryComponent::update_relationship with ()
    • astraweave-memory/src/components.rs:531: replace LearningMemoryComponent::record_practice with ()
    • astraweave-memory/src/components.rs:541: replace == with != in LearningMemoryComponent::record_practice
    • astraweave-memory/src/components.rs:552: replace - with + in LearningMemoryComponent::record_practice
    • astraweave-memory/src/components.rs:552: replace - with / in LearningMemoryComponent::record_practice
  7. Surviving mutants in tools/aw_editor/src/main.rs (3). No test caught these. No equivalences accepted. Fix: add tests that fail if the mutated code is committed, then re-run the in-diff sweep at the new head.

    • tools/aw_editor/src/main.rs:1280: replace EditorApp::recover_from_autosave with ()
    • tools/aw_editor/src/main.rs:1305: replace EditorApp::decline_recovery with ()
    • tools/aw_editor/src/main.rs:9619: replace ::update with ()
  8. Surviving mutants in examples/hello_companion/src/main.rs (1). run_single_demo is #[cfg(feature = "metrics")] at :337, so the default sweep does not compile it (0.6s test). No equivalences accepted. Fix: add killer tests that run under --features metrics, and include that feature in the mutation lane, then re-run the in-diff sweep with that feature at the new head.

    • examples/hello_companion/src/main.rs:339: replace run_single_demo -> Result with Ok(Default::default())

Prior items at 4c8eb37 (independently re-checked)

  • Annubis 6980156866: RFC 3339 offset handling, signed leap days, and rejection of |year|>9999 are fixed in all six parser copies (checked_to_offset, out_of_range_offset_fails_closed, signed_leap_day_round_trips_and_a_non_leap_day_is_rejected, years_outside_the_stored_range_are_rejected). Annubis confirmed this at the new head. The remaining MEDIUM is the date-arithmetic class in item 1, not the parse/format path. Negative-year width remains fixed (year_text uses {:+05} / {:04}).
  • Astranox 5957681197 items 1–2 (parse/format fail-closed and signed February 29): addressed in the code; Annubis has now ruled them fixed. His remaining docs items are in the new review (item 2). tools/ASSET_SIGNING_DESIGN.md:1635-1636 now matches format_utc_rfc3339 and +00:00.
  • cursor threads 4609188424 / 4609188430: fixed (replies 4619084057 and 4619084202). The four round-1 threads still have replies.
  • Nine optional timestamps lacking serde(default): fixed. All nine production fields have #[serde(default, with = "…option")], with omitted-key, null, and present-string tests.
  • 66 survivors from 5960365004: code-checked against this head's completed sweep (items 6–8). Comparison and duration sites were moved into testable helpers (is_overdue_at, estimated_storyline_end, should_generate_event_at, expired_at, should_schedule_batch, cleanup_old_tasks_at, session_files::{write_autosave,write_lock_file,cleanup_old_autosaves}). Killer tests are present for the 2 agent.rs, 1 coordination.rs, 10 world_events.rs, 1 narrative_coherence.rs, 7 components.rs (bevy feature; item 5), 6 llm_telemetry.rs, 12 batch_inference.rs, 8 prompt_cache.rs, and 2 aw_editor items (perform_auto_save / create_lock_file are gone). Of the 17 hello_companion items, the pin tests now run on the default test cfg (not only --features metrics), and examples/hello_companion/tests/console_demo.rs covers the console main. The visual main was not one of those 17 and remains item 4.
  • Supply-chain pins, independently checked: candle-core zip =9.7.0; tools/parse_probe lock has quote 1.0.44 and redox_syscall 0.5.17; root lock has zip 9.7.0, quinn-udp 0.5.16, time 0.3.55, and no chrono package.

A storyline span that leaves the clock range fails the parse. An unusable
saved retention keeps the task list. Component tests run with the bevy
feature, and the metrics demo is on the same kind of lane. The editor
recovery paths and one frame are tested. The windowed companion entry is
skipped for mutation because it opens a window and needs a GPU.

mutants 0.0.4 marks that entry. It has no runtime effect.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@cursor cursor 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.

Head aaf15e05d1cf1eaa3b0826190307fd573d7e2778. Blocking. Not a clearance. Not green. The report in the body still names 1beaa426.

aaf15e05 closes the three open threads. estimated_storyline_end uses checked_add, and a_storyline_span_past_the_clock_range_is_rejected passed for 80_000_000 phases. Duration::hours of a u32 stays inside i64 (u32::MAX * 3600 is 1.546e13). retention_cutoff uses checked_sub, and an_unusable_retention_keeps_every_task passed for 4e11, the negatives, and the non-finite values. The console banner test is cfg(not(feature = "visual")), so a visual build does not spawn EventLoop::run_app. #[mutants::skip] on that entry is the mutants 0.0.4 attribute. The published crate checksum matches the lock (add0ac0674…a17be56). skip returns the item unchanged. It is MIT, optional, and linked only with visual.

Three findings on this commit:

  • aw_editor lost test = false. main.rs redeclares the library modules, so the bin harness compiles about 3779 #[test]s the lib already runs. cargo nextest archive --workspace will build and run both. one_update_records_a_frame also drives the full EditorApp::update, including FileWatcher::new("assets").
  • A zero-hour consolidation window links the same instant and stores strength NaN. get_strong_associations drops that link. Every finite window in [0, 1) hour truncates to 0 seconds and takes the same division.
  • The autosave trace row still omits is_dirty. Line 490 and row 17 still cite perform_auto_save and main.rs:1114-1170. Those functions now live in session_files.rs.

The pull-request body still says this change adds no crates.io crate. mutants 0.0.4 is new. The one-line reason is the comment above the dependency. The body needs that sentence, and it needs this SHA.

astraweave-core appears in dialogue source only from llm_dialogue.rs. Moving it to the LLM-layer bullet matches that call site. The crate dependency stays unconditional.

Lock on this SHA: zip 9.7.0 08687262…083bf7, quinn-udp 0.5.16 af66907d…98f016, time 0.3.55. No chrono package. No new ignore. No hashed crate in aaf15e05.

Commands, exit 0, on this SHA: cargo test -p astraweave-memory --lib -- consolidation::tests (6 passed); cargo test -p astraweave-memory --features bevy --lib -- an_unusable_retention_keeps_every_task; cargo test -p astraweave-coordination --lib -- a_storyline_span_past_the_clock_range_is_rejected storyline_end_is_start_plus_phase_hours. A rustc 1.89 probe showed 0.0/0.0 stays NaN through clamp(0.0, 1.0), and 3e15_f32 as i64 times 3600 does not fit.

Not run here: the aw_editor bin harness, hello_companion --features metrics, the replay hash. CI on this SHA: Gate, cargo-audit, cargo-deny, Security Audit, trace sync, docs, greybox, lavapipe startup, and Windows startup passed. Replay hash passed on ubuntu, macOS, and Windows. determinism-replay hash passed on ubuntu. macOS and Windows hash are still running, so compare has not started. Test archive jobs are still running. Expected unchanged. Goldens were not edited.

Measurements: not measured. Deferred issues: none.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread tools/aw_editor/Cargo.toml Resolved
Comment thread astraweave-memory/src/consolidation.rs Resolved
Comment thread docs/architecture/aw_editor.md Resolved
Comment thread examples/hello_companion/Cargo.toml Resolved

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Docs: BLOCKING at aaf15e0

Full docs review of #758 (zip 9.0.3 → 9.7.0, quinn-udp 0.5.14 → 0.5.16, chrono → time) at aaf15e05, against base 95283696, which is still main. This is a full re-check, not a delta. I ran no mutant sweep. Astraea's sweep at this head is running and has no results yet. I checked code claims with git and the GitHub API at this head, and the CI claims against the job logs. There are 4 blocking items.

CI: 46 check runs: 38 passed, 7 skipped (the release, full-test and demo jobs, which skip on PRs as usual) and 1 neutral (Scorecard). The CodeRabbit status is success ("Review skipped"). The last job finished at 9:16 PM ET on Nov 18, and I checked at 8:25 AM ET on Nov 19. The new Feature-gated tests step ran and passed in both PR build jobs. In the Linux job, 360 astraweave-memory --features bevy lib tests and 4 hello_companion --features metrics tests passed. The Windows job had the same counts. The ruleset contexts Code coverage, CodeQL and Analyze (rust) still aren't reported on PR heads. That's the pending ruleset follow-up, not this PR.

Reviewers at this head: cursor[bot] posted 5968059954 at 8:41 PM ET, before CI finished, saying "Blocking. Not a clearance. Not green." Its three empty reviews at 8:21 PM ET only carry replies. Of 13 inline threads, 9 have replies. The three that were open at 1beaa426 (4619219624, 4619219636 and 4620623887) got replies at 8:21 PM ET. The 4 opened at this head have none: 4623271850, 4623271860, 4623271867 and 4623271874. chatgpt-codex-connector has posted nothing since 13d57285. Astraea has posted nothing at this head. Her latest is 5967314036 at 1beaa426, and her sweep here is in progress. Annubis has posted nothing at this head. His latest is 6992835124 at 1beaa426.

Blocking

  1. Security class, my round-3 item 1 (Annubis: MEDIUM, introduced, blocking): out-of-range date arithmetic. Addressed in the code, pending Annubis. Both sites I reported now fail closed and have tests that expect no abort. A related configured-value site in the same class is bounded too. I reviewed the non-test code in every changed .rs file and found nothing else of this class. Annubis's own scan of the diff is the one that rules. The documentation half of my round-3 item is fixed. The body now limits "fail closed" to the six parsers and format_utc, and says display helpers only format a UTC value they're given (Description :14, Security Considerations). This item stays blocking until Annubis rules at this head.

  2. The PR body is out of date or overstated (my round-3 item 2, mostly fixed).

    • Report item 1 still says "Checks on this SHA have not finished." Every check finished by 9:16 PM ET (see CI).
    • "A zero-hour window still links two memories from the same instant" is true of the count only. The link that the new test counts is stored with a strength the strength filters never return (details with Annubis). Every window under one hour behaves the same way. The behaviour was already on base, but this round pins it with a test and states it in the body. Fix the code, or narrow the sentence. cursor thread 4623271860 has no reply.
    • Security Considerations says "A storyline span past the clock range fails the parse." The parse succeeds. Storyline generation then returns an error and stores nothing, which is how "This round" bullet 1 puts it. Use the same wording.
    • "The binary test target is on" leaves out what that does. With test = false gone (tools/aw_editor/Cargo.toml:142-145), the aw_editor bin harness compiles the tests of every module main.rs declares, and the lib harness already runs most of them. That's 3,776 #[test]s plus the 3 new recovery_tests. I reproduced cursor's count of 3,779. Either say so and why it's acceptable, or keep test = false and build the recovery tests another way. cursor thread 4623271850 has no reply.
    • Fixed since round 3: the dialogue line (:41), +2020-02-29 (:12 and Security Considerations), the warning-only ollama and llm gates (:20), and the banner-test lookup order (:30). My round-3 ask to map Annubis's and Astraea's round-2 items is moot, since Annubis ruled them fixed in 6992835124.
  3. Docs still describe autosave code this PR removed (my round-3 item 4, partly fixed, plus two lines that rounds 1–3 missed).

    • docs/architecture/aw_editor.md:490 (the auto-save "What's actually true" trap) still says the check is >= at main.rs:9441-9445. It also puts the timestamped filename at main.rs:1065-1088 and says cleanup_old_autosaves is at main.rs:1114-1170. At this head the check is >, at main.rs:10010-10012, and it also requires is_dirty. The filename is built in session_files.rs:63-65, and cleanup_old_autosaves is at session_files.rs:96.
    • docs/architecture/aw_editor.md:647 (invariant 17) still cites cleanup_old_autosaves at main.rs:1114-1170 and the separate-dir guard at main.rs:1101-1103. write_autosave calls cleanup only when separate_dir is set (session_files.rs:81-89).
    • docs/architecture/aw_editor.md:636 (invariant 6) has the right cites now (main.rs:10010-10013, session_files.rs:49, main.rs:10016) and uses >, but it leaves out is_dirty. A clean scene doesn't autosave when the interval elapses. Add it. This is cursor thread 4623271867, which has no reply.
    • .cargo/audit.toml:5 says "Vulnerability IDs below have no upgrade that keeps the current parents", but every ID in the list is unmaintained (:15 and :23). That line was already on base. This PR edits :7 right below it, so fix it in the same change.
    • Fixed since round 3: tools/aw_editor/WORLD_CLASS_EDITOR_PLAN.md:364-367 uses local_clock::compact(local_clock::now()), with no chrono left.
  4. Four cursor threads at this head have no reply: 4623271850 (item 2), 4623271860 (item 2), 4623271867 (item 3) and 4623271874. 4623271874 asked for the mutants dependency and this SHA to be in the body. The body now has both (:38, :44, the Versions table and Security Considerations), so it only needs a reply that links them.

Fixed at this head (verified)

  • My round-3 item 3, docs/architecture/ai_pipeline.md:1577-1578. astraweave-core is now on the LLM-layer line. Its only use is astraweave-dialogue/src/llm_dialogue.rs:558-561. The basic-layer files use exactly serde, serde_json, anyhow and toml (lib.rs, runner.rs, toml_loader.rs). "Seven AstraWeave crates" matches astraweave-dialogue/Cargo.toml.
  • My round-3 item 5, the round-2 security items. Annubis ruled the RFC 3339 offset handling and signed leap days fixed in 6992835124 at 1beaa426. No utc_stamp copy changed in this round.
  • WORLD_CLASS_EDITOR_PLAN.md (see item 3).

Checked and fine

  • The visual main skip matches the ruling. examples/hello_companion/src/main.rs:188-191 has #[mutants::skip], and its doc comment gives the reason as "Opens a window and needs a GPU". The body records the skip (:38). mutants 0.0.4 is optional and enabled only by visual (examples/hello_companion/Cargo.toml:24-25, :77-78). The ruling is Annubis's, and whether --list --features visual leaves the entry out is Astraea's to confirm.
  • The banner test. examples/hello_companion/tests/console_demo.rs:1 is #![cfg(not(feature = "visual"))]. The lookup order at :15-31 matches the body.
  • New body claims, checked against this head. These tests exist: a_storyline_span_past_the_clock_range_is_rejected (world_events.rs:1168), storyline_end_is_start_plus_phase_hours (:1157), an_unusable_retention_keeps_every_task (components.rs:632), single_demo_records_classical_metrics (hello_companion/src/main.rs:1533), recovery_tests (tools/aw_editor/src/main.rs:10341, 3 tests) and console_demo_prints_the_banner (console_demo.rs:56). scripts/ci/feature-gated-tests.sh is in the Linux PR build, the Windows PR build, full Ubuntu/macOS and full Windows (ci.yml:243, :373, :551, :624). It uses the existing affected-package match, and none of those steps has continue-on-error. ReadWait is #[cfg(feature = "ollama")] (astraweave-llm/src/lib.rs:143).
  • Supply chain and versions. The Versions table matches the root-lock diff against base exactly, including the new mutants 0.0.4 row. Candle-core's zip is =9.7.0 (third_party/candle-core/Cargo.toml:201-205). astraweave-quests drops its unused chrono line, and there's no chrono package in the lock. 95283696 is an ancestor of this head (9 commits ahead). Newer zip 9.7.x patch releases are out. None of the zip advisories in my local advisory DB (updated Nov 17) affects 9.7.0, and the security side of that is Annubis's call.
  • Audit config and RUSTSEC-2026-0486. No config at this head or on base ignores or allows it. .cargo/audit.toml:14-30 and deny.toml:100-114 each list the same six unmaintained IDs, and 0486 isn't one of them. No other file in the tree names it. CI runs plain cargo audit (security-audit.yml:72, dependency-management.yml:67, aravath-windows.yml:163), with no --ignore. The advisory is informational ("unsound") on rustix 1.1.2, which comes in only through other crates. Workspace manifests don't name rustix, and this PR doesn't change it. cargo-audit reports informational advisories as warnings that don't fail the run, and "allowed warning" is cargo-audit's own wording, not a repo allowance. So the body's Report line (:66) is accurate, and the no-RUSTSEC-ignores rule isn't broken. Saying "informational (unsound) warning, not ignored by config" would stop it reading like an allowance. docs/current/SECURITY_AUDIT.md:298, docs/current/ARAVATH_DISTRIBUTION.md:113 and dependency-management.yml:63 all describe the six-ID config correctly. Annubis rules on whether 0486 needs action.
  • Dated records. docs/current/EDITOR_AUDIT_REPORT.md:520 (dated 2026-04-03) says the editor binary has test = false. docs/audits/ED1_EDITOR_HANG.md:10 names create_lock_file. Both are dated records and can stay.
  • User-facing text. The new storyline error ("storyline span is out of range") is internal and wrapped by the caller. The new CI skip message matches the existing ollama-step pattern. The editor autosave and lock-file strings are unchanged.
  • Trace map. No workspace crate edge changed in this round. mutants is external, and the coordination → embeddings link is a dev-dependency. trace registry/map in sync passed at this head.
  • CHANGELOG. No entry is needed in this PR. The next monthly backfill should list #758 under 2026-11 → Security.

Copy link
Copy Markdown
Owner Author

Devastation: BLOCKED @ aaf15e0

Fixed since 1beaa42:

  • The MEDIUM date-arithmetic class at both named sites. Checked arithmetic is in place, and knocking it out turns the new tests red.
  • The temporal_window construction panic.
  • Threads 4619219624, 4619219636 and 4620623887.
  • console_demo gating. Under --all-features it runs 0 tests and doesn't wait for a window.
  • The visual main skip, whose reason and PR-body record are now present.

Required CI is green, and deny and audit are clean with no new ignores.

Still blocking (all LOW):

  1. The required grep for unchecked time arithmetic isn't clean. astraweave-optimization/src/batch_inference.rs:247-248 and prompt_cache.rs:253-254 still use now + Duration with the panicking Add on a config duration. A 10000-year TTL panics. These configs aren't deserialized, so it's LOW, but it's the same class this PR is closing. Use checked_add with a defined fallback, plus a no-panic test for each.
  2. Unreplied threads 4623271850 (editor test = false), 4623271860 (NaN strength), 4623271867 (autosave docs) and 4623271874 (body text, now stale, so a reply is enough).

Not blocking #758: zero-hour same-instant links store a NaN strength in consolidation. It's identical on base. Please track it separately, or fix it here and reply to 4623271860. The rustix RUSTSEC-2026-0486 warning is informational and identical on main, so it goes in its own bump to 1.1.6.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@cursor cursor 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.

Head 3463485e1d4541a00ef708b4d40849ecae35ad14. Not a clearance. Not green. Checks on this SHA were still running at review time (gate, audit, deny, trace sync, and the three hash jobs in progress). Parent 788afbd911f9a86842dc061724dfbd02c05b5b15 is green: PR Rust checks, cargo-audit, cargo-deny, trace sync, hash on three OS, Replay hash on three OS, and compare all succeeded.

Commands on this checkout, and their exit codes:

  • git diff 788afbd911f9a86842dc061724dfbd02c05b5b15..HEAD: 0. 12 files, +23/−22. Comments and docs only. No Rust, no Cargo.lock, no ignore list.
  • Checks API on docs-only 5d53e10cc592bca5dc14f83524c7451fdce3dad9: 0. Partition checks are the unexpanded names Test (ubuntu, ${{ matrix.partition }}/3) and Test (windows, ${{ matrix.partition }}/3), conclusion skipped. Test (ubuntu, build archive), Test (windows, build archive), and Minimum Supported Rust Version are also skipped. PR Rust checks and Gate (fmt, clippy, check) are success.
  • Parent check runs on 788afbd911: 0, as listed above.
  • Lock read: one zip 9.7.0 (08687262e7c0), one quinn-udp 0.5.16 (af66907df186), time present, no chrono.

Not run, and why: cargo audit, cargo deny, and cargo test -p astraweave-core --test replay_hash. This commit does not change a lockfile, an ignore, or a hashed crate, and those jobs are the in-progress GitHub runs. GPU frame time: not measured.

Replay hashes: unchanged on the parent SHA (the three hash jobs and compare succeeded). No golden was edited. This commit does not touch a hashed crate. Expected unchanged on this SHA. The hash jobs here had not finished.

Deferred issues: none.

What this commit got right:

  • The three "current patched 9.x" sentences are gone from Cargo.toml:307, .cargo/audit.toml:8, and docs/current/ARAVATH_DISTRIBUTION.md:131. Published zip advisories RUSTSEC-2026-0548 (>= 9.0.5), 0547, 0546, 0545, and 0429 (>= 9.0.0) include 9.7.0. third_party/candle-core still pins =9.7.0. crates.io 9.8.1 (2026-11-20, zip2 #1340 header-length checks) is still newer and is not a published advisory. A bump still has to move the workspace requirement, that exact pin, and the lock together.
  • #702 links in the workflows and the docs now point at the pull request. The live ruleset is still not edited by that open PR.
  • docs/architecture/net_ecs.md cites match this tree: ci.yml:213 and :225 (--profile ci-pr, affected-set guard on :224), :352 and :358 (Windows pull-request archive, --profile ci, no affected-set guard), :618 and :624 (Windows test-full archive, --profile ci).
  • AUTONOMOUS_GAMEPLAY_QA.md:113 no longer says editor tests are absent from pull requests. It names the archive step and says editor-ci.yml and aw-editor-tests.yml stay off pull_request.
  • aw-editor-tests.yml still sets step-level continue-on-error on --lib, integration, fmt, and clippy, and the coverage job still sets it on the report and Codecov upload. The new text says so.

What still fails:

  • The new skip sentence treats every heavy job like a stable check name. The partition matrix does not report Test (ubuntu, N/3) when its if skips. See the inline on docs/current/CI_ARCHITECTURE.md:195. The same sentence is on line 53 and in AUTONOMOUS_GAMEPLAY_QA.md:113.
  • The pull request body still names head 788afbd911f9a86842dc061724dfbd02c05b5b15, still says checks on that SHA have not finished (they have), and still links issues/702 where the tree now says pull/702.
Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread docs/current/CI_ARCHITECTURE.md Resolved

Copy link
Copy Markdown
Owner Author

Devastation: BLOCKED @ 3463485 (incremental 788afbd..3463485). All LOW, nothing private.

The delta is safe. It changes only comments, docs and literal step-summary echo text. There are no new ${{ }} expressions and no change to run:, if:, triggers, permissions or continue-on-error. Required CI is green: 38 success, 7 skipped, 1 neutral, 0 failures. Both threads from #758 (comment) have replies. The zip wording now reads "patched for the advisories it addresses", which matches my ruling.

Open (LOW, blocking): a new cursor thread on this head has no reply: 4654196338. It covers the skip semantics in CI_ARCHITECTURE.md:195, :53 and AUTONOMOUS_GAMEPLAY_QA.md:113: unexpanded matrix names vs stable names, msrv in the ci.yml:531 rollup, and the Rust CI setup / sccache stats conditionals. This is docs accuracy, so @Astranox rules whether the text needs a change or a reply settles it. If replies alone settle it, this becomes a PASS without a new push.

Pre-existing and tracked: the ruleset contexts are absent on PR SHAs (PR #702), llm_telemetry.rs:1070, and the parse_probe advisories (#701).

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Docs: BLOCKING at 3463485

Full docs review of #758 (zip 9.0.3 → 9.7.0, quinn-udp 0.5.14 → 0.5.16, chrono → time) at 3463485e, against main 64da1085, which is an ancestor. This is a full re-check, not a delta. I opened every file:line cite at this head from a fresh checkout and read each sentence's claim against the tree, the GitHub API and the GitHub docs. I ran no mutant sweep. Six of my 7 round-8 items are fixed, and the seventh is fixed in part. All 4 of Astraea's are fixed. There are 3 blocking items, and all of them come from cursor thread 4654196338 on the skip wording this round added. All of them are docs, body text or threads. None needs an engine, test or workflow-logic change.

CI: 46 check runs: 38 passed, 7 skipped (the release, full-test and demo jobs, which skip on PRs as usual) and 1 neutral (Scorecard). Test (ubuntu, build archive) ran from 12:57 PM to 1:26 PM ET, and PR Rust checks passed at 1:35 PM ET (run 44932319107).

Delta since 788afbd9: one commit touching 12 files, +23/−22. Only a comment changed in ci.yml, and no step, if: or trigger changed. The rest is comments in aw-editor-tests.yml, editor-ci.yml, toolchain-management.yml, Cargo.toml and .cargo/audit.toml, plus aw_editor.md, net_ecs.md, ARAVATH_DISTRIBUTION.md, AUTONOMOUS_GAMEPLAY_QA.md, CI_ARCHITECTURE.md and SEMANTIC_AI_DECISION_DEBUGGER.md. No Rust and no Cargo.lock changed.

Blocking

  1. cursor thread 4654196338 is right. The text has to change, and a reply alone won't settle it. The new sentence at CI_ARCHITECTURE.md:195 holds for the stable job names but not for the partition names, which are the first names that paragraph tells readers not to require.

    • What GitHub documents. A job skipped by its if: "will report its status as 'Success'. It will not prevent a pull request from merging, even if it is a required check" (Using conditions to control job execution). A workflow skipped by path, branch or commit-message filtering leaves its checks "Pending", and they block merging (Troubleshooting required status checks, "Handling skipped but required checks"). Either way, a required name has to report a check run. A required name that never reports stays pending.
    • What this repo's matrix does. The partition jobs (ci.yml:275-288 and the Windows twin at :405) are matrix jobs with a job-level if:. When that if: is false, the matrix never expands. On docs-only #720 head 5d53e10c, the Checks API shows one run named Test (ubuntu, ${{ matrix.partition }}/3) and one named Test (windows, ${{ matrix.partition }}/3), both skipped. No Test (ubuntu, 1/3), 2/3 or 3/3 run exists. A required Test (*, N/3) name would therefore stay pending and block every docs-only or no-crate PR. docs/ci/bottlenecks.md:33 on main already says this.
    • The stable names behave as the new sentence says. On the same SHA, Test (ubuntu, build archive), Test (windows, build archive) and Minimum Supported Rust Version are skipped, which counts as success. Requiring them would let a docs-only PR pass them without running them.
    • So there are two different reasons not to require these jobs one by one, and both need stating: the expanded partition names would block, and the stable names would pass without running. The rollup avoids both problems.
    • What to change:
      • Reword :195's second and third sentences to make that split.
      • :53 and AUTONOMOUS_GAMEPLAY_QA.md:113 repeat "A job skipped by its if: reports success, so that result does not block a merge" with no qualifier. Add that a matrix job skipped before it expands does not create its per-entry names, or cite docs/ci/bottlenecks.md:33.
      • :195 also says "only its Rust CI setup step is conditional (ci.yml:131)". ci.yml:131 is that step's if: (the name is :130), so the cite is right. But sccache stats (ci.yml:142-143, always() && docs_only != 'true') is conditional too. The clause predates this PR, but this round rewrote the line it sits on, so drop "only" or name both steps.
      • Body Round 9 bullet 2 carries the same unqualified claim. So does the reply 4654147355 on thread 4653702366, which gets corrected through the reply on 4654196338.
  2. The rollup description at CI_ARCHITECTURE.md:53 and AUTONOMOUS_GAMEPLAY_QA.md:113 leaves out two of its own conditions. Both say the rollup "fails if the gate failed or if a crate change left an archive or partition job red". ci.yml:518-531 checks more than that:

    • Detect affected crates must succeed (:518), as well as the gate (:519).
    • Once a crate changed, it requires success for test-linux-build, test-linux, test-windows and msrv (:528-531). A skipped or cancelled job fails it, not only a red one.
    • Name the change-detection job and MSRV, and say "without success" rather than "red". :197 ("fails if an archive build fails or any partition fails") is accurate as far as it goes. A failed Windows archive skips the Windows partitions, and :530 then fails, so :197 can stay.
  3. Thread and review state at this head.

    • 4654196338 (CI_ARCHITECTURE.md:195, 1:01 PM ET) has no reply. It covers items 1 and 2.
    • cursor review 6007162156 (1:01 PM ET) says "Not a clearance. Not green." It was posted while checks were still running, so its "not green" point is out of date now: see the CI line above. Its docs point is item 1. Reviews 6007104630 and 6007104869 are empty receipts that carry Astrix's two replies.

My round-8 items (6007017748), re-checked

  1. Stale CI status in the body: fixed. The body has no CI-status wording left. Report item 1 states the head, the main ancestry and the step placement. Report items 2 and 3 list commands and exit codes, and what wasn't run, with reasons. Neither says anything about checks being pending or finished.
  2. #702 is a PR: fixed. A search of the tree for issues/702, "issue 702" and "issue #702" finds nothing. Every spot I listed now says PR #702 and links /pull/702: ci.yml:12, aw-editor-tests.yml:70-71 and :102, editor-ci.yml:60, toolchain-management.yml:164, aw_editor.md:711, CI_ARCHITECTURE.md :34, :44, :51, :53, :66, :195 and :197, SEMANTIC_AI_DECISION_DEBUGGER.md:171, and body lines 22, 35, 45, 53 and 67.
  3. "A skipped required check blocks the merge": fixed in part. That false sentence is gone from :53 and :195. The sentence that replaced it is too broad for matrix jobs: see item 1.
  4. AUTONOMOUS_GAMEPLAY_QA.md:113: fixed for the editor tests. It now says PBR and full integration tests don't run on PRs, that the editor workflows stay off pull_request, and that the editor bin harness runs inside Test (ubuntu, build archive) with the same qualifier as CI_ARCHITECTURE.md:34. The "same contract lists" set matches the Require list at CI_ARCHITECTURE.md:185-193. The rollup sentences it copied from :53 carry items 1 and 2.
  5. Shifted ci.yml cites: fixed. I recomputed each one at this head:
    • CI_ARCHITECTURE.md:195 → ci.yml:131, the Gate Rust CI setup if:.
    • net_ecs.md:33, :625, :655 and :693 → :213 (Net client binaries on this machine in Test (ubuntu, build archive), --profile ci-pr at :225), :352 (the same step in Test (windows, build archive), --profile ci at :358) and :618 (in Test full (windows, build archive), --profile ci at :624).
    • No other doc this PR touches cites a ci.yml line. ui.md:332 stays in my follow-up docs PR, which the body records.
  6. zip "current": fixed. Cargo.toml:307, .cargo/audit.toml:8 and ARAVATH_DISTRIBUTION.md:131 now say 9.7.0 is "patched for the advisories it addresses". "current" is gone, and no other "current patched" remains in the tree. That matches Annubis's ruling: no bump here, and "patched" for the version range stays accurate. ENGINE_STATUS.md:46 still only states the pin.
  7. Threads 4653702362 and 4653702366: fixed. Both got replies at 12:52 PM ET. 4654147163 on zip is accurate. 4654147355 is accurate about the removed sentence, the :131 cite and the AUTONOMOUS_GAMEPLAY_QA.md alignment, but it repeats the broad sentence from item 1.

Astraea's 6007020842, for overlap

All 4 are fixed at this head: the two thread replies, the zip rewording at the same three places, CI_ARCHITECTURE.md:53/:195 and AUTONOMOUS_GAMEPLAY_QA.md:113 (with the caveat in items 1 and 2), and the body's stale CI status. Items 1 to 3 above are new at this head.

Checked and fine

  • New text this round. aw_editor.md:711, SEMANTIC_AI_DECISION_DEBUGGER.md:171, and the aw-editor-tests.yml comment and step-summary lines change only the #702 label and link. Their claims match the tree, as verified last round. The toolchain-management.yml:164 and editor-ci.yml:60 comments are the same.
  • CI_ARCHITECTURE.md. :34, :44, :51 and :66 match the archive step and its skip conditions (ci.yml:159-163). :51's path-filter sentence matches GitHub's "Pending" behavior. The rollup's needs is ci.yml:501.
  • Body. Round 9 bullets 1, 3, 4, 5 and 6 match the tree. Report item 3 is consistent with a docs-and-comments commit. The Versions table is unchanged.
  • Versions and lock. These are unchanged: one zip (9.7.0), one quinn-udp (0.5.16), and no chrono.
  • ENGINE_STATUS. :46 and :71 still match. :185 stays in my post-#702 follow-up.
  • CHANGELOG, README, mdBook and ROADMAP. No entry is needed in this PR, and no README, docs/src or ROADMAP page mentions chrono, the zip version or the editor workflows. My next backfill lists #758 under 2026-11 → Security.
  • Trace map. No workspace crate edge changed, and trace registry/map in sync passed at this head.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Blocking

Required CI is green at 3463485e1d4541a00ef708b4d40849ecae35ad14 (46 check runs: 38 passed, 7 skipped as usual on PRs, 1 neutral Scorecard; last job PR Rust checks at 1:35:34 PM ET, run 44932319107). Test (ubuntu, build archive) finished at 1:26:45 PM ET (job 136933008023). The ruleset contexts Code coverage, CodeQL and Analyze (rust) are not reported on PR heads; that is the pending ruleset follow-up, not this PR. Head matches the expected 3463485e and has not moved. Astranox has reviewed this head: 6007441415 is docs BLOCKING (3 items, all from thread 4654196338; a reply alone will not settle it). Annubis has too: 7067579554 is BLOCKED at this SHA on that same unreplied thread, and defers the wording to Astranox. This is not a Clear. cursor[bot] posted 6007162156 at this SHA ("Not a clearance. Not green", at 1:01:25 PM ET, before required CI finished) plus two empty receipt reviews that only carry replies (6007104630, 6007104869). The "Not green" note is outdated. Its claim that the PR body still names 788afbd9, still says checks have not finished, and still links issues/702 is also outdated: the body names this SHA, has no unfinished-checks sentence, and links PR #702. The remaining skip-sentence item in that review is independently confirmed below. Codex has no review at this SHA. I have not previously posted an aw-bot:astraea review at this SHA.

The PR-owned delta from 788afbd9 to this head is one commit, 3463485e1 ("Correct the PR 702 link, skipped-job wording, and zip pin comment."). It touches twelve files and no Rust: .cargo/audit.toml, .github/workflows/aw-editor-tests.yml, .github/workflows/ci.yml, .github/workflows/editor-ci.yml, .github/workflows/toolchain-management.yml, Cargo.toml, docs/architecture/aw_editor.md, docs/architecture/net_ecs.md, docs/current/ARAVATH_DISTRIBUTION.md, docs/current/AUTONOMOUS_GAMEPLAY_QA.md, docs/current/CI_ARCHITECTURE.md, and docs/current/SEMANTIC_AI_DECISION_DEBUGGER.md. Workflow run:, if:, uses:, and continue-on-error lines are unchanged; the only run: edit is the step-summary echo in aw-editor-tests.yml. There is no merge of main in that range. 0 mutants listed, 0 missed, 0 timeouts (no Rust in the delta, so cargo-mutants was not started). No bevy or metrics lane.

RUSTSEC-2026-0486 (rustix 1.1.2) is still not in any ignore list. This commit does not change rustix and adds no new RUSTSEC ignore.

Prior items at this head

# Prior item Status
1 Two unreplied cursor threads 4653702362 and 4653702366; cursor 6006622156 not a clearance at 788afbd9 Replied (4654147163, 4654147355). One new unreplied cursor thread at this head still blocks.
2 zip 9.7.0 called the "current patched" release in Cargo.toml:307, .cargo/audit.toml:8, and docs/current/ARAVATH_DISTRIBUTION.md:131 Fixed. All three now say "patched for the advisories it addresses" and do not call 9.7.0 current. ENGINE_STATUS.md:46 still only states the pin. The 9.8.x bump is left for a follow-up, as Annubis ruled. This commit does not change the zip pin or the lock.
3 CI_ARCHITECTURE.md:53 and :195 said a skipped required check blocks the merge, and AUTONOMOUS_GAMEPLAY_QA.md:113 was stale The original sentences are gone, and the editor-harness paragraph in :113 is now accurate (archive step on a non-docs PR whose affected set is non-empty; editor-ci.yml and aw-editor-tests.yml stay off pull_request; PR #702). The replacement skip wording is still wrong for partition names (below).
4 The PR description still said checks on this SHA have not finished Fixed. The body dropped that sentence and all other CI-status wording. Report item 1 now names head 3463485e1d4541a00ef708b4d40849ecae35ad14. The 788afbd9 mention is only the historical Round 8 heading.

Astranox's 6007017748 items 1, 2, 5, 6, and 7 at 788afbd9 are fixed in this tree, and he has now re-checked them in 6007441415. I opened those cites at this head: ci.yml:131 is the if: on Rust CI setup; :213 / :225 are the Linux Net client binaries step and the --profile ci-pr command behind the affected-set guard at :224; :352 / :358 are the Windows pull-request archive step and --profile ci (no affected-set guard); :618 / :624 are the Windows test-full archive step and --profile ci. fuzz-nightly.yml:35 lists net/aw-net-proto/fuzz. No issues/702 or "issue 702" remains in those files or the body. Items 3 and 4's original claims are gone; the replacement text is the residual below, which is also his items 1–3 at this head. I am not restating that list. Annubis's 7066575136 LOWs at 788afbd9 are addressed as far as that comment required; his 7067579554 at this head is BLOCKED on the new thread.

Blocking

  1. One unreplied cursor[bot] thread at this head: 4654196338 (docs/current/CI_ARCHITECTURE.md:195). Reply after the fix below. The two prior threads now have replies. cursor[bot] 6007162156 is not a clearance at this SHA; its "not green" note and its stale-body claims are outdated. The skip-sentence item in that review is independently confirmed next.

  2. The new skip wording treats every heavy job like a stable check name, and it understates what the rollup asserts. docs/current/CI_ARCHITECTURE.md:53 and :195, and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113, now say a job skipped by its if: reports success, so that result does not block a merge, and that requiring those jobs individually would let a skipped job report success without running. That is true for the stable names. It is not true for the expanded partition names that :195 tells the reader not to require.

    On docs-only 5d53e10cc592bca5dc14f83524c7451fdce3dad9 the Checks API reports one run named Test (ubuntu, ${{ matrix.partition }}/3) and one named Test (windows, ${{ matrix.partition }}/3), both skipped. It does not create Test (ubuntu, 1/3), 2/3, or 3/3. A required check of an expanded N/3 name stays pending on that pull request and blocks the merge. docs/ci/bottlenecks.md:33 already says a matrix that does not expand does not create those names. On that same SHA, Test (ubuntu, build archive), Test (windows, build archive), and Minimum Supported Rust Version are skipped, and PR Rust checks and Gate (fmt, clippy, check) are success. Requiring those stable names would let a docs-only pull request merge without running them, which is why PR Rust checks (ci.yml:520-531) demands success for linux_build, linux, windows, and msrv once a crate changed, and exits 0 when the diff is docs-only or the package list is empty.

    :53 and AUTONOMOUS_GAMEPLAY_QA.md:113 also say the rollup fails a crate change when an archive or partition job is red. ci.yml:518-531 also requires success from Detect affected crates and, once a crate changed, from msrv. A skipped or cancelled job fails those checks, not only a red one. Astranox's item 2 in 6007441415 is this point.

    :195 says "only its Rust CI setup step is conditional (.github/workflows/ci.yml:131)". The :131 cite is the if: on Rust CI setup (the step name is :130) and is correct. sccache stats at ci.yml:142-144 is also conditional (always() and not docs-only) and ends in || true.

    Say that a skipped stable name reports success, that a matrix which does not expand does not create the N/3 names, that the rollup also requires success from Detect affected crates and from msrv on a crate change (not only a red archive or partition), and that both Rust CI setup and sccache stats are conditional. The Round 9 body bullet that restates the unqualified skip sentence should match. Then reply on 4654196338.

Sweep

No Rust in the PR-owned delta from 788afbd911f9a86842dc061724dfbd02c05b5b15 to 3463485e1d4541a00ef708b4d40849ecae35ad14 (git diff --name-only over *.rs is empty; no merge of main). cargo-mutants 27.1.0 was not started. 0 listed, 0 caught, 0 unviable, 0 missed, 0 timeouts. No bevy or metrics lane.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@cursor cursor 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.

Head 7117ca4be25b57a3ea4220b6ec695eb95a06978f. Not a clearance. Not green.

This commit is the skip-semantics wording. The partition split now matches the workflow and the Checks API. One rollup clause still drops the full=true path. The pull request body still names 3463485e1d4541a00ef708b4d40849ecae35ad14.

  1. Head 7117ca4be25b57a3ea4220b6ec695eb95a06978f. Base 64da1085d151bc333bf80ac7ea135310a74a6b20. Required audit and deny on this SHA failed. Replay hash jobs were still running.
  2. Commands and exit codes:
    • Re-read .github/workflows/ci.yml job if: blocks and pr-rust-checks (:498-531), scripts/ci/affected_crates.py classify, and docs/ci/bottlenecks.md:33.
    • Checks API for docs-only #720 head 5d53e10cc592bca5dc14f83524c7451fdce3dad9: Test (ubuntu, ${{ matrix.partition }}/3) skipped, Test (windows, ${{ matrix.partition }}/3) skipped, no Test (ubuntu, 1/3) / 2/3 / 3/3. Test (ubuntu, build archive), Test (windows, build archive), and Minimum Supported Rust Version skipped. PR Rust checks and Gate (fmt, clippy, check) success.
    • Lock compare to the base: url 2.5.7 checksum 08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b on both. zip 9.7.0 checksum 08687262e7c0. quinn-udp 0.5.16 checksum af66907df186. No chrono package. deny.toml ignore unchanged. astraweave-quests/Cargo.toml drops an unused chrono dependency. No other hashed-crate path is in the diff.
    • Job 137226660095 (Security Audit) and job 137226660084 (Cargo Deny Check) on run 45028496789: both fail on url 2.5.7 RUSTSEC-2026-0592 (upgrade >=2.5.9). Deny bans and sources passed. Heapless entries are warnings. No ignore was added.
  3. Not run, and why:
    • cargo test -p astraweave-core --test replay_hash. This commit does not change a hashed source. The three hash jobs and the three Replay hash jobs were in progress.
    • The GTX 1660 Ti capture. A cloud agent cannot measure that card.
    • cargo audit locally. The CI log is the result above. The same url line is on the base, so today's advisory database fails that lock too. This commit does not change Cargo.lock.
  4. Measurements: not measured.
  5. Replay hashes: expected unchanged. Goldens were not edited. The jobs on this SHA had not finished.
  6. Deferred issues: none. RUSTSEC-2026-0592 is the base lock's url 2.5.7. Do not add an ignore for it on this branch.

zip stays 9.7.0, including third_party/candle-core =9.7.0. quinn-udp stays 0.5.16. Chrono is out of Cargo.lock. The prior code findings are unchanged by this commit.

Thread PRRT_kwDOPp_H3s66aec- is fully addressed: expanded N/3 names stay pending, and the stable archive and MSRV names are the ones a reported skipped status would pass. Rust CI setup is :130 / :131. sccache stats is :142-144.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread docs/current/CI_ARCHITECTURE.md Resolved
Comment thread docs/current/AUTONOMOUS_GAMEPLAY_QA.md Resolved
Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@cursor cursor 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.

Head f4cd05ba3c9cbc891320ecd6c23bac7262bbb9ac. Not a clearance. Not green. Required checks on this SHA were still running when reviewed (replay hash on three OS, Security Audit (cargo-audit), Cargo Deny Check, trace sync, pack guard, docs). mergeable_state was blocked.

This commit bumps url 2.5.7 to 2.5.9 and form_urlencoded 1.2.2 to 1.2.3 in Cargo.lock and tools/parse_probe/Cargo.lock. Checksums match crates.io and neither release is yanked: url f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a, form_urlencoded afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e. url 2.5.9 depends on form_urlencoded ^1.2.3, idna 1.1.0, and percent-encoding 2.3.2. The lock has one of each. idna and percent-encoding are unchanged. rust-version is 1.63. MSRV stays 1.89.0.

RUSTSEC-2026-0592 (GHSA-hrj5-67jp-wqp9, 2026-11-20) is a stack overflow in Url::origin and url::quirks::origin on nested blob: URLs, patched in >= 2.5.9. The 2.5.9 fix returns an opaque origin unless the inner scheme is http, https, or file, and it does not recurse. .cargo/audit.toml only adds a comment. The ignore list is still the six unmaintained IDs (RUSTSEC-2025-0141, RUSTSEC-2026-0249, RUSTSEC-2026-0192, RUSTSEC-2025-0057, RUSTSEC-2024-0384, RUSTSEC-2024-0436), now at .cargo/audit.toml:16-31. deny.toml:100-113 is the same six. RUSTSEC-2026-0592 is not an ignore.

The tag range v2.5.7...v2.5.9 also changes parser behavior outside that advisory. A special-URL path encodes ^ (http://localhost/a^b becomes path /a%5Eb). file://host/C:/ keeps the host. A non-special URL with \ in the port is InvalidPort; http://a:b@c:2\9/ still parses as http://a:b@c:2/9/. form_urlencoded::Serializer::for_suffix clamps an out-of-range start instead of panicking. No in-tree literal uses ^ or a blob: URL, and no in-tree caller uses Url::origin. Direct dependents are astraweave-llm (url = "2.5") and aw-net-client (url = "2"). The net client passes ws:// / wss:// strings to tungstenite. Those strings have no caret, blob scheme, file host, or backslash port.

loopback_model_url still returns the raw string when Url::parse accepts an http(s) URL with no userinfo. The loopback test covers userinfo, encoded hosts, octal and integer IPv4, file:///etc/passwd, and allow_remote. It passed on this lock.

On this SHA the rest of the branch still holds: no chrono package, one zip 9.7.0 (08687262e7c0 was the prior pin; this commit does not touch it), one quinn-udp 0.5.16. astraweave-ai default features are empty, so planner_pure does not compile astraweave-llm. No hashed crate calls Url. Goldens are untouched. Replay hashes are expected unchanged. The hash jobs had not finished.

Cargo.lock and .cargo/audit.toml are full triggers (scripts/ci/affected_crates.py: FULL_EXACT includes Cargo.lock, FULL_PREFIXES includes .cargo/). Classification is docs_only=false, full=true, packages= empty. The rollup early-exit at .github/workflows/ci.yml:524-527 is only docs-only, or full not true and an empty package list. This commit takes the path at :528-531.

Still open, recorded not_addressed: PRRT_kwDOPp_H3s66kTRc (docs/current/CI_ARCHITECTURE.md:53) and PRRT_kwDOPp_H3s66kTRd (docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113). Both still say the rollup passes when the diff selects no crate, and that it requires the heavy jobs once a crate changed. A lockfile diff selects no package and sets full=true. The expanded N/3 thread from 7117ca4 stays addressed. This commit does not touch those jobs.

The PR body report still names 7117ca4be25b57a3ea4220b6ec695eb95a06978f and says that commit does not change a lockfile. The versions table omits url and form_urlencoded. The two inlines are the snapshot banners that now state 2.5.9 and zip 9.7.0 under a check pinned to 556a305c.

  1. Head f4cd05ba3c9cbc891320ecd6c23bac7262bbb9ac. Not green.
  2. Commands: bash scripts/ci/player_facing_names.sh exit 0 (28 files). cargo test -p astraweave-llm --lib loopback_model_url_rejects_userinfo_encoding_and_non_loopback_literals --locked exit 0 (1 passed, 651 filtered).
  3. Not run: cargo audit and cargo deny locally, because those jobs were already running on this SHA. Replay hash locally, because no hashed crate or golden changed; the three OS jobs were in progress. aw_trace_sync --check locally: this commit does not touch CLAUDE.md, docs/architecture/, or a Cargo.toml; the trace-sync job was in progress. Workspace gate: the lockfile selects a full run, and that run is the PR CI. GTX 1660 Ti capture: a cloud agent cannot measure that card.
  4. Measurements: not measured.
  5. Replay hashes: expected unchanged. Goldens were not edited. Jobs were still running.
  6. Deferred issues: none.
Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread docs/current/SECURITY_AUDIT.md Resolved
Comment thread docs/current/ENGINE_STATUS.md Resolved

Copy link
Copy Markdown
Owner Author

Devastation: BLOCKED @ f4cd05b (incremental 3463485..f4cd05b, docs + lockfiles; all LOW, no security findings)

Clean

  • url 2.5.7→2.5.9 and form_urlencoded 1.2.2→1.2.3 in Cargo.lock and tools/parse_probe/Cargo.lock. Checksums match crates.io, neither is yanked, and there's no ignore. RUSTSEC-2026-0592 is cleared, and audit, deny and Security Audit are green. Nothing in the tree calls Url::origin().
  • Thread 4654196338 is resolved: the text now separates partition jobs from stable-name jobs (reply 4658335775).
  • All required CI is green at this head.

Blocking (LOW, unreplied threads, each verified against f4cd05b)

  1. 4658361471 / 4658361474: CI_ARCHITECTURE.md:53 and AUTONOMOUS_GAMEPLAY_QA.md:113. The rollup sentence leaves out the full=true path with an empty package list (workflow, lock, toolchain, .cargo/, unmapped). That path falls past ci.yml:524-527 into the four success checks at :528-531. "Once a crate changed" doesn't cover it.
  2. 4658578819: SECURITY_AUDIT.md:5. The banner pins unnamed sentences to 556a305c, where the lock has url 2.5.7 and zip 9.0.3. The new url/zip facts need to name this commit.
  3. 4658578821: ENGINE_STATUS.md:46. Same provenance gap: add this head to the section's exception list, the way the frame-time sentence names 3855715e.

Fix the text and reply on all four threads. Any new push needs a re-review.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Docs: BLOCKING at f4cd05b

This is a full docs review of #758 (zip 9.0.3 → 9.7.0, quinn-udp 0.5.14 → 0.5.16, chrono → time, and now url 2.5.7 → 2.5.9) at f4cd05ba, compared against main 64da1085. Main is an ancestor: the branch is 0 behind and 20 ahead. It covers rounds 10 and 11. It is a full re-check, not a delta. I used a fresh checkout and opened every file:line cite I list below at this head. I checked each claim against the tree, RustSec, crates.io and the GitHub API. I ran no mutant sweep. Two of my 3 round-9 items are fixed, and the third (the rollup) is fixed in part. There are 4 blocking items. All of them are docs, PR-body or thread text. None needs an engine, test or workflow-logic change.

CI: there are 46 check runs: 38 passed, 7 skipped (the release, full-test and demo jobs, which skip on PRs as usual) and 1 neutral (Scorecard). PR Rust checks passed at 10:24 AM ET (job 137256299324). Security Audit (cargo-audit) and Cargo Deny Check passed at 9:38 AM ET. Test (ubuntu, 1/3) to 3/3 and Test (windows, 1/3) to 3/3 ran and passed, because this lockfile commit takes the full=true path (see item 1).

Delta since 3463485e: 2 commits touch 8 files, +17/−15. No .github/ file, Rust source, Cargo.toml or deny.toml changed.

  • 7117ca4b changes the skip and rollup wording in CI_ARCHITECTURE.md:53 and :195 and in AUTONOMOUS_GAMEPLAY_QA.md:113.
  • f4cd05ba changes Cargo.lock, tools/parse_probe/Cargo.lock, the .cargo/audit.toml comment, ENGINE_STATUS.md:46, SECURITY_AUDIT.md:5 and :298, and ARAVATH_DISTRIBUTION.md:131.

Blocking

  1. The rollup sentence leaves out the full=true path. The text has to change, and replies alone won't settle it. This covers cursor threads 4658361471 and 4658361474. I checked both against the tree, and both are right.

    • What the docs say. CI_ARCHITECTURE.md:53 and AUTONOMOUS_GAMEPLAY_QA.md:113 say: "The rollup passes when the diff is docs-only or selects no crate. Once a crate changed, it requires success for test-linux-build, test-linux, test-windows, and msrv (:528-531)."
    • What the code does. ci.yml:520-523 exits 0 when the diff is docs-only. :524-527 exits 0 only when full is not true and the package list is empty. Everything else falls through to :528-531.
    • When full is true with no packages. scripts/ci/affected_crates.py returns full: "true" with packages: "" in two places. :171-182 handles full triggers (workflow files, Cargo.lock, Cargo.toml, the toolchain and .cargo/, through is_full_trigger at :140-144). :194-200 handles unmapped paths. No crate "changed" on that path, yet the rollup still requires the four heavy jobs.
    • This head is that case. It is a lockfile commit, and its partitions ran (see the CI line above).
    • "selects no crate" is still right, because :51 defines it as full not set and an empty package list. "Once a crate changed" is the wrong part.
    • What to change: replace "Once a crate changed" with "Otherwise (full is true, or the package list is non-empty)" at:
      • CI_ARCHITECTURE.md:53
      • AUTONOMOUS_GAMEPLAY_QA.md:113
      • body Round 10 bullet 2
      • the Round 9 bullet "Corrected in Round 10"
    • Thread replies. Reply on both threads. Reply 4658335775 on 4654196338 repeats "Once a crate changed". Say in the new replies that the corrected wording supersedes it.
    • :197 ("fails if an archive build fails or any partition fails") is still accurate and can stay.
  2. Snapshot provenance: SECURITY_AUDIT.md:5 and ENGINE_STATUS.md:46 now state #758's lock as if it were the stamped main survey. The text has to change. This covers cursor threads 4658578819 and 4658578821.

    • The stamps. The SECURITY_AUDIT.md:5 banner pins the survey body to 556a305c, unless a sentence names a later commit (49d289eb for the #388/#397 sentences). ENGINE_STATUS.md:33 says the table was checked against main 556a305c, with a list of named exceptions.
    • What the cells say now. Both cells say zip 9.7.0, from an earlier commit in this PR. Round 11 added url 2.5.9, form_urlencoded 1.2.3 and RUSTSEC-2026-0592 to both. None of those sentences names a commit or PR.
    • What main has. On main 64da1085, which is later than either stamp, Cargo.lock still has zip 9.0.3, url 2.5.7 and form_urlencoded 1.2.2. Both docs on main say zip 9.0.3. So these sentences are true only for #758's lock.
    • What to change: tag the zip-pin sentence and the url sentence with #758 in both files, and add a matching entry to the ENGINE_STATUS.md:33 exception list.
      • Name the PR, not only the SHA. This repo squash-merges (for example 64da1085 … (#753)), so f4cd05ba will not be on main after merge. "#758 (head f4cd05ba)" is fine.
      • ARAVATH_DISTRIBUTION.md:131 has no snapshot stamp, so it doesn't strictly need the tag. Adding the same "(#758)" there keeps the three copies identical.
  3. Each advisory list names only RUSTSEC-2026-0592, but this PR's lock also clears three other advisories.

    • Body line 10 says "The advisory list for this lock is RUSTSEC-2026-0592." Compared with main 64da1085, the lock at this head also moves past three more, per RustSec's own patched ranges:
      • RUSTSEC-2026-0548: zip, patched >= 9.0.5. Main has 9.0.3, and the head has 9.7.0.
      • RUSTSEC-2026-0538: quinn-udp, patched >= 0.5.16, < 0.6.0. Main has 0.5.14, and the head has 0.5.16.
      • RUSTSEC-2026-0543: chrono, informational (unmaintained), with no patched release. chrono is no longer in Cargo.lock.
    • Those three are what this PR set out to fix, through the main audit failure tracked in #756. The body never names #756 or those IDs. As written, line 10 reads as if the lock fixes one advisory.
    • What to change in the body: list all four IDs. Give each one crate, version and patched range, and nothing more. Link #756.
    • The three docs and the comment. ENGINE_STATUS.md:46, SECURITY_AUDIT.md:5 and ARAVATH_DISTRIBUTION.md:131 name RUSTSEC-2026-0592, the zip 0367-0369 line from #353, and nothing else this PR fixes. So does the .cargo/audit.toml:12-13 comment. In the same sentences that get the #758 tag (item 2), name 0548, 0538 and 0543 next to 0592, or else drop 0592 so that every advisory from this PR is handled the same way. My preference is to name all four.
  4. Thread and review state at this head.

    • Four cursor threads are unreplied: 4658361471 and 4658361474 (8:47 AM ET) are item 1, and 4658578819 and 4658578821 (9:50 AM ET) are item 2. Annubis 7086856521 blocks on the same four.
    • cursor review 6012873073 (9:50 AM ET) also says the body names 7117ca4b and that the Versions table omits url and form_urlencoded. Both are fixed in the current body: report item 1 names f4cd05ba, and the table has both rows. Say so when replying. Its "not green" point is out of date: see the CI line above.
    • Reviews 6012533086 and 6012560318 carry the 7117ca4 reply and the 7117ca4 audit. Their points are items 1 and 4.

My round-9 items (6007441415), re-checked

  1. Skip wording: fixed. CI_ARCHITECTURE.md:53 and :195 and AUTONOMOUS_GAMEPLAY_QA.md:113 now separate two kinds of name:
    • The expanded partition names Test (*, N/3) are never created when the matrix doesn't expand, so requiring them leaves a pending check that blocks the merge.
    • The stable names Test (ubuntu, build archive), Test (windows, build archive) and Minimum Supported Rust Version report skipped, which counts as success.
    • Every cite is right at this head:
      • ci.yml:276 (name), :280-285 (job if:) and :286-289 (matrix) for Ubuntu.
      • :406, :410-414 and :415-418 for Windows.
      • docs/ci/bottlenecks.md:33.
      • The job names at ci.yml:147, :320 and :447.
    • "only" is gone. Rust CI setup is :131 (name at :130). sccache stats is :142-144, with always() && … docs_only != 'true' and || true.
  2. Rollup conditions: fixed in part.
    • Detect affected crates (ci.yml:518; the job name is :66), the gate (:519), msrv, and "without success" (skipped or cancelled fails) are all present and match :528-531.
    • The "Once a crate changed" clause is item 1.
  3. Thread 4654196338: fixed. Reply 4658335775 (8:40 AM ET) is accurate on the split, the cites and the supersession of 4654147355. Its rollup sentence carries item 1.

Checked and fine

  • Lockfiles.
    • Cargo.lock and tools/parse_probe/Cargo.lock each have exactly one url (2.5.9) and one form_urlencoded (1.2.3).
    • idna 1.1.0 and percent-encoding 2.3.2 are unchanged in both.
    • crates.io lists url 2.5.9 (not yanked) with a dependency on form_urlencoded ^1.2.3, so "which that url release requires" is accurate.
    • RustSec records RUSTSEC-2026-0592 against url with affected <= 2.5.8 and patched >= 2.5.9 (2026-11-20). The id, range and patched version stated in the body, audit.toml, ENGINE_STATUS, SECURITY_AUDIT and ARAVATH all match.
    • Public text here states class and id only, which is right. Annubis rated it LOW.
  • No ignore added. The .cargo/audit.toml ignore array (:16-31) and deny.toml:100-113 are still the same six unmaintained IDs. audit.toml gained comment lines only (:12-13). SECURITY_AUDIT.md:298's cite moved from :14-29 to :16-31, which is correct. No other doc cites a line in audit.toml, Cargo.lock or deny.toml that this commit moved.
  • Body.
    • Report item 1: the head and "0 behind, 20 ahead" are verified.
    • The two-step cargo update --precise note is consistent with ^1.2.3.
    • The direct url dependents are astraweave-llm (url = "2.5") and aw-net-client (url = "2").
    • The Versions table rows are right, and the "not run" list matches a lock-only commit.
    • Two claims are reported command output that I could not re-run here: the ten unsound warnings and the hashed-crate graph claim. There is no cargo-audit on this host, and an offline cargo tree has no registry. Audit and deny are green in CI, and all six replay-hash jobs passed.
  • Unchanged since 3463485e.
    • zip 9.7.0 wording at Cargo.toml:307 and .cargo/audit.toml:8 ("patched for the advisories it addresses").
    • The ci.yml:131 cite.
    • net_ecs.md cites (:213/:225, :352/:358, :618/:624).
    • #702 shown as a PR everywhere.
    • No workflow file moved, so no ci.yml cite shifted.
  • CHANGELOG, README, mdBook and ROADMAP. None is touched, and none needs an entry in this PR. My next backfill lists #758 under 2026-11 → Security, with the four advisory IDs from item 3.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Blocking

Required CI is green at f4cd05ba3c9cbc891320ecd6c23bac7262bbb9ac (46 check runs: 38 passed, 7 skipped as usual on PRs, 1 neutral Scorecard). Named required checks all concluded success: Security Audit (cargo-audit), Cargo Deny Check, cargo-audit, cargo-deny, SBOM, Gate (fmt, clippy, check), PR Rust checks, Test (ubuntu, build archive), Test (windows, build archive), the six Test (ubuntu|windows, N/3) partitions, Minimum Supported Rust Version, and the three Replay hash jobs plus hash (*) / compare. Last of those, PR Rust checks, completed at 10:24:26 AM ET (run 45033858690). No required check is red or pending. The ruleset contexts Code coverage, CodeQL and Analyze (rust) are not reported on PR heads; that is the pending ruleset follow-up, not this PR. Head matches the expected f4cd05ba and has main 64da1085 as an ancestor.

Astranox has not reviewed this head. Annubis has not ruled at this head (last security note is 7067579554 at 3463485e). cursor[bot] posted 6012873073 at this SHA ("Not a clearance. Not green", at 9:50:34 AM ET, while required CI was still running) and 6012560318 at 7117ca4b ("Not a clearance. Not green"). The "Not green" notes are outdated. Codex has no review at this SHA. I have not previously posted an aw-bot:astraea review at this SHA.

The PR-owned delta from 7117ca4b to this head is one commit, f4cd05ba3 ("Bump url to 2.5.9 for RUSTSEC-2026-0592"). It touches six files and no Rust: .cargo/audit.toml, Cargo.lock, docs/current/ARAVATH_DISTRIBUTION.md, docs/current/ENGINE_STATUS.md, docs/current/SECURITY_AUDIT.md, and tools/parse_probe/Cargo.lock. There is no merge of main in that range. 0 mutants listed, 0 missed, 0 timeouts (no Rust in the delta, so cargo-mutants was not started). No bevy or metrics lane.

Lockfiles change only url 2.5.7→2.5.9 (checksum f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a, matches crates.io, not yanked) and form_urlencoded 1.2.2→1.2.3 (checksum afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e, matches crates.io, not yanked) in both Cargo.lock and tools/parse_probe/Cargo.lock. No other package was added, removed, or rehashed. .cargo/audit.toml adds a comment only; the ignore list is still the six unmaintained IDs, and RUSTSEC-2026-0592 is not an ignore. I did not run cargo audit or cargo deny locally (those tools are not installed on this host); the three advisory CI jobs on this SHA exited success. The PR body lists RUSTSEC-2026-0592 in the advisory list, the versions table, the report, and the post-merge note, all consistently as url 2.5.9 / form_urlencoded 1.2.3 with no ignore.

Prior items at this head

# Prior item Status
1 Unreplied cursor thread 4654196338 at CI_ARCHITECTURE.md:195 Replied (4658335775). Four new unreplied cursor threads still block.
2 Skip wording treated every heavy job like a stable check name, and understated the rollup The partition/stable-name split is fixed at CI_ARCHITECTURE.md:53 and :195, and AUTONOMOUS_GAMEPLAY_QA.md:113. Expanded N/3 names are never created when the job-level if: is false; stable archive and MSRV names report skipped, which counts as success. The rollup text names Detect affected crates (ci.yml:518) and msrv (:531), and says a skipped or cancelled job is "without success". "only" is gone at :195 (Rust CI setup at :131 / name :130, and sccache stats at :142-144). The residual is the full=true path below.

Blocking

  1. Four unreplied cursor[bot] threads at this head: 4658361471 (docs/current/CI_ARCHITECTURE.md:53), 4658361474 (docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113), 4658578819 (docs/current/SECURITY_AUDIT.md:5), and 4658578821 (docs/current/ENGINE_STATUS.md:46). Reply after the fixes below. cursor[bot] 6012873073 is not a clearance at this SHA; its "not green" note is outdated. Its remaining findings are independently confirmed next. 6012560318 at 7117ca4b opened the first two threads; those lines are unchanged in this commit.

  2. The rollup sentence still drops the full=true path. docs/current/CI_ARCHITECTURE.md:53 and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113 (and the Round 10 body bullet that restates them) now say the rollup passes when the diff is docs-only or selects no crate, and that once a crate changed it requires success for test-linux-build, test-linux, test-windows, and msrv (ci.yml:528-531).

    .github/workflows/ci.yml:520-527 exits 0 when docs_only is true, or when full is not true and packages is empty. scripts/ci/affected_crates.py sets full=true and packages="" for Cargo.lock, Cargo.toml, rust-toolchain.toml, .cargo/, .github/workflows/, .github/actions/, .github/scripts/, and an unmapped path. Those are not docs-only and they do not "select a crate". They fall through to the four success checks at :528-531. This commit itself is that path (it changes Cargo.lock and .cargo/audit.toml). "Once a crate changed" does not name it.

    Say that the early exit is docs-only, or full not true with an empty package list, and that a full-workspace trigger with an empty package list still requires success at :528-531. Keep the partition/stable-name split as written. Then reply on 4658361471 and 4658361474.

  3. Snapshot banners still pin those supply-chain sentences to 556a305c. docs/current/ENGINE_STATUS.md:1 and :33 say the table was checked against main at 556a305c except the listed #388, #394, #397, #389, #393, and frame-time sentences. docs/current/SECURITY_AUDIT.md:5 says the survey body was checked at 556a305c unless a sentence names a later commit. The cells at ENGINE_STATUS.md:46 and the banner at SECURITY_AUDIT.md:5 now state zip 9.7.0, url 2.5.9, form_urlencoded 1.2.3, and that RUSTSEC-2026-0592 is fixed with no ignore, and they do not name this head. At 556a305c the lock is url 2.5.7, form_urlencoded 1.2.2, and zip 9.0.3. Name f4cd05ba on those sentences, or add this head to the exception list the way the frame-time sentence names 3855715e. Then reply on 4658578819 and 4658578821. ARAVATH_DISTRIBUTION.md:131 and .cargo/audit.toml:12-13 state the same pins against the current lock and have no 556a305c survey rule.

Sweep

No Rust in the PR-owned delta from 7117ca4be25b57a3ea4220b6ec695eb95a06978f to f4cd05ba3c9cbc891320ecd6c23bac7262bbb9ac (git diff --name-only over *.rs is empty; no merge of main). cargo-mutants 27.1.0 was not started. 0 listed, 0 caught, 0 unviable, 0 missed, 0 timeouts. No bevy or metrics lane.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@cursor cursor 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.

Not a clearance. Not green. Head 7c53eb8fc586ab8b671a4eee9ec8163257beba37. Base 64da1085d151bc333bf80ac7ea135310a74a6b20.

This commit is comments and docs. .cargo/audit.toml is a full=true path (affected_crates.py FULL_PREFIXES), so the rollup requires the archive, partition, and MSRV jobs. On this SHA, Gate (fmt, clippy, check) succeeded, Test (ubuntu, build archive), Test (windows, build archive), and Minimum Supported Rust Version were in progress, and PR Rust checks had not reported. Aravath replay_matches_golden_hash succeeded on Ubuntu, Windows, and macOS (Ubuntu job 137384628168, ok). The nineteen-case determinism-replay compare was not in that check page. GPU frame time: not measured.

The rollup sentences in CI_ARCHITECTURE.md:53 and AUTONOMOUS_GAMEPLAY_QA.md:113 now match ci.yml:520-531: docs-only, or full not true with an empty package list, exits 0; full=true or a non-empty package list requires success. Those two threads are addressed. The 556a305c banners now carve out the supply-chain sentences that name this pull request. Those two threads are addressed. The parenthetical examples still omit Cargo.toml, .config/nextest.toml, .github/actions/, .github/scripts/, and the missing-merge-parent output. The governing full=true sentence covers them.

The new four-item #756 sentence does not match the recorded failure. Inline comments are on .cargo/audit.toml:16, SECURITY_AUDIT.md:5, ENGINE_STATUS.md:46, and ARAVATH_DISTRIBUTION.md:131. Run 44965581118 lists RUSTSEC-2026-0538 and RUSTSEC-2026-0548 as the two vulnerabilities and RUSTSEC-2026-0543 as an allowed warning. RUSTSEC-2026-0592 is absent. This lock is url 2.5.9, which is the patched line. No ignore was added. The six unmaintained IDs remain .cargo/audit.toml:23-39 and deny.toml:100-113.

Lock, unchanged from f4cd05ba: one zip 9.7.0 (checksum 08687262…), one quinn-udp 0.5.16 (checksum af66907d…), form_urlencoded 1.2.3 (checksum afa48919…) in both locks, no chrono. third_party/candle-core pins zip =9.7.0. In-tree readers use ZipArchive and ZipWriter. There is no ZipStreamReader, read_zipfile_from_stream, or validate_header_consistency call. 0548's consistency check is opt-in and stays off; the version is inside the advisory's patched range >=9.0.5. 0538's affected targets exclude Linux, Android, FreeBSD, and Windows. The quinn allowlist entries are required: - is not a word byte, so quinn-udp matches the poison token quinn. The only hits in those three files are these supply-chain sentences.

The pull-request report still names head f4cd05ba.

  1. Head 7c53eb8f. Required checks on this SHA were still running. Not green.
  2. Read the diff, both locks, ci.yml:520-531, affected_crates.py, the four advisory pages, and cargo-audit job 137033730819. Aravath replay hash jobs on this SHA succeeded.
  3. Replay of the nineteen cases, doc lint, and cargo audit locally: not run. This commit does not change a hashed source or either lock. cargo-audit is not installed here. The workspace audit job on this SHA had not finished in the check page I read; the Aravath cargo-audit, cargo-deny, SBOM job had succeeded.
  4. Measurements: not measured.
  5. Replay hashes: Aravath golden replay_matches_golden_hash passed on three OS on this SHA. Nineteen-case compare: not seen on this check page. Expected unchanged. Goldens were not edited.
  6. Deferred issues: none.
Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread .cargo/audit.toml Resolved
Comment thread docs/current/SECURITY_AUDIT.md Resolved
Comment thread docs/current/ENGINE_STATUS.md Resolved
Comment thread docs/current/ARAVATH_DISTRIBUTION.md Resolved

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Docs: BLOCKING at 7c53eb8

This is a full docs review of #758 at 7c53eb8f (round 12), compared against main 64da1085. Main is an ancestor: the branch is 0 behind and 21 ahead. I used a fresh checkout, opened every file:line cite below at this head, and checked each claim against the tree, ci.yml, scripts/ci/affected_crates.py, RustSec, the advisory-db history and the GitHub API. I ran aw_doc_lint and cargo audit (0.23.0) locally on both locks at this head and at main. I ran no mutant sweep. All four of my round-11 items are fixed in the text. Six items block. All of them are docs, comment, PR-body or thread text, and none needs an engine, test or workflow-logic change.

Delta since f4cd05ba: one commit, 7 files, +20/−9: .cargo/audit.toml (comments only), CLOSED_VOCABULARY_ALLOWLIST.md:341-344, ARAVATH_DISTRIBUTION.md:131, AUTONOMOUS_GAMEPLAY_QA.md:113, CI_ARCHITECTURE.md:53, ENGINE_STATUS.md:1, :33 and :46, and SECURITY_AUDIT.md:5 and :298. No lockfile, Rust source, manifest or .github/ file changed.

Blocking

  1. #756 did not record RUSTSEC-2026-0592, so the four-item "#756 is the audit failure this lock clears" sentence is wrong for one ID. This covers new cursor threads 4660430210, 4660430215, 4660430224 and 4660430229. I checked their claim independently, and it holds.

    • The record. #756 was opened on 2026-11-15. Its last failure comment is run 44965581118 on 64da1085, at 7:14 PM ET on 11-21. advisory-db assigned the ID RUSTSEC-2026-0592 in commit 248aea09 at 4:50 AM ET on 11-22, after that run. So #756's recorded failure is 0548 (zip) and 0538 (quinn-udp), plus the 0543 (chrono) unmaintained warning. 0592 is a later advisory.
    • What is true. cargo audit on main's lock today reports all four. I ran it: exit 1, with vulnerabilities 0538, 0592 and 0548, and warning 0543. At this head it exits 0 with none of them. So "the lock clears these four against main" is right, but "#756 is the failure that lists them" is not.
    • Where to change it:
      • ENGINE_STATUS.md:46
      • SECURITY_AUDIT.md:5
      • ARAVATH_DISTRIBUTION.md:131
      • .cargo/audit.toml:15-20
      • PR body lines 10, 31, 39, 83, 122 and 130
    • Suggested wording: "#756 tracks the main audit failure: privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); unmaintained, RUSTSEC-2026-0543 (chrono). url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory. No ignore was added."
    • Replies. Replies 4660402048 and 4660402111 repeat the four-item #756 list. Correct them in the new replies.
  2. .cargo/audit.toml:5-6 now heads a list it contradicts. :5-6 say "The IDs below are unmaintained. There is no patched release. Each one has a tracking issue."

    • What follows. Directly below, :17-19 list three vulnerabilities that do have patched releases (0592 >= 2.5.9, 0548 >= 9.0.5, 0538 >= 0.5.16, < 0.6.0), and none of them is in the ignore array.
    • What to change: move :5-6 down to just above [advisories] (:22), or reword it to "The IDs in the ignore array (:23-39) are unmaintained."
    • I should have caught this at f4cd05ba, where :13 already named 0592 under the same header.
  3. The full=true parenthetical leaves out the most common trigger. "(a workflow, lock, toolchain, .cargo/, or unmapped change)" reads as the full list, but it omits two triggers and one fallback.

    • What it misses. It leaves out root Cargo.toml and .config/nextest.toml (affected_crates.py:30-37, FULL_EXACT). It also misses the missing-merge-parent fallback (ci.yml:96-103).
    • The thread already named it. Cursor thread 4658361471 listed Cargo.toml itself, so the reply should not drop it.
    • The table to point at. CI_ARCHITECTURE.md:83-89 already has the complete table.
    • What to change: replace the parenthetical with "(any full=true row in the table at CI_ARCHITECTURE.md:83-89)", or list every trigger, at:
      • CI_ARCHITECTURE.md:53
      • AUTONOMOUS_GAMEPLAY_QA.md:113
      • PR body lines 37, 45 and 52
    • Reply. Reply 4660401927 carries the same list, so correct it in a follow-up reply.
  4. PR body line 37 says the path depends on what each commit changed. CI classifies the whole pull-request diff.

    • The body says: "Parent f4cd05ba is that path because it changes Cargo.lock. This commit changes .cargo/audit.toml, so it is that path too."
    • What CI does. ci.yml:105-112 runs affected_crates.py --base "HEAD^1" --head HEAD on the merge ref, which is the pull-request diff against base.
    • What to say: "The pull-request diff against main changes Cargo.lock, Cargo.toml and .cargo/audit.toml, so every head of #758 takes that path." My round-11 review said the same thing loosely ("this lockfile commit"), and this corrects that too.
  5. PR body line 6 says url "moves from 2.5.7 to 2.5.9" in tools/parse_probe/Cargo.lock. Against main, it doesn't.

    • What the locks show. On main that lock has no url and no form_urlencoded at all. url 2.5.7 entered it only in this PR's catch-up regeneration (13d57285), and f4cd05ba moved it to 2.5.9.
    • What to change: "url moves from 2.5.7 to 2.5.9 in Cargo.lock. tools/parse_probe/Cargo.lock gains url 2.5.9 and form_urlencoded 1.2.3 through the catch-up described below."
    • Line 31 ("After merge, … pin url 2.5.9") is still accurate.
  6. Thread state, and the existing parse_probe pin.

    • Unreplied threads. The four new cursor threads in item 1 are unreplied, and their review, 6014967555, is not a clearance.
    • Its "report still names f4cd05ba" point. That is out of date: body line 83 names 7c53eb8f now. Say so when you reply.
    • tools/parse_probe/Cargo.lock and bytes. The pin is unchanged from main. It is the existing #701 item, and the fix is already open as #703. Annubis ruled it stays out of #758. Keep the body's short sentence that names the ID and points at #701.

My round-11 items (6014884417), re-checked

  1. Rollup full=true path: fixed.
    • CI_ARCHITECTURE.md:53, AUTONOMOUS_GAMEPLAY_QA.md:113 and body lines 37, 45 and 52 now say that docs-only, or full not true with an empty package list, exits 0, and that otherwise the four jobs must succeed.
    • That matches ci.yml:520-531.
    • :53 still says the heavy jobs skip when no crate is selected, which is right, and :197 is unchanged and accurate.
    • The parenthetical is item 3.
  2. Provenance: fixed.
    • The zip and url sentences at ENGINE_STATUS.md:46, SECURITY_AUDIT.md:5 and ARAVATH_DISTRIBUTION.md:131 name PR #758, not a SHA.
    • The ENGINE_STATUS.md:1 and :33 exception lists and the SECURITY_AUDIT.md:5 banner rule ("a later commit or PR #758") now carve those sentences out of 556a305c.
  3. Advisory list: fixed in part.
    • All four IDs are named by class and ID, with one crate each, in every list.
    • Each pairing matches RustSec and the lock diff against main:
      • 0592: url, 2.5.7 → 2.5.9.
      • 0548: zip, 9.0.3 → 9.7.0.
      • 0538: quinn-udp, 0.5.14 → 0.5.16.
      • 0543: chrono, 0.4.42 → absent.
    • Each class matches the advisory's categories field or its informational status. The exception is 0592, whose category is denial of service. "Stack overflow" is accurate because it is the advisory's own title.
    • The #756 attribution is item 1.
  4. Threads: fixed.
    • Replies 4660401860, 4660401927, 4660402048 and 4660402111 are on the four threads.
    • 4660401860 is accurate.
    • The other three are accurate except for the parenthetical (item 3) and the #756 list (item 1).
    • The reply on cursor review 6012873073 is accurate: required CI on f4cd05ba went green at 10:24 AM ET, after that review at 9:50 AM ET.

Checked and fine

  • Lockfiles are unchanged since f4cd05ba.
    • The root lock has one each of zip 9.7.0, quinn-udp 0.5.16, url 2.5.9 and form_urlencoded 1.2.3, and no chrono.
    • third_party/candle-core pins zip to =9.7.0.
    • In-tree zip readers use ZipArchive only (candle pickle.rs and npy.rs, astraweave-persona/src/lib.rs:58, tools/xtask/src/fetch_assets.rs:1628), so 0548's opt-in check doesn't change what this tree reads.
  • cargo audit at this head. The root lock exits 0. The ten unsound warnings (heapless ×9, rustix) are the same on main. That matches body lines 87 and 90.
  • Ignore lists. .cargo/audit.toml:23-39 and deny.toml:100-113 are still the same six unmaintained IDs, and SECURITY_AUDIT.md:298's new cite :23-39 is exact.
  • Doc lint. cargo run -p aw_doc_lint -- --mode warn gives 0 un-allowlisted, and CI closed-vocabulary prose lint passed.
    • The three quinn rows are needed: the token quinn matches in quinn-udp.
    • In those three files, quinn occurs only in the supply-chain sentences.
    • quinn 0.11.12 is in the lock only through reqwest.
  • Body claims and links.
    • Head, ancestry and "0 behind, 21 ahead" are right.
    • Review and comment links resolve (6014884417, 6014886442, 7086856521).
    • ci.yml:518, :519, :528-531, :130/:131 and :142-144, and the partition and stable-name cites from round 10, are unchanged and correct.
  • Engine claims. The engine and test claims from earlier rounds rest on code that hasn't changed since f4cd05ba. No .rs file changed in this commit.
  • CHANGELOG, README, mdBook and ROADMAP. None is touched. My backfill puts #758 under 2026-11 Security, using the corrected #756 wording.

Copy link
Copy Markdown
Owner Author

Devastation: BLOCKED @ 7c53eb8 (incremental f4cd05b..7c53eb8, docs + comments only; all LOW, no security findings)

Clean

Blocking (LOW, unreplied threads, verified against run 44965581118 on main 64da108)

  1. 4660430210 / 4660430215 / 4660430224 / 4660430229 (.cargo/audit.toml, SECURITY_AUDIT:5, ENGINE_STATUS:46, ARAVATH_DISTRIBUTION:131): Nightly CI failure: Security Audit #756's recorded audit printed RUSTSEC-2026-0548 and RUSTSEC-2026-0538 as vulnerabilities and RUSTSEC-2026-0543 as an allowed warning. RUSTSEC-2026-0592 was published later and isn't in that run. Keep Nightly CI failure: Security Audit #756 to those three, and say separately that url 2.5.9 also fixes 0592. This is the same as Astranox's item 1.
  2. .cargo/audit.toml:5-6: the header "The IDs below are unmaintained. There is no patched release." now sits above the patched-vulnerability comment block. Move that header down to the ignore array, or scope it to the array.

Fix the text and reply on all four threads. Any new push needs a re-review.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@cursor cursor 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.

Head 13b02736af315a3216aca71296ebd4149dfb7526. Not a clearance. Not green. Gate, the three hash (*) jobs, determinism-replay / compare, and PR Rust checks were still running. On this SHA, Security Audit (cargo-audit), Cargo Deny Check, OpenSSF Scorecard Analysis, and pack guard succeeded.

This commit is comments and prose. The lock is the lock from f4cd05ba. Both locks have url 2.5.9 (checksum f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a) and form_urlencoded 1.2.3 (checksum afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e). One zip 9.7.0 (checksum 08687262e7c0f1284b259686f322805a8adaa8ef4d7210e76448950b3f083bf7); third_party/candle-core pins =9.7.0. quinn-udp is 0.5.16 (checksum af66907df18639dcf4db56ca65490cabc4b27a97dbadd96f2926cca73298f016). chrono is absent. The ignore array is still the six unmaintained IDs. 0548, 0538, 0543, and 0592 are not in it, and deny.toml does not list them.

The #756 sentences now match run 44965581118 on main 64da1085: privilege escalation RUSTSEC-2026-0548 (zip) and denial of service RUSTSEC-2026-0538 (quinn-udp) are the two vulnerabilities, and unmaintained RUSTSEC-2026-0543 (chrono) is the allowed warning. RUSTSEC-2026-0592 is named on its own. Its date field is 2026-11-20, its categories field is denial-of-service, and its title is the stack overflow in Url::origin, patched >= 2.5.9. Advisory-db commit 248aea09 assigned that ID at 2026-11-22T09:50:21Z, after the 00:14:27Z run, which is why that log omitted it. This lock is the patched version. The docs use the title.

The description still names head 7c53eb8fc and still says cargo audit on origin/main reported 0592 as one of three vulnerabilities. That is the claim this commit removed from the four files.

The new rollup parenthetical is wrong. It is on docs/current/CI_ARCHITECTURE.md:53 and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113.

Replay hashes: expected unchanged. This commit does not edit a golden or a hashed crate. The nineteen-case compare had not finished. Measurements: not measured. Deferred issues: none. Local crate tests were not re-run; this commit does not change Rust.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread docs/current/CI_ARCHITECTURE.md Resolved
Comment thread docs/current/AUTONOMOUS_GAMEPLAY_QA.md Resolved

Copy link
Copy Markdown
Owner Author

Devastation: BLOCKED @ 13b0273 (incremental 7c53eb8..13b0273, docs + comments only; all LOW, no security findings)

Clean

  • The lockfiles and the ignore array in .cargo/audit.toml are unchanged. No new ignore.
  • My items 1 and 2 from 7088933933 are fixed: Nightly CI failure: Security Audit #756 is limited to RUSTSEC-2026-0548/0538/0543, 0592 is stated separately as fixed by url 2.5.9, and the "unmaintained" header now sits above the ignore array. Threads 4660430210/15/24/29 have replies.
  • All required CI is green (38 success, 7 skipped, 1 neutral, 0 failures).

Blocking (LOW, unreplied threads)

  1. 4661010539 (CI_ARCHITECTURE.md:53) and 4661010544 (AUTONOMOUS_GAMEPLAY_QA.md:113): "any full=true row in the table at CI_ARCHITECTURE.md:83-89" overclaims. Row 88 (push, schedule, workflow_dispatch) is full=true, but PR Rust checks runs only on pull_request (ci.yml:502), so it never reaches :528-531. I verified this at the head. Name rows 83, 84, 86 and 89 (or say "a pull-request full=true row") in both files.

Fix the text and reply on both threads. Any new push needs a re-review.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Blocking

Required CI is green at 13b02736af315a3216aca71296ebd4149dfb7526 (46 check runs: 38 passed, 7 skipped as usual on PRs, 1 neutral Scorecard, 0 failing or pending). Named required checks all concluded success: Security Audit (cargo-audit), Cargo Deny Check, Gate (fmt, clippy, check), PR Rust checks (9:15:53 PM ET on Nov 22, run 45093975151), Test (ubuntu, build archive), Test (windows, build archive), the six partition jobs, Minimum Supported Rust Version, the three Replay hash (*) jobs, and compare. Head has not moved. This is final round 3/3 today.

Annubis has already ruled at this head: 7101922589 is BLOCKED (LOW) on the two unreplied cursor threads below. I independently checked those threads and the ci.yml cites, and I agree. Astranox has not posted a review at 13b02736. cursor audit 6015618585 was posted at 8:26 PM ET on Nov 22, before required CI finished, and is not a clearance; it flagged the same parenthetical. Codex has no new review at this SHA. I have not previously posted an aw-bot:astraea review at this SHA (I skipped 7c53eb8f).

The delta from 7c53eb8f to this head is docs and comments only (6 files). From f4cd05ba (the lock bump) it is still docs and comments only: Cargo.lock and tools/parse_probe/Cargo.lock are byte-identical, and the ignore ID array is unchanged (the same six unmaintained IDs; none of 0548, 0538, 0543, or 0592). Both locks still pin url 2.5.9 and form_urlencoded 1.2.3. 0 mutants listed, 0 missed, 0 timeouts (no PR-owned Rust in the delta, so cargo-mutants was not started).

Prior items at this head

# Prior item Status
A Round-10 skip wording: partition N/3 names never created vs archive/MSRV names reporting skipped; rollup includes Detect affected crates and msrv (ci.yml:518-531) and says "without success"; "only" gone at CI_ARCHITECTURE.md:195; thread 4654196338 resolved Fixed. CI_ARCHITECTURE.md:53 and :195, and AUTONOMOUS_GAMEPLAY_QA.md:113, still split the two job classes. The rollup sentence names Detect affected crates (:518) and the gate (:519), requires test-linux-build, test-linux, test-windows, and msrv (:528-531) on the otherwise branch, and says a skipped or cancelled job is "without success". "only" is not in the :195 skip sentence. Thread 4654196338 has reply 4658335775 and is outdated.
B My 6014886442 / Annubis 7086856521: 4 cursor threads replied; rollup covers full=true/empty-packages; provenance uses #758 tags (not a SHA) at SECURITY_AUDIT.md:5 and ENGINE_STATUS.md:46 Fixed. Replies 4660401860, 4660401927, 4660402048, and 4660402111 are in place. The rollup names the full=true / empty-packages otherwise branch. Both SECURITY_AUDIT.md:5 and ENGINE_STATUS.md:46 tag PR #758, not a SHA. The new parenthetical for that otherwise branch is wrong; see blocker 1.
C Astranox 6015542697 items 1-6 and Annubis 7088933933 1, 2, 4, 5, 6 fixed; item 3 landed but overclaims (blocker 1). (1) #756 tracks privilege escalation, RUSTSEC-2026-0548 (zip); denial of service, RUSTSEC-2026-0538 (quinn-udp); unmaintained, RUSTSEC-2026-0543 (chrono). url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory. That split is in the PR body, ENGINE_STATUS.md:46, SECURITY_AUDIT.md:5, ARAVATH_DISTRIBUTION.md:131, and .cargo/audit.toml:13-18. (2) The "unmaintained, no patched release" header now sits immediately above the ignore array (.cargo/audit.toml:19-23). (4) The body says CI classifies the whole pull-request diff against main, not each commit. (5) The body says tools/parse_probe/Cargo.lock gains url 2.5.9, and that on main that lock has no url. The bytes pin / #701/#703 stays out. (6) Replies 4660995383, 4660995446, 4660995540, and 4660995622 are on the four r12 cursor threads, with follow-ups 4660995692, 4660995779, and 4660995934. Two new cursor threads at this head are unreplied; see blocker 1.

Advisory lists in the touched docs name all four cleared IDs by class and ID only, with #756 limited as in item C1. No new ignore. No other unreplied or Blocking cursor or Codex threads remain current at this head besides the two below.

Blockers

  1. docs/current/CI_ARCHITECTURE.md:53 and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113 (and the Round 13 body bullet): the parenthetical "any full=true row in the table at CI_ARCHITECTURE.md:83-89" overclaims. Rows 83, 84, 86, and 89 are the pull-request full=true paths. Row 88 is push, schedule, and workflow_dispatch. .github/workflows/ci.yml:89-95 sets full=true and an empty package list for every event other than pull_request, but PR Rust checks runs only when github.event_name == 'pull_request' (ci.yml:502), so row 88 never reaches the four success checks at :528-531. Rows 85 and 87 in that span are not full=true. Unreplied cursor threads: 4661010539 and 4661010544. Same item as Annubis 7101922589. Fix: name rows 83, 84, 86, and 89, or say "a pull-request full=true row", in both files and the body bullet, and reply on both threads.

This is not a Clear. A new head needs a fresh review once required CI is green.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Docs: BLOCKING at 13b0273

This is a full docs review of #758 at 13b02736 (round 13), compared against main 64da1085. main is still 64da1085, and it is an ancestor: the branch is 0 behind and 22 ahead. Required CI on this head is green: 46 check runs, 38 success, 7 skipped, 1 neutral. PR Rust checks passed at 9:15 PM ET on 11-22. I opened every file:line cite this PR adds at this head and checked each claim against the tree, ci.yml, scripts/ci/affected_crates.py, both lockfiles, and the review threads, including their resolved state. I ran aw_doc_lint (warn mode) and cargo audit 0.23.0 locally on the root lock and on tools/parse_probe/Cargo.lock, at this head and at main. I ran no mutant sweep, because no Rust changed. Five of my six round-12 items are fixed. The sixth, the full=true parenthetical, now uses the wording I suggested, and that wording is wrong. Two items block. Both are docs, PR-body or thread text, and neither needs an engine, test or workflow-logic change.

Delta since 7c53eb8f: one commit, 13b02736 ("Correct the #756 advisory record and the full=true trigger cite."), 6 files, +9/−9:

  • .cargo/audit.toml (comments only)
  • ARAVATH_DISTRIBUTION.md:131
  • AUTONOMOUS_GAMEPLAY_QA.md:113
  • CI_ARCHITECTURE.md:53
  • ENGINE_STATUS.md:46
  • SECURITY_AUDIT.md:5

No lockfile, Rust source, manifest or .github/ file changed. Both lockfiles are byte-identical to 7c53eb8f.

Blocking

  1. The full=true parenthetical names one row too many, and the wording is mine. At round 12 (item 3 of 6015542697), I suggested "(any full=true row in the table at CI_ARCHITECTURE.md:83-89)". That wording is wrong. This round put it in verbatim, so the error is my own. Astraea found it in 6022428292, Annubis found it in 7101922589, and cursor found it in threads 4661010539 and 4661010544. I checked it independently, and it holds.

    • The full=true rows. In CI_ARCHITECTURE.md:83-89, those rows are 83, 84, 86, 88 and 89. Rows 85 and 87 are not full=true.
    • Row 88 never reaches the rollup. Row 88 is push, schedule and workflow_dispatch. For any event other than pull_request, ci.yml:89-95 sets full=true and an empty package list. But PR Rust checks only runs when github.event_name == 'pull_request' (ci.yml:502), so row 88 never reaches the four checks at :528-531.
    • The pull-request rows. The rows that do reach the rollup are 83 (root manifest, lock, toolchain, .cargo/**, .config/nextest.toml), 84 (workflow, action or CI script), 86 (unmapped file) and 89 (missing-merge-parent, ci.yml:96-103). affected_crates.py:30-37 and the full=true returns at :180-181 and :198-199 match those rows.
    • Where to change it:
      • CI_ARCHITECTURE.md:53
      • AUTONOMOUS_GAMEPLAY_QA.md:113
      • PR body line 39 (the Round 13 bullet)
      • PR body lines 46, 54 and 61 (the Round 12, Round 10 and Round 9 bullets, which carry the same parenthetical)
    • Suggested wording: "(a pull-request full=true row: rows 83, 84, 86 and 89 of the table at CI_ARCHITECTURE.md:82-89)".
    • Body line 39 also has a grammar slip. "the Round 12, Round 10, and Round 9 bullets points at" should read "point at".
  2. Two cursor threads have no reply, and an earlier reply repeats the wrong wording.

    • Unreplied threads. Threads 4661010539 (CI_ARCHITECTURE.md:53) and 4661010544 (AUTONOMOUS_GAMEPLAY_QA.md:113) have no reply. GraphQL shows both as unresolved and current. Reply on both once item 1 is fixed.
    • The earlier reply. Follow-up 4660995692 on thread 4658361474 says "any full=true row in the table at CI_ARCHITECTURE.md:83-89". It lists Cargo.toml, .config/nextest.toml and missing-merge-parent, but it does not leave out row 88. Correct it in the new reply, the same way the round-12 replies corrected 4660401927, 4660402048 and 4660402111.
    • The audit review. Cursor audit review 6015618585 (8:26 PM ET on 11-22) is not a clearance. It also says the description "still names head 7c53eb8fc" and still credits 0592 to main's three vulnerabilities. That point is now out of date. The body names 13b02736 (lines 35 and 92). Its only main 0592 claim is the local cargo audit result at lines 48 and 99, and that result is true: see the checks below. Say so in the reply.

My round-12 items (6015542697), re-checked

  1. #756 vs RUSTSEC-2026-0592: fixed.
    • Docs and comments. Each of these now limits #756 to 0548 (zip), 0538 (quinn-udp) and 0543 (chrono), then adds "url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory":
      • ENGINE_STATUS.md:46
      • SECURITY_AUDIT.md:5
      • ARAVATH_DISTRIBUTION.md:131
      • .cargo/audit.toml:13-18
    • PR body. Body lines 10, 31, 37, 48, 92, 131 and 139 say the same.
    • No four-item #756 list remains. rg '#756' over the tree and a grep over the body find none.
  2. .cargo/audit.toml header: fixed. The "unmaintained, no patched release" header is now :19-20, directly above [advisories] (:22). It is scoped to "the ignore array below". The cleared IDs sit above it, at :15-18, with "None of these is an ignore." The ignore array :23-39 is byte-identical to main.
  3. full=true trigger list: the list is now complete, but the wording overclaims. This is blocking item 1, and the wording came from me.
  4. Per-commit framing: fixed. Body line 40 says that CI classifies the pull-request diff against main, not each commit, and that the diff changes Cargo.lock, Cargo.toml and .cargo/audit.toml. git diff --name-only 64da1085 13b02736 confirms all three. Line 46 says the same.
  5. parse_probe url: fixed.
    • The body. Body line 6 says url moves from 2.5.7 to 2.5.9 in Cargo.lock, and that tools/parse_probe/Cargo.lock gains url 2.5.9 and form_urlencoded 1.2.3. It adds "On main that lock has no url."
    • The locks. At 64da1085, the root lock has url 2.5.7 and form_urlencoded 1.2.2, and the parse_probe lock has neither crate. At this head, both locks have 2.5.9 and 1.2.3.
  6. Threads: fixed.
    • Replies. These replies are on the four round-12 threads:
    • Follow-ups. 4660995692, 4660995779 and 4660995934 correct 4660401927, 4660402048 and 4660402111. The #756 text in all seven is accurate.
    • The SHA point. 4660995383 answers the stale "report still names f4cd05ba" point.
    • State. All four threads are resolved.
    • What is still wrong. Only 4660995692's parenthetical, under blocking item 2.
    • The bytes pin. It stays out as the existing #701 item, with the fix in #703. Body line 41 says so.

Annubis and Astraea

  • Annubis 7088933933: both fixed.
    • Item 1, the #756 list, is the same as my item 1.
    • Item 2, the audit.toml header, is the same as my item 2.
  • Annubis 7101922589: open. Its one item is blocking items 1 and 2 here. I agree with it.
  • Astraea 6022428292: open, and it holds. Its one item is blocking items 1 and 2 here.
    • I checked her ci.yml:89-95, :502 and :528-531 cites at this head, and they are exact.
    • The four replies and three follow-ups she lists are on the threads.

Checked and fine

  • cargo audit at this head.

    • Root lock. It exits 0. The ten unsound warnings (heapless ×9, rustix) are the same on main.
    • main's root lock. It exits 1, with vulnerabilities 0538, 0592 and 0548 and the unmaintained warning 0543. That matches body lines 48, 96 and 99.
    • tools/parse_probe/Cargo.lock. It reports only RUSTSEC-2026-0007 at this head. On main it reports 0007 plus 0543, so "drops RUSTSEC-2026-0543" (body line 48) is right.
  • Doc lint. cargo run -p aw_doc_lint -- --mode warn exits 0: 641 files scanned, 0 un-allowlisted. CI closed-vocabulary prose lint (warn) passed.

  • Cites this PR adds. I opened all 55 unique path:line cites in the PR's added lines at this head. Each lands on the named code. These include:

    • ci.yml:130/:131, :142-144, :213, :276, :280-285, :286-289, :406, :410-414, :415-418, :518, :519 and :528-531
    • security-audit.yml:72
    • deny.toml:100-113 and .cargo/audit.toml:23-39
    • docs/ci/bottlenecks.md:33
    • the aw_editor main.rs, lib.rs and Cargo.toml cites: struct EditorApp :295-535, fn default :538-777, fn new :2699-2823, impl eframe::App :9617, pub mod headless lib.rs:113, and the bins at Cargo.toml:142-151

    No .rs file has changed since 7c53eb8f, so the engine and test claims I checked in earlier rounds still rest on the same code.

  • Body claims.

    • Head, ancestry and "0 behind, 22 ahead" (line 92) are right.
    • The Round 13 header (line 35) names the right reviews.
    • I re-diffed all 16 rows of the version table (lines 110-127) against the root lock at main and at this head, and every row matches.
  • Other threads. All 38 review threads are replied. The only unresolved threads are the two in blocking item 2 and Codex's round-1 thread 4607854869, which is outdated. Its fix is reply 4609116832: #[serde(default, with = ...)] at agent.rs:117 and :154 and at ab_testing.rs:56 and :58, and it is in the tree. Astraea has no inline threads on this PR.

  • CHANGELOG, README, mdBook and ROADMAP. None is touched. My backfill puts #758 under 2026-11 Security, using the corrected #756 wording.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@cursor cursor 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.

Head d9896c2dd6b542e76607644ef9d899655d193430. Not a clearance. Not green.

d9896c2dd only rewrites the rollup parenthetical in docs/current/CI_ARCHITECTURE.md:53 and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113. That parenthetical now matches the classifier.

The table body is CI_ARCHITECTURE.md:82-89 (header is :80-81). The four named lines are the pull-request full=true paths that store an empty package list, which is the otherwise branch at .github/workflows/ci.yml:528-531:

  • Line 83: Cargo.toml, Cargo.lock, rust-toolchain.toml, rust-toolchain, .cargo/, .config/nextest.toml. scripts/ci/affected_crates.py returns full=true and packages="".
  • Line 84: .github/workflows/, .github/actions/, .github/scripts/. Same return.
  • Line 86: an unmapped path (not docs, not under .github/, not inside a crate). Same return.
  • Line 89: a pull request whose checkout has no HEAD^1. ci.yml:96-103 sets full=true, an empty package list, and reason=missing-merge-parent.

Line 88 stays out. That row is push, schedule, and workflow_dispatch. ci.yml:89-95 does set full=true and an empty package list there, and PR Rust checks does not run on those events (ci.yml:502). Lines 82, 85, and 87 are not full=true. The cites in the same sentence still match the workflow: Linux partition :276 / :280-285 / :286-289, Windows partition :406 / :410-414 / :415-418, and the rollup checks at :518-531.

The pull request body is still the report for 13b02736af315a3216aca71296ebd4149dfb7526. Round 13 still says this parenthetical points at any full=true row in :83-89. The Report section still says cargo audit on origin/main 64da1085 printed three vulnerabilities, including RUSTSEC-2026-0592. The description in the same body splits #756 into privilege escalation RUSTSEC-2026-0548, denial of service RUSTSEC-2026-0538, and the unmaintained warning RUSTSEC-2026-0543, and treats 0592 as the later advisory (assigned after run 44965581118). The docs on this SHA match that description. The Report section does not.

Lock bytes are unchanged from f4cd05ba. One zip 9.7.0, checksum 08687262e7c0f1284b259686f322805a8adaa8ef4d7210e76448950b3f083bf7. third_party/candle-core pins =9.7.0 with default features off. quinn-udp 0.5.16, checksum af66907df18639dcf4db56ca65490cabc4b27a97dbadd96f2926cca73298f016. url 2.5.9 in both locks, checksum f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a. No chrono package. .cargo/audit.toml and deny.toml do not ignore 0548, 0538, 0543, or 0592. The ignore list is the same six unmaintained IDs.

astraweave-quests/Cargo.toml drops an unused chrono dependency. No hashed crate source changed. now_utc stays in the editor, tools, memory, rag, and player saves. It is not on a replayed tick. tools/xtask still rejects a zip member that is absolute, a parent, or a prefix before it writes. Persona reads persona_manifest.toml by name into memory. Expected replay hashes unchanged. This run did not re-run them.

On this SHA, Security Audit, Cargo Deny, pack guard, trace sync, and net-tests succeeded. Gate, the three hash (*) jobs, and the three Replay hash jobs are still running. Compare has not started. GPU frame time: not measured.

aw-editor-tests.yml still has the step-level continue-on-error flags that were already on the branch. The pull-request bin step in ci.yml has none. That is unchanged by this commit.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Docs: CLEAR at d9896c2

This is a full docs review of #758 at d9896c2d (round 14). I compared it against main 64da1085. main hasn't moved, and it's an ancestor: the branch is 0 behind and 23 ahead. I worked from a fresh checkout. I opened every file:line cite in the PR's added lines and in the body, and checked each claim against the tree, ci.yml, scripts/ci/affected_crates.py, both lockfiles and the review threads. I ran aw_doc_lint (warn mode) and cargo audit 0.23.0 locally, with the advisory DB fetched today, on both lockfiles at this head and at main. I ran no mutant sweep, because no Rust changed. Both of my round-13 items are fixed, and every earlier settled point still holds.

Delta since 13b02736: one commit, d9896c2d ("Name the pull-request full=true rows in the rollup parenthetical."), 2 files, +2/−2: CI_ARCHITECTURE.md:53 and AUTONOMOUS_GAMEPLAY_QA.md:113. No lockfile, Rust source, manifest, .github/ or scripts/ file changed. Both lockfiles and .cargo/audit.toml are byte-identical to 13b02736.

My round-13 items (6022758622)

  1. full=true parenthetical: fixed. CI_ARCHITECTURE.md:53, AUTONOMOUS_GAMEPLAY_QA.md:113 and the Round 12, Round 10 and Round 9 body bullets now read "(a pull-request full=true row: rows 83, 84, 86 and 89 of the table at CI_ARCHITECTURE.md:82-89)". The Round 13 and Round 14 bullets say the same. No "any full=true row" wording or :83-89 cite is left in the tree or the body. I checked the rows against the code myself:
    • Rows 83, 84 and 86 are the classifier's full=true paths. affected_crates.py returns full=true with an empty package list in two places. At :178-183 it does so for FULL_EXACT, .cargo/ and the workflow prefixes (:30-43), which are rows 83 and 84. At :195-201 it does so for an unmapped file, which is row 86.
    • Row 89 is the missing-parent path. ci.yml:96-103 sets full=true with reason=missing-merge-parent on a pull request.
    • Row 88 is push-only. ci.yml:89-95 sets full=true for any event other than pull_request. on: lists only push, pull_request, schedule and workflow_dispatch, with no merge_group. PR Rust checks runs only when github.event_name == 'pull_request' (ci.yml:502), so row 88 never reaches :528-531.
    • Rows 82, 85 and 87 are not full=true. They are docs-only, crate packages and fmt-only, which is :164-170, :209-217 and :202-208.
    • The cite is right. :82-89 is the table body, under the header at :80-81.
    • The grammar slip is fixed. Body line 44 now reads "point at".
  2. Threads: fixed. Each reply is on its thread, and each claim in them is true.
    • 4666740117 on 4661010539. Its row descriptions match the table, and it records ci.yml:502 correctly. It says cursor audit 6015618585 is not a clearance, and that its SHA point is out of date: the body names d9896c2d at lines 35 and 97. It also says main exits 1 with 0538, 0592 and 0548, and my run today shows that.
    • 4666740243 on 4661010544. It's accurate.
    • 4666740435 on 4658361474. It corrects follow-up 4660995692 with the right rows.
    • State. GraphQL shows 4661010539 and 4661010544 as resolved now.

Annubis, Astraea and cursor[bot]

  • Annubis 7101922589: fixed. Its one item is round-13 item 1 above. Annubis 7088933933 is still fixed.

  • Astraea 6022428292: fixed. Its one blocker is the same item, with the same threads. Her prior items A-C still hold at this head. Astraea has no inline threads on this PR.

  • cursor[bot]: there's no new inline thread at d9896c2d. Reviews 6022864195, 6022864399 and 6022864681 are the three reply wrappers above, and they have empty bodies.

  • Cursor audit 6022968905 (9:00 AM ET): this isn't a clearance, and CI was still running when it posted. Its row analysis matches mine. It makes two other claims, and both are out of date at this head:

    • "The body is still the 13b02736 report." The body was updated at 8:55 AM ET, before this audit posted. It names d9896c2d (lines 35 and 97), and the Round 13 bullet (line 44) uses the pull-request row wording.
    • "The Report's main 0592 result conflicts with the #756 split." It doesn't. Line 104 is a local cargo audit run with today's DB, and it's true (see below). Line 53 says the same thing: "cargo audit on origin/main today reports those four". #756's runs predate 0592, which is the split the docs record.

    Neither claim needs a text change.

  • All threads: all 38 review threads have a reply. The only unresolved one is Codex's round-1 thread 4607854869, which is outdated. Its fix is in the tree: #[serde(default, with = ...)] at agent.rs:117 and :154 and at ab_testing.rs:56 and :58, per reply 4609116832.

Settled points, re-checked at this head

  • #756 and RUSTSEC-2026-0592. ENGINE_STATUS.md:46, SECURITY_AUDIT.md:5, ARAVATH_DISTRIBUTION.md:131, .cargo/audit.toml:13-18 and body lines 10, 31, 42, 53, 97, 136 and 144 each limit #756 to 0548 (zip), 0538 (quinn-udp) and 0543 (chrono). Each then says "url 2.5.9 also fixes stack overflow, RUSTSEC-2026-0592, a later advisory". No four-item #756 list remains anywhere.
  • .cargo/audit.toml header. The unmaintained header is at :19-20, above [advisories] (:22). The ignore array (:23-39) is byte-identical to main, and no ignore was added.
  • parse_probe url. Body lines 6 and 46 are right: main's parse_probe lock has no url, and this head has 2.5.9 and form_urlencoded 1.2.3. The bytes pin stays out of this PR as #701, with the fix in #703. Body line 46 says so.
  • Whole-PR diff. Body lines 45 and 51 are right. git diff --name-only 64da1085 d9896c2d includes Cargo.lock, Cargo.toml and .cargo/audit.toml.
  • Provenance. SECURITY_AUDIT.md:5, ENGINE_STATUS.md:1, :33 and :46, and ARAVATH_DISTRIBUTION.md:131 tag PR #758, not a SHA.
  • Four advisory IDs. They are named by class and ID only.

Checked and fine

  • cargo audit (DB fetched today).
    • Root lock at this head: exit 0. The ten unsound warnings (heapless ×9 and rustix) are the same as on main.
    • Root lock on main: exit 1, with 0538, 0592 and 0548 plus the 0543 warning. That matches body lines 53 and 104.
    • tools/parse_probe/Cargo.lock: only RUSTSEC-2026-0007 at this head. On main it's 0007 plus 0543. The PR adds no new warning on either lock.
  • Doc lint. aw_doc_lint --mode warn exits 0: 641 files scanned, 0 un-allowlisted. player_facing_names.sh exits 0.
  • Cites. I opened all 55 unique cites in the PR's added lines and the 21 more in the body, and each lands on the code it names. They include:
    • ci.yml:131, :213, :225, :276, :280-285, :352, :358, :406, :410-414, :502, :518, :519, :528-531, :618 and :624
    • security-audit.yml:72, deny.toml:100-113 and docs/ci/bottlenecks.md:33
    • the aw_editor main.rs, lib.rs and Cargo.toml:142-151/:150 cites
    • CI_ARCHITECTURE.md:53, :195, :197 and :82-89
  • Body.
    • Head and ancestry. The head, the ancestry and "0 behind, 23 ahead" (line 97) are right.
    • Round 14 header. The header (line 35) names the right three reviews.
    • Versions table. The table (lines 117-132) is unchanged from 13b02736, and the locks are byte-identical, so last round's row-by-row check still holds.
  • CHANGELOG, README, mdBook and ROADMAP. None is touched. My backfill puts #758 under 2026-11 Security, with the corrected #756 wording.

Copy link
Copy Markdown
Owner Author

Devastation: PASS @ d9896c2

Incremental review 13b0273...d9896c2. Two lines of docs changed (CI_ARCHITECTURE.md:53, AUTONOMOUS_GAMEPLAY_QA.md:113).

  • The parenthetical now names the pull-request full=true rows as 83, 84, 86, and 89 of the table at CI_ARCHITECTURE.md:82-89. At this head, those line numbers point to the root manifest/lock/toolchain row, the workflow/action/script row, the non-crate file row, and the missing-merge-parent row. Row 88 (push, schedule, dispatch) is correctly left out.
  • Threads 4661010539 and 4661010544 have replies (r4666740117, r4666740243). All 38 review threads are answered.
  • Required CI is green at this head. The only non-success checks are the main and release jobs, which are skipped on pull requests, and Scorecard, which is neutral.
  • No code changed, so there's no new attack surface. Earlier security items are still resolved and none are open.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Clear at d9896c2 (round 14, Astraea). Required CI green. Delta from 13b0273 is docs only (CI_ARCHITECTURE.md:53, AUTONOMOUS_GAMEPLAY_QA.md:113), so 0 mutants to run.

  • PR full=true rows 83/84/86/89 (not push row 88) are named consistently in both docs and the PR body, matching ci.yml (:89, :96, :502, :518-531).
  • cursor threads 4661010539/4661010544 are answered (r4666740117, r4666740243, r4666740435). All 38 root threads have replies and there are no new cursor[bot]/Codex Blocking threads.
  • Astranox 6022758622 item 2 is fixed. Annubis PASS (7104477776) and Astranox CLEAR (6023632110) are at this head.
    Non-blocking note: body line 104 explains 0592 beyond #756's list; consistent.

@lazyxeon
lazyxeon merged commit e1773a8 into main Nov 23, 2026
47 checks passed
@lazyxeon
lazyxeon deleted the cursor/patched-zip-drop-chrono-295f branch November 23, 2026 14:53

Copy link
Copy Markdown
Owner Author

Devastation post-merge @ e1773a8: one LOW, introduced. format_utc_seconds panics on an OffsetDateTime that is out of range at UTC, but untrusted input can't reach it. Filed as #773. Everything else passed. Main's remaining reds are the sccache failure that #772 fixes.

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