Skip to content

prompt: route smoke-runner-jupyter-guard + re-scope run_smoke_copy_drift - #139

Merged
Jammy2211 merged 5 commits into
mainfrom
claude/smoke-runner-jupyter-guard-3sxcc0
Aug 6, 2026
Merged

Jammy2211 merged 5 commits into
mainfrom
claude/smoke-runner-jupyter-guard-3sxcc0

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Mind state for the smoke-runner jupyter-guard task (autolens_workspace#470, PRs autolens_workspace#471 / autofit_workspace#133 / autogalaxy_workspace#206).

Two commits

1. Route the task. Lands the intake-formalised prompt in active/smoke_runner_jupyter_guard.md and registers smoke-runner-jupyter-guard in active.md.

One wrinkle worth knowing: the draft copy lives at draft/bug/workspaces/bug_in_the_workspace_smoke_runners_the.md on the unmerged branch claude/health-agent-full-run-myysos, not on main. It is therefore copied into active/ rather than git mv-ed across branches, and the draft over there is now stale — whoever merges that branch should drop it rather than re-filing. That is noted in the active.md entry too.

The entry names its three repos on a single repos-single-claim: line rather than as 2-space sub-bullets, following the existing convention in this file, because worktree_check_conflict reads any such bullet as a live worktree claim and this cloud session holds none.

2. Re-scope draft/maintenance/ci/run_smoke_copy_drift.md. Both of that prompt's headline claims turned out to be wrong when measured against the checkouts during the fix:

  • Its step 1 is already done. "Roll the 2-line is_clean_skip_exit adoption across the 9 copies" — adopted in all three notebook-capable copies already, and meaningless in the other seven, which have no execute_notebook and never shell out to jupyter. Its acceptance criterion ("a notebook exiting via the skip-guard passes every workspace's PR smoke gate") is already met, because only three gates run notebooks.
  • "9 copies in 5 revisions" conflates three different programs. There are 10 copies, in three structural variants: the ~266-line workspace runner (scripts + notebooks), the 113-line workspace_test script runner, and the 75-line HowTo delegator.

Two findings change what that task should actually do, which is why this correction is worth landing rather than leaving the next run to re-derive it:

  • autolens_workspace_test carries a TIMEOUT_SECS / _kill_group process-group kill that no other copy has. That is a capability, so a naive "make them byte-identical" consolidation would delete behaviour. The re-scoped task now requires that call to be made and written down before any code is written.
  • The HowTo tier is already a thin PyAutoHands delegator — i.e. the end-state step 2 proposes exists in-tree as a working precedent to copy, rather than a design to invent.

The original finding block is preserved and marked superseded rather than deleted.

Not done here

The consolidation itself. It stays a separate prompt and a separate task per hard rule 3 (one prompt = one task = one PR), and it needs the timeout/kill scope decision from a human first.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LWj2zyGu6ptvqTS8drWhaJ


Generated by Claude Code

claude added 5 commits August 5, 2026 21:43
…orkspace-dev

Land the intake-formalised prompt into active/ and register the task.

The draft copy lives on the unmerged branch claude/health-agent-full-run-myysos,
so it is copied here rather than git mv'd; that draft is now stale.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LWj2zyGu6ptvqTS8drWhaJ
Both headline claims were wrong. Measured across the checkouts during the
jupyter-guard fix (autolens_workspace#470):

- Step 1 (roll the 2-line skip-guard adoption across the copies) is already
  done in all three notebook-capable copies, and is meaningless in the other
  seven -- they have no execute_notebook and never shell out to jupyter.
- "9 copies in 5 revisions" conflates three structurally different programs:
  the ~266-line workspace runner (scripts + notebooks), the 113-line
  workspace_test script runner, and the 75-line HowTo delegator. There are 10
  copies, not 9.

Two findings change what the task should do. autolens_workspace_test carries a
timeout + process-group kill no other copy has -- a capability, so naive
byte-identical consolidation would delete it, and that call must be made before
any code is written. And the HowTo tier is already a thin PyAutoHands delegator,
i.e. the end-state step 2 proposes exists in-tree as a precedent to copy.

Preserves the original finding for history and marks it superseded.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LWj2zyGu6ptvqTS8drWhaJ
Merged: autolens_workspace#471 (ac8da5e0), autofit_workspace#133 (eef1d887),
autogalaxy_workspace#206 (fc47cbc2). All checks green before merge.

Advances the prompt active/ -> complete/2026/08/ and drops the active.md entry.
lifecycle.py check and index --check both pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LWj2zyGu6ptvqTS8drWhaJ
Picks up complete/2026/08/hygiene-detail-flag.md (PR #140), which landed on
main after this branch was cut. The generated complete/index.md is rebuilt in
the next commit so it lists every record in the merged tree.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LWj2zyGu6ptvqTS8drWhaJ
CI's index --check failed on this branch (lifecycle check itself passed).
complete/index.md is generated from every record, and main gained
complete/2026/08/hygiene-detail-flag.md from a concurrent session's PR #140
after this branch was cut -- so the branch's index did not list it. 895 -> 896
records. Not caused by this task's own record.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LWj2zyGu6ptvqTS8drWhaJ
@Jammy2211
Jammy2211 merged commit e9ea811 into main Aug 6, 2026
1 check passed
@github-actions
github-actions Bot deleted the claude/smoke-runner-jupyter-guard-3sxcc0 branch August 25, 2026 14:03
Jammy2211 added a commit that referenced this pull request Sep 26, 2026
…open under Heart RED override

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants