Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Canonical boundaries live in `PyAutoBrain/ORGANISM.md`; the full body map
| **Cortex** | PyAutoCortex | The Cortex — where the organism keeps track of what is true: the science body map (`projects.yaml`) and one ledger per science project (what was run, what came back, what was learned, where to pick up); the science mirror of the Mind (runs and a dated log, not prompts and PRs). |
| **Memory** | PyAutoMemory | Long-term scientific/software/project knowledge (see science pointer below). |
| **Eyes** | PyAutoEyes | The Eyes — where the organism sees what its figures look like: the cross-project visualization dashboard over the `<lib>_visualization` project repos (autolens_visualization, autogalaxy_visualization, autofit_visualization and autocti_visualization) — the registry of those repos, the tracked-manifest read contract (`gallery/viz_manifest.yaml`) and the Pages board that links to their PNGs as the single point of contact for the visual behaviour of the whole ecosystem. Renders nothing and copies no figures (the project repos render and hold them); never judges them (the Brain's Eyes conductor does) and never edits library plot code (critiques route through intake). |
| **Ears** | PyAutoEars | The Ears — the community listening organ: owns read-only public conversation collection, the versioned community snapshot contract, coverage receipts and the dashboard. GitHub conversations remain authoritative; Brain’s Community conductor owns judgement, reply drafts and development routing, and Mind owns task state. Never posts replies, labels or issues, exports raw transcripts or private sources, or treats unknown coverage as no work. |
| **Heart** | PyAutoHeart | Health/readiness — the authoritative "is it safe to release?" verdict. |
| **Hands** | PyAutoHands | Packaging, tagging, notebook generation, PyPI release execution. |
| **Pulse** | PyAutoPulse | The Pulse — where the organism feels how fast it runs: the cross-project profiling dashboard over the `<lib>_profiling` project repos (today autolens_profiling) — the instance registry, the versioned `profiling-summary` read contract (v1 live at `autolens_profiling/dashboard/summary.json`), the ingest receipts (resolved commit per project per render) and the Pages board. Validates the exchange contract only; never moves pins, combines unmatched timings, applies the compile threshold to runtime, computes an ecosystem-wide speed score or issues a Heart verdict, and never judges (the Brain's profiling conductor does); the project repos keep their producers, results, drift policy and their own Pages page. |
Expand Down
8 changes: 6 additions & 2 deletions ORGANISM.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ organs plan, build, test and release it, and you make every judgment call.
| **Cortex** | PyAutoCortex | Keeps track of *what is true* — the science body map (`projects.yaml`) and **one ledger per science project** (`## Now`, the `## Runs` on the cluster, a `## Log` that only gets longer); the science mirror of the Mind (runs and a dated log ↔ prompts and PRs). Not a task tracker: it records cluster facts and the human's words, never a verdict of its own. |
| **Memory** | PyAutoMemory | Long-term knowledge — *what the science says* (literature wikis, concepts, bibliographies). Operational history — *what the organism did* — lives in Mind (the `complete/` records, issues), not here. |
| **Eyes** | PyAutoEyes | Sees *what the figures look like* across the `<lib>_visualization` project repos. Owns the instance registry, the manifest read contract and the dashboard that links to project-owned PNGs. Project repos own producers, render harnesses, figures and manifests; Eyes renders no figures and copies none. The Brain's Eyes conductor drives review and judgment; accepted critiques route through intake, never directly into library plot code. |
| **Ears** | PyAutoEars | The Ears — the community listening organ: owns read-only public conversation collection, the versioned community snapshot contract, coverage receipts and the dashboard. GitHub conversations remain authoritative; Brain’s Community conductor owns judgement, reply drafts and development routing, and Mind owns task state. Never posts replies, labels or issues, exports raw transcripts or private sources, or treats unknown coverage as no work. |
| **Heart** | PyAutoHeart | Determines whether the organism is healthy. `pyauto-heart readiness` is the **authoritative** GREEN/YELLOW/RED "is it safe to release?" gate. An observer: never writes into other repos, never triggers Build. |
| **Hands** | PyAutoHands | Builds and releases — packaging, tagging, notebook generation, PyPI via `release.yml`. A pure executor: runs no readiness checks and never re-derives a gate decision. |
| **Pulse** | PyAutoPulse | Feels *how fast the organism runs* across the `<lib>_profiling` project repos. Owns the profiling instance registry, the versioned `profiling-summary` read contract, the ingest receipts (resolved commit per project per render) and the cross-project board. Validates the exchange contract only; project repos own producers, results, pins, drift policy and their own Pages page. Never moves pins, combines unmatched timings, applies the compile threshold to runtime, computes an ecosystem-wide speed score or issues a readiness verdict; the Brain's profiling conductor (`triage`) is the only judge. |
Expand Down Expand Up @@ -99,7 +100,7 @@ human types); let faculties multiply behind them.
New capability grows as a **faculty** (cheap: one directory, one doc, one
script), not as a repo. A new organ costs an `AGENTS.md`, a `CLAUDE.md` stub,
install wiring, a body-map row and boundary prose — it must earn that by
owning state or effects no existing organ can. Four capabilities have earned
owning state or effects no existing organ can. Five capabilities have earned
organ status that way. Configuration/signalling is the **Nerves**
(PyAutoNerves), the base config/serialization layer every library imports — new
config surfaces belong there, not in a new organ. Keeping track of what is
Expand All @@ -115,7 +116,10 @@ runs is the **Pulse** (PyAutoPulse), the fourth: the same layering over the
`<lib>_profiling` project repos — it owns the profiling instance registry, the
versioned `profiling-summary` read contract, the ingest receipts and the
cross-project board, while each profiling project keeps its producers, results
and drift policy and the Brain's profiling conductor stays the only judge. A
and drift policy and the Brain's profiling conductor stays the only judge. Community listening is the **Ears** (PyAutoEars), the fifth: it owns the
versioned public conversation snapshot, collection coverage receipts and board.
GitHub owns conversations; Brain owns judgement and approved response routing;
Mind owns tasks. Unknown or stale coverage never becomes a no-work claim. A
dashboard alone does not
waive the state-or-effects requirement for a new organ. The human interaction
layer is the command surface (`/route` + the verb commands), which is part of
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ the linked canonical file retains the full instructions. Commit the generated
adapters with the skill. Regeneration checks name collisions across the installed
repository inventory and refuses conflicting user-owned destinations.

The ten organs the Brain coordinates — Brain (reasoning), Mind (intent),
The eleven organs the Brain coordinates — Brain (reasoning), Mind (intent),
Cortex (learning what is true), Memory (knowledge), Eyes (seeing the
figures), Heart (health), Hands (release), Pulse (feeling how fast it runs),
figures), Ears (community listening), Heart (health), Hands (release), Pulse (feeling how fast it runs),
Nerves (configuration), Gut (shedding) —
are defined once in
[ORGANISM.md](ORGANISM.md), which this
Expand Down
1 change: 1 addition & 0 deletions agents/_pyauto_root.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"PyAutoCortex",
"PyAutoMemory",
"PyAutoEyes",
"PyAutoEars",
"PyAutoHeart",
"PyAutoHands",
"PyAutoPulse",
Expand Down
59 changes: 27 additions & 32 deletions agents/conductors/community/AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Community agent

> **Tier: conductor** — a front-door agent you *drive*. The *Ears* — the
> **Tier: conductor** — a front-door agent you *drive*. Brain judgement over
> **PyAutoEars**, the
> organism's receptive language function: it hears the community (the
> Discussions hub where users ask, plus user-filed GitHub issues and pull
> requests across every repo) and drafts what the organism says back; the
Expand Down Expand Up @@ -35,7 +36,7 @@ gates every outward message.

| Mode | Surface | Consumed by |
|------|---------|-------------|
| `scan` *(default)* | the **Discussions hub**'s open threads (awaiting-response = no accepted answer and the last word is not ours, except Announcements and Show and tell, which remain ours to watch) + every `PyAutoMind/repos.yaml` repo → open issues **and PRs** authored by non-self humans (bots filtered), with **awaiting-response** detection (the conversation's last word is not ours) ranked by waiting time, plus open PRs with **review requested** from a self login (any author) | `/community` step 1; the board's community sensory leg |
| `scan` *(default)* | published Ears snapshot/state adapted to the existing scan JSON; observed response/review states, source gaps and freshness, without a second collection path | `/community` step 1; Brain board |
| `triage <ref>` | one discussion, issue or PR → context-sufficiency signals (code block, traceback, versions, expected-vs-actual, data pointer), missing-signal clarifying-question seeds, comment tail, route; a discussion ref routes to **answer in the thread** (a confirmed bug gets an issue with a link back); a PR ref adds the **change-shape block** (draft, files, +/-, requested reviewers, mergeable state, head→base) | `/community` steps 2–3 |

```
Expand Down Expand Up @@ -122,13 +123,15 @@ at test time and changed to `pyautolabs.slack.com` later on 2026-09-20;
the operator confirmed the new workspace name is PyAutoLabs. Slack redirects
the old URL to the new one. Use the rollback command above to disable delivery.

Repo enumeration comes from `PyAutoMind/repos.yaml` (the body map) under
`PYAUTO_ROOT`; the org is searched wholesale, non-org homes individually.
GitHub access is the `gh` CLI — `COMMUNITY_GH` overrides the binary (hermetic
tests), `COMMUNITY_SELF` the self logins (default `Jammy2211`),
`COMMUNITY_SEARCH_PAUSE` the inter-search sleep (default 2s — the scan makes
up to six search calls and GitHub's secondary rate limit trips on bursts). A
failed search degrades honestly (`degraded:` in the surface), never silently.
Collection and repository enumeration belong to PyAutoEars. Scan reads its
published `snapshot.json` and matching `state.json`; `COMMUNITY_EARS_URL`
overrides the public base for other deployments and offline fixtures.
Unavailable or malformed feeds exit 4; no fallback GitHub search runs. Stale
and cached response observations become unknown, retaining their recorded
value separately. Counts describe observations, never complete coverage.
Triage still uses `gh` (`COMMUNITY_GH` override); `COMMUNITY_SELF` supplies
maintainer logins for triage and compatibility grouping. `COMMUNITY_HUB`
retains the existing hub identity. Search pause/detail-cap options are retired.

## Fundamental principles

Expand Down Expand Up @@ -162,8 +165,8 @@ failed search degrades honestly (`degraded:` in the surface), never silently.
- **Conversation state lives on GitHub + Mind, never here.** Labels
(`needs-info`, `pending-release`) and the issue thread itself are the
conversation's memory; in-flight dev state is the `user-facing: true` entry
in `PyAutoMind/active.md`. The conductor owns no registry, no cache, no
paired repo.
in `PyAutoMind/active.md`. The conductor owns no registry or cache. PyAutoEars owns collection,
versioned evidence, receipts and the listening dashboard; Brain owns judgement.
- **Delegate the conversation's dev half.** Actionable issues route into
`/start_dev_for_user`, which already owns the receipt comment, the
clarification gate, the plan comment and the milestone cadence
Expand Down Expand Up @@ -193,24 +196,16 @@ failed search degrades honestly (`degraded:` in the surface), never silently.
- **vs the review faculty** — an external PR surfaced here routes to a
*human review with session-drafted comments*; the review faculty judges
only our own feature branches for the autonomous-ship gate, never
community PRs. Known v2 limit: awaiting-response reads PR *conversation*
comments — review-thread comments don't count as our reply yet.

## Capability audit — what the modes read

- **Discussions hub** (`gh api repos/<hub>/discussions`, `.../discussions/<n>`,
`.../discussions/<n>/comments`): the REST Discussions surface, read-only —
state, lock, category, `answer_chosen_at`, comment count, last commenter.
Served to remote sessions through the proxy (measured 2026-09-17).
- **GitHub search** (`gh api search/issues`): `org:PyAutoLabs` plus the
non-org homes from `repos.yaml`; three passes per qualifier group —
`is:issue is:open -author:<self>`, `is:pr is:open -author:<self>`, and
`is:pr is:open review-requested:<self>` — bot authors post-filtered on the
external passes.
- **Issue/PR conversation comments** (`gh api repos/<o>/<r>/issues/<n>/comments`):
last-actor detection for awaiting-response (capped at 30 items per scan)
and the triage comment tail.
- **Pull detail** (`gh api repos/<o>/<r>/pulls/<n>`): the triage change-shape
block for PR refs.
- **PyAutoMind `repos.yaml`**: the body map, parsed for `github:` homes
(regex, stdlib-only — the Brain takes no yaml dependency).
community PRs. Ears includes PR review evidence in its scan receipts;
the per-thread triage context is still a bounded read, not full history.

## Capability audit — what the current surface can observe

- **Published Ears evidence**: versioned public metadata only, matching
observation times and a freshness deadline. Source receipts and nullable
response state pass through. URLs must match canonical GitHub identities.
- **Discussion / issue / PR detail**: a selected thread's context and bounded
comment tail for human-led triage; no bulk collection in Brain.
- **Pull detail**: triage change shape (files, +/-, draft, reviewers, base/head).
- **Coverage limits**: Ears' current nested Discussion reply coverage is partial.
A successful read is not complete coverage, nor proof that work is delivered.
Loading
Loading