Skip to content

Maintainer Notes

docs/AI records durable implementation details: contracts, design rationale, cache and artifact semantics, resolved failure modes, and maintenance guidance. The notes are grouped by the part of the repository that owns the behavior.

This index and the linked notes were audited against the working tree on 2026-08-10. Treat dated incident and tuning notes as historical evidence; the current contract is stated explicitly in each note.

Architecture

  • Public Markov state — state bits shared by environments, learned models, exact graphs, and shielding.
  • Safety abstractions — the per-agent safety projection used by runtime cost accounting and graph labelling.

Environments

Joint Graphs

World Model

Opponent Model

Shielding

Reinforcement Learning

  • JAX IPPO migration — shared trainer interfaces, cost handling, and notebook integration.
  • Discrete ICPO port — the repo-native constrained-policy implementation and compatibility decisions.
  • Frozen final-policy safety — restorable checkpoints, live survival estimates, and exact stationary-policy reachability.
  • Final-policy campaign report — all-algorithm frozen-policy aggregation, worst-seed safety gates, and exact baseline reachability joins.

Notebooks

Experiments and Presentation

  • Cluster submission scripts — Slurm/PBS dependency graphs, routing, validation, and deployment controls.
  • Export layout — histories, figures, and legend outputs.
  • Episodic reporting — canonical episode rows and paper/report graphs.
  • Visualisation styling — local plotting conventions and maintenance boundaries.
  • Clean timing run — exclusive amd48 nodes, one pinned core, fresh exports root; why the shared-node amd96 attempt was dropped.
  • Paper data audit (15 Oct 2026) — how every paper number was checked against the archive, the fixes, and what rests on documented analyses only.
  • Follow-ups F1, F2, F4 — post-AAMAS level-0 and exact-kernel shield ablations and Pursuit at 10 seeds: design, predeclared rules, verdicts.
  • Reward-safety frontier study (Oct 2026) — budget and cost-limit sweep, exact-kernel opponent-model control, and novelty-driven collection for the certified shield: designs and predeclared rules.
  • Successor world-model campaign — Stage 2A: which launcher runs which stage, per-stage memory, and how the comparison separates the world-model effect from a reproduction check.
  • World-model variant study — the Stage 1 kernel-estimator comparison, its shared fitting protocol, and the predeclared adoption gate.
  • Certified ambiguity study — the Stage 2B certificate-width and feasibility sweep, its stream-prefix counting protocol, and why the oracle stays diagnostic.
  • Reviewer diagnostics — always-on reports, optional bounded traces, artifact layout, and interpretation rules.
  • Evaluation and optimisation — staged OmSh baseline comparisons, variant prioritisation, and review assumptions.

Operations

  • Documentation — Zensical layout, navigation, validation, and the user/maintainer content split.
  • Test runtime — component ownership, changed-file selection, and fast/slow policy.
  • Logging — the shared Loguru-backed engine and file locking behavior.
  • Canonical interface cleanup — removed aliases, accepted artifact schemas, and required rebuilds.
  • Repository cleanup, Oct 2026 — lint, dead code, the shared stage game, ruff format; how each pass was verified and what was left alone

Maintenance Rules

  • Update an existing note when a contract changes; do not leave the old claim in place as if it were still current.
  • Put a new note in the narrowest owning subfolder and add it to this index.
  • Record the cache/version consequence whenever state, graph, safety, or shield semantics change.
  • Keep user instructions in the main Zensical pages under docs/; link here only when implementation depth is useful.
  • Validate documentation-only changes with uv run zensical build --strict and uv run python scripts/run_tests.py changed.