Skip to content

chore: canonical organ order — Eyes after Memory, before Heart (pyautoeyes-birth) #439

Description

@Jammy2211

Overview

Phase 0 of pyautoeyes-birth (PyAutoMind#437) placed PyAutoEyes after Gut in every organ list. The human ruled on 2026-09-25 that the canonical organ order is Brain, Mind, Cortex, Memory, Eyes, Heart, Hands, Nerves, Gut: Eyes goes after Memory and before Heart. This task moves Eyes to that position in every hand-maintained list and regenerates every generated block. Nothing changes except the order.

Plan

  • Move the Eyes row in the Mind body map (repos.yaml) and the session-start hook chains to sit between Memory and Heart.
  • Reorder the hand-maintained sibling-organ lists and organ prose in Brain, Heart, Hands and the hub page.
  • Regenerate every generated block (map blocks, organ tables, Scientist README, root routing table) with repos_sync.py --write.
  • Hand-edit the unversioned organs/AGENTS.md. The .github org-profile table stays a human edit.
  • Witness: repos_sync.py --check passes the organism-map and organ-table legs with Eyes between Memory and Heart. A grep of SIBLING_ORGANS in Brain, Heart and Hands shows the same order.
Detailed implementation plan

Affected Repositories

  • PyAutoMind (primary)
  • PyAutoBrain, PyAutoHeart, PyAutoHands, pyautolabs.github.io, PyAutoScientist, PyAutoCortex, PyAutoNerves, PyAutoGut

Branch Survey

Repository Current Branch Dirty?
./PyAutoMind main clean
./PyAutoBrain main clean
./PyAutoHeart main clean
./PyAutoHands main clean
./pyautolabs.github.io main clean
./PyAutoScientist main clean
./PyAutoCortex claude/checkin-2026-09-19 dirty (7 science-ledger files from another session; the task worktree branches off origin/main)
./PyAutoNerves main clean
./PyAutoGut main clean

Suggested branch: feature/eyes-organ-order
Worktree: ~/Code/PyAutoLabs-wt/eyes-organ-order/

Implementation Steps

  1. PyAutoMind: move the PyAutoEyes row in repos.yaml so it sits after PyAutoMemory and before PyAutoHeart. Reorder the directory chains in policy/session_start_hook.sh.
  2. PyAutoBrain: reorder agents/_pyauto_root.py SIBLING_ORGANS and bin/_pyauto_root.sh. Also reorder the ORGANISM.md organ table, docs/concepts/organism.md, the docs/index.md toctree and the README.md organ list.
  3. PyAutoHeart: reorder heart/_workspace.py and heart/_workspace.sh.
  4. PyAutoHands: reorder autohands/_workspace.py.
  5. pyautolabs.github.io: reorder the index.html organism blurb.
  6. Run python3 PyAutoMind/scripts/repos_sync.py --write to regenerate the map blocks in Brain, Cortex, Nerves and Gut AGENTS.md, the Scientist README and the root routing table. The .github org-profile table is a human edit.
  7. Hand-edit organs/AGENTS.md. It is an unversioned root file, so tar a backup first.
  8. Verify: repos_sync.py --check (the hub-blurb leg is already red on main, and hook propagation may lag), then pytest for Brain, Heart and Hands.
  9. Note for phase 2: the policy.yaml boards and _theme.py must use the new order when they land.

Key Files

  • PyAutoMind/repos.yaml: the body map, which is the source of every generated block
  • PyAutoBrain/agents/_pyauto_root.py, PyAutoHeart/heart/_workspace.py, PyAutoHands/autohands/_workspace.py: the SIBLING_ORGANS lists
  • PyAutoBrain/ORGANISM.md: the organ table

Original Prompt

Click to expand starting prompt

Canonical organ order — Eyes after Memory, before Heart

Type: maintenance
Target: PyAutoEyes
Repos:

  • PyAutoMind
  • PyAutoBrain
  • PyAutoHeart
  • PyAutoHands
  • pyautolabs.github.io
  • PyAutoScientist
  • PyAutoCortex
  • PyAutoNerves
  • PyAutoGut
    Difficulty: small
    Autonomy: supervised
    Priority: high
    Lane: local-dev
    Status: draft
    Witness: python3 PyAutoMind/scripts/repos_sync.py --check organism-map/organ-table legs OK with Eyes between Memory and Heart in every generated block; grep of SIBLING_ORGANS lists in Brain/Heart/Hands shows the same order.
    Epic: pyautoeyes-birth
    Filed: 2026-09-25

Request (verbatim)

I just applied the patch, but I dont think Eyes belong after Gut, I think
they belong after Memory before Heart which should be the canonical order

Context

Phase 0 of pyautoeyes-birth (complete/2026/09/pyautoeyes-birth-organ-row.md,
PyAutoMind#437) appended Eyes after Gut everywhere. The human ruled on
2026-09-25 that the canonical organ order is:

Brain, Mind, Cortex, Memory, Eyes, Heart, Hands, Nerves, Gut

Files to reorder (the phase-0 touch list)

  • PyAutoMind: repos.yaml (move the Eyes row between Memory and Heart);
    policy/session_start_hook.sh directory chains.
  • PyAutoBrain: agents/_pyauto_root.py SIBLING_ORGANS;
    bin/_pyauto_root.sh; the ORGANISM.md table; docs/concepts/organism.md;
    the docs/index.md toctree; the README.md organ list.
  • PyAutoHeart: heart/_workspace.py and heart/_workspace.sh.
  • PyAutoHands: autohands/_workspace.py.
  • pyautolabs.github.io: the index.html blurb.
  • Then run repos_sync.py --write to regenerate the map blocks (Brain, Cortex,
    Nerves and Gut AGENTS.md), the Scientist README and the root routing table.
    The .github org-profile table is a human edit.
  • The organs/AGENTS.md root file is unversioned, so edit it by hand.

Note for later phases

The phase-2 items (the policy.yaml boards and _theme.py) must use the new
order when they land.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions