Skip to content

cortex: the board lists tasks, not phases — one line each, coloured - #361

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/cortex-tasks-not-phases
Sep 7, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/cortex-tasks-not-phases

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Pairs with PyAutoLabs/PyAutoCortex#21.

The Cortex board lists tasks, not phases — one line each, coloured. Under ## Projects every open task of a project is its own tap-to-copy row headed by its ten-word Summary: with a state pill: green for planned / ready / accepted, grey for gated, yellow for submitted / running / pulled / awaiting-ruling, red when any run failed. The "N more open phase(s)" fold and the Running / Ready / Gated sections and tiles are gone — the Projects block carries that information now; Awaiting ruling and Recent rulings stay. Paths render as solid accent chips with white text in both themes.

Consumes PyAutoCortex's tasks/ tree and Summary: header (PyAutoCortex PR on the same branch, closes PyAutoCortex#20). Folds in the wording of #360 ("a run is the human's call, not the human's keystroke"), which is closed as superseded.

API Changes

  • agents/conductors/cortex/_cortex.py: census key phases → tasks; rows carry summary and no phase number; collect --phase → collect --task; pull-manifest key phases_live → tasks_live; SECTIONS loses live, ready, gated; new TASK_ORDER and tone map; _fold_label, _project_phase_md, ready_groups, OPEN_ORDER removed.
  • agents/conductors/intake/_intake.py: _cortex_root probes for tasks/ (it probed phases/ and would have dropped every Cortex-gate badge from the Mind board); pill text "gates a Cortex task".
  • bin/pyauto-brain registry description, board/_board.py, docs/organs/cortex.md, skills/cortex/*, skills/COMMANDS.md, AGENTS.md, AUTONOMY.md follow.
    See full details below.

Test Plan

  • pytest tests/test_cortex_conductor.py → 88 passed (new: no fold, every open task rendered with its Summary, tone map incl. red on a failed run, removed headings absent on both twins, pathchip present with white ink in both schemes, Summary table has no Ready column)
  • pytest tests/test_intake_dashboard.py tests/test_intake_reconcile_ranking.py → 157 passed
  • full pytest tests → 917 passed
  • pyauto-brain cortex dashboard --apply twice against the PyAutoCortex branch, --check current
  • Reviewer: open the rendered Pages board in light and dark — chips white on pink, pills coloured, no fold
Full API Changes (for automation & release notes)

Removed

  • Sections live ("Running / submitted"), ready, gated and their stats tiles / anchors; Summary table Ready column.
  • _fold_label, the by-project <details> fold, _project_phase_md, ready_groups, OPEN_ORDER.
  • Every use of the task number (r["phase"]) on both twins and in project_digest.

Added

  • TASK_ORDER (awaiting-ruling, running, submitted, pulled, ready, gated, planned, rerun) and the state → pill-tone map; a failed / timeout / void run forces r.
  • rerun rows get a relaunch it chip so no open row is chipless.
  • .pathchip CSS: background:var(--accent);color:#fff, dark scheme darkens the fill (color-mix(in srgb,var(--accent) 55%,#000)).
  • Summary table column "Next task" shows that task's Summary.

Migration

  • Before: pyauto-brain cortex collect --phase phases/<p>/<slug>.md; census c["phases"], manifest phases_live
  • After: pyauto-brain cortex collect --task tasks/<p>/<slug>.md; census c["tasks"], manifest tasks_live

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EpM4gQikgEtCqpBJ3hzgct

Jammy2211 and others added 2 commits September 7, 2026 14:42
Every open task of a project is its own row headed by its ten-word
Summary with a state pill (green planned/ready/accepted, yellow live,
grey gated, red on a failed run); the "N more open phase(s)" fold and
the Running / Ready / Gated sections go, the Projects block carries
that information now. Paths render as accent chips with white text.
Folds in the wording of #360. Refs PyAutoCortex#20.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EpM4gQikgEtCqpBJ3hzgct
The human asked for white on the accent; the dark scheme's accent is
too bright for that (2.6:1), so the chip darkens its fill there rather
than swapping the ink. Refs PyAutoCortex#20.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EpM4gQikgEtCqpBJ3hzgct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant