Repository navigation
Description
Overview
complete/index.md is the token-light entry point over 1223 finished-work records, generated by scripts/lifecycle.py index. Its hand-curated Highlights band (between <!-- CURATED:START/END -->) is still the placeholder _(curate hard-won records here — survives regeneration.)_. This task is the editorial pass the original prompt reduced to on 2026-08-09: pick the hard-won records and write one-line hooks so an agent can find "have we hit this before" in one page.
Plan
- Curate ~25–30 entries into the Highlights band under five theme headings (JAX/numerics/perf · Release/build/CI drift · Samplers/inference · Lensing science · Mind/Brain infra), reading each record's traps section before writing its hook.
- Fix
complete/AGENTS.mdto describe the link form the generator actually emits and state what earns a Highlights line. - Add one test proving a non-empty curated band survives
lifecycle.py indexregeneration byte-for-byte.
Detailed implementation plan
Work Classification
Library (Mind organ source + docs) — ships via /ship_library.
Affected Repositories
- PyAutoMind (primary)
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./PyAutoMind | main | clean |
Suggested branch: feature/complete-archive-highlights
Worktree root: ~/Code/PyAutoLabs-wt/mind-workflow/ (shared by the mind-workflow bundle; one branch at a time)
Implementation Steps
complete/index.md— replace the placeholder inside the CURATED markers with## Highlights+ five### <theme>groups of- [slug](2026/MM/slug.md) — hooklines. Hook style:autolens_assistant/wiki/literature/index.md(noun-phrase, ≤2 wrapped lines, no dates). Seed candidates:08/xla-cpu-eigen-pool-deadlock,08/delaunay-nan-probe-fix,05/cluster-f-jax-baseline-oom,08/border-relocator-degenerate-pca,08/sub-312-install-tombstone,08/spawn-drift-self-heal,08/tenant-firewall-drift-aug,08/autohands-firewall-allowlist,08/script-size-guard-git-based,08/overflow-flood-refs-smc-cell,08/nautilus-test-mode-degenerate-corner,08/ep-hierarchical-scale-collapse-guard,08/stored-sample-reconstruction-guard,08/adapt-linear-regularization,07/adapt-image-cache-mask-validation,04/skip-degenerate-radial-caustic,04/history-rewrite-guard,07/api-gate-clause-scope,07/agent-failure-modes,08/heart-red-guarded-sample-escape,08/organ-remote-block-and-uv-hook-repair,07/lifecycle-state-split. Read each record's## Traps…/## Lessonssection first; drop any that turn out not to carry a reusable lesson, add better ones found on the way.- The band must be exactly what
_render_indexre-emits (scripts/lifecycle.py:1371,_existing_curated:1407 —index --checkis a byte-for-byte round trip), so runpython3 scripts/lifecycle.py indexafter editing and commit the regenerated file. complete/AGENTS.md(lines ~20-21): the index uses markdown links[slug](path), not[[slug]]; add a short "what earns a Highlights line" rule — a trap that cost a session, a decision that will be re-asked, an architecture invariant.- Test (in the existing lifecycle test module under
tests/): build a tmp Mind with a curated band containing headings + links, runindex, assert the band is unchanged andindex --checkis clean.
Key Files
complete/index.md— the curated bandcomplete/AGENTS.md— lookup protocol + band rulescripts/lifecycle.py—_render_index,_existing_curated,cmd_index(read-only unless the round trip needs a fix)tests/test_lifecycle*.py— new round-trip test
Not in scope
Per-record tag blocks, per-theme sub-index pages, teaching the Brain memory faculty to read index.md first (note as a follow-up in the completion record).
Original Prompt
Click to expand starting prompt
Token-light wiki index over the complete/ archive
Type: feature
Target: PyAutoMind
Repos:
- PyAutoMind
- PyAutoBrain
Themes: - mind-workflow
Difficulty: medium
Autonomy: supervised
Priority: normal
Status: formalised
Filed: 2026-07-13 (backfilled from git)
Depends on
feature/pyautomind/lifecycle_state_split.md (Phase 1) — this needs
complete/YYYY/MM/<slug>.md per-task rich records to exist first. Do not
issue this until Phase 1 nears shipping (feedback_no_bulk_issue_queues).
2026-08-09 — SUBSTANTIALLY SHIPPED; only the curation is left
Checked by the draft/ sweep. Phase 1 shipped
([[lifecycle-state-split]], monolithic complete.md retired 2026-07-16, issue #81),
so the dependency above is long satisfied — and most of what this prompt asks for
shipped with it.
complete/index.md exists on main and already is the token-light index this
prompt specifies:
- 952 records linked, grouped by dated bucket.
- Its own header states the lookup protocol this prompt describes almost verbatim
— "read this, follow one or two links, and only then grep a dated bucket." - Generated, by
scripts/lifecycle.py index, withindex --checkgating
staleness in CI — so it cannot rot. - It has the curated band:
<!-- CURATED:START -->…<!-- CURATED:END -->,
documented as surviving regeneration. complete/AGENTS.md§ "How to look something up (token-light — RAG is dead)"
carries the same doctrine this prompt opens with.
What is actually left is the curation, not the machinery. The Highlights band
is empty — it reads _(curate hard-won records here — survives regeneration.)_.
So the remaining work is the editorial pass: pick the hard-won records worth
surfacing and write the one-line hooks, in the autolens_assistant/wiki style
this prompt says to study.
Re-scope before issuing: drop the "build the index" legs, keep the "curate it"
legs, and re-read § "Model to emulate" against what lifecycle.py index already
generates rather than against a blank slate. Difficulty: medium is now
generous.
Problem
Once complete/ holds hundreds of per-task records, an agent still can't look
up "have we hit this before / what did we learn about X" without reading many
files. We want the autolens_assistant/wiki model — a curated markdown index
with [[wiki-links]], not RAG / embeddings ("RAG is dead") — so lookup is
token-light: read one index page, follow one or two links, done.
Model to emulate — autolens_assistant/wiki
Study autolens_assistant/wiki/ before designing:
wiki/README.md— the "when to read / when to write which" table.wiki/literature/index.md— the token-light top-level nav: grouped
[[slug]]links with one-line hooks, nothing more.wiki/literature/AGENTS.md— the page schema (concepts/entities/sources page
types,[[wiki-link]]cross-refs) the assistant is told to follow.- Its provenance split:
core/generated from source,literature/
hand-curated,project/append-only journal.
Goal
Build complete/index.md + supporting index pages so an agent can navigate the
finished-work archive cheaply.
complete/index.md— the entry point. Grouped[[links]]with one-line
hooks (by theme: JAX/perf, release/build, samplers, lensing science, Mind/
Brain infra, …), plus a "by date" pointer to theYYYY/MM/tree.- Per-record front-matter / tags — each
complete/YYYY/MM/<slug>.mdgains a
small tag block (theme, repos touched, key traps) so the index generator can
bucket it. Cross-link related records with[[slug]](analogous to how the
auto-memoryMEMORY.md+[[name]]links already work — reuse that idiom). complete/AGENTS.md— schema + "how an agent should search the archive"
rules (read index → follow links → grep a dated bucket only if needed).
Wire a pointer into the top-level AGENTS.md router so the archive is
discoverable.
Generation + drift
- A generator (
scripts/lifecycle.pyextended, or a sibling) that (re)builds
complete/index.mdfrom the per-record tags — deterministic, so it can run in
--checkmode and fail CI on drift (mirrorsspawn_drift/ the Phase-1
lifecycle check). Hybrid allowed: generated skeleton + a hand-curated
"highlights / hard-won traps" section that survives regeneration (like the
assistant wiki's curated vs generated split). - Decide: fully-generated index (cheap, mechanical) vs curated (richer, ages).
Recommend generated skeleton + curated highlights band.
Open questions to settle at plan time
- Granularity: one flat
index.md, orindex.md+ per-theme sub-index pages
(only if the archive is big enough to warrant it)? - Does the memory faculty (
/memory, PyAutoMemory) already cover "what did we
learn" such that this index should link out to memories rather than
duplicate them? Reconcile withPyAutoBrainMemory Faculty so the archive
index and long-term memory don't fork.
Original request (verbatim)
As a follow up, I think we probbaly want to then build a wiki or indexing
scheme for the complete folder so its really easy for an agent to look up old
issues in a token light way, analogous to the wiki features used in
autolens_assistant (e.g. RAG is dead). This is actually quite a large task so
do some deep research on the plan.
Activity
prompt: file issues for mind-workflow bundle members (#368, #369, #370)
Jammy2211 commentedon Aug 29, 2026
PR opened: #371 — Heart YELLOW acknowledged by the human for the bundle (workspace-validation timeout autolens_test delaunay_mge.py; no release rehearsal), unrelated to this change. Tests: 282 passed. Next: /prm.
prompt: ship complete-archive-highlights (#368) → awaiting-merge
Jammy2211 commentedon Aug 30, 2026
Shipped
PR #371 — MERGED.
The token-light archive index shipped with lifecycle-state-split (2026-07); what this prompt still owed was the editorial pass. The
<!-- CURATED -->band ofcomplete/index.mdnow carries 30 records under JAX/numerics/perf · release/build/CI drift · samplers/inference · lensing science · Mind/Brain infrastructure, each with a one-line hook that states the reusable lesson, not the task.complete/AGENTS.mddescribes the link form the generator actually emits (markdown links, not[[wiki-links]]) and what earns a Highlights line. One test proves a curated band surviveslifecycle.py indexregeneration byte-for-byte.Validation:
lifecycle.py index --checkOK;lifecycle.py checkOK; PyAutoMind suite 282 passed (newtests/test_lifecycle_index.py, control-tested — a trailing blank line in the band fails it).Record: complete/2026/08/complete-archive-highlights.md
complete: complete-archive-highlights (#368) + repos-sync-config-chec…
prompt: /prm close-out — autolens_profiling#372/#373/#374 + PyAutoLen…