fix: quality cleanup - authoritative resource identities (chunk 8/11) #528

Closed
didericis-codex wants to merge 1 commits from fix/authoritative-cleanup-identities into fix/gateway-output-pump-shutdown
Collaborator

Stacked on #527. Eighth quality-cleanup chunk tracked by #444 and PRD 0082.

Closes the remaining authoritative-snapshot findings from the project-wide review:

  • Lossless Firecracker identities: process discovery reads PIDs from pgrep and NUL-delimited argv from /proc/<pid>/cmdline, preserving cache and config paths containing spaces. Enumeration and termination now share the same argv parser.
  • Fail-closed Docker cleanup: compose projects, prefixed containers, and prefixed networks all raise EnumerationError when Docker cannot provide an authoritative snapshot. Stopped-project state can no longer be classified from a fabricated empty project set.
  • Bounded artifact operations: Firecracker artifact pull, registry existence checks, uploads, and deletes use explicit 30-second network deadlines.
  • Durable requirements: PRD 0082 is updated in the root PR to describe these boundaries and honestly records the residual container-engine name-reuse limitation.

Validation: The complete eleven-PR stack passes all 2,520 unit tests; full-repository Pyright reports 0 errors; git diff --check passes.

Refs #444.

Final stack extension

  • #530 — cleanup execution and mandatory authenticated-secret integrity.

Final stack extension

  • #531 — bounded heavy Git and cleanup operations.

Final stack extension

  • #532 — fail-closed shared database and gateway credential permissions.
Stacked on #527. Eighth quality-cleanup chunk tracked by #444 and PRD 0082. Closes the remaining authoritative-snapshot findings from the project-wide review: - **Lossless Firecracker identities:** process discovery reads PIDs from `pgrep` and NUL-delimited argv from `/proc/<pid>/cmdline`, preserving cache and config paths containing spaces. Enumeration and termination now share the same argv parser. - **Fail-closed Docker cleanup:** compose projects, prefixed containers, and prefixed networks all raise `EnumerationError` when Docker cannot provide an authoritative snapshot. Stopped-project state can no longer be classified from a fabricated empty project set. - **Bounded artifact operations:** Firecracker artifact pull, registry existence checks, uploads, and deletes use explicit 30-second network deadlines. - **Durable requirements:** PRD 0082 is updated in the root PR to describe these boundaries and honestly records the residual container-engine name-reuse limitation. **Validation:** The complete eleven-PR stack passes all 2,520 unit tests; full-repository Pyright reports 0 errors; `git diff --check` passes. Refs #444. **Final stack extension** - #530 — cleanup execution and mandatory authenticated-secret integrity. **Final stack extension** - #531 — bounded heavy Git and cleanup operations. **Final stack extension** - #532 — fail-closed shared database and gateway credential permissions.
didericis force-pushed fix/authoritative-cleanup-identities from 3c97a9acac to 5b54c38ab6 2026-07-26 23:55:49 -04:00 Compare
didericis-codex changed title from fix: quality cleanup - authoritative resource identities (chunk 8/8) to fix: quality cleanup - authoritative resource identities (chunk 8/9) 2026-07-27 00:02:58 -04:00
didericis force-pushed fix/authoritative-cleanup-identities from 5b54c38ab6 to d29777bd96 2026-07-27 00:17:53 -04:00 Compare
didericis-codex changed title from fix: quality cleanup - authoritative resource identities (chunk 8/9) to fix: quality cleanup - authoritative resource identities (chunk 8/10) 2026-07-27 00:26:13 -04:00
didericis added 1 commit 2026-07-27 00:46:59 -04:00
fix(cleanup): use authoritative resource identities
test / integration-docker (pull_request) Has been cancelled
test / image-input-builds (pull_request) Successful in 53s
test / unit (pull_request) Successful in 59s
test / coverage (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Failing after 12m23s
f242733d15
didericis force-pushed fix/authoritative-cleanup-identities from d29777bd96 to f242733d15 2026-07-27 00:46:59 -04:00 Compare
didericis-codex changed title from fix: quality cleanup - authoritative resource identities (chunk 8/10) to fix: quality cleanup - authoritative resource identities (chunk 8/11) 2026-07-27 00:50:06 -04:00
didericis-codex closed this pull request 2026-07-27 01:35:50 -04:00
Some checks are pending
test / integration-docker (pull_request) Has been cancelled
test / image-input-builds (pull_request) Successful in 53s
test / unit (pull_request) Successful in 59s
test / coverage (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Failing after 12m23s

Pull request closed

Sign in to join this conversation.