Repository navigation
cortex: tasks, not phases — slug identity, ten-word Summary, board re-rendered - #21
Merged
Merged
Conversation
Science is unordered ideas, not a numbered sequence: phases/ → tasks/, the Phase: number is deleted, Summary: (≤10 words, the question the task answers) is required and checked, rulings point at Task:. Folds in the wording of #17. Refs #20. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EpM4gQikgEtCqpBJ3hzgct
Refs #20. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EpM4gQikgEtCqpBJ3hzgct
Refs #20. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EpM4gQikgEtCqpBJ3hzgct
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pairs with PyAutoLabs/PyAutoBrain#361.
Science is unordered ideas, not a numbered sequence. The Cortex now speaks tasks:
phases/→tasks/, thePhase: Nheader is deleted (and rejected bycheckas a retired key), the slug is the identity, and every task carries a required ten-wordSummary:— the question it answers — which is the line the board shows. Rulings point atTask:. The board is re-rendered on the new vocabulary, with every open task listed under its project one coloured line each (the rendering change is PyAutoBrain's PR, referenced below).Folds in the wording of #17 ("a submission is made on the human's ask"), which is closed as superseded.
Closes #20. Pairs with the PyAutoBrain PR on the same branch (
feature/cortex-tasks-not-phases).API Changes
scripts/cortex.py: thePhaseclass,PHASE_STATES,load_phases,phase_problems,move_phase,rule_phase,new_phaseare nowTask,TASK_STATES,load_tasks,task_problems,move_task,rule_task,new_task; task paths matchtasks/<project>/<slug>.md.checkrequiresSummary:(non-empty, ≤10 words) on every task and rejects aPhase:header on tasks and rulings.new <project> <slug>loses--phaseand gains the required--summary.Phase:→Task:; generated ruling title is# <R-id> — <verb> <project> <slug>.scripts/ledger_merge.pyand the four workflows filter ontasks/**.See full details below.
Test Plan
python3 scripts/cortex.py check→ OKpython3 -m pytest tests -q→ 125 passed (new: summary required / capped at ten words /Phase:dead /new --summary/ rulingTask:resolution)pyauto-brain cortex dashboard --applytwice,--checkreports currentdashboard.md## Projects— every open task one line, summaries legibleFull API Changes (for automation & release notes)
Removed
Phase:task header and the task number — the slug is the identity;DEAD_KEYSnames it retired.new --phase <n>; the duplicate-number refusal.phases/directory (moved, see Migration).Added
Summary:task header, required,SUMMARY_MAX_WORDS = 10, checked.new --summary "<≤10 words>"(required).Task: tasks/<project>/<slug>.md.docs/schema_decisions.mddecision 59 (2026-09-07: tasks not phases).Migration
phases/inference_programme/prodigy_mass_pix.mdwithPhase: 22; rulingPhase: phases/…;cortex.py new inference_programme foo --phase 24tasks/inference_programme/prodigy_mass_pix.mdwithSummary: Does a gradient search beat Nautilus on mass_pix; rulingTask: tasks/…;cortex.py new inference_programme foo --summary "…"batches/*.mdmember lines and ruling bodies still sayphases/…;inference_programmeslugsphase2_…–phase5_…name the programme's own phases, not Cortex numbers.Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code
https://claude.ai/code/session_01EpM4gQikgEtCqpBJ3hzgct