Skip to content

projects: required assistant field (PyAutoBrain#362) - #23

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/cortex-assistant-entry
Sep 8, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/cortex-assistant-entry

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Cortex half of PyAutoLabs/PyAutoBrain#362 (paired with the Brain PR — merge the Brain PR first; this PR's refresh check renders through Brain main and stays red until then, then re-run it).

Every projects.yaml row now declares the domain assistant its work enters through: a new required assistant: field holding a workspace-relative repo name such as autolens_assistant, or none. check accepts none or a bare directory name (no /, never absolute) and stats nothing, so the CI render needs no assistant checkout. subhalo_validation and euclid_dr1_prelim declare autolens_assistant; every dormant and retired row (including the retired inference_programme) declares none. The Cortex names the assistant and never reads it; the Brain conductor renders it into the work briefs.

note: remains the one optional field. retire is unaffected (it line-edits only status: and note:).

API Changes

  • scripts/cortex.py: PROJECT_FIELDS gains assistant (required) and _finish_row validates it. Any projects.yaml outside this repo must add the field or check reports it missing.
    See full details below.

Test Plan

  • pytest tests — 126 passed (new: assistant required, accepts none and a bare name, rejects a path with /, an absolute path and an empty value; the live body map parses with subhalo_validation → autolens_assistant and inference_programme → none)
  • python3 scripts/cortex.py check — OK
  • dashboard.md / dashboard.html unchanged (--check current): no live task of either declaring project is in a work-shaped state today
Full API Changes (for automation & release notes)

Added

  • projects.yaml row field assistant: <name | none> — required; documented in the header comment and REFERENCE.md "projects.yaml"
  • cortex.py check rule: <key>.assistant must be 'none' or a bare workspace-relative directory name

Migration

  • Add assistant: none (or the assistant's repo name) to every row of any external projects.yaml; the skeleton fixture shows the placement after ledger:.

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AuStnf9YpNvDVdwkyaG81J

…work enters through (PyAutoBrain#362)

Every projects.yaml row now declares assistant: a workspace-relative repo
name such as autolens_assistant, or none. check accepts none or a bare
directory name and stats nothing. subhalo_validation and euclid_dr1_prelim
declare autolens_assistant; every dormant and retired row declares none.
The Cortex names the assistant and never reads it. note stays the one
optional field; retire is unaffected.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AuStnf9YpNvDVdwkyaG81J
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Sep 7, 2026
@Jammy2211

Copy link
Copy Markdown
Contributor Author

Paired Brain PR (merge first; this PR's refresh check renders through Brain main): PyAutoLabs/PyAutoBrain#367

@Jammy2211
Jammy2211 merged commit 02318d7 into main Sep 8, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/cortex-assistant-entry branch September 8, 2026 01:09
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Oct 7, 2026
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