From 73e7ddcb9bebaf35a75e7a39e8230dfab3cb47a6 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 18:37:17 +0000 Subject: [PATCH 1/5] refactor(repos_sync): one declaration per generated marker block Eight check/write pairs collapse into GeneratedBlock declarations driving both the check registry and --write. 185 captured CLI invocations (every --only/--skip leg, error paths, every --write mode on a copied tree) are byte-identical before and after. New hermetic test pins the declarations and the check/write transcripts. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016nhQ8REafSSE74S71P4set --- scripts/repos_sync.py | 643 +++++++++++----------- tests/test_repos_sync_generated_blocks.py | 279 ++++++++++ 2 files changed, 586 insertions(+), 336 deletions(-) create mode 100644 tests/test_repos_sync_generated_blocks.py diff --git a/scripts/repos_sync.py b/scripts/repos_sync.py index 04be543a2..3cfbf88df 100644 --- a/scripts/repos_sync.py +++ b/scripts/repos_sync.py @@ -129,6 +129,8 @@ import re import subprocess import sys +from collections.abc import Callable +from dataclasses import dataclass from pathlib import Path import smoke_bootstrap_sync as smoke_sync @@ -996,265 +998,323 @@ def check_labels(root, repos): # -------------------------------------------------------------------------- -# Generated-block drift (the organism map is written into each organ) +# Generated marker blocks: one declaration per surface, driving check + --write # -------------------------------------------------------------------------- # -# The organism-map block is generated into any organ that opts in via the map -# markers. In practice that is PyAutoBrain, which is loaded in every session -# (web, mobile/code, local), so its auto-loaded AGENTS.md carries the map into -# every session's context — one copy, no per-organ duplication. Wherever a copy -# exists it must not drift from the manifest, so — mirroring how the command -# surface is checked by install.sh --check-agents-surface — this verifies each -# present map block still equals what system_map() generates. A block that was -# hand-edited, or left stale after a repos.yaml change without a --write, is -# reported as drift. - - -def check_map_blocks(root, repos, smap): - problems = [] - for name, repo in repos.items(): - if repo["category"] != "organ": - continue - agents = repo_checkout(root, name) / "AGENTS.md" - if not agents.exists(): - continue # not checked out, or an organ without its own AGENTS.md - text = agents.read_text() - if MAP_BEGIN not in text or MAP_END not in text: - continue # opt-in: an organ that has not added the map markers - if extract_block(text, MAP_BEGIN, MAP_END) != smap: - problems.append( - f"'{name}': organism-map block is stale — run " - f"`python3 PyAutoMind/scripts/repos_sync.py --write`" - ) - return problems - +# Every block below is text generated from one source (repos.yaml or a +# policy/*.md file) into N on-disk copies between a marker pair. Each surface +# is ONE `GeneratedBlock` declaration — its check-leg label, its markers, +# where its copies live, what fills them, and how a copy that is missing its +# markers is treated — and that declaration is what both the drift check +# (`check_block`) grades and `--write` (`write_blocks`) fills. Adding a +# generated surface is one more entry in GENERATED_BLOCKS plus its leg in +# main()'s check registry (which fixes the printed order). +# +# The shared contract: an absent file is skipped by both sides (a partial/web +# checkout won't carry every repo), and a present block must equal the +# generator byte-for-byte — a hand-edited block, or one left stale after a +# repos.yaml/policy change without a --write, is drift. What differs per +# surface is a copy that is present WITHOUT its markers: +# +# * opt-in (`missing=None`, no `anchor`) — skipped: the repo has not added +# the markers yet (organism map, history, remote-session); +# * required (`missing=`) — reported, and for `required=True` a hard +# --write error: the root routing table and WORKFLOW.md owner map must stay +# generated (they once went two organs and a role line stale while every +# check printed OK); a front-door README must carry the organ table (so a new +# organ can never silently drop out of the public front door); +# * self-installing (`anchor=`) — reported, never silently absent, and +# --write inserts the markers itself under the anchor block. The +# end-at-deliverable rule was already written down and still broken twice, +# and a collaborator's agent filing a user report as a repo issue happens in +# exactly the repos a rollout forgot, so waiting for each repo to opt in is +# how the long tail stays unprotected. A repo carrying neither pair is left +# alone (there is no non-arbitrary place to put the block) and named instead. + +STALE_HINT = "run `python3 PyAutoMind/scripts/repos_sync.py --write`" + + +@dataclass(frozen=True) +class BlockInputs: + """What the generated blocks render from: the manifest, the organism map + rendered from it, and the canonical policy texts. A caller grading or + writing one block need only supply what that block reads.""" + + repos: dict + categories: dict | None = None + smap: str | None = None + hpol: str | None = None + remote: str | None = None + deliverable: str | None = None + filing: str | None = None + + +@dataclass(frozen=True) +class GeneratedBlock: + """One generated marker-block surface (see the section comment).""" + + label: str # the check leg's printed label (Heart parses it — never rename) + begin: str + end: str + render: Callable # (BlockInputs, key) -> the exact text between the markers + stale: str # ": — run ... --write" + # Which copies exist, as keys in check/write order (default: every repo), + # where a key's copy lives (default: that repo's AGENTS.md), and how a + # problem names it (default: the quoted repo name). + keys: Callable = lambda repos: list(repos) + locate: Callable = lambda root, key: repo_checkout(root, key) / "AGENTS.md" + who: Callable = lambda root, key: f"'{key}'" + missing: str | None = None # problem for a markerless copy; None = opt-in + anchor: "GeneratedBlock | None" = None # self-install under this block + noun: str = "" # "no block", "after the block" + required: bool = False # --write hard-fails on a markerless copy + # Consecutive blocks sharing a group are written in one repo-major pass + # (every block of the group into one repo before the next repo). + write_group: str | None = None + + +def _shown(root, path): + return path.relative_to(root).as_posix() if path.is_relative_to(root) else path + + +ROUTING_TABLE = GeneratedBlock( + label="root AGENTS.md routing table (generated)", + begin=MARK_BEGIN, + end=MARK_END, + render=lambda inputs, _key: routing_table(inputs.categories, inputs.repos), + stale="routing table block is stale", + keys=lambda repos: ["AGENTS.md"], + locate=lambda root, _key: Path(root) / "AGENTS.md", + who=lambda root, _key: _shown(Path(root), Path(root) / "AGENTS.md"), + missing=f"no {MARK_BEGIN} / {MARK_END} block for the routing table", + required=True, +) -# The two `required=True` targets of --write — the workspace-root AGENTS.md -# routing table and PyAutoBrain/skills/WORKFLOW.md's owner map — had no check -# leg, so a repos.yaml change without a --write left the root table stale -# (missing two organs, stale role text) while check mode still printed OK. -# Same contract as the write: an absent file is skipped (partial/web checkouts -# carry neither), a present file without its markers is a problem (write would -# hard-fail on it), and a present block must equal the generator byte-for-byte. +OWNER_MAP = GeneratedBlock( + label="WORKFLOW.md owner map (generated)", + begin=MARK_BEGIN, + end=MARK_END, + render=lambda inputs, _key: owner_map(inputs.categories, inputs.repos), + stale="owner map block is stale", + keys=lambda repos: ["skills/WORKFLOW.md"], + locate=lambda root, key: bootstrap_checkout(root, "PyAutoBrain") / key, + who=lambda root, key: _shown( + Path(root), bootstrap_checkout(root, "PyAutoBrain") / key + ), + missing=f"no {MARK_BEGIN} / {MARK_END} block for the owner map", + required=True, +) +# Opt-in per organ. In practice PyAutoBrain carries it: its AGENTS.md is +# auto-loaded in every session (web, mobile/code, local), so one copy carries +# the map into every session's context with no per-organ duplication. +ORGANISM_MAP = GeneratedBlock( + label=MAP_BLOCKS, + begin=MAP_BEGIN, + end=MAP_END, + render=lambda inputs, _key: inputs.smap, + stale="organism-map block is stale", + keys=lambda repos: [n for n, r in repos.items() if r["category"] == "organ"], +) -def _check_required_block(root, path, label, expected): - if not path.exists(): - return [] # partial/web checkout: write skips it too - shown = path.relative_to(root).as_posix() if path.is_relative_to(root) else path - text = path.read_text() - if MARK_BEGIN not in text or MARK_END not in text: - return [f"{shown}: no {MARK_BEGIN} / {MARK_END} block for the {label}"] - if extract_block(text, MARK_BEGIN, MARK_END) != expected: - return [ - f"{shown}: {label} block is stale — run " - f"`python3 PyAutoMind/scripts/repos_sync.py --write`" - ] - return [] +# Universal and opt-in: single source (policy/never_rewrite_history.md) + this +# leg is what lets the safety text live inline in every repo without drifting. +HISTORY_BLOCK = GeneratedBlock( + label="never-rewrite-history blocks (generated)", + begin=HISTORY_BEGIN, + end=HISTORY_END, + render=lambda inputs, _key: inputs.hpol, + stale="never-rewrite-history block is stale", + noun="history", + write_group="policy", +) +# Opt-in, not mandatory, so a repo without the markers is skipped rather than +# failing a session (or a CI leg) that cannot see it — the honest state of this +# rollout; see the module comment on REMOTE_SESSIONS_FILE. +REMOTE_BLOCK = GeneratedBlock( + label="remote-session blocks (generated)", + begin=REMOTE_BEGIN, + end=REMOTE_END, + render=lambda inputs, _key: inputs.remote, + stale="remote-session block is stale", + write_group="policy", +) -def check_routing_table(root, categories, repos): - return _check_required_block( - Path(root), - Path(root) / "AGENTS.md", - "routing table", - routing_table(categories, repos), - ) +DELIVERABLE_BLOCK = GeneratedBlock( + label="end-at-deliverable blocks (generated)", + begin=DELIVERABLE_BEGIN, + end=DELIVERABLE_END, + render=lambda inputs, _key: inputs.deliverable, + stale="end-at-deliverable block is stale", + anchor=HISTORY_BLOCK, + noun="deliverable", + write_group="policy", +) -def check_owner_map(root, categories, repos): - return _check_required_block( - Path(root), - bootstrap_checkout(root, "PyAutoBrain") / "skills/WORKFLOW.md", - "owner map", - owner_map(categories, repos), - ) +def filing_block_excluded(repo_spec): + """A manifest entry carrying `filing_block: false` is out of scope for the + where-to-file block: neither written nor reported. A recorded exclusion, + not drift — the private single-user repo that carries it sits outside the + propagation job's reach, so reporting it would be a permanent red line.""" + return isinstance(repo_spec, dict) and repo_spec.get("filing_block") is False -def check_history_blocks(root, repos, hpol): - """Every AGENTS.md that opts into the repos_sync:history markers must carry - the canonical policy verbatim. Single source (policy/never_rewrite_history.md) - + this check is what lets the safety text live inline in every repo without - drifting.""" - problems = [] - for name in repos: - agents = repo_checkout(root, name) / "AGENTS.md" - if not agents.exists(): - continue - text = agents.read_text() - if HISTORY_BEGIN not in text or HISTORY_END not in text: - continue # opt-in: repo hasn't added the history markers yet - if extract_block(text, HISTORY_BEGIN, HISTORY_END) != hpol: - problems.append( - f"'{name}': never-rewrite-history block is stale — run " - f"`python3 PyAutoMind/scripts/repos_sync.py --write`" - ) - return problems - +# Self-installs one step further down: under the deliverable block. +FILING_BLOCK = GeneratedBlock( + label=FILING_BLOCKS, + begin=FILING_BEGIN, + end=FILING_END, + render=lambda inputs, _key: inputs.filing, + stale="where-to-file block is stale", + keys=lambda repos: [ + n for n, spec in repos.items() if not filing_block_excluded(spec) + ], + anchor=DELIVERABLE_BLOCK, + noun="where-to-file", +) -def check_remote_blocks(root, repos, remote): - """Same contract as the history block: opt in with the markers, and the copy - must then be the canonical text verbatim. +# The front-door READMEs; soft-skipped when the sibling repo is not checked +# out (the hub's prose blurb is presence-checked separately: check_hub_blurb). +PUBLIC_TABLES = GeneratedBlock( + label="public front-door organ tables (generated)", + begin=ORGANS_BEGIN, + end=ORGANS_END, + render=lambda inputs, rel: organ_public_table( + inputs.repos, bold=dict(PUBLIC_TABLE_TARGETS)[rel] + ), + stale="organ table stale", + keys=lambda repos: [rel for rel, _bold in PUBLIC_TABLE_TARGETS], + locate=lambda root, rel: public_target(Path(root), rel), + who=lambda root, rel: rel, + missing="no repos_sync:organs marker block (add the markers, then run --write)", +) - Opt-in, not mandatory, so a repo that has not added the markers is skipped - rather than failing a session (or a CI leg) that cannot see it. That is also - the honest state of this rollout — see the module comment on - REMOTE_SESSIONS_FILE.""" - problems = [] - for name in repos: - agents = repo_checkout(root, name) / "AGENTS.md" - if not agents.exists(): - continue - text = agents.read_text() - if REMOTE_BEGIN not in text or REMOTE_END not in text: - continue # opt-in: repo hasn't added the remote-session markers yet - if extract_block(text, REMOTE_BEGIN, REMOTE_END) != remote: - problems.append( - f"'{name}': remote-session block is stale — run " - f"`python3 PyAutoMind/scripts/repos_sync.py --write`" - ) - return problems +# Write order; main() lists the same blocks in its check registry. +GENERATED_BLOCKS = ( + ROUTING_TABLE, + OWNER_MAP, + ORGANISM_MAP, + HISTORY_BLOCK, + REMOTE_BLOCK, + DELIVERABLE_BLOCK, + FILING_BLOCK, + PUBLIC_TABLES, +) -def check_deliverable_blocks(root, repos, policy): - """Same one-source contract as the history block, but NOT opt-in silence. - - The other blocks skip a repo that has not added their markers, because a - repo can reasonably not carry them yet. This one is a safety rule that was - already written down somewhere and still broken twice, so a repo missing it - is the failure mode, not a pending nicety — a missing block is reported - rather than skipped, and the report says which of the two states it is in: - - * the history markers are there and the deliverable markers are not — - `--write` inserts the block itself, so the fix is to run it; - * neither marker pair is present — the repo carries no generated policy at - all, and a human has to place the markers before --write can fill them. - """ +def check_block(block, root, inputs): + """Grade every present copy of `block` against its render.""" problems = [] - for name in repos: - agents = repo_checkout(root, name) / "AGENTS.md" - if not agents.exists(): - continue # not checked out here - text = agents.read_text() - if DELIVERABLE_BEGIN in text and DELIVERABLE_END in text: - if extract_block(text, DELIVERABLE_BEGIN, DELIVERABLE_END) != policy: - problems.append( - f"'{name}': end-at-deliverable block is stale — run " - f"`python3 PyAutoMind/scripts/repos_sync.py --write`" - ) - elif HISTORY_BEGIN in text and HISTORY_END in text: + for key in block.keys(inputs.repos): + path = block.locate(root, key) + if not path.exists(): + continue # not checked out here: --write skips it too + text = path.read_text() + who = block.who(root, key) + if block.begin in text and block.end in text: + if extract_block(text, block.begin, block.end) != block.render( + inputs, key + ): + problems.append(f"{who}: {block.stale} — {STALE_HINT}") + elif block.missing is not None: + problems.append(f"{who}: {block.missing}") + elif block.anchor is None: + continue # opt-in: this copy has not added the markers yet + elif block.anchor.begin in text and block.anchor.end in text: problems.append( - f"'{name}': no deliverable block — run " - f"`python3 PyAutoMind/scripts/repos_sync.py --write` " - f"(it inserts one after the history block)" + f"{who}: no {block.noun} block — {STALE_HINT} " + f"(it inserts one after the {block.anchor.noun} block)" ) else: problems.append( - f"'{name}': no deliverable block — add the markers " - f"({DELIVERABLE_BEGIN} / {DELIVERABLE_END}) to its AGENTS.md, " - f"then run `python3 PyAutoMind/scripts/repos_sync.py --write`" + f"{who}: no {block.noun} block — add the markers " + f"({block.begin} / {block.end}) to its AGENTS.md, " + f"then {STALE_HINT}" ) return problems -def insert_deliverable_markers(root, repos): - """Place the deliverable markers under the history block where they are - missing, so `--write` can fill them on the same run. - - Only a repo that already carries the history markers is touched: that pair - proves the file has a generated-policy section and pins where the new block - belongs. A repo with neither pair is left alone (there is no non-arbitrary - place to put it) and named by `check_deliverable_blocks` instead.""" - for name in repos: - agents = repo_checkout(root, name) / "AGENTS.md" +def insert_block_markers(root, repos, block): + """Place `block`'s empty marker pair under its anchor block where it is + missing, so the same --write run can fill it. Only a copy that already + carries the anchor's end marker is touched: that marker proves the file has + a generated-policy section and pins where the new block belongs.""" + for key in block.keys(repos): + agents = block.locate(root, key) if not agents.exists(): continue text = agents.read_text() - if DELIVERABLE_BEGIN in text or DELIVERABLE_END in text: + if block.begin in text or block.end in text: continue - if HISTORY_END not in text: + if block.anchor.end not in text: continue # no anchor — reported by the check, not guessed at here text = text.replace( - HISTORY_END, - f"{HISTORY_END}\n\n{DELIVERABLE_BEGIN}\n{DELIVERABLE_END}", + block.anchor.end, + f"{block.anchor.end}\n\n{block.begin}\n{block.end}", 1, ) agents.write_text(text) - print(f"inserted deliverable markers: {agents}") + print(f"inserted {block.noun} markers: {agents}") -def filing_block_excluded(repo_spec): - """A manifest entry carrying `filing_block: false` is out of scope for the - where-to-file block: neither written nor reported. A recorded exclusion, - not drift — the private single-user repo that carries it sits outside the - propagation job's reach, so reporting it would be a permanent red line.""" - return isinstance(repo_spec, dict) and repo_spec.get("filing_block") is False +def write_blocks(root, blocks, inputs): + """Fill every copy of `blocks`, in order. A run of consecutive blocks + sharing a `write_group` is one repo-major pass; a self-installing block's + markers are inserted at the start of its pass.""" + passes = [] + for block in blocks: + if passes and block.write_group and block.write_group == passes[-1][0]: + passes[-1][1].append(block) + else: + passes.append((block.write_group, [block])) + for _group, members in passes: + for block in members: + if block.anchor is not None: + insert_block_markers(root, inputs.repos, block) + rows = {} + for block in members: + for key in block.keys(inputs.repos): + rows.setdefault(key, []).append(block) + for key, row in rows.items(): + for block in row: + write_block( + block.locate(root, key), + block.render(inputs, key), + block.begin, + block.end, + required=block.required, + ) -def check_filing_blocks(root, repos, policy): - """The where-to-file block: one source, N copies, and — like the - deliverable block — a repo missing it is reported, not skipped. +# The single-surface entry points the tests and the propagation workflow call. - A collaborator's agent that files a user report as a repo issue is the - failure mode, and it happens in exactly the repos a rollout forgot. The - report says which of three states the repo is in: - * the filing markers are there — the copy must be the canonical text; - * the deliverable markers are there and the filing markers are not — - `--write` inserts the block itself, so the fix is to run it; - * neither — a human has to place the markers before --write can fill them. - """ - problems = [] - for name, spec in repos.items(): - if filing_block_excluded(spec): - continue # recorded manifest exclusion - agents = repo_checkout(root, name) / "AGENTS.md" - if not agents.exists(): - continue # not checked out here - text = agents.read_text() - if FILING_BEGIN in text and FILING_END in text: - if extract_block(text, FILING_BEGIN, FILING_END) != policy: - problems.append( - f"'{name}': where-to-file block is stale — run " - f"`python3 PyAutoMind/scripts/repos_sync.py --write`" - ) - elif DELIVERABLE_BEGIN in text and DELIVERABLE_END in text: - problems.append( - f"'{name}': no where-to-file block — run " - f"`python3 PyAutoMind/scripts/repos_sync.py --write` " - f"(it inserts one after the deliverable block)" - ) - else: - problems.append( - f"'{name}': no where-to-file block — add the markers " - f"({FILING_BEGIN} / {FILING_END}) to its AGENTS.md, " - f"then run `python3 PyAutoMind/scripts/repos_sync.py --write`" - ) - return problems +def check_routing_table(root, categories, repos): + return check_block(ROUTING_TABLE, root, BlockInputs(repos, categories)) -def insert_filing_markers(root, repos): - """Place the filing markers under the deliverable block where they are - missing, so the same run can fill them. A repo without the deliverable - markers is left alone and named by `check_filing_blocks` instead.""" - for name, spec in repos.items(): - if filing_block_excluded(spec): - continue - agents = repo_checkout(root, name) / "AGENTS.md" - if not agents.exists(): - continue - text = agents.read_text() - if FILING_BEGIN in text or FILING_END in text: - continue - if DELIVERABLE_END not in text: - continue # no anchor — reported by the check, not guessed at here - text = text.replace( - DELIVERABLE_END, - f"{DELIVERABLE_END}\n\n{FILING_BEGIN}\n{FILING_END}", - 1, - ) - agents.write_text(text) - print(f"inserted where-to-file markers: {agents}") +def check_owner_map(root, categories, repos): + return check_block(OWNER_MAP, root, BlockInputs(repos, categories)) + + +def check_remote_blocks(root, repos, remote): + return check_block(REMOTE_BLOCK, root, BlockInputs(repos, remote=remote)) + + +def check_deliverable_blocks(root, repos, policy): + return check_block( + DELIVERABLE_BLOCK, root, BlockInputs(repos, deliverable=policy) + ) + + +def insert_deliverable_markers(root, repos): + insert_block_markers(root, repos, DELIVERABLE_BLOCK) + + +def check_filing_blocks(root, repos, policy): + return check_block(FILING_BLOCK, root, BlockInputs(repos, filing=policy)) def write_filing_blocks(root, repos, policy): @@ -1262,17 +1322,7 @@ def write_filing_blocks(root, repos, policy): and write nothing else. The narrow entry point the propagation workflow calls: a full `--write` would also regenerate the organism-map and other AGENTS.md blocks, which that job deliberately never commits.""" - insert_filing_markers(root, repos) - for name, spec in repos.items(): - if filing_block_excluded(spec): - continue - write_block( - repo_checkout(root, name) / "AGENTS.md", - policy, - FILING_BEGIN, - FILING_END, - required=False, - ) + write_blocks(root, [FILING_BLOCK], BlockInputs(repos, filing=policy)) def load_standards_policy(mind_root): @@ -1407,31 +1457,6 @@ def standards_coverage(root, repos): return len(seen), len(repos), absent -def check_public_tables(root, repos): - """Every front-door README's generated organ table must match the body map - (so a new organ can never silently drop out of the public front door). - Soft-skips a target that is not checked out.""" - problems = [] - for rel, bold in PUBLIC_TABLE_TARGETS: - path = public_target(root, rel) - if not path.exists(): - continue - text = path.read_text() - if ORGANS_BEGIN not in text or ORGANS_END not in text: - problems.append( - f"{rel}: no repos_sync:organs marker block " - "(add the markers, then run --write)" - ) - elif extract_block(text, ORGANS_BEGIN, ORGANS_END) != organ_public_table( - repos, bold=bold - ): - problems.append( - f"{rel}: organ table stale — run " - "`python3 PyAutoMind/scripts/repos_sync.py --write`" - ) - return problems - - def check_hub_blurb(root, repos): """The hub's prose organism blurb is not regenerated (it is grammar, not a table), but every organ name must appear in it. Soft-skips when absent.""" @@ -2919,14 +2944,24 @@ def main(): categories, repos = load_manifest(mind_root) unmapped = load_unmapped_checkouts(mind_root) - smap = system_map(categories, repos) - hpol = load_history_policy(mind_root) - remote = load_remote_sessions(mind_root) - deliverable = load_deliverable_policy(mind_root) - filing = load_filing_policy(mind_root) + inputs = BlockInputs( + repos, + categories, + smap=system_map(categories, repos), + hpol=load_history_policy(mind_root), + remote=load_remote_sessions(mind_root), + deliverable=load_deliverable_policy(mind_root), + filing=load_filing_policy(mind_root), + ) hook_text = load_session_hook(mind_root) deliverable_hook_text = load_deliverable_hook(mind_root) + def block_legs(*blocks): + return { + block.label: (lambda block=block: check_block(block, root, inputs)) + for block in blocks + } + # Lazy (label -> thunk) so --only pays for exactly the selected legs. checks = { smoke_sync.LABEL: lambda: smoke_sync.check( @@ -2944,29 +2979,18 @@ def main(): "local checkout origins": lambda: check_origins(root, repos), CHECKOUTS: lambda: check_checkouts(root, repos, unmapped, marker), "tenant firewall (organ code)": lambda: check_tenant_firewall(root, repos), - "root AGENTS.md routing table (generated)": lambda: check_routing_table( - root, categories, repos - ), - "WORKFLOW.md owner map (generated)": lambda: check_owner_map( - root, categories, repos - ), - MAP_BLOCKS: lambda: check_map_blocks(root, repos, smap), - "never-rewrite-history blocks (generated)": lambda: check_history_blocks( - root, repos, hpol - ), - "remote-session blocks (generated)": lambda: check_remote_blocks( - root, repos, remote - ), - "end-at-deliverable blocks (generated)": lambda: check_deliverable_blocks( - root, repos, deliverable + **block_legs( + ROUTING_TABLE, + OWNER_MAP, + ORGANISM_MAP, + HISTORY_BLOCK, + REMOTE_BLOCK, + DELIVERABLE_BLOCK, ), STANDARDS_BLOCKS: lambda: check_standards_blocks( root, standards_repos, standards ), - FILING_BLOCKS: lambda: check_filing_blocks(root, repos, filing), - "public front-door organ tables (generated)": lambda: check_public_tables( - root, repos - ), + **block_legs(FILING_BLOCK, PUBLIC_TABLES), "hub organism blurb (organs present)": lambda: check_hub_blurb(root, repos), "CLAUDE.md → AGENTS.md pointers": lambda: check_claude_md_pointers(root, repos), SESSION_HOOKS: lambda: check_session_hooks( @@ -3048,64 +3072,11 @@ def main(): # to the parent of a checkout, which is how --write reaches a root that # has none yet, and every later call takes the marker instead. write_root_marker(root, marker) - write_block(root / "AGENTS.md", routing_table(categories, repos), required=True) - write_block( - bootstrap_checkout(root, "PyAutoBrain") / "skills/WORKFLOW.md", - owner_map(categories, repos), - required=True, - ) - for name, repo in repos.items(): - if repo["category"] != "organ": - continue - write_block( - repo_checkout(root, name) / "AGENTS.md", - smap, - MAP_BEGIN, - MAP_END, - required=False, - ) - # The history policy is universal — written into every repo (not just - # organs) that has added the markers. - # - # The deliverable policy is universal AND self-installing: a repo that - # already carries the history block gets the markers placed under it - # here, so the block lands without thirty hand-edits. (The rule it - # carries was broken twice by sessions reasoning past prose; waiting for - # each repo to opt in is how the long tail stays unprotected.) - insert_deliverable_markers(root, repos) - for name in repos: - write_block( - repo_checkout(root, name) / "AGENTS.md", - hpol, - HISTORY_BEGIN, - HISTORY_END, - required=False, - ) - write_block( - repo_checkout(root, name) / "AGENTS.md", - remote, - REMOTE_BEGIN, - REMOTE_END, - required=False, - ) - write_block( - repo_checkout(root, name) / "AGENTS.md", - deliverable, - DELIVERABLE_BEGIN, - DELIVERABLE_END, - required=False, - ) - # The where-to-file block self-installs the same way, one step further - # down: under the deliverable block that the loop above just filled. - write_filing_blocks(root, repos, filing) - for rel, bold in PUBLIC_TABLE_TARGETS: - write_block( - public_target(root, rel), - organ_public_table(repos, bold=bold), - ORGANS_BEGIN, - ORGANS_END, - required=False, - ) + # Every generated marker block, in GENERATED_BLOCKS order. The history, + # remote-session and deliverable blocks are universal (every repo that + # has the markers, not just organs); the deliverable and where-to-file + # blocks also self-install their markers — see GeneratedBlock. + write_blocks(root, GENERATED_BLOCKS, inputs) remove_claude_md_pointers(root, repos) write_session_hooks(root, repos, hook_text, deliverable_hook_text) if write_enabled and not smoke_only_write and not standards_only_write: diff --git a/tests/test_repos_sync_generated_blocks.py b/tests/test_repos_sync_generated_blocks.py new file mode 100644 index 000000000..9e547d9f7 --- /dev/null +++ b/tests/test_repos_sync_generated_blocks.py @@ -0,0 +1,279 @@ +"""One declaration per generated marker block drives both check and --write. + +`repos_sync.GENERATED_BLOCKS` is the registry: each `GeneratedBlock` names its +check-leg label, its marker pair, where its copies live and what fills them, +and that one declaration is what the drift check grades and what `--write` +fills. These pin the refactor that introduced it (one check function and one +`write_block` call site per surface, collapsed into the registry): + +* the registry itself — labels, marker pairs, order — and that every declared + block is a registered check leg (an undeclared leg would be written but + never graded, or graded but never written); +* the CLI's printed output for every block leg, on a stale fictional tree and + again after `--write`, byte-for-byte. The expected transcripts below were + captured from the pre-refactor script, so they are the behaviour the + declarations must reproduce. + +Conventions, as in the sibling repos_sync tests: + +1. **Fictional fixtures only.** `tests/**` is KEEP-copied verbatim into the + public template, so nothing here names a real repository. +2. **Hermetic.** The script runs as a subprocess from a scratch copy of the + Mind, against a tmp workspace root — never the sibling checkouts. +""" + +import os +import shutil +import subprocess +import sys +from pathlib import Path + +sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "scripts")) + +import repos_sync # noqa: E402 + +SCRIPTS = Path(__file__).resolve().parents[1] / "scripts" + +ROUTING = "root AGENTS.md routing table (generated)" +OWNER = "WORKFLOW.md owner map (generated)" +MAP = "organism-map blocks (generated)" +HISTORY = "never-rewrite-history blocks (generated)" +REMOTE = "remote-session blocks (generated)" +DELIVERABLE = "end-at-deliverable blocks (generated)" +FILING = "where-to-file blocks (generated)" +PUBLIC = "public front-door organ tables (generated)" + +REGISTRY = [ + (ROUTING, "", ""), + (OWNER, "", ""), + (MAP, "", ""), + (HISTORY, "", + ""), + (REMOTE, "", ""), + (DELIVERABLE, "", + ""), + (FILING, "", ""), + (PUBLIC, "", ""), +] + +MANIFEST = """\ +categories: + organ: {label: Organ, role: the organs} + library: {label: Library, role: the libraries} +repos: + OrganCore: {category: organ, github: Example/OrganCore, role: the core organ} + OrganTwo: {category: organ, github: Example/OrganTwo, role: the second organ} + LibAlpha: {category: library, github: Example/LibAlpha, role: a library} + LibQuiet: {category: library, github: Example/LibQuiet, role: a quiet one, filing_block: false} +""" + +POLICIES = { + "never_rewrite_history.md": "HISTORY POLICY\n", + "remote_sessions.md": "REMOTE POLICY\n", + "end_at_deliverable.md": "DELIVERABLE POLICY\n", + "where_to_file.md": "FILING POLICY\n", + "shared_standards.md": "STANDARDS\n\nBOARD\n", + "session_start_hook.sh": "#!/bin/sh\n", + "end_at_deliverable_hook.sh": "#!/bin/sh\n", +} + + +def _block(tag): + return f"\nold\n\n" + + +ROOT_BLOCK = "\nold\n\n" + + +def _workspace(tmp_path): + """A stale fictional workspace exercising every marker-block state: + stale, opt-in absent, self-insertable, unanchored, excluded, required.""" + root = tmp_path / "ws" + mind = root / "PyAutoMind" + (mind / "scripts").mkdir(parents=True) + for name in ("repos_sync.py", "smoke_bootstrap_sync.py"): + shutil.copy(SCRIPTS / name, mind / "scripts" / name) + (mind / "repos.yaml").write_text(MANIFEST) + (mind / "policy").mkdir() + for name, text in POLICIES.items(): + (mind / "policy" / name).write_text(text) + + def agents(name, body): + path = root / name / "AGENTS.md" + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(body) + + agents("OrganCore", "# core\n" + _block("map") + _block("history") + _block("remote")) + agents("OrganTwo", "# two\n" + _block("history") + _block("deliverable") + + _block("filing")) + agents("LibAlpha", "# alpha\n" + _block("history") + _block("deliverable")) + agents("LibQuiet", "# quiet\n") + (root / "AGENTS.md").write_text("# root\n" + ROOT_BLOCK) + workflow = root / "PyAutoBrain/skills/WORKFLOW.md" + workflow.parent.mkdir(parents=True) + workflow.write_text("# workflow\n" + ROOT_BLOCK) + profile = root / ".github/profile/README.md" + profile.parent.mkdir(parents=True) + profile.write_text("# profile, no organ markers\n") + scientist = root / "PyAutoScientist/README.md" + scientist.parent.mkdir(parents=True) + scientist.write_text("# scientist\n" + _block("organs")) + return root + + +def _run(root, *args): + env = {k: v for k, v in os.environ.items() if k != "PYAUTO_ROOT"} + proc = subprocess.run( + [sys.executable, "scripts/repos_sync.py", "--root", str(root), *args], + cwd=root / "PyAutoMind", + capture_output=True, + text=True, + env=env, + ) + out = (proc.stdout + proc.stderr).replace(str(root), "") + return f"{out}rc={proc.returncode}\n" + + +def _only(*labels): + return [arg for label in labels for arg in ("--only", label)] + + +HINT = "run `python3 PyAutoMind/scripts/repos_sync.py --write`" + +STALE_CHECKS = { + ROUTING: f"""\ +check {ROUTING}: 1 mismatch(es) + ✗ AGENTS.md: routing table block is stale — {HINT} +rc=1 +""", + OWNER: f"""\ +check {OWNER}: 1 mismatch(es) + ✗ PyAutoBrain/skills/WORKFLOW.md: owner map block is stale — {HINT} +rc=1 +""", + MAP: f"""\ +check {MAP}: 1 mismatch(es) + ✗ 'OrganCore': organism-map block is stale — {HINT} +rc=1 +""", + HISTORY: f"""\ +check {HISTORY}: 3 mismatch(es) + ✗ 'OrganCore': never-rewrite-history block is stale — {HINT} + ✗ 'OrganTwo': never-rewrite-history block is stale — {HINT} + ✗ 'LibAlpha': never-rewrite-history block is stale — {HINT} +rc=1 +""", + REMOTE: f"""\ +check {REMOTE}: 1 mismatch(es) + ✗ 'OrganCore': remote-session block is stale — {HINT} +rc=1 +""", + DELIVERABLE: f"""\ +check {DELIVERABLE}: 4 mismatch(es) + ✗ 'OrganCore': no deliverable block — {HINT} (it inserts one after the history block) + ✗ 'OrganTwo': end-at-deliverable block is stale — {HINT} + ✗ 'LibAlpha': end-at-deliverable block is stale — {HINT} + ✗ 'LibQuiet': no deliverable block — add the markers ( / ) to its AGENTS.md, then {HINT} +rc=1 +""", + FILING: f"""\ +check {FILING}: 3 mismatch(es) + ✗ 'OrganCore': no where-to-file block — add the markers ( / ) to its AGENTS.md, then {HINT} + ✗ 'OrganTwo': where-to-file block is stale — {HINT} + ✗ 'LibAlpha': no where-to-file block — {HINT} (it inserts one after the deliverable block) +rc=1 +""", + PUBLIC: f"""\ +check {PUBLIC}: 2 mismatch(es) + ✗ .github/profile/README.md: no repos_sync:organs marker block (add the markers, then run --write) + ✗ PyAutoScientist/README.md: organ table stale — {HINT} +rc=1 +""", +} + +AGENTS = "/{}/AGENTS.md" + +WRITE = f"""\ +wrote: /.pyauto-root +updated: /AGENTS.md +updated: /PyAutoBrain/skills/WORKFLOW.md +updated: {AGENTS.format("OrganCore")} +skipped (no markers): {AGENTS.format("OrganTwo")} +inserted deliverable markers: {AGENTS.format("OrganCore")} +updated: {AGENTS.format("OrganCore")} +updated: {AGENTS.format("OrganCore")} +updated: {AGENTS.format("OrganCore")} +updated: {AGENTS.format("OrganTwo")} +skipped (no markers): {AGENTS.format("OrganTwo")} +updated: {AGENTS.format("OrganTwo")} +updated: {AGENTS.format("LibAlpha")} +skipped (no markers): {AGENTS.format("LibAlpha")} +updated: {AGENTS.format("LibAlpha")} +skipped (no markers): {AGENTS.format("LibQuiet")} +skipped (no markers): {AGENTS.format("LibQuiet")} +skipped (no markers): {AGENTS.format("LibQuiet")} +inserted where-to-file markers: {AGENTS.format("OrganCore")} +inserted where-to-file markers: {AGENTS.format("LibAlpha")} +updated: {AGENTS.format("OrganCore")} +updated: {AGENTS.format("OrganTwo")} +updated: {AGENTS.format("LibAlpha")} +skipped (no markers): /.github/profile/README.md +updated: /PyAutoScientist/README.md +""" + +HOOKS = "".join( + f"wrote: /{name}/{rel}\n" + for name in ("OrganCore", "OrganTwo", "LibAlpha", "LibQuiet") + for rel in (".claude/hooks/session-start.sh", + ".claude/hooks/end-at-deliverable.sh", ".claude/settings.json") +) + +# After --write every block is clean except the two copies --write is not +# allowed to place markers in: a repo with no anchor for the deliverable block, +# and a front-door README that never opted into the organ table. +AFTER_WRITE = f"""\ +check {ROUTING}: OK +check {OWNER}: OK +check {MAP}: OK +check {HISTORY}: OK +check {REMOTE}: OK +check {DELIVERABLE}: 1 mismatch(es) + ✗ 'LibQuiet': no deliverable block — add the markers ( / ) to its AGENTS.md, then {HINT} +check {FILING}: OK +check {PUBLIC}: 1 mismatch(es) + ✗ .github/profile/README.md: no repos_sync:organs marker block (add the markers, then run --write) +rc=1 +""" + +def test_registry_declares_each_generated_block_once_in_order(): + declared = [(b.label, b.begin, b.end) for b in repos_sync.GENERATED_BLOCKS] + assert declared == REGISTRY + assert len({b.label for b in repos_sync.GENERATED_BLOCKS}) == len(REGISTRY) + + +def test_every_declared_block_is_a_registered_check_leg(tmp_path): + root = _workspace(tmp_path) + out = _run(root, "--only", "no such leg") + legs = out.split("choose from: ", 1)[1] + for label, _, _ in REGISTRY: + assert f"'{label}'" in legs + + +def test_stale_check_output_is_pinned_per_block_leg(tmp_path): + root = _workspace(tmp_path) + for label, expected in STALE_CHECKS.items(): + assert _run(root, "--check", "--only", label) == expected, label + + +def test_write_transcript_and_post_write_checks_are_pinned(tmp_path): + root = _workspace(tmp_path) + labels = [label for label, _, _ in REGISTRY] + out = _run(root, "--write", *_only(*labels)) + assert out == WRITE + HOOKS + AFTER_WRITE + # A second, check-only run grades the written copies the same way. + assert _run(root, "--check", *_only(*labels)) == AFTER_WRITE + core = (root / "OrganCore/AGENTS.md").read_text() + assert "\n\n\n" \ + "DELIVERABLE POLICY\n" in core + assert "\nFILING POLICY\n" in core + assert "FILING" not in (root / "LibQuiet/AGENTS.md").read_text() From 112bacb6d5aedb36f83b108dd2b167f056918348 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 18:38:48 +0000 Subject: [PATCH 2/5] prompt: file issues for 5 organ tasks (Brain#561-563, Memory#142, Mind#527); draft -> active Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016nhQ8REafSSE74S71P4set --- active.md | 55 +++++++++++++++++++ ..._refs_swallows_every_api_error_silently.md | 1 + .../board_without_gh_phase2_legs.md | 1 + ...classify_file_drops_declared_epic_phase.md | 1 + .../repos_sync_check_dedup.md | 1 + .../rtd_organism_currency.md | 1 + 6 files changed, 60 insertions(+) rename {draft/bug/pyautomemory => active}/arxiv_refs_swallows_every_api_error_silently.md (99%) rename {draft/feature/pyautobrain => active}/board_without_gh_phase2_legs.md (98%) rename {draft/bug/pyautobrain => active}/intake_classify_file_drops_declared_epic_phase.md (99%) rename {draft/refactor/pyautomind => active}/repos_sync_check_dedup.md (98%) rename {draft/docs/pyautobrain => active}/rtd_organism_currency.md (98%) diff --git a/active.md b/active.md index d3691160c..8284f2f39 100644 --- a/active.md +++ b/active.md @@ -101,3 +101,58 @@ - epic: autonomous-orchestrators (phase 3c of 3a–3d) - decision: lift the 3b sandbox fence on real dispatch (human, 2026-11-03) - tier: judge — merge mode: human /prm (PyAutoMind first, then PyAutoBrain) + +## intake-organ-memory-gate +- issue: https://github.com/PyAutoLabs/PyAutoBrain/issues/561 +- issued: 2026-11-03 +- session: claude-code remote (organs session) +- status: library-shipped, awaiting-merge +- repos: + - PyAutoBrain: ccr-7e6b22c0-04av9i +- prompt: active/intake_classify_file_drops_declared_epic_phase.md +- library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 +- tier: glance — merge mode: human /prm (shares a branch/PR with board-phase2-legs and rtd-organism-currency) + +## board-phase2-legs +- issue: https://github.com/PyAutoLabs/PyAutoBrain/issues/562 +- issued: 2026-11-03 +- session: claude-code remote (organs session) +- status: library-shipped, awaiting-merge +- repos: + - PyAutoBrain: ccr-7e6b22c0-04av9i +- prompt: active/board_without_gh_phase2_legs.md +- library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 +- tier: notify — merge mode: human /prm (shared Brain PR) + +## rtd-organism-currency +- issue: https://github.com/PyAutoLabs/PyAutoBrain/issues/563 +- issued: 2026-11-03 +- session: claude-code remote (organs session) +- status: library-shipped, awaiting-merge +- repos: + - PyAutoBrain: ccr-7e6b22c0-04av9i +- prompt: active/rtd_organism_currency.md +- library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 +- tier: notify — merge mode: human /prm (shared Brain PR) +- open-decisions: build.md→hands.md rename; Broca missing from ORGANISM.md organ table; ORGANISM.md "Five capabilities" count + +## arxiv-refs-api-errors +- issue: https://github.com/PyAutoLabs/PyAutoMemory/issues/142 +- issued: 2026-11-03 +- session: claude-code remote (organs session) +- status: library-shipped, awaiting-merge +- repos: + - PyAutoMemory: ccr-7e6b22c0-04av9i +- prompt: active/arxiv_refs_swallows_every_api_error_silently.md +- library-pr: https://github.com/PyAutoLabs/PyAutoMemory/pull/143 +- tier: glance — merge mode: human /prm + +## repos-sync-check-dedup +- issue: https://github.com/PyAutoLabs/PyAutoMind/issues/527 +- issued: 2026-11-03 +- session: claude-code remote (organs session) +- status: library-shipped, awaiting-merge +- repos: + - PyAutoMind: ccr-7e6b22c0-04av9i +- prompt: active/repos_sync_check_dedup.md +- tier: notify — merge mode: human /prm diff --git a/draft/bug/pyautomemory/arxiv_refs_swallows_every_api_error_silently.md b/active/arxiv_refs_swallows_every_api_error_silently.md similarity index 99% rename from draft/bug/pyautomemory/arxiv_refs_swallows_every_api_error_silently.md rename to active/arxiv_refs_swallows_every_api_error_silently.md index f0fae130c..0a53a94de 100644 --- a/draft/bug/pyautomemory/arxiv_refs_swallows_every_api_error_silently.md +++ b/active/arxiv_refs_swallows_every_api_error_silently.md @@ -15,6 +15,7 @@ Consequence: glance Witness: a test driving `resolve_title()` with an injected `query` raising `HTTPError(429)` asserts the run is *reported* as an API failure rather than as "no unique match" — it fails on current source (the bare `except Exception` returns `None`, indistinguishable from a genuine non-match) and passes after the fix. The backfill's stats gain a distinct counter, and a run whose lookups all failed on transport exits non-zero rather than logging "N ref-less, 0 resolved". Review-minutes: 4 Filed: 2026-09-18 +Issued: 2026-11-03 Found while diagnosing the PyAutoMind digest outage (`complete/2026/09/arxiv-digest-api-retry.md`, PyAutoMind#410). This is diff --git a/draft/feature/pyautobrain/board_without_gh_phase2_legs.md b/active/board_without_gh_phase2_legs.md similarity index 98% rename from draft/feature/pyautobrain/board_without_gh_phase2_legs.md rename to active/board_without_gh_phase2_legs.md index 3473b1e2b..ed391b1e0 100644 --- a/draft/feature/pyautobrain/board_without_gh_phase2_legs.md +++ b/active/board_without_gh_phase2_legs.md @@ -16,6 +16,7 @@ Witness: A remote render with `--github-data` reports zero unread legs across ve Review-minutes: 0 Unattended: ready Filed: 2026-08-27 +Issued: 2026-11-03 Parent: complete/archive/epics/board_without_gh.md (umbrella archived 2026-09-17; this prompt carries its headline criterion) After: complete/2026/08/board-github-data-seam.md (phase 1 shipped 2026-08-27, PyAutoBrain#303 — this is unblocked) diff --git a/draft/bug/pyautobrain/intake_classify_file_drops_declared_epic_phase.md b/active/intake_classify_file_drops_declared_epic_phase.md similarity index 99% rename from draft/bug/pyautobrain/intake_classify_file_drops_declared_epic_phase.md rename to active/intake_classify_file_drops_declared_epic_phase.md index 89754e293..5e4609e14 100644 --- a/draft/bug/pyautobrain/intake_classify_file_drops_declared_epic_phase.md +++ b/active/intake_classify_file_drops_declared_epic_phase.md @@ -9,6 +9,7 @@ Autonomy: supervised Priority: normal Status: formalised Filed: 2026-11-03 +Issued: 2026-11-03 Consequence: glance Witness: a new test asserts `_with_memory` adds no `Memory:` line when the prompt's `Target:` is an organ repo (PyAutoBrain, PyAutoMind, PyAutoCortex, PyAutoHeart, PyAutoHands, PyAutoNerves, PyAutoEyes, PyAutoPulse, PyAutoInsight, PyAutoMemory, PyAutoBroca, PyAutoGut, PyAutoDNA, PyAutoScientist, PyAutoEars) and still adds one for a library target with digest hits; `pytest PyAutoBrain/tests -q` green Review-minutes: 3 diff --git a/draft/refactor/pyautomind/repos_sync_check_dedup.md b/active/repos_sync_check_dedup.md similarity index 98% rename from draft/refactor/pyautomind/repos_sync_check_dedup.md rename to active/repos_sync_check_dedup.md index 6929722fd..a47aa47bf 100644 --- a/draft/refactor/pyautomind/repos_sync_check_dedup.md +++ b/active/repos_sync_check_dedup.md @@ -16,6 +16,7 @@ Witness: `repos_sync.py` has one declaration per generated surface driving both Review-minutes: 0 Unattended: ready Filed: 2026-08-19 (backfilled from git) +Issued: 2026-11-03 Found by the 2026-08-19 readability-pass census (#248). Behaviour-preserving refactor of @PyAutoMind/scripts/repos_sync.py (940 lines, no dead functions): diff --git a/draft/docs/pyautobrain/rtd_organism_currency.md b/active/rtd_organism_currency.md similarity index 98% rename from draft/docs/pyautobrain/rtd_organism_currency.md rename to active/rtd_organism_currency.md index 23a553acf..84045b054 100644 --- a/draft/docs/pyautobrain/rtd_organism_currency.md +++ b/active/rtd_organism_currency.md @@ -16,6 +16,7 @@ Witness: `docs/organs/` has a page for every organ ORGANISM.md names (Nerves inc Review-minutes: 0 Unattended: ready Filed: 2026-08-19 (backfilled from git) +Issued: 2026-11-03 Found by the 2026-08-19 readability census (#237). The RTD narrative (@PyAutoBrain/docs/, published at pyautoscientist.readthedocs.io) has drifted From efc2cbf97382afd114756cd65ddffb782b5433e6 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 18:39:40 +0000 Subject: [PATCH 3/5] mind: PR keys for the 5 organ tasks; regenerate dashboard Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016nhQ8REafSSE74S71P4set --- active.md | 1 + dashboard.html | 96 ++++++++++++++-------------- dashboard.md | 169 ++++++++++++++++++++++++------------------------- state.json | 64 +++++++++---------- 4 files changed, 165 insertions(+), 165 deletions(-) diff --git a/active.md b/active.md index 8284f2f39..8ee697924 100644 --- a/active.md +++ b/active.md @@ -155,4 +155,5 @@ - repos: - PyAutoMind: ccr-7e6b22c0-04av9i - prompt: active/repos_sync_check_dedup.md +- library-pr: https://github.com/PyAutoLabs/PyAutoMind/pull/528 - tier: notify — merge mode: human /prm diff --git a/dashboard.html b/dashboard.html index 31fbb0219..056d79bed 100644 --- a/dashboard.html +++ b/dashboard.html @@ -327,8 +327,8 @@ Keep track of decisions and outstanding questions throughout this conversation. After changes, report what was recorded, where it lives and what remains to do. Work on GitHub: -- Open Mind repository: https://github.com/PyAutoLabs/PyAutoMind
Last updated 2026-11-03 17:56:30 UTC
↻ Update

- +- Open Mind repository: https://github.com/PyAutoLabs/PyAutoMind
Last updated 2026-11-03 18:39:39 UTC
↻ Update

+

Start here

24

Highest priority (filed as high) — showing 12 of 19

@@ -344,19 +344,19 @@

Highest priority (filed as high) — showing 12 of 19

Physical model check when speeding up smoke tests🧪 testworkspacesmediumsupervisedhigh

Fix Sibson interpolation at internal edges🐛 bugautoarraylargesupervisedhigh

-

Fits a slot (ready to run unattended, cheapest to review first) — showing 12 of 92

+

Fits a slot (ready to run unattended, cheapest to review first) — showing 12 of 88

Guard every workspace script against untimed network downloads🧪 testautolens_workspacesmallsafemedium

- -

Board phase 2: the remaining four legs onto the seam✨ featurepyautobrainsmallsafenormal

Use readthedocs or migrate to GitHub docs🔬 researchpyautohandssmallsupervisednormal

batch slice — the decomposition pass for needs-slicing prompts✨ featurepyautobrainmediumsupervisednormal

Remove the dead EDEN packaging tooling from PyAutoFit♻️ refactorpyautofitmediumsupervisednormal

PyAutoMemory canonical-key TODO sweep🧹 maintenancepyautomemorymediumsafenormal

+

Demo subplot_ellipse_errors from a real ellipse model-fit📖 docsworkspaceslargesupervisednormal

+

Epics

20

Long-running multi-phase programmes — 📋 copies a prompt that works out where the epic stands from its ledger and continues it from the next logical point. Members are worked in order through the epic's ledger — continue the epic rather than starting one standalone.

@@ -504,14 +504,19 @@

Fits a slot (ready to run unattended, cheapest to revie image-source-mappings — 1 queued prompt(s) — ⚠️ not in epics.md

-

In flight

8
+

In flight

13
+

arxiv_refs.py swallows every API error, so an arXiv outage resolves nothing… — issue #142 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMemory#143

+

Board phase 2: the remaining four legs onto the seam — issue #562 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564

+

intake classify --file injects an unrelated Memory: line on organ-targeted prompts — issue #561 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564

+

Deduplicate repos_sync.py's check/write pairs — issue #527 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMind#528

Issued: 2026-11-02 — issue #176 — issued 2026-11-02 — workspace-shipped, awaiting-merge (judge → human /prm; wiki-currency waits on a PyAutoFit release) — PRs: autolens_assistant#177

+

RTD organism docs currency: Nerves page, organ-count drift, hands.md rename — issue #563 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564

Planned

9
@@ -526,8 +531,8 @@

Fits a slot (ready to run unattended, cheapest to revie

interferometer-primary-beam-persistence-mirror — filed 2026-10-21 — ready — PyAutoLens claim released 2026-10-21 (point-dataset-positions-panel shipped…

point-plots-yaml-keys-assistant — filed 2026-10-22 — unblocked 2026-10-23 — cosmos-web-ring-notebook merged (autolens_assistant#161, complete/2026/10/cosmos-web-ring-notebook.md)…

-

Backlog

293
-

Lanes: any 282 · local-dev 9

+

Backlog

288
+

Lanes: any 277 · local-dev 9

Human review — 2

Human review: the scaling_relation slam parks (imaging un-parked, multi_galaxy kept)👀 human_reviewautolens_workspacenormal — flagged for review 2026-08-29

-feature — 40 +feature — 39 @@ -570,7 +575,6 @@

Fits a slot (ready to run unattended, cheapest to revie

COOLEST: export MGE lens light and pixelized sources as pixel grids✨ featureautolensmediumsupervisedmedium

A dedicated Documentation conductor in PyAutoBrain✨ featurepyautobrainmediumsupervisedmedium

Nightly run of one HowTo tutorial per chapter at real settings✨ featurepyautoheartmediumsupervisedmedium

-

Board phase 2: the remaining four legs onto the seam✨ featurepyautobrainsmallsafenormal

Brain board follow-ups: what real mornings surface✨ featurepyautobrainsmallsupervisednormal

bump_colab_urls.sh: cover autolens_assistant Colab links✨ featurepyautohandssmallsafenormal

Can create a list of InversionMatrix objects for each dataset✨ featureautoarraymediumsupervisednormal

@@ -603,7 +607,7 @@

Fits a slot (ready to run unattended, cheapest to revie

Simplify reading-queue token management✨ featurepyautomemory

-bug — 66 +bug — 64 @@ -619,7 +623,6 @@

Fits a slot (ready to run unattended, cheapest to revie - @@ -639,7 +642,6 @@

Fits a slot (ready to run unattended, cheapest to revie

SLaM simultaneous subhalo grid search fits last band only🐛 bugautolens_workspacesmallsafenormal

- @@ -718,7 +720,7 @@

Fits a slot (ready to run unattended, cheapest to revie

-docs — 27 +docs — 26

Split lensing regimes: multi_galaxy / group / cluster (epic plan)📖 docsautolenstoo-largesupervisedhigh

Advanced workspace guide: Preloads (PyAutoArray)📖 docsworkspacestoo-largesupervisedhigh

@@ -726,7 +728,6 @@

Fits a slot (ready to run unattended, cheapest to revie

Adapt image is the S/N map: fix the prose and assess…📖 docsautogalaxylargesupervisedmedium

-

docs/api/plot.rst omits already-exported plot symbols📖 docsautolensmediumsafenormal

Demo subplot_ellipse_errors from a real ellipse model-fit📖 docsworkspaceslargesupervisednormal

@@ -767,7 +768,7 @@

Fits a slot (ready to run unattended, cheapest to revie

-refactor — 13 +refactor — 12

Example Analysis should reduce with xp.sum not builtin sum♻️ refactorautofitsmallsafenormal

@@ -779,7 +780,6 @@

Fits a slot (ready to run unattended, cheapest to revie

Repo cleanup: retire the Abell 1201 worktree and local raw data♻️ refactorworkspacessmallhuman-requiredlow

Trim autogalaxy_assistant skills toward their autolens size♻️ refactorautogalaxy_assistantmediumsupervisedlow

-

Deduplicate repos_sync.py's check/write pairs♻️ refactorpyautomindmediumsupervisedlow

@@ -806,9 +806,15 @@

Fits a slot (ready to run unattended, cheapest to revie - - - + + + + + + + + + @@ -819,6 +825,24 @@

Fits a slot (ready to run unattended, cheapest to revie

+ + + + + + + + + + + + + + + + + + @@ -840,25 +864,25 @@

Fits a slot (ready to run unattended, cheapest to revie

- + - + - + - + @@ -1080,30 +1104,6 @@

Fits a slot (ready to run unattended, cheapest to revie

- - - - - - - - - - - - - - - - - - - - - - - -
2026-11-03filedintake classify --file injects an unrelated Memory: line on…issuedintake classify --file injects an unrelated Memory: line on…
2026-11-03issuedarxiv_refs.py swallows every API error, so an arXiv outage resolves…
2026-11-03
2026-11-03 issuedRTD organism docs currency: Nerves page, organ-count drift, hands.md…
2026-11-03issuedDeduplicate repos_sync.py's check/write pairs
2026-11-03issuedBoard phase 2: the remaining four legs onto the seam
2026-11-03issued Autonomous orchestrators phase 3c: one Mind writer per shift — ledger…
Magnification maps 8d: wire into fit subplots and make them pretty

Pending release

4
diff --git a/dashboard.md b/dashboard.md index 5f48c484c..add7d74e8 100644 --- a/dashboard.md +++ b/dashboard.md @@ -10,9 +10,9 @@ |-------|------:| | [Start here](#start-here) | 24 | | [Epics](#epics) | 20 | -| [In flight](#in-flight) | 8 | +| [In flight](#in-flight) | 13 | | [Planned](#planned) | 9 | -| [Backlog](#backlog) | 293 | +| [Backlog](#backlog) | 288 | | [Recent](#recent) | 50 | | [Pending release](#pending-release) | 4 | @@ -116,7 +116,7 @@ Use the start-dev skill. draft/feature/autolens_visualization/eyes_cluster_visua
-**Fits a slot** (ready to run unattended, cheapest to review first) — showing 12 of 92 +**Fits a slot** (ready to run unattended, cheapest to review first) — showing 12 of 88
📋 Guard every workspace script against untimed network downloads — autolens_workspace · small · safe · medium @@ -158,58 +158,58 @@ Use the start-dev skill. draft/test/autolens_workspace_test/latent_smoke_asserti
-
📋 RTD organism docs currency: Nerves page, organ-count drift, hands.md rename — pyautobrain · small · supervised · normal +
📋 Use readthedocs or migrate to GitHub docs — pyautohands · small · supervised · normal ``` -Use the start-dev skill. draft/docs/pyautobrain/rtd_organism_currency.md +Use the start-dev skill. draft/research/pyautohands/git_docs.md ```
-
📋 Board phase 2: the remaining four legs onto the seam — pyautobrain · small · safe · normal +
📋 Verify jax.jit / jax.grad parity on the critical-curve and caustic calculations — autolens_workspace_test · medium · safe · normal ``` -Use the start-dev skill. draft/feature/pyautobrain/board_without_gh_phase2_legs.md +Use the start-dev skill. draft/test/autolens_workspace_test/jax_zero_contour.md ```
-
📋 Use readthedocs or migrate to GitHub docs — pyautohands · small · supervised · normal +
📋 batch slice — the decomposition pass for needs-slicing prompts — pyautobrain · medium · supervised · normal ``` -Use the start-dev skill. draft/research/pyautohands/git_docs.md +Use the start-dev skill. draft/feature/pyautobrain/batch_slice.md ```
-
📋 Verify jax.jit / jax.grad parity on the critical-curve and caustic calculations — autolens_workspace_test · medium · safe · normal +
📋 Remove the dead EDEN packaging tooling from PyAutoFit — pyautofit · medium · supervised · normal ``` -Use the start-dev skill. draft/test/autolens_workspace_test/jax_zero_contour.md +Use the start-dev skill. draft/refactor/pyautofit/remove_eden_packaging_tooling.md ```
-
📋 batch slice — the decomposition pass for needs-slicing prompts — pyautobrain · medium · supervised · normal +
📋 PyAutoMemory canonical-key TODO sweep — pyautomemory · medium · safe · normal ``` -Use the start-dev skill. draft/feature/pyautobrain/batch_slice.md +Use the start-dev skill. draft/maintenance/pyautomemory/canonical_key_todo_sweep.md ```
-
📋 Remove the dead EDEN packaging tooling from PyAutoFit — pyautofit · medium · supervised · normal +
📋 Demo subplot_ellipse_errors from a real ellipse model-fit — workspaces · large · supervised · normal ``` -Use the start-dev skill. draft/refactor/pyautofit/remove_eden_packaging_tooling.md +Use the start-dev skill. draft/docs/workspaces/demo_subplot_ellipse_errors.md ```
-
📋 PyAutoMemory canonical-key TODO sweep — pyautomemory · medium · safe · normal +
📋 cluster/mass_parameterizations*.py promise model.info prints (and figures) they never make — autolens_workspace · small · supervised · low ``` -Use the start-dev skill. draft/maintenance/pyautomemory/canonical_key_todo_sweep.md +Use the start-dev skill. draft/docs/autolens_workspace/cluster_mass_parameterizations_print_and_draw_every_model.md ```
@@ -1038,6 +1038,14 @@ Use the start-dev skill. draft/bug/autoarray/mapping_overlay_follow_ups_forward_ ## In flight +
📋 arxiv_refs.py swallows every API error, so an arXiv outage resolves nothing… — issue #142 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMemory#143 + +``` +Use the start-dev skill. active/arxiv_refs_swallows_every_api_error_silently.md +``` + +
+
📋 Autonomous orchestrators phase 3c: one Mind writer per shift — ledger lines… — issue #559 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMind#526, PyAutoBrain#560 ``` @@ -1046,6 +1054,14 @@ Use the start-dev skill. active/autonomous_orchestrators_p3c_mind_writer.md
+
📋 Board phase 2: the remaining four legs onto the seam — issue #562 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564 + +``` +Use the start-dev skill. active/board_without_gh_phase2_legs.md +``` + +
+
📋 Chapter 2 parameter-space explanations and profile sequencing — issued 2026-11-02 ``` @@ -1062,6 +1078,14 @@ Use the start-dev skill. active/gradient_correctness_sweep.md
+
📋 intake classify --file injects an unrelated Memory: line on organ-targeted prompts — issue #561 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564 + +``` +Use the start-dev skill. active/intake_classify_file_drops_declared_epic_phase.md +``` + +
+
📋 Magnification maps 8d: wire into fit subplots and make them pretty — issue #818 — issued 2026-11-02 — library-dev ``` @@ -1086,6 +1110,14 @@ Use the start-dev skill. active/r2_pages_function_access.md
+
📋 Deduplicate repos_sync.py's check/write pairs — issue #527 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMind#528 + +``` +Use the start-dev skill. active/repos_sync_check_dedup.md +``` + +
+
📋 Issued: 2026-11-02 — issue #176 — issued 2026-11-02 — workspace-shipped, awaiting-merge (judge → human /prm; wiki-currency waits on a PyAutoFit release) — PRs: autolens_assistant#177 ``` @@ -1094,6 +1126,14 @@ Use the start-dev skill. active/results_library_p5a_assistant.md
+
📋 RTD organism docs currency: Nerves page, organ-count drift, hands.md rename — issue #563 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564 + +``` +Use the start-dev skill. active/rtd_organism_currency.md +``` + +
+
📋 Sky orientation (north/east): euclid_dr1 catalogue, paper and website, plus the PyAutoLens library-wide… — issue #115 — issued 2026-10-31 — workspace-dev ``` @@ -1185,7 +1225,7 @@ Use the start-dev skill. draft/docs/autolens_assistant/point_plots_yaml_keys.md ## Backlog -Lanes: any 282 · local-dev 9 +Lanes: any 277 · local-dev 9
@@ -1236,7 +1276,7 @@ regenerate the dashboard. If I do not sign it off, file the follow-up with
-feature — 40 +feature — 39
📋 Record the glance Shadow-window ruling in AUTONOMY.md — grant narrowed, after… — pyautobrain · small · human-required · high @@ -1310,14 +1350,6 @@ Use the start-dev skill. draft/feature/pyautoheart/howto_real_settings_nightly.m
-
📋 Board phase 2: the remaining four legs onto the seam — pyautobrain · small · safe · normal - -``` -Use the start-dev skill. draft/feature/pyautobrain/board_without_gh_phase2_legs.md -``` - -
-
📋 Brain board follow-ups: what real mornings surface — pyautobrain · small · supervised · normal ``` @@ -1561,7 +1593,7 @@ Use the start-dev skill. draft/feature/pyautomemory/reading-queue-token-manageme
-bug — 66 +bug — 64
📋 test_latent_euclid_variables_traces_under_jax_jit went red on main: total_source_flux differs by 6% between jax.jit… — euclid · small · supervised · high @@ -1683,14 +1715,6 @@ Use the start-dev skill. draft/bug/pyautobrain/profiling_compile_drift_point_vs_
-
📋 arxiv_refs.py swallows every API error, so an arXiv outage resolves nothing… — pyautomemory · small · supervised · medium - -``` -Use the start-dev skill. draft/bug/pyautomemory/arxiv_refs_swallows_every_api_error_silently.md -``` - -
-
📋 Adaptive Delaunay mesh places two mesh pixels 0.001" apart — a degenerate… — autoarray · medium · supervised · medium ``` @@ -1843,14 +1867,6 @@ Use the start-dev skill. draft/bug/autonerves/jax_enable_x64_env_ignored_and_fp3
-
📋 intake classify --file injects an unrelated Memory: line on organ-targeted prompts — pyautobrain · small · supervised · normal - -``` -Use the start-dev skill. draft/bug/pyautobrain/intake_classify_file_drops_declared_epic_phase.md -``` - -
-
📋 Convolver "No blurring_image provided" warning in canonical workspace scripts — workspaces · small · safe · normal ``` @@ -2443,7 +2459,7 @@ Use the start-dev skill. draft/research/autolens_profiling/likelihood_lifecycle_
-docs — 27 +docs — 26
📋 autolens_assistant leg of the PyAutoLabs AI-options page (deferred from #87) — autolens_assistant · small · supervised · high @@ -2501,14 +2517,6 @@ Use the start-dev skill. draft/docs/autolens_workspace/multi_plane_guide_richard
-
📋 RTD organism docs currency: Nerves page, organ-count drift, hands.md rename — pyautobrain · small · supervised · normal - -``` -Use the start-dev skill. draft/docs/pyautobrain/rtd_organism_currency.md -``` - -
-
📋 Rewrite PyAutoCTI docs/api — 55 of 89 autosummary entries are dead — autocti · medium · supervised · normal ``` @@ -2797,7 +2805,7 @@ Use the start-dev skill. draft/maintenance/pyautomind/session_start_hook_copies_
-refactor — 13 +refactor — 12
📋 Cache autonerves config parsing — 308 YAML files parsed per script run — autonerves · medium · safe · medium @@ -2887,14 +2895,6 @@ Use the start-dev skill. draft/refactor/autolens/witt_wynne_solver_library_home.
-
📋 Deduplicate repos_sync.py's check/write pairs — pyautomind · medium · supervised · low - -``` -Use the start-dev skill. draft/refactor/pyautomind/repos_sync_check_dedup.md -``` - -
-
📋 Sparse CPU operator: shrink the 172 MB per-dataset payload… — autoarray · supervised ``` @@ -3012,76 +3012,76 @@ Use the start-dev skill. draft/triage/autolens/jit_fit_from_is_vacuous.md | Date | Event | Task | |------|-------|------| -| 2026-11-03 | filed | intake classify --file injects an unrelated Memory: line on… | +| 2026-11-03 | issued | intake classify --file injects an unrelated Memory: line on… | +| 2026-11-03 | issued | arxiv_refs.py swallows every API error, so an arXiv outage resolves… | | 2026-11-03 | filed | Record the glance Shadow-window ruling in AUTONOMY.md — grant… | +| 2026-11-03 | issued | RTD organism docs currency: Nerves page, organ-count drift, hands.md… | +| 2026-11-03 | issued | Deduplicate repos_sync.py's check/write pairs | +| 2026-11-03 | issued | Board phase 2: the remaining four legs onto the seam | | 2026-11-03 | issued | Autonomous orchestrators phase 3c: one Mind writer per shift — ledger… | | 2026-11-02 | filed | Unexplained autodiff-vs-FD gaps in the phase-6 gradient records… | | 2026-11-02 | filed | Standard-size gradient cells record "point": "prior_medians" while… | | 2026-11-02 | issued | Magnification maps 8d: wire into fit subplots and make them pretty | -| 2026-11-02 | issued | Issued: 2026-11-02 | -| 2026-11-02 | filed | Imaging sparse-operator path gives a very different log L from dense… | -| 2026-11-02 | issued | Gradient-correctness sweep: triage and investigate every open… | -| 2026-11-02 | issued | Chapter 2 parameter-space explanations and profile sequencing |
… 10 more (40 left) | Date | Event | Task | |------|-------|------| +| 2026-11-02 | issued | Issued: 2026-11-02 | +| 2026-11-02 | filed | Imaging sparse-operator path gives a very different log L from dense… | +| 2026-11-02 | issued | Gradient-correctness sweep: triage and investigate every open… | +| 2026-11-02 | issued | Chapter 2 parameter-space explanations and profile sequencing | | 2026-10-31 | issued | Sky orientation (north/east): euclid_dr1 catalogue, paper and… | | 2026-10-30 | filed | Should PyAutoArray flip FITS rows at load so +y is north | | 2026-10-29 | issued | ECLIPSE site: serve R2 lens files through a Pages Function behind… | | 2026-10-26 | filed | Trim autogalaxy_assistant skills toward their autolens size | | 2026-10-25 | filed | Heart Health rerun cannot publish after main advances | | 2026-10-25 | filed | CI timing must compare equivalent executed job coverage | -| 2026-10-23 | filed | autolens_assistant leg of the PyAutoLabs AI-options page (deferred… | -| 2026-10-23 | filed | autocti_visualization manifest rendered_with: shows stale… | -| 2026-10-23 | filed | @autolens_profiling stale auto-simulated dataset/cluster/simple… | -| 2026-10-23 | filed | A dedicated Documentation conductor in PyAutoBrain |
… 10 more (30 left) | Date | Event | Task | |------|-------|------| +| 2026-10-23 | filed | autolens_assistant leg of the PyAutoLabs AI-options page (deferred… | +| 2026-10-23 | filed | autocti_visualization manifest rendered_with: shows stale… | +| 2026-10-23 | filed | @autolens_profiling stale auto-simulated dataset/cluster/simple… | +| 2026-10-23 | filed | A dedicated Documentation conductor in PyAutoBrain | | 2026-10-22 | filed | point-plots-yaml-keys-assistant | | 2026-10-21 | filed | interferometer-primary-beam-persistence-mirror | | 2026-10-21 | filed | PyAutoLens mirror of the interferometer primary-beam persistence… | | 2026-10-21 | filed | Note in autolens_profiling that plain source-plane lane values… | | 2026-10-21 | filed | Matrix-free interferometer inversion, phase 5b: profiling note… | | 2026-10-21 | issued | Matrix-free interferometer inversion for very large rectangular… | -| 2026-10-21 | filed | Interferometer primary beam: workspace example and docs | -| 2026-10-21 | filed | Cluster likelihood scripts: image-plane manual check disagrees with… | -| 2026-10-16 | filed | repos_sync standards-block test keys on the checkout dir name… | -| 2026-10-16 | filed | Re-measure the shapelets/modeling.py SLOW park (#586) under the… |
… 10 more (20 left) | Date | Event | Task | |------|-------|------| +| 2026-10-21 | filed | Interferometer primary beam: workspace example and docs | +| 2026-10-21 | filed | Cluster likelihood scripts: image-plane manual check disagrees with… | +| 2026-10-16 | filed | repos_sync standards-block test keys on the checkout dir name… | +| 2026-10-16 | filed | Re-measure the shapelets/modeling.py SLOW park (#586) under the… | | 2026-10-16 | filed | Glance shadow window reached 20/20 clean — count line must say… | | 2026-10-14 | filed | @autofit_workspace six searches/ scripts fail on main at… | | 2026-10-14 | filed | Human-readable Cortex Projects dashboard | | 2026-10-14 | filed | Cortex output summaries — phase 2 | | 2026-10-09 | filed | Profiling conductor compile drift compares one point against one point | | 2026-10-08 | filed | JAX_ENABLE_X64=False is overridden to True, so the fp32 inference… | -| 2026-10-07 | filed | Upstream the DR1 final-catalogue tooling to the pipeline, with a… | -| 2026-10-02 | filed | sibson-internal-edge-continuity | -| 2026-10-02 | filed | knn-partial-point-block | -| 2026-10-02 | filed | Fix Sibson interpolation at internal edges |
… 10 more (10 left) | Date | Event | Task | |------|-------|------| +| 2026-10-07 | filed | Upstream the DR1 final-catalogue tooling to the pipeline, with a… | +| 2026-10-02 | filed | sibson-internal-edge-continuity | +| 2026-10-02 | filed | knn-partial-point-block | +| 2026-10-02 | filed | Fix Sibson interpolation at internal edges | | 2026-10-02 | filed | Fix KNN neighbor search for a partial final point block | | 2026-10-01 | filed | Sparse interferometer terms: NUFFT ignores the mask origin and… | | 2026-10-01 | filed | Interferometer log_evidence fails (LinAlgError / NaN) at large… | | 2026-10-01 | filed | Interferometer galaxy_image_dict drops a mixed galaxy's ordinary… | | 2026-09-29 | filed | PlotterEllipse.fit_ellipse writes every variant to… | | 2026-09-29 | filed | Regenerate the 28 drifted .claude/hooks/session-start.sh copies… | -| 2026-09-27 | filed | Sparse interferometer inversion: jax.grad of the log-evidence terms… | -| 2026-09-27 | filed | Same-class q-clamp and bare-sqrt ellipticity gradient sites… | -| 2026-09-27 | filed | Building a JAX Fitness then calling register_tracer_classes raises… | -| 2026-09-26 | filed | bump_colab_urls.sh: cover autolens_assistant Colab links |
@@ -3183,7 +3183,7 @@ _Dates come from each task's registry entry — `lifecycle.py dates` reports any
-63 prompt(s) with unknown theme keyword(s) — not in [`themes.md`](themes.md), so they group loudly rather than silently. Correct the prompt, or add the keyword to the vocabulary. +62 prompt(s) with unknown theme keyword(s) — not in [`themes.md`](themes.md), so they group loudly rather than silently. Correct the prompt, or add the keyword to the vocabulary.
Unknown theme keywords @@ -3236,7 +3236,6 @@ _Dates come from each task's registry entry — `lifecycle.py dates` reports any - `draft/bug/euclid/vis_lp_batch_size_kwarg_silently_ignored.md — unknown theme keyword(s): euclid` - `draft/bug/pyautobrain/profiling_compile_drift_point_vs_point.md — unknown theme keyword(s): measurement-tools` - `draft/bug/pyautoheart/ral_venv_dependency_floor_drift.md — unknown theme keyword(s): hpc, dependencies, reproducibility` -- `draft/bug/pyautomemory/arxiv_refs_swallows_every_api_error_silently.md — unknown theme keyword(s): ci, robustness` - `draft/bug/pyautomind/arxiv_edge_refuses_the_stdlib_urllib_client.md — unknown theme keyword(s): ci, robustness` - `draft/refactor/autofit/ep_analysis_level_compile_cache.md — unknown theme keyword(s): jax` - `draft/refactor/autolens/cache_readers_fall_back_to_zip_member.md — unknown theme keyword(s): aggregator, paths` diff --git a/state.json b/state.json index 1dd8588cb..92f00daea 100644 --- a/state.json +++ b/state.json @@ -3,22 +3,52 @@ "organ": "mind", "repo": "PyAutoMind", "status": "yellow", - "headline": "YELLOW \u2014 24 picks \u00b7 8 in flight", - "updated": "2026-11-03T17:56:31Z", + "headline": "YELLOW \u2014 24 picks \u00b7 13 in flight", + "updated": "2026-11-03T18:39:40Z", "pages_url": "https://pyautolabs.github.io/PyAutoMind/", "items": [ + { + "severity": "yellow", + "text": "`arxiv_refs.py` swallows every API error, so an arXiv outage resolves nothing\u2026 \u2014 library-shipped, awaiting-merge", + "url": "https://github.com/PyAutoLabs/PyAutoMemory/pull/143", + "prompt": "Use the start-dev skill. active/arxiv_refs_swallows_every_api_error_silently.md" + }, { "severity": "yellow", "text": "Autonomous orchestrators phase 3c: one Mind writer per shift \u2014 ledger lines\u2026 \u2014 library-shipped, awaiting-merge", "url": "https://github.com/PyAutoLabs/PyAutoMind/pull/526", "prompt": "Use the start-dev skill. active/autonomous_orchestrators_p3c_mind_writer.md" }, + { + "severity": "yellow", + "text": "Board phase 2: the remaining four legs onto the seam \u2014 library-shipped, awaiting-merge", + "url": "https://github.com/PyAutoLabs/PyAutoBrain/pull/564", + "prompt": "Use the start-dev skill. active/board_without_gh_phase2_legs.md" + }, + { + "severity": "yellow", + "text": "intake classify --file injects an unrelated Memory: line on organ-targeted prompts \u2014 library-shipped, awaiting-merge", + "url": "https://github.com/PyAutoLabs/PyAutoBrain/pull/564", + "prompt": "Use the start-dev skill. active/intake_classify_file_drops_declared_epic_phase.md" + }, + { + "severity": "yellow", + "text": "Deduplicate repos_sync.py's check/write pairs \u2014 library-shipped, awaiting-merge", + "url": "https://github.com/PyAutoLabs/PyAutoMind/pull/528", + "prompt": "Use the start-dev skill. active/repos_sync_check_dedup.md" + }, { "severity": "yellow", "text": "Issued: 2026-11-02 \u2014 workspace-shipped, awaiting-merge (judge \u2192 human /prm; wiki-currency waits on a PyAutoFit release)", "url": "https://github.com/PyAutoLabs/autolens_assistant/pull/177", "prompt": "Use the start-dev skill. active/results_library_p5a_assistant.md" }, + { + "severity": "yellow", + "text": "RTD organism docs currency: Nerves page, organ-count drift, hands.md rename \u2014 library-shipped, awaiting-merge", + "url": "https://github.com/PyAutoLabs/PyAutoBrain/pull/564", + "prompt": "Use the start-dev skill. active/rtd_organism_currency.md" + }, { "severity": "yellow", "text": "human review: multi-plane cross-validation (library tests + workspace guide)", @@ -96,36 +126,6 @@ "text": "pending release: PyAutoLens PyAutoLens#816 \u2014 magnification-maps-source-plane", "url": "https://github.com/PyAutoLabs/PyAutoLens/pull/816", "prompt": null - }, - { - "severity": "yellow", - "text": "pending release: PyAutoLens PyAutoLens#817 \u2014 magnification-maps-uncertainty", - "url": "https://github.com/PyAutoLabs/PyAutoLens/pull/817", - "prompt": null - }, - { - "severity": "info", - "text": "pick: autolens_assistant leg of the PyAutoLabs AI-options page (deferred from #87)", - "url": "https://github.com/PyAutoLabs/PyAutoMind/blob/main/draft/docs/autolens_assistant/ai_options_page_autolens_leg.md", - "prompt": "Use the start-dev skill. draft/docs/autolens_assistant/ai_options_page_autolens_leg.md" - }, - { - "severity": "info", - "text": "pick: test_latent_euclid_variables_traces_under_jax_jit went red on main: total_source_flux differs by 6% between jax.jit\u2026", - "url": "https://github.com/PyAutoLabs/PyAutoMind/blob/main/draft/bug/euclid/latent_total_source_flux_jax_vs_numpy_regression.md", - "prompt": "Use the start-dev skill. draft/bug/euclid/latent_total_source_flux_jax_vs_numpy_regression.md" - }, - { - "severity": "info", - "text": "pick: SED chain waveband fit can spin forever in Nautilus exploration\u2026", - "url": "https://github.com/PyAutoLabs/PyAutoMind/blob/main/draft/bug/euclid/sed_chain_waveband_fit_can_spin_forever.md", - "prompt": "Use the start-dev skill. draft/bug/euclid/sed_chain_waveband_fit_can_spin_forever.md" - }, - { - "severity": "info", - "text": "pick: Record the `glance` Shadow-window ruling in AUTONOMY.md \u2014 grant narrowed, after\u2026", - "url": "https://github.com/PyAutoLabs/PyAutoMind/blob/main/draft/feature/pyautobrain/glance_tier_ruling_shadow_window.md", - "prompt": "Use the start-dev skill. draft/feature/pyautobrain/glance_tier_ruling_shadow_window.md" } ] } From 1f0af0e2b36f2765f9511ab8d0b0b6c4c38dde16 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 19:13:18 +0000 Subject: [PATCH 4/5] mind: record 2026-11-03 human decisions on the organs batch; close 2 stale-done prompts; file+register project-discovery bug (Brain#565) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016nhQ8REafSSE74S71P4set --- active.md | 15 ++++++- active/project_discovery_argparse_ordering.md | 27 ++++++++++++ .../2026/11/glance-shadow-window-reached.md | 6 +++ .../11/repos-sync-test-keys-on-dir-name.md | 6 +++ complete/index.md | 4 +- dashboard.html | 41 +++++++++-------- dashboard.md | 44 ++++++++----------- state.json | 16 +++---- 8 files changed, 102 insertions(+), 57 deletions(-) create mode 100644 active/project_discovery_argparse_ordering.md rename draft/bug/pyautomind/glance_shadow_window_reached.md => complete/2026/11/glance-shadow-window-reached.md (66%) rename draft/bug/pyautomind/repos_sync_test_keys_on_dir_name.md => complete/2026/11/repos-sync-test-keys-on-dir-name.md (56%) diff --git a/active.md b/active.md index 8ee697924..f32f4cd50 100644 --- a/active.md +++ b/active.md @@ -111,6 +111,7 @@ - PyAutoBrain: ccr-7e6b22c0-04av9i - prompt: active/intake_classify_file_drops_declared_epic_phase.md - library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 +- decision-2026-11-03: human — repos under organs/ (PyAutoScientist) are gated too; shipped ba38413 - tier: glance — merge mode: human /prm (shares a branch/PR with board-phase2-legs and rtd-organism-currency) ## board-phase2-legs @@ -122,6 +123,7 @@ - PyAutoBrain: ccr-7e6b22c0-04av9i - prompt: active/board_without_gh_phase2_legs.md - library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 +- decision-2026-11-03: human accepts upkeep reading 'open-issue count unavailable' remotely (no org-wide issue search in the MCP surface) - tier: notify — merge mode: human /prm (shared Brain PR) ## rtd-organism-currency @@ -134,7 +136,7 @@ - prompt: active/rtd_organism_currency.md - library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 - tier: notify — merge mode: human /prm (shared Brain PR) -- open-decisions: build.md→hands.md rename; Broca missing from ORGANISM.md organ table; ORGANISM.md "Five capabilities" count +- decision-2026-11-03: human — rename build.md→hands.md (done, with build.html redirect), add Broca to ORGANISM.md table (done), fix the 'Five capabilities' count (done); 1aa2ed4 ## arxiv-refs-api-errors - issue: https://github.com/PyAutoLabs/PyAutoMemory/issues/142 @@ -157,3 +159,14 @@ - prompt: active/repos_sync_check_dedup.md - library-pr: https://github.com/PyAutoLabs/PyAutoMind/pull/528 - tier: notify — merge mode: human /prm + +## project-discovery-argparse-ordering +- issue: https://github.com/PyAutoLabs/PyAutoBrain/issues/565 +- issued: 2026-11-03 +- session: claude-code remote (organs session) +- status: library-shipped, awaiting-merge +- repos: + - PyAutoBrain: ccr-7e6b22c0-04av9i +- prompt: active/project_discovery_argparse_ordering.md +- library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 +- tier: glance — merge mode: human /prm (shared Brain PR, human decision 2026-11-03: one PR) diff --git a/active/project_discovery_argparse_ordering.md b/active/project_discovery_argparse_ordering.md new file mode 100644 index 000000000..abf23f4b8 --- /dev/null +++ b/active/project_discovery_argparse_ordering.md @@ -0,0 +1,27 @@ +# install.sh --check/--write-project-discovery rejects repo names (argparse ordering) + +Type: bug +Target: PyAutoBrain +Repos: +- PyAutoBrain +Difficulty: easy +Autonomy: supervised +Priority: medium +Status: formalised +Filed: 2026-11-03 +Issued: 2026-11-03 +Consequence: glance +Witness: `pytest PyAutoBrain/tests/test_skill_install.py` goes from 10 failed (on main) to 22 passed. + +## Finding + +Measured on the PyAutoBrain#564 test run (2026-11-03): `tests/test_skill_install.py` +fails 10–11 tests on main with `project_discovery.py: error: unrecognized arguments: +`. `bin/install.sh` calls `project_discovery.py check --root "$PYAUTO_ROOT" "$@"`; +with the names after `--root`, `parse_args()` has already bound the `nargs='*'` +`repos` positional to an empty list, so the trailing names are rejected. + +## Fix + +`parse_intermixed_args()` in `bin/project_discovery.py main()`. Filed and fixed at the +human's request; shipped on the shared organs-batch Brain PR. diff --git a/draft/bug/pyautomind/glance_shadow_window_reached.md b/complete/2026/11/glance-shadow-window-reached.md similarity index 66% rename from draft/bug/pyautomind/glance_shadow_window_reached.md rename to complete/2026/11/glance-shadow-window-reached.md index 0fe3c6fed..3b49d1d68 100644 --- a/draft/bug/pyautomind/glance_shadow_window_reached.md +++ b/complete/2026/11/glance-shadow-window-reached.md @@ -1,3 +1,9 @@ +- summary: code half already fixed on main — 679b1319f makes `shadow_count_line()` emit "window reached — the pre-registered decision is due" (autonomy_log.md now reads 69/20, window reached); `tests/test_autonomy_log_shadow.py` passes. The human doctrine call this prompt asked for moved to `draft/feature/pyautobrain/glance_tier_ruling_shadow_window.md` (human-required, high). Closed as stale-done/superseded at the human's request (2026-11-03, organs batch session). +- witness: `pytest tests/test_autonomy_log_shadow.py` green on main. +- pr: none (fixed by 679b1319f on main). + +## Original prompt + # Glance shadow window reached 20/20 clean — count line must say "reached"; record the glance confirmation decision Type: bug diff --git a/draft/bug/pyautomind/repos_sync_test_keys_on_dir_name.md b/complete/2026/11/repos-sync-test-keys-on-dir-name.md similarity index 56% rename from draft/bug/pyautomind/repos_sync_test_keys_on_dir_name.md rename to complete/2026/11/repos-sync-test-keys-on-dir-name.md index 5592275b2..fbf8e587f 100644 --- a/draft/bug/pyautomind/repos_sync_test_keys_on_dir_name.md +++ b/complete/2026/11/repos-sync-test-keys-on-dir-name.md @@ -1,3 +1,9 @@ +- summary: already fixed on main before this prompt was picked up — 679b1319f ("test: Mind suite green on main — shadow line says window reached; standards test keys on PyAutoMind") makes `test_mind_owns_an_exact_generated_block` key on the literal PyAutoMind. Closed as stale-done at the human's request (2026-11-03, organs batch session). +- witness: `pytest tests/test_repos_sync_standards_block.py` passes from a copy of the checkout in a directory not named PyAutoMind (33 passed). +- pr: none (fixed by 679b1319f on main). + +## Original prompt + # repos_sync standards-block test keys on the checkout dir name (KeyError in non-canonical worktrees) Type: bug diff --git a/complete/index.md b/complete/index.md index 3ad4a7a25..c4c1d6862 100644 --- a/complete/index.md +++ b/complete/index.md @@ -6,7 +6,7 @@ Token-light navigation over the finished-work records (schema: only then grep a dated bucket. Curators: edit the band between the CURATED markers; everything below GENERATED is rebuilt. -2113 records across 11 buckets. +2115 records across 11 buckets. ## Highlights @@ -126,6 +126,7 @@ markers; everything below GENERATED is rebuilt. - [autonomous-orchestrators-p3a](2026/11/autonomous-orchestrators-p3a.md) — phase 3a of 3a–3d; epic draft/feature/pyautobrain/autonomous_orchestrators_epic.md - [autonomous-orchestrators-p3b](2026/11/autonomous-orchestrators-p3b.md) — phase 3b of 3a–3d; epic draft/feature/pyautobrain/autonomous_orchestrators_epic.md - [cloud-validation-rehearsal-clock-skew](2026/11/cloud-validation-rehearsal-clock-skew.md) +- [glance-shadow-window-reached](2026/11/glance-shadow-window-reached.md) — code half already fixed on main — 679b1319f makes `shadow_count_line()` emit "window reached — the pre-registe… - [gradient-campaign-impact](2026/11/gradient-campaign-impact.md) — human-requested assessment of whether the two PyAutoArray#671 defects affected the likelihood-lifecycle phase-… - [howto-chapter2-format](2026/11/howto-chapter2-format.md) — Restored descriptive contents for Lens lessons 1–4 and complete ordered contents for Galaxy lessons 1–6, corre… - [howto-prose-format](2026/11/howto-prose-format.md) @@ -150,6 +151,7 @@ markers; everything below GENERATED is rebuilt. - [one-line-auto-simulate-helper](2026/11/one-line-auto-simulate-helper.md) - [rectangular-gradient-rtu-sparse](2026/11/rectangular-gradient-rtu-sparse.md) — the filed symptom (|g| ~2e9 on the imaging/rectangular/hst fiducial, RTU all backends, Bilinear CPU sparse) sp… - [rectangular-mapper-bilinear-row-weights](2026/11/rectangular-mapper-bilinear-row-weights.md) — - **Retired as already-fixed** by the gradient-correctness sweep (autolens_profiling#517, item 12). The draft … +- [repos-sync-test-keys-on-dir-name](2026/11/repos-sync-test-keys-on-dir-name.md) — already fixed on main before this prompt was picked up — 679b1319f ("test: Mind suite green on main — shadow l… - [results-library-p2-completeness](2026/11/results-library-p2-completeness.md) — `autofit/results/library.py` ResultsLibrary (grid / library.yaml / from_campaign — campaign expectations - [results-library-p3-exports](2026/11/results-library-p3-exports.md) — AggregateCSV.save(cache=, shard=, expected=, sort_by=, on_error=, columns_json=): row cache - [results-library-p4-package](2026/11/results-library-p4-package.md) — new `autofit/export/` (`af.export`): package() — size-capped / exactly-N part zips with objects whole, diff --git a/dashboard.html b/dashboard.html index 056d79bed..6d3e6eeb5 100644 --- a/dashboard.html +++ b/dashboard.html @@ -327,8 +327,8 @@ Keep track of decisions and outstanding questions throughout this conversation. After changes, report what was recorded, where it lives and what remains to do. Work on GitHub: -- Open Mind repository: https://github.com/PyAutoLabs/PyAutoMind
Last updated 2026-11-03 18:39:39 UTC
↻ Update

- +- Open Mind repository: https://github.com/PyAutoLabs/PyAutoMind
Last updated 2026-11-03 19:13:11 UTC
↻ Update

+

Start here

24

Highest priority (filed as high) — showing 12 of 19

@@ -504,7 +504,7 @@

Fits a slot (ready to run unattended, cheapest to revie image-source-mappings — 1 queued prompt(s) — ⚠️ not in epics.md

-

In flight

13
+

In flight

14

arxiv_refs.py swallows every API error, so an arXiv outage resolves nothing… — issue #142 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMemory#143

Board phase 2: the remaining four legs onto the seam — issue #562 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564

@@ -513,6 +513,7 @@

Fits a slot (ready to run unattended, cheapest to revie

intake classify --file injects an unrelated Memory: line on organ-targeted prompts — issue #561 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564

+

install.sh --check/--write-project-discovery rejects repo names (argparse ordering) — issue #565 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564

Deduplicate repos_sync.py's check/write pairs — issue #527 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMind#528

Issued: 2026-11-02 — issue #176 — issued 2026-11-02 — workspace-shipped, awaiting-merge (judge → human /prm; wiki-currency waits on a PyAutoFit release) — PRs: autolens_assistant#177

@@ -531,8 +532,8 @@

Fits a slot (ready to run unattended, cheapest to revie

interferometer-primary-beam-persistence-mirror — filed 2026-10-21 — ready — PyAutoLens claim released 2026-10-21 (point-dataset-positions-panel shipped…

point-plots-yaml-keys-assistant — filed 2026-10-22 — unblocked 2026-10-23 — cosmos-web-ring-notebook merged (autolens_assistant#161, complete/2026/10/cosmos-web-ring-notebook.md)…

-

Backlog

288
-

Lanes: any 277 · local-dev 9

+

Backlog

286
+

Lanes: any 275 · local-dev 9

Human review — 2

Simplify reading-queue token management✨ featurepyautomemory

-bug — 64 +bug — 62 @@ -632,7 +633,6 @@

Fits a slot (ready to run unattended, cheapest to revie - @@ -668,7 +668,6 @@

Fits a slot (ready to run unattended, cheapest to revie

Point-source JSON datasets record no resolution regime🐛 bugpyautolensmediumsupervisedlow

- @@ -813,6 +812,12 @@

Fits a slot (ready to run unattended, cheapest to revie 2026-11-03 issued +install.sh --check/--write-project-discovery rejects repo names… + + + +2026-11-03 +issued arxiv_refs.py swallows every API error, so an arXiv outage resolves… @@ -858,7 +863,7 @@

Fits a slot (ready to run unattended, cheapest to revie Standard-size gradient cells record "point": "prior_medians" while… - + 2026-11-02 issued Magnification maps 8d: wire into fit subplots and make them pretty @@ -999,22 +1004,10 @@

Fits a slot (ready to run unattended, cheapest to revie 2026-10-16 filed -repos_sync standards-block test keys on the checkout dir name… - - - -2026-10-16 -filed Re-measure the shapelets/modeling.py SLOW park (#586) under the… -2026-10-16 -filed -Glance shadow window reached 20/20 clean — count line must say… - - - 2026-10-14 filed @autofit_workspace six searches/ scripts fail on main at… @@ -1104,6 +1097,12 @@

Fits a slot (ready to run unattended, cheapest to revie Regenerate the 28 drifted .claude/hooks/session-start.sh copies… + +2026-09-27 +filed +Sparse interferometer inversion: jax.grad of the log-evidence terms… + +

Pending release

4
diff --git a/dashboard.md b/dashboard.md index add7d74e8..464eed34e 100644 --- a/dashboard.md +++ b/dashboard.md @@ -10,9 +10,9 @@ |-------|------:| | [Start here](#start-here) | 24 | | [Epics](#epics) | 20 | -| [In flight](#in-flight) | 13 | +| [In flight](#in-flight) | 14 | | [Planned](#planned) | 9 | -| [Backlog](#backlog) | 288 | +| [Backlog](#backlog) | 286 | | [Recent](#recent) | 50 | | [Pending release](#pending-release) | 4 | @@ -1102,6 +1102,14 @@ Use the start-dev skill. active/matrix_free_interferometer_inversion.md
+
📋 install.sh --check/--write-project-discovery rejects repo names (argparse ordering) — issue #565 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564 + +``` +Use the start-dev skill. active/project_discovery_argparse_ordering.md +``` + +
+
📋 ECLIPSE site: serve R2 lens files through a Pages Function behind Cloudflare… — issued 2026-10-29 ``` @@ -1225,7 +1233,7 @@ Use the start-dev skill. draft/docs/autolens_assistant/point_plots_yaml_keys.md ## Backlog -Lanes: any 277 · local-dev 9 +Lanes: any 275 · local-dev 9
@@ -1593,7 +1601,7 @@ Use the start-dev skill. draft/feature/pyautomemory/reading-queue-token-manageme
-bug — 64 +bug — 62
📋 test_latent_euclid_variables_traces_under_jax_jit went red on main: total_source_flux differs by 6% between jax.jit… — euclid · small · supervised · high @@ -1787,14 +1795,6 @@ Use the start-dev skill. draft/bug/autolens_profiling/gradient_json_point_label_
-
📋 Glance shadow window reached 20/20 clean — count line must say "reached"… — pyautomind · easy · supervised · medium - -``` -Use the start-dev skill. draft/bug/pyautomind/glance_shadow_window_reached.md -``` - -
-
📋 rectangular.py parity contract: absolute-nats bound, and import autogalaxy before jax — workspaces · easy · supervised · medium ``` @@ -2075,14 +2075,6 @@ Use the start-dev skill. draft/bug/autocti_visualization/manifest_rendered_with_
-
📋 repos_sync standards-block test keys on the checkout dir name… — pyautomind · easy · safe-capped · low - -``` -Use the start-dev skill. draft/bug/pyautomind/repos_sync_test_keys_on_dir_name.md -``` - -
-
📋 Same-class q-clamp and bare-sqrt ellipticity gradient sites (follow-up to PyAutoGalaxy#631) — autogalaxy ``` @@ -3013,6 +3005,7 @@ Use the start-dev skill. draft/triage/autolens/jit_fit_from_is_vacuous.md | Date | Event | Task | |------|-------|------| | 2026-11-03 | issued | intake classify --file injects an unrelated Memory: line on… | +| 2026-11-03 | issued | install.sh --check/--write-project-discovery rejects repo names… | | 2026-11-03 | issued | arxiv_refs.py swallows every API error, so an arXiv outage resolves… | | 2026-11-03 | filed | Record the glance Shadow-window ruling in AUTONOMY.md — grant… | | 2026-11-03 | issued | RTD organism docs currency: Nerves page, organ-count drift, hands.md… | @@ -3021,12 +3014,12 @@ Use the start-dev skill. draft/triage/autolens/jit_fit_from_is_vacuous.md | 2026-11-03 | issued | Autonomous orchestrators phase 3c: one Mind writer per shift — ledger… | | 2026-11-02 | filed | Unexplained autodiff-vs-FD gaps in the phase-6 gradient records… | | 2026-11-02 | filed | Standard-size gradient cells record "point": "prior_medians" while… | -| 2026-11-02 | issued | Magnification maps 8d: wire into fit subplots and make them pretty |
… 10 more (40 left) | Date | Event | Task | |------|-------|------| +| 2026-11-02 | issued | Magnification maps 8d: wire into fit subplots and make them pretty | | 2026-11-02 | issued | Issued: 2026-11-02 | | 2026-11-02 | filed | Imaging sparse-operator path gives a very different log L from dense… | | 2026-11-02 | issued | Gradient-correctness sweep: triage and investigate every open… | @@ -3036,12 +3029,12 @@ Use the start-dev skill. draft/triage/autolens/jit_fit_from_is_vacuous.md | 2026-10-29 | issued | ECLIPSE site: serve R2 lens files through a Pages Function behind… | | 2026-10-26 | filed | Trim autogalaxy_assistant skills toward their autolens size | | 2026-10-25 | filed | Heart Health rerun cannot publish after main advances | -| 2026-10-25 | filed | CI timing must compare equivalent executed job coverage |
… 10 more (30 left) | Date | Event | Task | |------|-------|------| +| 2026-10-25 | filed | CI timing must compare equivalent executed job coverage | | 2026-10-23 | filed | autolens_assistant leg of the PyAutoLabs AI-options page (deferred… | | 2026-10-23 | filed | autocti_visualization manifest rendered_with: shows stale… | | 2026-10-23 | filed | @autolens_profiling stale auto-simulated dataset/cluster/simple… | @@ -3051,28 +3044,26 @@ Use the start-dev skill. draft/triage/autolens/jit_fit_from_is_vacuous.md | 2026-10-21 | filed | PyAutoLens mirror of the interferometer primary-beam persistence… | | 2026-10-21 | filed | Note in autolens_profiling that plain source-plane lane values… | | 2026-10-21 | filed | Matrix-free interferometer inversion, phase 5b: profiling note… | -| 2026-10-21 | issued | Matrix-free interferometer inversion for very large rectangular… |
… 10 more (20 left) | Date | Event | Task | |------|-------|------| +| 2026-10-21 | issued | Matrix-free interferometer inversion for very large rectangular… | | 2026-10-21 | filed | Interferometer primary beam: workspace example and docs | | 2026-10-21 | filed | Cluster likelihood scripts: image-plane manual check disagrees with… | -| 2026-10-16 | filed | repos_sync standards-block test keys on the checkout dir name… | | 2026-10-16 | filed | Re-measure the shapelets/modeling.py SLOW park (#586) under the… | -| 2026-10-16 | filed | Glance shadow window reached 20/20 clean — count line must say… | | 2026-10-14 | filed | @autofit_workspace six searches/ scripts fail on main at… | | 2026-10-14 | filed | Human-readable Cortex Projects dashboard | | 2026-10-14 | filed | Cortex output summaries — phase 2 | | 2026-10-09 | filed | Profiling conductor compile drift compares one point against one point | | 2026-10-08 | filed | JAX_ENABLE_X64=False is overridden to True, so the fp32 inference… | +| 2026-10-07 | filed | Upstream the DR1 final-catalogue tooling to the pipeline, with a… |
… 10 more (10 left) | Date | Event | Task | |------|-------|------| -| 2026-10-07 | filed | Upstream the DR1 final-catalogue tooling to the pipeline, with a… | | 2026-10-02 | filed | sibson-internal-edge-continuity | | 2026-10-02 | filed | knn-partial-point-block | | 2026-10-02 | filed | Fix Sibson interpolation at internal edges | @@ -3082,6 +3073,7 @@ Use the start-dev skill. draft/triage/autolens/jit_fit_from_is_vacuous.md | 2026-10-01 | filed | Interferometer galaxy_image_dict drops a mixed galaxy's ordinary… | | 2026-09-29 | filed | PlotterEllipse.fit_ellipse writes every variant to… | | 2026-09-29 | filed | Regenerate the 28 drifted .claude/hooks/session-start.sh copies… | +| 2026-09-27 | filed | Sparse interferometer inversion: jax.grad of the log-evidence terms… |
diff --git a/state.json b/state.json index 92f00daea..b228bb781 100644 --- a/state.json +++ b/state.json @@ -3,8 +3,8 @@ "organ": "mind", "repo": "PyAutoMind", "status": "yellow", - "headline": "YELLOW \u2014 24 picks \u00b7 13 in flight", - "updated": "2026-11-03T18:39:40Z", + "headline": "YELLOW \u2014 24 picks \u00b7 14 in flight", + "updated": "2026-11-03T19:13:12Z", "pages_url": "https://pyautolabs.github.io/PyAutoMind/", "items": [ { @@ -31,6 +31,12 @@ "url": "https://github.com/PyAutoLabs/PyAutoBrain/pull/564", "prompt": "Use the start-dev skill. active/intake_classify_file_drops_declared_epic_phase.md" }, + { + "severity": "yellow", + "text": "install.sh --check/--write-project-discovery rejects repo names (argparse ordering) \u2014 library-shipped, awaiting-merge", + "url": "https://github.com/PyAutoLabs/PyAutoBrain/pull/564", + "prompt": "Use the start-dev skill. active/project_discovery_argparse_ordering.md" + }, { "severity": "yellow", "text": "Deduplicate repos_sync.py's check/write pairs \u2014 library-shipped, awaiting-merge", @@ -120,12 +126,6 @@ "text": "pending release: PyAutoLens PyAutoLens#815 \u2014 magnification-maps-image-plane", "url": "https://github.com/PyAutoLabs/PyAutoLens/pull/815", "prompt": null - }, - { - "severity": "yellow", - "text": "pending release: PyAutoLens PyAutoLens#816 \u2014 magnification-maps-source-plane", - "url": "https://github.com/PyAutoLabs/PyAutoLens/pull/816", - "prompt": null } ] } From ca0f232969875e4341730b05de36e08d8ade4827 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 19:27:24 +0000 Subject: [PATCH 5/5] prm: close 5 organ tasks merged in PyAutoBrain#564 + PyAutoMemory#143; 3 glance shadow rows (72/20) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016nhQ8REafSSE74S71P4set --- active.md | 58 ------------ autonomy_log.md | 5 +- .../2026/11/arxiv-refs-api-errors.md | 7 ++ .../2026/11/board-phase2-legs.md | 7 ++ .../2026/11/intake-organ-memory-gate.md | 7 ++ .../11/project-discovery-argparse-ordering.md | 6 ++ .../2026/11/rtd-organism-currency.md | 7 ++ complete/index.md | 7 +- dashboard.html | 81 ++++++++-------- dashboard.md | 92 ++++++------------- ...v_edge_refuses_the_stdlib_urllib_client.md | 2 +- .../pyautobrain/brain_board_follow_ups.md | 2 +- state.json | 64 ++++++------- 13 files changed, 142 insertions(+), 203 deletions(-) rename active/arxiv_refs_swallows_every_api_error_silently.md => complete/2026/11/arxiv-refs-api-errors.md (79%) rename active/board_without_gh_phase2_legs.md => complete/2026/11/board-phase2-legs.md (67%) rename active/intake_classify_file_drops_declared_epic_phase.md => complete/2026/11/intake-organ-memory-gate.md (78%) rename active/project_discovery_argparse_ordering.md => complete/2026/11/project-discovery-argparse-ordering.md (68%) rename active/rtd_organism_currency.md => complete/2026/11/rtd-organism-currency.md (70%) diff --git a/active.md b/active.md index f32f4cd50..7ecc650bf 100644 --- a/active.md +++ b/active.md @@ -102,53 +102,6 @@ - decision: lift the 3b sandbox fence on real dispatch (human, 2026-11-03) - tier: judge — merge mode: human /prm (PyAutoMind first, then PyAutoBrain) -## intake-organ-memory-gate -- issue: https://github.com/PyAutoLabs/PyAutoBrain/issues/561 -- issued: 2026-11-03 -- session: claude-code remote (organs session) -- status: library-shipped, awaiting-merge -- repos: - - PyAutoBrain: ccr-7e6b22c0-04av9i -- prompt: active/intake_classify_file_drops_declared_epic_phase.md -- library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 -- decision-2026-11-03: human — repos under organs/ (PyAutoScientist) are gated too; shipped ba38413 -- tier: glance — merge mode: human /prm (shares a branch/PR with board-phase2-legs and rtd-organism-currency) - -## board-phase2-legs -- issue: https://github.com/PyAutoLabs/PyAutoBrain/issues/562 -- issued: 2026-11-03 -- session: claude-code remote (organs session) -- status: library-shipped, awaiting-merge -- repos: - - PyAutoBrain: ccr-7e6b22c0-04av9i -- prompt: active/board_without_gh_phase2_legs.md -- library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 -- decision-2026-11-03: human accepts upkeep reading 'open-issue count unavailable' remotely (no org-wide issue search in the MCP surface) -- tier: notify — merge mode: human /prm (shared Brain PR) - -## rtd-organism-currency -- issue: https://github.com/PyAutoLabs/PyAutoBrain/issues/563 -- issued: 2026-11-03 -- session: claude-code remote (organs session) -- status: library-shipped, awaiting-merge -- repos: - - PyAutoBrain: ccr-7e6b22c0-04av9i -- prompt: active/rtd_organism_currency.md -- library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 -- tier: notify — merge mode: human /prm (shared Brain PR) -- decision-2026-11-03: human — rename build.md→hands.md (done, with build.html redirect), add Broca to ORGANISM.md table (done), fix the 'Five capabilities' count (done); 1aa2ed4 - -## arxiv-refs-api-errors -- issue: https://github.com/PyAutoLabs/PyAutoMemory/issues/142 -- issued: 2026-11-03 -- session: claude-code remote (organs session) -- status: library-shipped, awaiting-merge -- repos: - - PyAutoMemory: ccr-7e6b22c0-04av9i -- prompt: active/arxiv_refs_swallows_every_api_error_silently.md -- library-pr: https://github.com/PyAutoLabs/PyAutoMemory/pull/143 -- tier: glance — merge mode: human /prm - ## repos-sync-check-dedup - issue: https://github.com/PyAutoLabs/PyAutoMind/issues/527 - issued: 2026-11-03 @@ -159,14 +112,3 @@ - prompt: active/repos_sync_check_dedup.md - library-pr: https://github.com/PyAutoLabs/PyAutoMind/pull/528 - tier: notify — merge mode: human /prm - -## project-discovery-argparse-ordering -- issue: https://github.com/PyAutoLabs/PyAutoBrain/issues/565 -- issued: 2026-11-03 -- session: claude-code remote (organs session) -- status: library-shipped, awaiting-merge -- repos: - - PyAutoBrain: ccr-7e6b22c0-04av9i -- prompt: active/project_discovery_argparse_ordering.md -- library-pr: https://github.com/PyAutoLabs/PyAutoBrain/pull/564 -- tier: glance — merge mode: human /prm (shared Brain PR, human decision 2026-11-03: one PR) diff --git a/autonomy_log.md b/autonomy_log.md index ca3d8b424..3416b6f6f 100644 --- a/autonomy_log.md +++ b/autonomy_log.md @@ -505,7 +505,7 @@ close-out since PyAutoBrain#364) stays listed below and is named as uncounted. Its protocol, power calculation and pre-registered rule are in `complete/2026/09/prm-shadow-row-notify-tier.md` (under `## Original prompt`). -Count toward 20: 69 (stage 1: 69, stage 2: 0) — window re-scoped to tier `glance` 2026-10-02; first `glance` row: 2026-10-06; earlier rows not counted (the tier-`notify` window, closed 2026-10-02, and legacy): 14; window reached — the pre-registered decision is due +Count toward 20: 72 (stage 1: 72, stage 2: 0) — window re-scoped to tier `glance` 2026-10-02; first `glance` row: 2026-10-06; earlier rows not counted (the tier-`notify` window, closed 2026-10-02, and legacy): 14; window reached — the pre-registered decision is due One row per tier-`glance` candidate at close-out. `human action` ∈ `merged-unchanged` / `merged-after-substantive-change` / `not-merged` / @@ -603,3 +603,6 @@ add the independent-model adversarial leg. Never pool the two. | 2026-11-01 | simulate-if-needed-workspace-sweep (autolens_workspace#612 / autogalaxy_workspace#269 / autolens_workspace_test#353 / autocti_workspace#39 / autogalaxy_workspace_test#132 / HowToLens#120 / HowToGalaxy#99 / euclid_strong_lens_modeling_pipeline#118 / PyAutoBrain#549) | glance | CI green all 9 PRs (euclid smoke leg skipped by path filter on a test-only change; unit legs green); static: black-exact + compile + size guard; guard call-site counts unchanged; local smoke samples green where env allowed; review none; heart GREY unreachable; witness PASS | merged-unchanged | 1 | | 2026-11-02 | magnification-errors-source-science (autolens_workspace#613 / PyAutoFit#1751) | glance | tests CI 8/8 legs (navigator 4, smoke 3.12+3.13, size-guard); smoke 11/11 local; review none (no independent review); heart STALE ack'd (task under human RED override 2026-10-31); witness PARTIAL (full-mode truth check 4/11, rest waived by human 2026-11-02) | merged-unchanged | 1 | | 2026-11-03 | autonomous-orchestrators-p2 (PyAutoMind#523 / PyAutoBrain#554) | glance | tests Brain 1437 + Mind 712 local, CI 2/2 legs Brain (2nd run; 1st red on tenant firewall, fixed f3fc8fc) + Mind 2 runs (drift skipped by design); smoke n/a (organs); review none (no independent review); heart YELLOW ack'd by human; witness PASS (28/28 clause tests) | merged-unchanged | 1 | +| 2026-11-03 | intake-organ-memory-gate (PyAutoBrain#564) | glance | tests Brain 1477 local + CI 3/3 (pytest 3.12, 3.13, docs-build); smoke n/a (organs); review none (no independent review); heart n/a (remote, not reachable); witness PASS | merged-unchanged | 1 | +| 2026-11-03 | arxiv-refs-api-errors (PyAutoMemory#143) | glance | tests Memory 286 local + CI 1/1 (validate); smoke n/a (organs); review none (no independent review); heart n/a (remote, not reachable); witness PASS | merged-unchanged | 1 | +| 2026-11-03 | project-discovery-argparse-ordering (PyAutoBrain#564) | glance | tests Brain 1477 local + CI 3/3 (pytest 3.12, 3.13, docs-build); smoke n/a (organs); review none (no independent review); heart n/a (remote, not reachable); witness PASS | merged-unchanged | 1 | diff --git a/active/arxiv_refs_swallows_every_api_error_silently.md b/complete/2026/11/arxiv-refs-api-errors.md similarity index 79% rename from active/arxiv_refs_swallows_every_api_error_silently.md rename to complete/2026/11/arxiv-refs-api-errors.md index 0a53a94de..e49d4ec66 100644 --- a/active/arxiv_refs_swallows_every_api_error_silently.md +++ b/complete/2026/11/arxiv-refs-api-errors.md @@ -1,3 +1,10 @@ +- summary: most of the fix was already on main (0c3e2dc, 772d725: ArxivAPIError, retry ladder, api_failed, return 1). The live bug: arxiv_refs.yml piped the script through tee without pipefail, so the exit code was discarded and an outage still showed green. Now pipefail + recorded status, partial progress still validated/committed, then the job fails with ::error::. Script: injectable sleep, ParseError → ArxivAPIError, HTTPException transient, `unattempted` stat. +- history check: nothing was NOTE-marked in the 2026-09-14..18 outage window (only NOTE commits: 1bd7d38, 86ea9fd 08-25; 778e3e4 08-27). +- pr: PyAutoMemory#143; issue PyAutoMemory#142. +- witness: PASS — injected HTTPError(429) → api_failed, never unmatched, never NOTE-marked (fails on pre-fix source); 286 passed; make validate OK; CI validate green. + +## Original prompt + # `arxiv_refs.py` swallows every API error, so an arXiv outage resolves nothing and still reports green Type: bug diff --git a/active/board_without_gh_phase2_legs.md b/complete/2026/11/board-phase2-legs.md similarity index 67% rename from active/board_without_gh_phase2_legs.md rename to complete/2026/11/board-phase2-legs.md index ed391b1e0..dd0cbeeab 100644 --- a/active/board_without_gh_phase2_legs.md +++ b/complete/2026/11/board-phase2-legs.md @@ -1,3 +1,10 @@ +- summary: board phase 2. Three of the four legs the prompt named (versions, community, resume) had been retired from `collect()` in 41ec5c5 after filing, so no script needed its own seam. Upkeep, the last GitHub leg, gets `open_issues_endpoint(org)` — both its `gh api` path (dev-box path unchanged) and its `--github-data` key. Contract (board/AGENTS.md) and gatherer skill (skills/board/board.md, which still asked for retired overnight runs) updated. +- decision: human 2026-11-03 accepts upkeep reading "open-issue count unavailable" in a remote session (no org-wide issue search on the MCP surface). +- pr: PyAutoBrain#564; issue PyAutoBrain#562. +- witness: PASS — fixture tests: injected data → zero unread legs; injected null → "upkeep: open-issue count unavailable", never 0. + +## Original prompt + # Board phase 2: the remaining four legs onto the seam Type: feature diff --git a/active/intake_classify_file_drops_declared_epic_phase.md b/complete/2026/11/intake-organ-memory-gate.md similarity index 78% rename from active/intake_classify_file_drops_declared_epic_phase.md rename to complete/2026/11/intake-organ-memory-gate.md index 5e4609e14..8454835bd 100644 --- a/active/intake_classify_file_drops_declared_epic_phase.md +++ b/complete/2026/11/intake-organ-memory-gate.md @@ -1,3 +1,10 @@ +- summary: intake no longer writes a `Memory:` line on organ-targeted prompts. `_cites_memory()` gates on ORGANISM_REPOS (`category: organ`) and, by human decision 2026-11-03, any body-map repo whose `path` sits under `organs/` (the PyAutoScientist landing repo); both read from repos.yaml, so no repo name enters organ code (tenant firewall). `write_prompt` skips the Memory query for those targets. Item 1 of the original prompt (header pass-through) had already shipped in PyAutoBrain#554. +- pr: PyAutoBrain#564 (shared with board-phase2-legs, rtd-organism-currency, project-discovery-argparse-ordering — one PR by human decision); issue PyAutoBrain#561. +- witness: PASS — test_organ_target_gets_no_memory_line (fails on the pre-fix `_intake.py`) + test_library_target_with_hits_still_gets_memory_line; Brain suite 1477 passed; CI pytest 3.12 + 3.13 + docs-build green. +- trap: the first test version named a library repo literally and tripped the tenant firewall; the test now reads the library from repos.yaml. + +## Original prompt + # intake classify --file injects an unrelated Memory: line on organ-targeted prompts Type: bug diff --git a/active/project_discovery_argparse_ordering.md b/complete/2026/11/project-discovery-argparse-ordering.md similarity index 68% rename from active/project_discovery_argparse_ordering.md rename to complete/2026/11/project-discovery-argparse-ordering.md index abf23f4b8..24ba57283 100644 --- a/active/project_discovery_argparse_ordering.md +++ b/complete/2026/11/project-discovery-argparse-ordering.md @@ -1,3 +1,9 @@ +- summary: `bin/project_discovery.py` used parse_args(); install.sh passes `--root` before the repo names, so the nargs='*' positional was already bound and every named check/write errored ("unrecognized arguments"). Now parse_intermixed_args(). Filed and fixed at the human's request 2026-11-03. +- pr: PyAutoBrain#564; issue PyAutoBrain#565. +- witness: PASS — tests/test_skill_install.py 10 failed (main) → 22 passed. + +## Original prompt + # install.sh --check/--write-project-discovery rejects repo names (argparse ordering) Type: bug diff --git a/active/rtd_organism_currency.md b/complete/2026/11/rtd-organism-currency.md similarity index 70% rename from active/rtd_organism_currency.md rename to complete/2026/11/rtd-organism-currency.md index 84045b054..fc5a2aa9c 100644 --- a/active/rtd_organism_currency.md +++ b/complete/2026/11/rtd-organism-currency.md @@ -1,3 +1,10 @@ +- summary: RTD organism docs current with the 14 `category: organ` repos: new organs/nerves.md, dna.md, broca.md; hard-coded organ counts removed (index, concepts/organism, board-orchestration). Human decisions 2026-11-03: organs/build → organs/hands (build.html kept as a meta-refresh redirect via html_extra_path); Broca added to ORGANISM.md's organ table; ORGANISM.md "Five capabilities" reworded. nerves.md added to the PyAutoConf rename guard's deliberate set. +- pr: PyAutoBrain#564; issue PyAutoBrain#563. +- witness: PASS — Sphinx warnings 0 → 0 (local + CI docs-build); no stale count phrasings in docs/. +- follow-up: the DNA/Broca pages link to hand-derived GitHub anchors in ORGANISM.md; Sphinx does not check them — worth one click. + +## Original prompt + # RTD organism docs currency: Nerves page, organ-count drift, hands.md rename Type: docs diff --git a/complete/index.md b/complete/index.md index c4c1d6862..be53757b5 100644 --- a/complete/index.md +++ b/complete/index.md @@ -6,7 +6,7 @@ Token-light navigation over the finished-work records (schema: only then grep a dated bucket. Curators: edit the band between the CURATED markers; everything below GENERATED is rebuilt. -2115 records across 11 buckets. +2120 records across 11 buckets. ## Highlights @@ -121,10 +121,12 @@ markers; everything below GENERATED is rebuilt. ## 2026/11 +- [arxiv-refs-api-errors](2026/11/arxiv-refs-api-errors.md) — most of the fix was already on main (0c3e2dc, 772d725: ArxivAPIError, retry ladder, api_failed, return 1). The… - [autonomous-orchestrators-p1](2026/11/autonomous-orchestrators-p1.md) — phase 1 of 7; epic draft/feature/pyautobrain/autonomous_orchestrators_epic.md - [autonomous-orchestrators-p2](2026/11/autonomous-orchestrators-p2.md) — phase 2 of 7; epic draft/feature/pyautobrain/autonomous_orchestrators_epic.md - [autonomous-orchestrators-p3a](2026/11/autonomous-orchestrators-p3a.md) — phase 3a of 3a–3d; epic draft/feature/pyautobrain/autonomous_orchestrators_epic.md - [autonomous-orchestrators-p3b](2026/11/autonomous-orchestrators-p3b.md) — phase 3b of 3a–3d; epic draft/feature/pyautobrain/autonomous_orchestrators_epic.md +- [board-phase2-legs](2026/11/board-phase2-legs.md) — board phase 2. Three of the four legs the prompt named (versions, community, resume) had been retired from `co… - [cloud-validation-rehearsal-clock-skew](2026/11/cloud-validation-rehearsal-clock-skew.md) - [glance-shadow-window-reached](2026/11/glance-shadow-window-reached.md) — code half already fixed on main — 679b1319f makes `shadow_count_line()` emit "window reached — the pre-registe… - [gradient-campaign-impact](2026/11/gradient-campaign-impact.md) — human-requested assessment of whether the two PyAutoArray#671 defects affected the likelihood-lifecycle phase-… @@ -132,6 +134,7 @@ markers; everything below GENERATED is rebuilt. - [howto-prose-format](2026/11/howto-prose-format.md) - [howtolens-chapter2](2026/11/howtolens-chapter2.md) — Applied approved tutorials 1–4, optional Prodigy introduction, notebook generation and navigation. Later Chapt… - [hpc-campaign-p5a-assistant](2026/11/hpc-campaign-p5a-assistant.md) — phase 5a; ledger draft/research/autofit/hpc_campaign_epic.md +- [intake-organ-memory-gate](2026/11/intake-organ-memory-gate.md) — intake no longer writes a `Memory:` line on organ-targeted prompts. `_cites_memory()` gates on ORGANISM_REPOS … - [latest-per-test-tie](2026/11/latest-per-test-tie.md) — test_autofit/results/test_identity.py::test_latest_per_keeps_the_latest_sibling flaked (main red at 963ff296a, - [likelihood-lifecycle-p3-day-zero-pages](2026/11/likelihood-lifecycle-p3-day-zero-pages.md) - [likelihood-lifecycle-p3-day-zero-stamp](2026/11/likelihood-lifecycle-p3-day-zero-stamp.md) @@ -149,6 +152,7 @@ markers; everything below GENERATED is rebuilt. - [magnification-maps-source-plane](2026/11/magnification-maps-source-plane.md) - [magnification-maps-uncertainty](2026/11/magnification-maps-uncertainty.md) - [one-line-auto-simulate-helper](2026/11/one-line-auto-simulate-helper.md) +- [project-discovery-argparse-ordering](2026/11/project-discovery-argparse-ordering.md) — `bin/project_discovery.py` used parse_args(); install.sh passes `--root` before the repo names, so the nargs='… - [rectangular-gradient-rtu-sparse](2026/11/rectangular-gradient-rtu-sparse.md) — the filed symptom (|g| ~2e9 on the imaging/rectangular/hst fiducial, RTU all backends, Bilinear CPU sparse) sp… - [rectangular-mapper-bilinear-row-weights](2026/11/rectangular-mapper-bilinear-row-weights.md) — - **Retired as already-fixed** by the gradient-correctness sweep (autolens_profiling#517, item 12). The draft … - [repos-sync-test-keys-on-dir-name](2026/11/repos-sync-test-keys-on-dir-name.md) — already fixed on main before this prompt was picked up — 679b1319f ("test: Mind suite green on main — shadow l… @@ -156,6 +160,7 @@ markers; everything below GENERATED is rebuilt. - [results-library-p3-exports](2026/11/results-library-p3-exports.md) — AggregateCSV.save(cache=, shard=, expected=, sort_by=, on_error=, columns_json=): row cache - [results-library-p4-package](2026/11/results-library-p4-package.md) — new `autofit/export/` (`af.export`): package() — size-capped / exactly-N part zips with objects whole, - [results-library-p5b-cortex](2026/11/results-library-p5b-cortex.md) — phase 5b; ledger draft/feature/autofit/results_library_epic.md +- [rtd-organism-currency](2026/11/rtd-organism-currency.md) — RTD organism docs current with the 14 `category: organ` repos: new organs/nerves.md, dna.md, broca.md; hard-co… - [simulate-if-needed-workspace-sweep](2026/11/simulate-if-needed-workspace-sweep.md) ## 2026/10/github-token-consolidation-epic_surveys diff --git a/dashboard.html b/dashboard.html index 6d3e6eeb5..1e46e0d55 100644 --- a/dashboard.html +++ b/dashboard.html @@ -327,8 +327,8 @@ Keep track of decisions and outstanding questions throughout this conversation. After changes, report what was recorded, where it lives and what remains to do. Work on GitHub: -- Open Mind repository: https://github.com/PyAutoLabs/PyAutoMind
Last updated 2026-11-03 19:13:11 UTC
↻ Update

- +- Open Mind repository: https://github.com/PyAutoLabs/PyAutoMind
Last updated 2026-11-03 19:27:18 UTC
↻ Update

+

Start here

24

Highest priority (filed as high) — showing 12 of 19

@@ -504,20 +504,15 @@

Fits a slot (ready to run unattended, cheapest to revie image-source-mappings — 1 queued prompt(s) — ⚠️ not in epics.md

-

In flight

14
-

arxiv_refs.py swallows every API error, so an arXiv outage resolves nothing… — issue #142 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMemory#143

+

In flight

9
-

Board phase 2: the remaining four legs onto the seam — issue #562 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564

-

intake classify --file injects an unrelated Memory: line on organ-targeted prompts — issue #561 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564

-

install.sh --check/--write-project-discovery rejects repo names (argparse ordering) — issue #565 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564

Deduplicate repos_sync.py's check/write pairs — issue #527 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMind#528

Issued: 2026-11-02 — issue #176 — issued 2026-11-02 — workspace-shipped, awaiting-merge (judge → human /prm; wiki-currency waits on a PyAutoFit release) — PRs: autolens_assistant#177

-

RTD organism docs currency: Nerves page, organ-count drift, hands.md rename — issue #563 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564

Planned

9
@@ -805,24 +800,6 @@

Fits a slot (ready to run unattended, cheapest to revie - - - - - - - - - - - - - - - - - - @@ -830,24 +807,12 @@

Fits a slot (ready to run unattended, cheapest to revie

- - - - - - - - - - - - @@ -863,31 +828,31 @@

Fits a slot (ready to run unattended, cheapest to revie

- + - + - + - + - + @@ -1103,6 +1068,36 @@

Fits a slot (ready to run unattended, cheapest to revie

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
2026-11-03issuedintake classify --file injects an unrelated Memory: line on…
2026-11-03issuedinstall.sh --check/--write-project-discovery rejects repo names…
2026-11-03issuedarxiv_refs.py swallows every API error, so an arXiv outage resolves…
2026-11-03 filed Record the glance Shadow-window ruling in AUTONOMY.md — grant…
2026-11-03 issuedRTD organism docs currency: Nerves page, organ-count drift, hands.md…
2026-11-03issued Deduplicate repos_sync.py's check/write pairs
2026-11-03 issuedBoard phase 2: the remaining four legs onto the seam
2026-11-03issued Autonomous orchestrators phase 3c: one Mind writer per shift — ledger…
Standard-size gradient cells record "point": "prior_medians" while…
2026-11-02 issued Magnification maps 8d: wire into fit subplots and make them pretty
2026-11-02 issued Issued: 2026-11-02
2026-11-02 filed Imaging sparse-operator path gives a very different log L from dense…
2026-11-02 issued Gradient-correctness sweep: triage and investigate every open…
2026-11-02 issued Chapter 2 parameter-space explanations and profile sequencingSparse interferometer inversion: jax.grad of the log-evidence terms…

Pending release

4
diff --git a/dashboard.md b/dashboard.md index 464eed34e..3504c2f52 100644 --- a/dashboard.md +++ b/dashboard.md @@ -10,7 +10,7 @@ |-------|------:| | [Start here](#start-here) | 24 | | [Epics](#epics) | 20 | -| [In flight](#in-flight) | 14 | +| [In flight](#in-flight) | 9 | | [Planned](#planned) | 9 | | [Backlog](#backlog) | 286 | | [Recent](#recent) | 50 | @@ -1038,14 +1038,6 @@ Use the start-dev skill. draft/bug/autoarray/mapping_overlay_follow_ups_forward_ ## In flight -
📋 arxiv_refs.py swallows every API error, so an arXiv outage resolves nothing… — issue #142 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMemory#143 - -``` -Use the start-dev skill. active/arxiv_refs_swallows_every_api_error_silently.md -``` - -
-
📋 Autonomous orchestrators phase 3c: one Mind writer per shift — ledger lines… — issue #559 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoMind#526, PyAutoBrain#560 ``` @@ -1054,14 +1046,6 @@ Use the start-dev skill. active/autonomous_orchestrators_p3c_mind_writer.md
-
📋 Board phase 2: the remaining four legs onto the seam — issue #562 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564 - -``` -Use the start-dev skill. active/board_without_gh_phase2_legs.md -``` - -
-
📋 Chapter 2 parameter-space explanations and profile sequencing — issued 2026-11-02 ``` @@ -1078,14 +1062,6 @@ Use the start-dev skill. active/gradient_correctness_sweep.md
-
📋 intake classify --file injects an unrelated Memory: line on organ-targeted prompts — issue #561 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564 - -``` -Use the start-dev skill. active/intake_classify_file_drops_declared_epic_phase.md -``` - -
-
📋 Magnification maps 8d: wire into fit subplots and make them pretty — issue #818 — issued 2026-11-02 — library-dev ``` @@ -1102,14 +1078,6 @@ Use the start-dev skill. active/matrix_free_interferometer_inversion.md
-
📋 install.sh --check/--write-project-discovery rejects repo names (argparse ordering) — issue #565 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564 - -``` -Use the start-dev skill. active/project_discovery_argparse_ordering.md -``` - -
-
📋 ECLIPSE site: serve R2 lens files through a Pages Function behind Cloudflare… — issued 2026-10-29 ``` @@ -1134,14 +1102,6 @@ Use the start-dev skill. active/results_library_p5a_assistant.md
-
📋 RTD organism docs currency: Nerves page, organ-count drift, hands.md rename — issue #563 — issued 2026-11-03 — library-shipped, awaiting-merge — PRs: PyAutoBrain#564 - -``` -Use the start-dev skill. active/rtd_organism_currency.md -``` - -
-
📋 Sky orientation (north/east): euclid_dr1 catalogue, paper and website, plus the PyAutoLens library-wide… — issue #115 — issued 2026-10-31 — workspace-dev ``` @@ -3004,76 +2964,76 @@ Use the start-dev skill. draft/triage/autolens/jit_fit_from_is_vacuous.md | Date | Event | Task | |------|-------|------| -| 2026-11-03 | issued | intake classify --file injects an unrelated Memory: line on… | -| 2026-11-03 | issued | install.sh --check/--write-project-discovery rejects repo names… | -| 2026-11-03 | issued | arxiv_refs.py swallows every API error, so an arXiv outage resolves… | | 2026-11-03 | filed | Record the glance Shadow-window ruling in AUTONOMY.md — grant… | -| 2026-11-03 | issued | RTD organism docs currency: Nerves page, organ-count drift, hands.md… | | 2026-11-03 | issued | Deduplicate repos_sync.py's check/write pairs | -| 2026-11-03 | issued | Board phase 2: the remaining four legs onto the seam | | 2026-11-03 | issued | Autonomous orchestrators phase 3c: one Mind writer per shift — ledger… | | 2026-11-02 | filed | Unexplained autodiff-vs-FD gaps in the phase-6 gradient records… | | 2026-11-02 | filed | Standard-size gradient cells record "point": "prior_medians" while… | - -
… 10 more (40 left) - -| Date | Event | Task | -|------|-------|------| | 2026-11-02 | issued | Magnification maps 8d: wire into fit subplots and make them pretty | | 2026-11-02 | issued | Issued: 2026-11-02 | | 2026-11-02 | filed | Imaging sparse-operator path gives a very different log L from dense… | | 2026-11-02 | issued | Gradient-correctness sweep: triage and investigate every open… | | 2026-11-02 | issued | Chapter 2 parameter-space explanations and profile sequencing | + +
… 10 more (40 left) + +| Date | Event | Task | +|------|-------|------| | 2026-10-31 | issued | Sky orientation (north/east): euclid_dr1 catalogue, paper and… | | 2026-10-30 | filed | Should PyAutoArray flip FITS rows at load so +y is north | | 2026-10-29 | issued | ECLIPSE site: serve R2 lens files through a Pages Function behind… | | 2026-10-26 | filed | Trim autogalaxy_assistant skills toward their autolens size | | 2026-10-25 | filed | Heart Health rerun cannot publish after main advances | - -
… 10 more (30 left) - -| Date | Event | Task | -|------|-------|------| | 2026-10-25 | filed | CI timing must compare equivalent executed job coverage | | 2026-10-23 | filed | autolens_assistant leg of the PyAutoLabs AI-options page (deferred… | | 2026-10-23 | filed | autocti_visualization manifest rendered_with: shows stale… | | 2026-10-23 | filed | @autolens_profiling stale auto-simulated dataset/cluster/simple… | | 2026-10-23 | filed | A dedicated Documentation conductor in PyAutoBrain | + +
… 10 more (30 left) + +| Date | Event | Task | +|------|-------|------| | 2026-10-22 | filed | point-plots-yaml-keys-assistant | | 2026-10-21 | filed | interferometer-primary-beam-persistence-mirror | | 2026-10-21 | filed | PyAutoLens mirror of the interferometer primary-beam persistence… | | 2026-10-21 | filed | Note in autolens_profiling that plain source-plane lane values… | | 2026-10-21 | filed | Matrix-free interferometer inversion, phase 5b: profiling note… | - -
… 10 more (20 left) - -| Date | Event | Task | -|------|-------|------| | 2026-10-21 | issued | Matrix-free interferometer inversion for very large rectangular… | | 2026-10-21 | filed | Interferometer primary beam: workspace example and docs | | 2026-10-21 | filed | Cluster likelihood scripts: image-plane manual check disagrees with… | | 2026-10-16 | filed | Re-measure the shapelets/modeling.py SLOW park (#586) under the… | | 2026-10-14 | filed | @autofit_workspace six searches/ scripts fail on main at… | + +
… 10 more (20 left) + +| Date | Event | Task | +|------|-------|------| | 2026-10-14 | filed | Human-readable Cortex Projects dashboard | | 2026-10-14 | filed | Cortex output summaries — phase 2 | | 2026-10-09 | filed | Profiling conductor compile drift compares one point against one point | | 2026-10-08 | filed | JAX_ENABLE_X64=False is overridden to True, so the fp32 inference… | | 2026-10-07 | filed | Upstream the DR1 final-catalogue tooling to the pipeline, with a… | - -
… 10 more (10 left) - -| Date | Event | Task | -|------|-------|------| | 2026-10-02 | filed | sibson-internal-edge-continuity | | 2026-10-02 | filed | knn-partial-point-block | | 2026-10-02 | filed | Fix Sibson interpolation at internal edges | | 2026-10-02 | filed | Fix KNN neighbor search for a partial final point block | | 2026-10-01 | filed | Sparse interferometer terms: NUFFT ignores the mask origin and… | + +
… 10 more (10 left) + +| Date | Event | Task | +|------|-------|------| | 2026-10-01 | filed | Interferometer log_evidence fails (LinAlgError / NaN) at large… | | 2026-10-01 | filed | Interferometer galaxy_image_dict drops a mixed galaxy's ordinary… | | 2026-09-29 | filed | PlotterEllipse.fit_ellipse writes every variant to… | | 2026-09-29 | filed | Regenerate the 28 drifted .claude/hooks/session-start.sh copies… | | 2026-09-27 | filed | Sparse interferometer inversion: jax.grad of the log-evidence terms… | +| 2026-09-27 | filed | Same-class q-clamp and bare-sqrt ellipticity gradient sites… | +| 2026-09-27 | filed | Building a JAX Fitness then calling register_tracer_classes raises… | +| 2026-09-26 | filed | bump_colab_urls.sh: cover autolens_assistant Colab links | +| 2026-09-26 | filed | Repo cleanup: retire the Abell 1201 worktree and local raw data | +| 2026-09-25 | filed | test_latent_euclid_variables_traces_under_jax_jit went red on main… |
diff --git a/draft/bug/pyautomind/arxiv_edge_refuses_the_stdlib_urllib_client.md b/draft/bug/pyautomind/arxiv_edge_refuses_the_stdlib_urllib_client.md index 9fca8f235..89029bb1f 100644 --- a/draft/bug/pyautomind/arxiv_edge_refuses_the_stdlib_urllib_client.md +++ b/draft/bug/pyautomind/arxiv_edge_refuses_the_stdlib_urllib_client.md @@ -78,7 +78,7 @@ nothing to Slack. It converts an instant failure into a slow one. 4. Re-check `scripts/backfill_arxiv_refs.py` and `scripts/arxiv_refs.py` in **PyAutoMemory**, which use `urllib.request` against the same endpoint. They have stayed green only because they swallow every exception - (`draft/bug/pyautomemory/arxiv_refs_swallows_every_api_error_silently.md`) — + (shipped 2026-11-03, `complete/2026/11/arxiv-refs-api-errors.md`) — so they may already be resolving nothing, silently, for this same reason. 5. If the fingerprint hypothesis is confirmed, consider whether arXiv's API terms expect a declared client; a contact-bearing UA plus a mainstream HTTP diff --git a/draft/feature/pyautobrain/brain_board_follow_ups.md b/draft/feature/pyautobrain/brain_board_follow_ups.md index 39afbf7da..f2ede1321 100644 --- a/draft/feature/pyautobrain/brain_board_follow_ups.md +++ b/draft/feature/pyautobrain/brain_board_follow_ups.md @@ -44,6 +44,6 @@ Remaining candidates — pick up only when a real morning shows the need: own copies (the keep-in-step comments then come out). 3. **Whatever a week of mornings surfaces** — append here before starting. -Filed separately, because it is not a nit: **`board_without_gh.md`** (umbrella archived 2026-09-17 under `complete/archive/epics/`; phase 2 is `board_without_gh_phase2_legs.md`) — the +Filed separately, because it is not a nit: **`board_without_gh.md`** (umbrella archived 2026-09-17 under `complete/archive/epics/`; phase 2 shipped 2026-11-03, `complete/2026/11/board-phase2-legs.md`) — the eleven legs that read GitHub through `gh api` are dark in a remote session, which has no `gh`. A mobile morning is mostly blind until that is closed. diff --git a/state.json b/state.json index b228bb781..88633f012 100644 --- a/state.json +++ b/state.json @@ -3,40 +3,16 @@ "organ": "mind", "repo": "PyAutoMind", "status": "yellow", - "headline": "YELLOW \u2014 24 picks \u00b7 14 in flight", - "updated": "2026-11-03T19:13:12Z", + "headline": "YELLOW \u2014 24 picks \u00b7 9 in flight", + "updated": "2026-11-03T19:27:19Z", "pages_url": "https://pyautolabs.github.io/PyAutoMind/", "items": [ - { - "severity": "yellow", - "text": "`arxiv_refs.py` swallows every API error, so an arXiv outage resolves nothing\u2026 \u2014 library-shipped, awaiting-merge", - "url": "https://github.com/PyAutoLabs/PyAutoMemory/pull/143", - "prompt": "Use the start-dev skill. active/arxiv_refs_swallows_every_api_error_silently.md" - }, { "severity": "yellow", "text": "Autonomous orchestrators phase 3c: one Mind writer per shift \u2014 ledger lines\u2026 \u2014 library-shipped, awaiting-merge", "url": "https://github.com/PyAutoLabs/PyAutoMind/pull/526", "prompt": "Use the start-dev skill. active/autonomous_orchestrators_p3c_mind_writer.md" }, - { - "severity": "yellow", - "text": "Board phase 2: the remaining four legs onto the seam \u2014 library-shipped, awaiting-merge", - "url": "https://github.com/PyAutoLabs/PyAutoBrain/pull/564", - "prompt": "Use the start-dev skill. active/board_without_gh_phase2_legs.md" - }, - { - "severity": "yellow", - "text": "intake classify --file injects an unrelated Memory: line on organ-targeted prompts \u2014 library-shipped, awaiting-merge", - "url": "https://github.com/PyAutoLabs/PyAutoBrain/pull/564", - "prompt": "Use the start-dev skill. active/intake_classify_file_drops_declared_epic_phase.md" - }, - { - "severity": "yellow", - "text": "install.sh --check/--write-project-discovery rejects repo names (argparse ordering) \u2014 library-shipped, awaiting-merge", - "url": "https://github.com/PyAutoLabs/PyAutoBrain/pull/564", - "prompt": "Use the start-dev skill. active/project_discovery_argparse_ordering.md" - }, { "severity": "yellow", "text": "Deduplicate repos_sync.py's check/write pairs \u2014 library-shipped, awaiting-merge", @@ -49,12 +25,6 @@ "url": "https://github.com/PyAutoLabs/autolens_assistant/pull/177", "prompt": "Use the start-dev skill. active/results_library_p5a_assistant.md" }, - { - "severity": "yellow", - "text": "RTD organism docs currency: Nerves page, organ-count drift, hands.md rename \u2014 library-shipped, awaiting-merge", - "url": "https://github.com/PyAutoLabs/PyAutoBrain/pull/564", - "prompt": "Use the start-dev skill. active/rtd_organism_currency.md" - }, { "severity": "yellow", "text": "human review: multi-plane cross-validation (library tests + workspace guide)", @@ -126,6 +96,36 @@ "text": "pending release: PyAutoLens PyAutoLens#815 \u2014 magnification-maps-image-plane", "url": "https://github.com/PyAutoLabs/PyAutoLens/pull/815", "prompt": null + }, + { + "severity": "yellow", + "text": "pending release: PyAutoLens PyAutoLens#816 \u2014 magnification-maps-source-plane", + "url": "https://github.com/PyAutoLabs/PyAutoLens/pull/816", + "prompt": null + }, + { + "severity": "yellow", + "text": "pending release: PyAutoLens PyAutoLens#817 \u2014 magnification-maps-uncertainty", + "url": "https://github.com/PyAutoLabs/PyAutoLens/pull/817", + "prompt": null + }, + { + "severity": "info", + "text": "pick: autolens_assistant leg of the PyAutoLabs AI-options page (deferred from #87)", + "url": "https://github.com/PyAutoLabs/PyAutoMind/blob/main/draft/docs/autolens_assistant/ai_options_page_autolens_leg.md", + "prompt": "Use the start-dev skill. draft/docs/autolens_assistant/ai_options_page_autolens_leg.md" + }, + { + "severity": "info", + "text": "pick: test_latent_euclid_variables_traces_under_jax_jit went red on main: total_source_flux differs by 6% between jax.jit\u2026", + "url": "https://github.com/PyAutoLabs/PyAutoMind/blob/main/draft/bug/euclid/latent_total_source_flux_jax_vs_numpy_regression.md", + "prompt": "Use the start-dev skill. draft/bug/euclid/latent_total_source_flux_jax_vs_numpy_regression.md" + }, + { + "severity": "info", + "text": "pick: SED chain waveband fit can spin forever in Nautilus exploration\u2026", + "url": "https://github.com/PyAutoLabs/PyAutoMind/blob/main/draft/bug/euclid/sed_chain_waveband_fit_can_spin_forever.md", + "prompt": "Use the start-dev skill. draft/bug/euclid/sed_chain_waveband_fit_can_spin_forever.md" } ] }