Commit Graph
15 Commits
Author SHA1 Message Date
ricoromaandClaude Opus 5.5 f35a888ae6 docs: record the clean clone check and close the lab 7 plan
Skeleton contracts / contracts (push) Failing after 31s
Application / application (push) Successful in 13m42s
Record the clean clone check of 274ccbd in evidence/tests/clean-clone.md:
own compose project on shifted ports and its own operator PKI, make
run_docker created the CA, initialized and unsealed OpenBao by itself,
then check, test, test-security, student_test (235 passed),
test-persistence, test-failover and validate all exited 0, with no
secret values in the logs. Fill the remaining report cells from it.

Remove PLAN.md now that every change and the last step are closed, as
its header says; point AGENTS.md, the reference and the bench rule to
git show 274ccbd:PLAN.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 08:53:36 +03:00
ricoromaandClaude Opus 5.5 0d84af0a6a fix: close cheap known issues before final measurements
Skeleton contracts / contracts (push) Failing after 34s
Application / application (push) Failing after 12m13s
- reject inf/nan in every float setting; service.version 1.7.0
- close API storage clients within one 0.5 s window on shutdown
- SeaweedFS admin identity via -s3.config, no access key id in log
- RabbitMQ CLI distribution listener on loopback only
- fix timing-dependent checks: test_issue_not_after,
  test_hung_worker_lease_fencing, reconcile-cycle, reconcile-signal

User decision 2026-12-02: fix the cheap known issues; two scenarios
added to main specs directly, without an OpenSpec change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 22:13:22 +03:00
ricoromaandClaude Opus 5.5 7233d9af95 chore: update HAProxy 3.4.8, PostgreSQL 18.7 and Python 3.12.16 pins before soak end
Skeleton contracts / contracts (push) Failing after 29s
Application / application (push) Failing after 15m45s
- user decision 2026-12-02: no waiting for the 7-day soak, one-time exception
- drop triage entries the updates fixed (zlib, apt, krb5)
- record the CRL decision for storage clients and the fresh-image risk

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 21:22:41 +03:00
ricoromaandClaude Opus 5.5 7b2defab01 feat: audit the whole trust matrix in one command and complete the threat model
- make security_audit runs the existing negative checks per trust-matrix
  row plus an ingress TLS probe and prints one summary
- close the threat model TODOs and stale references
- re-take the coverage exclusion evidence on the lab 7 stand

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 07:08:10 +03:00
ricoromaandClaude Opus 5.5 2eed69a053 docs: archive track1-worker-compromise and sync its specs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 06:05:27 +03:00
ricoromaandClaude Opus 5.5 5a9721876e fix: address track1-worker-compromise verify findings
- restore a verified row by fact: three variants give ready, otherwise
  failed with a known code instead of ready without content
- check trigger functions are not SECURITY DEFINER and pin search_path
- record the working stand comparison, the permanent drill lock file and
  the remaining SeaweedFS details

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 05:50:36 +03:00
ricoromaandClaude Opus 5.5 4f2f940a07 feat: confine a compromised worker and drill its compromise end to end
- narrow the worker S3 user to staging reads and attachments writes
- add database rules the worker role cannot bypass: no return to pending,
  variant keys of its own attachment, known error codes only
- let the cleaner remove a ready source only after its own SHA-256 check
- add make jobs_audit [REPAIR=1] to name and requeue damaged jobs
- add make worker_compromise: isolated before/after stands, one operation
  table, response windows, job safety, controls and committed hypotheses

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 03:01:20 +03:00
ricoromaandClaude Opus 5.5 fa8f9a89d9 fix: refuse to work with a lost CA database and defer Ctrl+C until it is written
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 22:10:52 +03:00
ricoromaandClaude Opus 5.5 dfe5675c06 docs: archive rotation-revocation and sync its specs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 20:36:09 +03:00
ricoromaandClaude Opus 5.5 6cff34320f fix: address rotation-revocation final verify findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 20:14:42 +03:00
ricoromaandClaude Opus 5.5 10973231a0 fix: address rotation-revocation control verify findings
Keep the hold mark of an identity whose revocation has started whatever
signal ends pki.sh, refuse every rotation command while the files of a
held identity are missing, bound the handshake of the LB metrics port,
name sessions of another password until verify ends, and run Makefile
prerequisites in order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:19:42 +03:00
ricoromaandClaude Opus 5.5 d4a882ddd6 fix: address rotation-revocation re-verify findings
Name only the repeat of rotate_secret while sessions of the previous
PostgreSQL password may stay open, compare KV version time with the
container start when the load record is gone, refuse run_docker and
rolling_update next to a running rotation, defer SIGQUIT, and name the
remaining windows and cases in the trust matrix and threat model.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 12:40:25 +03:00
ricoromaandClaude Opus 5.5 6b637109de fix: address rotation-revocation verify findings
Close handshakes and logins that started before a revocation or a
password change, converge after a failure in any phase, survive a closed
terminal, lock parallel commands and make the drill detect a dead load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 10:11:17 +03:00
ricoromaandClaude Opus 5.5 c40fbef36a feat: rotate and revoke credentials on the running stand
Add operator commands for leaf and secret rotation, identity revocation
and CRL renewal without rebuilding images, and a drill under load.
A rejected PostgreSQL role password is now 503 instead of 500.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 06:46:55 +03:00
ricoromaandClaude Opus 5.5 4fde9cb4cf docs: compress AGENTS.md and move its details to .claude/reference
AGENTS.md had grown to 198k characters, far past what agents load per
session. Keep the invariants, pointers and main commands (27 KB); the
former file moves unchanged to .claude/reference/agents.md, which is read
on demand. Note the due triage reviews in the final step of PLAN.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 04:30:57 +03:00