Skip to content

Latest commit

 

History

History
205 lines (159 loc) · 13.2 KB

queue.md

File metadata and controls

205 lines (159 loc) · 13.2 KB

Queue

The one file the human maintains by hand, and the only thing they have to think about between slots: what I want done next, roughly in order.

One writer: the human, in chat. In a chat that ran /queue (PyAutoBrain skills/queue), a pasted prompt, prompt path, task title or a dashboard row's 📋 text means "add it to the queue"; plain words add, remove, move or show entries. Every edit goes through scripts/queue_edit.py (which renumbers the headings 1..n, so a heading's number is the entry's rank) and lands as one commit, checked by lifecycle.py check. A removed entry moves to the ## Retired footer with shelved-as:, keeping its note. The published dashboard is read-only: it shows each queued task's ★ and rank. The goals behind the list live in goals.md.

Order is priority. There is no priority: field here — moving an entry up is the act of prioritising it. Nothing else about an entry needs to be true for it to sit in this file; the planner decides what is actually startable.

A batch is never composed here. pyauto-brain batch plan proposes the next one against a review-minute budget (PyAutoBrain/agents/conductors/batch/AGENTS.md), and the human approves or edits that proposal in their slot — they do not hand-pick members.

What the planner actually reads, and nothing else:

  1. this file — the kind: prompt entries, in file order;
  2. the draft/ backlog, graded through the sizing faculty;
  3. the review-queue depth, derived from active.md: a row naming an open PR (library-pr: / workspace-pr:) or whose status: says awaiting-merge / PR open. That is what "the open-PR state" means here — the ledger's own count, not a live one. Nothing in plan calls GitHub, and a shift stays plannable offline.

The order in this file is what the planner does with it: a queued prompt outranks an unqueued one, and among queued prompts the file's order wins. Below the queue it sorts by Priority:, then cheapest review first. An entry written against draft/… keeps its place after the prompt moves to active/.

Queuing an epic ledger queues its phases (PyAutoBrain#696). An entry whose ref is an epic's ledger (the file epics.md names as its - ledger:) makes every member of that epic count as queued at the ledger's place, so a shift takes the epic's next phase even when it is medium or spans several repos. The other gates still apply: phase order, Autonomy: human-required, Unattended:, Blocked-by:, Witness and lane. batch plan, brief --check and the shift digest say, per queued epic, what it gave or why nothing did. Queue a single phase prompt to queue only that phase.

An empty list stops a shift (M2.3, PyAutoBrain AUTONOMY.md "M2 rulings — 2026-11-12"): with no live entry here an unattended shift takes its brief's named tasks and dips into no backlog. Every ref is checked: scripts/lifecycle.py check fails on a kind: prompt ref that resolves to no draft/ or active/ prompt, so lifecycle.py close moves an entry whose work has shipped to the footer below.

An entry leaves the queue when its work reaches complete/, not when it is dispatched. A task in flight is still the thing the human wants.

Schema

## <n>. <label>
- kind: prompt | retired
- ref: draft/<work-type>/<target>/<name>.md    # kind: prompt
- note: <one line, optional>

Two kinds. prompt is a named prompt file — the live case, and the only one pyauto-brain batch plan reads. retired is an entry that has left the queue (shipped, shelved, or moved to the Cortex) but whose note is worth keeping, because what the human wanted and why it stopped being wanted is the queue's only history. Retired entries carry the pointer that replaced them (shipped-as: / shelved-as: / moved-to:) and live in the footer, not the ordered list.

The two non-prompt kinds — "the named epic's next phase" and "anything ready on this theme" — were removed on 2026-09-03. Both were written for science epics, which now live in the Cortex, and no code ever read them (_batch.py globs draft/**/*.md). The optional lane field went with them: where the work can run is a Cortex phase-header key now (PyAutoCortex/REFERENCE.md), and every Cortex phase is local-dev by construction.

4. Likelihood lifecycle epic: optimal setups baked into PyAutoLens, Pulse/Insight day zero, and one repeatable profiling → inference → gradient → sampler sequence per likelihood

  • kind: prompt
  • ref: draft/research/autolens_profiling/likelihood_lifecycle_epic.md

5. HPC campaign epic: run large modelling campaigns efficiently, token-cheaply and low-carbon

  • kind: prompt
  • ref: draft/research/autofit/hpc_campaign_epic.md

6. Results library — index, complete, export and ship thousands of PyAutoFit results

  • kind: prompt
  • ref: draft/feature/autofit/results_library_epic.md

7. CTI upkeep parity — bring PyAutoCTI and its satellites to the same level of upkeep as the other libraries

  • kind: prompt
  • ref: draft/maintenance/autocti/cti_upkeep_epic.md

Retired

Entries that have left the queue. Kept for the record of what was wanted and what replaced it; batch plan ignores them.

SED chain waveband fit can spin forever in Nautilus exploration (343381_8 nir_y, 40k calls, plateau) — cap the search so one band cannot block a tile's whole chain

  • shipped-as: complete/2026/11/sed-waveband-search-cap.md (2026-11-24)
  • note: follow-up of the 2026-11-20-am review (Q17 = a): wall-clock cap — PyAutoFit af.Nautilus timeout first, then the pipeline PR (#136) — retired by lifecycle.py close

test_latent_euclid_variables_traces_under_jax_jit went red on main: total_source_flux differs by 6% between jax.jit and NumPy

  • shipped-as: complete/2026/11/latent-total-source-flux-jax-vs-numpy-regression.md (2026-11-23)
  • note: follow-up of the 2026-11-20-am review (Q18 = a): close #137 as fixed upstream; file the hpc/sync items as their own prompt — retired by lifecycle.py close

SLaM simultaneous subhalo grid search fits last band only

  • shipped-as: complete/2026/11/slam-simultaneous-subhalo-grid-search.md (2026-11-22)
  • note: follow-up of the 2026-11-20-am review (Q19 = a): resume branch feature/slam-simultaneous-subhalo-grid-search with the merged PyAutoFit fix (#1791) — retired by lifecycle.py close

SearchGridSearch over a FactorGraphModel crashes in make_result

  • shipped-as: complete/2026/11/grid-factor-results.md (2026-11-22)
  • note: follow-up of the 2026-11-20-am review (Q19): PyAutoFit make_result KeyError on a grid search over a FactorGraphModel; unblocks autolens_workspace#683 — retired by lifecycle.py close

Release board run_logs enrichment

  • shelved-as: draft/feature/pyautohands/release_board_run_logs_enrichment.md — off the queue 2026-11-16; queue cleared by human 2026-11-16
  • note: notify, low priority filler for a quiet shift — retired by a /queue chat

PyAutoLens primary-beam persistence mirror

  • shelved-as: draft/feature/autolens/interferometer_primary_beam_persistence_mirror.md — off the queue 2026-11-16; queue cleared by human 2026-11-16
  • note: notify; docstring line plus one round-trip test — retired by a /queue chat

Regenerate autolens_workspace markdown for sigma_min

  • shelved-as: draft/docs/autolens_workspace/markdown_regeneration_sigma_min.md — off the queue 2026-11-16; queue cleared by human 2026-11-16
  • note: notify; seven curated pages show the pre-sweep MGE idiom — retired by a /queue chat

Duplicate Galaxy pytree registration after a JAX Fitness

  • shelved-as: draft/bug/autoarray/galaxy_duplicate_pytree_registration_after_jax_fitness.md — off the queue 2026-11-16; queue cleared by human 2026-11-16
  • note: small library bug with a reproduce-first witness — retired by a /queue chat

prompt_sync_push explicit-paths follow-ups (M1.2)

  • shelved-as: draft/maintenance/pyautomind/prompt_sync_explicit_paths_followups.md — off the queue 2026-11-16; queue cleared by human 2026-11-16
  • note: programme — touches autolens_profiling, so it parks STALE under the scoped gate until the unpolled-repos ruling — retired by a /queue chat

Brain board hygiene ledger (SIG-3)

  • shelved-as: draft/feature/pyautobrain/brain_board_hygiene_ledger.md — off the queue 2026-11-16; queue cleared by human 2026-11-16
  • note: programme side lane (state-table row); gives the shift digest a hygiene trend to point at — retired by a /queue chat

Premise check and lane inference follow-ups (M1.3)

  • shelved-as: draft/feature/pyautobrain/premise_check_followups.md — off the queue 2026-11-16; queue cleared by human 2026-11-16
  • note: programme — the premise gate decides what an unattended shift may dispatch; fix the false-lane and stale-GONE cases first — retired by a /queue chat

autolens_workspace Model bullet parameter counts

  • shipped-as: complete/2026/11/model-bullet-parameter-count-drift.md (2026-11-16)
  • note: notify; four named docstring sites, witness is a parse-and-compare script — retired by lifecycle.py close

plot.rst missing exports

  • shipped-as: complete/2026/11/plot-rst-missing-exports.md (2026-11-16)
  • note: docs-only autosummary fix in PyAutoLens and PyAutoGalaxy — retired by lifecycle.py close

positions_threshold test fixture off the symmetry axis

  • shipped-as: PyAutoLabs/PyAutoLens#861 → complete/2026/11/positions-threshold-fixture-off-axis.md (2026-11-14)
  • note: test-only; removes a solver tie-break flake — retired by the shift close-out (queue-retire)

Heart unit-test trend follow-ups (SIG-2)

  • shipped-as: complete/2026/11/unit-trend-followups.md (2026-11-14)
  • note: programme side lane; small chart fixes plus a golden-HTML pin — retired by lifecycle.py close

Stale enable_pytrees advice in the autofit_workspace MCMC script

  • shipped-as: autofit_workspace#185 → complete/2026/11/stale-enable-pytrees-register-model-advice-in.md (2026-11-14; merged unattended by the warm-up shift, retired by the lead — the watcher close-out does not retire queue entries)
  • note: library half done; workspace leg only — retired by lifecycle.py close

numba solve vs JAX sparse operator

  • shipped-as: PyAutoArray#513 → complete/2026/09/numba-vs-jax-sparse.md (2026-09-01)
  • note: review intake 2026-08-31 — same linear algebra? GPU-JAX amenable or CPU-sparsity-bound? The research verdict closed the issue on 2026-09-01 and the prompt was absorbed into its record; the live entry kept a dangling draft/ ref until the M2.3 check found it and it was retired 2026-11-12

Witness campaign

  • shipped-as: PyAutoMind#398 → complete/2026/09/witness-campaign.md (2026-09-17)
  • note: highest-leverage backlog item (151/153 judge); human-declared witnesses only; fill work. Seven ledger passes gave 137 backlog prompts a human-declared Witness:; the queue entry kept a dangling draft/ ref until retired by the human on 2026-11-07

Retire parked-at-ship under --auto

  • shipped-as: PyAutoBrain#365 → complete/2026/09/batch-no-park-at-ship.md (2026-09-07)
  • note: human 2026-08-31 — "the parked thing is an annoying middle ground which requires human time"; the AUTONOMY.md doctrine edit shipped: an effective-supervised --auto run now decides-and-flags at the ship checkpoint instead of parking, and the batch planner rejects only human-required

Carried members formalisation

  • shelved-as: complete/archive/shelved/batch_carry_forward.md (2026-09-03)
  • note: the Cortex half shipped (_batch.py carried_members, carried:/carried-from: on the Cortex batch record); the dev half retired with the two-slot-batching epic

Subhalo validation follow-up wave

  • moved-to: PyAutoCortex phases/subhalo_validation/ (2026-09-01)
  • note: review tweak 2026-08-31 — human wants to inspect the _adapt_split_fix result; no subhalo[2]; RectangularBilinear runs. The wave is now four Cortex phases (one per lens); record complete/2026/09/subhalo-followup-moved-to-cortex.md

Euclid docs + structure tidy (phase 3a addendum)

  • ref: euclid-dr1-prep
  • shipped-as: euclid#47 → PR#48, complete/2026/09/restore-pipeline-narrative-prose.md (2026-09-01)
  • note: review tweak 2026-08-31 was folded into the phase-3 prompt and shipped with it — README structural edits, the scripts/tools/ move and the AGENTS.md shortening all landed in PR #48; the start_here.py contradiction was ruled at plan time (kept as a documented shim over initial_lens_model.fit)

Batches strip on the dashboard

  • shipped-as: PyAutoBrain#341 → complete/2026/09/batch-status-box.md (2026-09-03)
  • note: shipped as the batch status box on both dashboards; the prompt was folded into that record (2b5af675) and ref: no longer resolves — reconciled 2026-09-03

batch collect

  • shipped-as: PyAutoBrain#332 → PR#333, complete/2026/09/batch-collect.md (2026-09-02)
  • note: pyauto-brain batch collect shipped; the phase's remaining verb is re-filed as draft/feature/pyautobrain/batch_slice.md, since shipped (PyAutoBrain#591 → complete/2026/11/batch-slice.md)

Euclid Lane: recut

  • shipped-as: superseded by cortex-birth phase 5 (2026-09-02)
  • note: complete/archive/shelved/batch_science_lane.md is marked superseded; leg A (the Lane: recut) has no surface left — every Cortex phase is Lane: local-dev by construction