Skip to content

feat: PyAutoPulse organ row + boundaries (profiling organ phase 0) #463

Closed

Description

@Jammy2211

Overview

Phase 0 of the profiling-organ-birth epic: register PyAutoPulse (organ key pulse) as an organ of the organism — the cross-project profiling dashboard layer above the <lib>_profiling project repos, the same layering PyAutoEyes has over <lib>_visualization. This phase gives the organ its identity (body-map row, sibling-organ detection, boundary prose, decision record, empty repo clone) so phase 2 (skeleton) and phase 3 (cockpit transition) can land. Design authority: PyAutoBrain/docs/research/profiling_inference_organs.md (Brain #444) on ecosystem_levels.md (Brain #440). Heart at the door: GREEN 100.

Human decisions recorded 2026-10-02: name PyAutoPulse; fresh repo (created, public, empty); canonical organ order: after Hands, before Nerves (Brain, Mind, Cortex, Memory, Eyes, Heart, Hands, Pulse, Nerves, Gut); the config/policy.yaml boards: entry is deferred to phase 2 (Eyes precedent, Brain 6a65f21; avoids a dead Pages link and two board-order test edits).

Plan

  • Add the PyAutoPulse organ row to the Mind body map after Hands, regenerate every generated map block, organ table and session hook.
  • Teach Brain, Heart and Hands that PyAutoPulse is a sibling organ (root detection).
  • Write the organ's identity into Brain: ORGANISM.md row + growth-rule paragraph (fourth after Nerves, Cortex, Eyes), docs/organs/pulse.md, organ counts, one paragraph in the profiling conductor naming Pulse as the view and the conductor as the only judge.
  • Write the Mind decision record modelled on the Eyes one; update the epic.
  • Hub blurb on pyautolabs.github.io; clone the empty repo at organs/PyAutoPulse with the standard organ stubs.
  • Ship PRs in Cortex order Mind → Brain → Heart → Hands → hub, plus regenerated-map-block PRs to Cortex, Nerves, Gut and Scientist. Merge is human (/prm).
Detailed implementation plan

Affected Repositories

  • PyAutoMind (primary)
  • PyAutoBrain
  • PyAutoHeart
  • PyAutoHands
  • pyautolabs.github.io
  • PyAutoCortex, PyAutoNerves, PyAutoGut, PyAutoScientist (regenerated map block / organ table only)

Branch Survey

Repository Current Branch Dirty?
organs/PyAutoMind main untracked .worktrees/ only
organs/PyAutoBrain main clean (unregistered feature/heart-monitoring-coverage exists)
organs/PyAutoHeart main clean (same unregistered branch)
organs/PyAutoHands main clean
pyautolabs.github.io main clean
organs/PyAutoCortex main 5 modified (another session's check-in state; untouched here)
organs/PyAutoNerves main clean
organs/PyAutoGut main clean
organs/PyAutoScientist main clean

worktree_check_conflict exit 0 for all nine repos.

Suggested branch: feature/pyautopulse-organ-row — worktree ~/Code/PyAutoLabs-wt/pyautopulse-organ-row

Deviations from the draft prompt (checked against the Eyes precedent)

  1. organ: Pulse (display name, as organ: Eyes) — not pulse; the lowercase key is the boards/cockpit key only.
  2. Docs page is docs/organs/pulse.md (Eyes is docs/organs/eyes.md).
  3. Growth-rule paragraph names Nerves, Cortex, Eyes — Pulse is the fourth; Gut is not in it.
  4. boards: entry deferred to phase 2 (human decision above).
  5. organs/AGENTS.md is an untracked workspace-level file — local edit, no PR.

Implementation Steps

  1. PyAutoMind — repos.yaml: new organ row after the Hands row (before Nerves) with the Eyes key set: path: organs/PyAutoPulse, github: PyAutoLabs/PyAutoPulse, category: organ, organ: Pulse, role (from the spec "Decision" + "Ownership": owns the profiling instance registry, the versioned profiling-summary read contract, ingest receipts and the cross-project board; validates the exchange contract only; never moves pins, combines unmatched timings, applies the compile threshold to runtime, computes an ecosystem speed score or issues a Heart verdict; the Brain's profiling conductor is the only judge; project repos keep producers, results, drift policy and their own Pages page), public_role (one plain sentence). scripts/repos_sync.py:141 add "PyAutoPulse" to ORGANS. policy/session_start_hook.sh:134,138 add PyAutoPulse dir checks after Hands. ROUTING.md:52 add pyautopulse to the second-folder list. epics.md profiling-organ-birth status → phase 0 issued/in flight. New complete/2026/10/pyautopulse-organ-decision.md modelled on complete/2026/09/pyautoeyes-organ-decision.md (header block; sections: demonstrated need, Decision (human, 2026-10-02) incl. order + boards deferral, Why an organ — the growth rule, Boundaries vs profiling conductor / project repos / Heart / Mind, Lifecycle note). Then python3 scripts/repos_sync.py --write from the task bundle (NB memory: run it where every organ checkout is the task worktree, not canonical; the resulting Cortex/Nerves/Gut/Scientist diffs are the sibling map-block PRs). Witness --check green except the pre-existing hub-blurb leg.
  2. PyAutoBrain — agents/_pyauto_root.py:60 and bin/_pyauto_root.sh:87 add PyAutoPulse to SIBLING_ORGANS/_pyauto_is_root; bin/clean_slate.sh:84 note Pulse like Eyes (no datasets to wipe); ORGANISM.md:19 table row after Hands + growth-rule paragraph (line ~98) fourth capability; docs/concepts/organism.md:16,37,60 row, doc link, instance-organ list; new docs/organs/pulse.md (sections mirroring eyes.md: defining function / Instances / driver split / What it never does / For an adopter); docs/index.md:5 count ten + toctree entry organs/pulse after hands; README.md:82 ten organs; docs/satellites.md organism-repos row; agents/conductors/profiling/AGENTS.md + skills/profiling/profiling.md: one paragraph — Pulse holds the cross-project view, the conductor judges (triage); tests/test_policy_seams.py:104 WITNESS_EXEMPT["PyAutoPulse"] = "organ row born 2026-10-02 (profiling-organ-birth phase 0); phase 2 adds tests/ and the witness row". boards: NOT touched. pytest green.
  3. PyAutoHeart — heart/_workspace.py:75 + heart/_workspace.sh:91 sibling lists; config/repos.yaml organism: list entry - name: PyAutoPulse / owner: PyAutoLabs after Hands. pytest green.
  4. PyAutoHands — autohands/_workspace.py:45 sibling list. pytest green.
  5. pyautolabs.github.io — index.html:328 organ link after Hands; :346 one-sentence Pulse prose next to the Eyes sentence. PyAutoScientist README table regenerated by --write. .github org-profile row: human.
  6. Local — git clone https://github.com/PyAutoLabs/PyAutoPulse organs/PyAutoPulse; stubs: AGENTS.md with repos_sync:map markers (so --write fills it), CLAUDE.md (# PyAutoPulse — agent instructions + @AGENTS.md), README.md, LICENSE (MIT, as Eyes); first commit "Initial stub"; push.
  7. Register the untracked workspace organs/AGENTS.md row locally.

Key Files

  • organs/PyAutoMind/repos.yaml — body map; the single source of organ identity
  • organs/PyAutoMind/scripts/repos_sync.py — ORGANS, map blocks, organ tables, hook copies
  • organs/PyAutoBrain/ORGANISM.md — organ table + growth rule
  • organs/PyAutoBrain/docs/organs/eyes.md — model for pulse.md
  • organs/PyAutoMind/complete/2026/09/pyautoeyes-organ-decision.md — model for the decision record
  • organs/PyAutoBrain/docs/research/profiling_inference_organs.md — role text source

Testing

python3 scripts/repos_sync.py --check (Mind); pytest in Brain, Heart, Hands; grep -r PyAutoPulse across the generated map blocks confirms every organ names it; heart_feed.py/readiness consulted before ship.

Original Prompt

Click to expand starting prompt

Profiling organ phase 0 — name the organ, register its row, write its boundaries

Type: feature
Target: PyAutoMind
Repos:

  • PyAutoMind
  • PyAutoBrain
  • PyAutoHeart
  • PyAutoHands
  • pyautolabs.github.io
    Themes:
  • profiling
  • mind-workflow
    Difficulty: medium
    Autonomy: supervised
    Priority: high
    Status: draft
    Consequence: judge
    Witness: python3 PyAutoMind/scripts/repos_sync.py --check green (hub-blurb leg aside) with the new organ row; every generated repos_sync:map block and organ table names the organ; config/policy.yaml boards: lists it; Brain/Heart/Hands pytest green
    Review-minutes: 15
    Unattended: never
    Filed: 2026-10-02
    Epic: profiling-organ-birth
    Phase: 0

Phase 0 of the profiling-organ-birth epic. Human-gated: the gh repo create, and the .github org-profile row are human acts. Gates
phases 2 and 3 (the organ skeleton needs the repo; the cockpit transition
needs the organ identity). Phase 1 (the project-side summary contract in
autolens_profiling) does not wait on this phase.

Request (verbatim)

Yesterday we filed an intake about building a pyauto organ (name tbh) which
is the dahsboard layer above the _profiling repos. Can we begin that work

Context

The architecture is decided and recorded; this phase executes it, it does not
re-derive it:

  • PyAutoBrain/docs/research/ecosystem_levels.md (Brain feat: admit, stage and validate the state.json cockpit feed (PyAutoBrain#418) #440) — library /
    project / organ as responsibility roles, not a containment hierarchy.
  • PyAutoBrain/docs/research/profiling_inference_organs.md (Brain ledger merge: claude/profiling-wiki-phase-2-b8vtjm needs a human #444) —
    the profiling organ's read contract: an instance registry, a versioned
    profiling-summary domain contract produced by each *_profiling project,
    a cross-project dashboard, and a cockpit feed. The organ validates the
    exchange contract; the project validates domain semantics. It never moves
    pins, combines unmatched timings, applies the compile threshold to runtime,
    computes an ecosystem-wide speed score or issues a Heart verdict.
  • complete/2026/09/pyautoeyes-organ-decision.md + pyautoeyes-birth-organ-row.md
    — the precedent: Eyes is the cross-project dashboard over the
    <lib>_visualization project repos. The profiling organ is the same
    layering over the <lib>_profiling project repos.

Growth rule (PyAutoBrain/ORGANISM.md "Growth rule"): the organ earns its
repo by owning state no organ holds today — the profiling instance
registry
(which projects publish a summary, where, under which contract
version), the profiling-summary read contract, the ingest receipts
(resolved commit per project per render) and the cross-project board.
The Brain's profiling conductor stays where it is and remains the only judge
(triage); autolens_profiling keeps its producers, results, drift policy
and its own Pages dashboard. A dashboard alone does not make an organ; the
cross-project registry and contract do (spec, "Decision").

Today there is one real producer (autolens_profiling). The spec is
explicit: do not manufacture empty <lib>_profiling siblings to satisfy the
"second adopter" milestone; a fixture tests the reader early, a real second
project is phase 4 when one exists.

Human decisions this phase needs (answer on the issue)

  1. The organ's name — DECIDED 2026-10-02: PyAutoPulse, organ key pulse
    (human, verbatim: "lets go with PyAutoPulse"). The pulse is a rate read
    over time, which is what the run-time-over-release board shows. The
    cockpit key is pulse, not the legacy wire label profiling that
    autolens_profiling/dashboard/state.json emits today (spec, "Two
    interfaces": that label is not proof the project is an organ). History
    note from the human: a PyAutoPulse repo existed once and was renamed to
    PyAutoHeart; the name is free again and the new repo is a fresh create.
    Candidates not chosen: PyAutoMuscle, PyAutoReflex, PyAutoMetabolism.
  2. Fresh repo, not a rename. Unlike Eyes, nothing is promoted: the project
    repo stays a project. Human runs gh repo create PyAutoLabs/PyAutoPulse --public
    (the public-surface guard denies it to the agent).
  3. Canonical organ order. The human ruled 2026-09-25 that organs read Brain,
    Mind, Cortex, Memory, Eyes, Heart, Hands, Nerves, Gut. Where does the new
    organ sit? Default proposal: after Eyes (both are perception/dashboard
    organs), before Heart.

Task (phase 0)

One task worktree, PRs in the Cortex order Mind → Brain → Heart → Hands → hub:

  1. PyAutoMind: repos.yaml organ row (path: organs/PyAutoPulse, github: PyAutoLabs/PyAutoPulse, category: organ, organ: pulse, role, public_role
    — role text from the spec's "Decision" and "Ownership" sections, modelled on
    the Eyes row); ORGANS frozenset in scripts/repos_sync.py (~line 141);
    policy/session_start_hook.sh dir chains (~lines 134–140); ROUTING.md;
    epics.md profiling-organ-birth notes (name chosen, ledger repointed to
    PyAutoPulse/dashboard.md once phase 2 lands); decision record
    complete/2026/10/pyautopulse-organ-decision.md (what state the organ owns,
    boundaries against the profiling conductor, the project repos, Heart and
    Mind — modelled on pyautoeyes-organ-decision.md); then
    python3 scripts/repos_sync.py --write (map blocks, organ tables, hooks).
  2. PyAutoBrain: SIBLING_ORGANS (agents/_pyauto_root.py ~line 60 and
    bin/_pyauto_root.sh); ORGANISM.md organ-table row + boundary prose +
    growth-rule paragraph (the fourth capability to earn an organ, after Gut,
    Cortex, Eyes); docs/concepts/organism.md; new docs/organs/pyautopulse.md +
    toctree; README.md organ count; organs/AGENTS.md routing row;
    config/policy.yaml boards: family entry (so board/_board.py derives
    its Pages URL — no card yet, that is phase 3); profiling conductor prose
    (agents/conductors/profiling/AGENTS.md, skills/profiling/profiling.md):
    one paragraph naming the organ as where the cross-project view lives and
    the conductor as the judge. tests/test_policy_seams.py WITNESS_EXEMPT
    until phase 2 tests land.
  3. PyAutoHeart: _SIBLING_ORGANS (heart/_workspace.py, heart/_workspace.sh),
    config/repos.yaml organism list entry.
  4. PyAutoHands: _SIBLING_ORGANS (autohands/_workspace.py).
  5. pyautolabs.github.io index.html blurb; PyAutoScientist README
    table (generated); .github profile row (human).

Local: clone the fresh empty repo at organs/PyAutoPulse with the standard organ
stubs (AGENTS.md with repos_sync markers, CLAUDE.md → @AGENTS.md,
README.md, LICENSE). Content arrives in phase 2.

Out of scope

The registry, reader, dashboard and workflows (phase 2); the Brain board card
and the cockpit transition (phase 3); any change inside autolens_profiling
(phase 1); the inference organ (its own epic, not started).

Ship policy

Supervised: present the plan, open the issue, end at PR-open; merge is human
(/prm). If Heart is RED for reasons touching none of these repos, ship only
under a contemporaneous human RED override recorded in the four sinks.

Activity

  1. added a commit that references this issue on Oct 2, 2026
  2. Jammy2211 commented on Oct 2, 2026

    @Jammy2211
    CollaboratorAuthor

    Library PRs Created

    Repo PR
    PyAutoMind #465
    PyAutoBrain PyAutoLabs/PyAutoBrain#447
    PyAutoHeart PyAutoLabs/PyAutoHeart#269
    PyAutoHands PyAutoLabs/PyAutoHands#294
    pyautolabs.github.io PyAutoLabs/pyautolabs.github.io#23
    PyAutoCortex PyAutoLabs/PyAutoCortex#54
    PyAutoNerves PyAutoLabs/PyAutoNerves#181
    PyAutoGut PyAutoLabs/PyAutoGut#18
    PyAutoEyes PyAutoLabs/PyAutoEyes#12
    PyAutoScientist PyAutoLabs/PyAutoScientist#39

    Merge Mind first; then Brain → Heart → Hands → hub; Cortex/Nerves/Gut/Eyes/Scientist (generated blocks only) any time after Mind. PyAutoPulse first commit b449c80 is already pushed. Follow-ups after Mind merges: hook propagation to 32 non-task repos; .github org-profile row (human).

  3. Jammy2211 commented on Oct 2, 2026

    @Jammy2211
    CollaboratorAuthor

    Shipped

    Phase 0 of profiling-organ-birth merged 2026-10-02. PyAutoPulse (organ key pulse, display Pulse) is registered as an organ, canonical order after Hands, before Nerves.

    Merged PRs

    • PyAutoMind#465 — body-map row, ORGANS, hook dir chains, ROUTING, epic status, decision record complete/2026/10/pyautopulse-organ-decision.md, regenerated complete/index.md
    • PyAutoBrain#447 — SIBLING_ORGANS, ORGANISM row + growth rule (fourth capability), docs/organs/pulse.md, counts, profiling conductor prose, WITNESS_EXEMPT["PyAutoPulse"] (temporary)
    • PyAutoHeart#269 — sibling list + organism poll list (+ polled count test 27)
    • PyAutoHands#294 — sibling list
    • pyautolabs.github.io#23 — organ link + blurb
    • PyAutoCortex#54, PyAutoNerves#181, PyAutoGut#18, PyAutoEyes#12 — regenerated map block + hook
    • PyAutoScientist#39 — regenerated organ table + hook
    • PyAutoPulse first commit b449c80 pushed (AGENTS/CLAUDE/README/LICENSE stubs with repos_sync markers)

    CI notes. Mind's Tenant Firewall leg and Brain's witness-exemption test are coupled across repos (each reads the other's main); resolved without overrides by declaring Brain-ref: feature/pyautopulse-organ-row in the Mind PR body (reopened to re-fire the event), merging Mind, then re-running Brain Tests (green on 3.12 and 3.13). Heart was YELLOW 85 at ship (the new canonical clone's manifest drift, cleared by Mind#465; no-rehearsal), acknowledged by the human. Four PRs (hub, Cortex, Gut, Scientist) had no CI configured for their paths; the human approved their merge.

    Deferred by human decision. config/policy.yaml boards: pulse → phase 2 (also removes the Brain WITNESS_EXEMPT entry once tests land).

    Follow-ups

    • Hook propagation: repos_sync.py --write from canonical Mind main refreshes .claude/hooks/session-start.sh in the 32 repos outside this task.
    • .github/profile/README.md organ row (human).
    • Next: phase 2 — draft/feature/pyautopulse/profiling_organ_p2_skeleton_registry_reader_board.md.
  4. added 2 commits that reference this issue on Oct 25, 2026
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