Skip to content

refactor: read/write Mind completions via complete/ records#123

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/retire-complete-ledger
Jul 16, 2026
Merged

refactor: read/write Mind completions via complete/ records#123
Jammy2211 merged 1 commit into
mainfrom
feature/retire-complete-ledger

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Repoints every PyAutoBrain reader/writer of Mind's completion history at the dated complete/ records — companion to PyAutoLabs/PyAutoMind#81 (the ledger retirement PR).

  • ship_library / ship_workspace: completion = draft the rich body to a temp file → lifecycle.py record <slug> --date --from-file --prompt --applylifecycle.py index --apply → drop the task's active.md entry. No more complete.md append (the drift-prone double write is gone).
  • memory faculty (_memory.py): digests PyAutoMind/complete/**/*.md records (excluding archive/, index.md, AGENTS.md) — citations now land on single records instead of one 6k-line file.
  • intake reconcile (_intake.py): path-reference + ## header topic-overlap signals now read record contents (skipping ## Original prompt headings); evidence strings cite the record path.
  • Docs/comments: WORKFLOW.md registry coupling, intake AGENTS/TAXONOMY/skill, register_and_iterate dependency check (greps complete/index.md), health.md, ORGANISM.md, organ docs, example.md.

API Changes

None — internal skills, faculty substrate and docs only.

Test Plan

  • _intake.py + _memory.py compile; intake reconcile runs against the retired-ledger Mind (38 suspects, evidence cites records)
  • memory faculty digest exercised: hits cite PyAutoMind/complete/<Y>/<M>/<slug>.md per record
  • No live complete.md references remain in the repo

Note: the memory faculty's PyAutoMemory surface glob is being fixed in the parallel memory-structure-cleanup PR (no file overlap with this diff).

Shipped through an unrelated Heart RED on explicit user authorization (recorded on PyAutoLabs/PyAutoMind#81; no library source touched).

Generated by the PyAutoLabs agent workflow.

…bs/PyAutoMind#81)

- ship_library/ship_workspace: completion = draft rich body -> lifecycle.py
  record --from-file + index --apply + drop the active.md entry (no ledger append)
- memory faculty digests complete/**/*.md records (excl. archive/index/AGENTS)
  instead of the retired complete.md
- intake reconcile cross-refs record contents + H2 headers; census/docs wording
- WORKFLOW.md, register_and_iterate, health, ORGANISM.md, organ docs updated

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 5d1e90e into main Jul 16, 2026
1 check passed
@Jammy2211 Jammy2211 deleted the feature/retire-complete-ledger branch July 16, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant