Skip to content

qe: handover for the GitHub follow-ups of the 2026-10-06 review (for a local agent to run) - #221

Merged
mmcky merged 3 commits into
mainfrom
claude/sweet-clarke-ugjrlm-handover
Nov 4, 2026
Merged

mmcky merged 3 commits into
mainfrom
claude/sweet-clarke-ugjrlm-handover

Conversation

@quantecon-services

Copy link
Copy Markdown
Collaborator

Merge after #220, which adds the .qe/ folder contract and the review record every body here cites.

Request: local agent review, run, and update this PR before merging

This PR adds one file, .qe/dev/log/2026-10-06-github-handover.md. It is a QEP-7 raw record written by a cloud session for a local agent with the gh CLI. The cloud session's tools cannot write native issue dependencies, which QEP-6 requires, so it made no issue changes itself.

A local agent should:

  1. Review the handover against GitHub as it stands on the day you run it. Step 0 checks:

    • push access, labels and issue types;
    • that the eight issues it comments on are still open;
    • that nothing filed since 2026-10-06 duplicates a new item;
    • that it has not been carried out already.

    Correct anything wrong in place on this branch, and list each correction under Deviations in the outcome entry.

  2. Run Steps 0 to 8. Each block is one bash invocation, and state persists in ~/qe-handover-2026-10-06/. A failed check stops the block, and every step is safe to re-run.

  3. Update this PR:

    • commit .qe/dev/log/<date>-github-handover-outcome.md to this branch, with what was created, the comment URLs, the Step 8 output and any deviations;
    • push it;
    • comment here with the tracker link.

A maintainer then merges, after #220.

What it creates

Kind Labels (QEP-2)
Keep deploy credentials out of the jobs that execute notebooks Project tracker (QEP-6) none
templates: deploy pull request previews from a job that runs no notebook code, and stop persisting checkout credentials Task, sub-issue enhancement, security
publish-gh-pages: a deploy-only mode, so Pages is deployed from a job that runs no notebook code Task, sub-issue enhancement, security
Scheduled container rebuilds: refresh OS packages weekly, or pin the base image by digest and move it by pull request? Decision discuss, security
build-containers: scheduled rebuilds republish a cached image, while the docs promise weekly security updates Task, blocked by the decision bug, security
restore-jupyter-cache: a mis-cased save-cache value silently stops the cache updating, and unknown input values are accepted Task bug
build-jupyter-cache: the failure alert can land on an open pull request instead of an issue Task bug, low-priority

It also posts eight comments recording findings on the issues that own them (#142, #135, #153, #149, #100, #215, #30, #151), and one revision-log comment on the tracker.

Why only two items are the project's. QEP-6 admits an issue to a project only if closing it advances that project's definition of done, and a goal that has to be widened to fit an item means the item is not a member. The review's four unowned findings share no definition of done, so only the credential-isolation work forms a project. The rest are standalone issues, which QEP-6 treats as the normal case. Every issue from the review opens with "From the 2026-10-06 codebase review", so one search finds them all.

How it was checked

  • An independent review against QEP-2, QEP-6 and QEP-7, plus disclosure safety, executability and factual accuracy: six reviewers, with a skeptic re-checking each serious finding. All surviving findings are applied, here and in qe: record the 2026-10-06 codebase review (QEP-7) #220.
  • A dry run of every step against a mock gh, each step run as a separate process. It covered an injected failure partway through Step 2 followed by a resume (no duplicates), re-runs of every step (no-ops), and the Step 8 checks.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UTWsCYpwmgYdsz4AwRZjUy


Generated by Claude Code

Step-by-step instructions for a local agent, checked against QEP-2, the
QEP-6 and QEP-7 drafts, and a mock of every gh call:
- a QEP-6 Project for the one coherent goal the review left unowned:
  deploy credentials kept out of jobs that execute notebooks, with two
  Task sub-issues;
- standalone issues for the rest: a rebuild-policy Decision, the Task
  blocked on it (native edge), and two cache-action bugs;
- comments recording eight findings on the issues that own them;
- read-back checks, state that survives separate tool calls, re-runs
  that are safe, and the outcome entry the agent adds before merge.

Written by a cloud session, whose tools cannot write issue dependencies.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UTWsCYpwmgYdsz4AwRZjUy
Step 0 review before running the handover:

- D_REBUILD: #226 pinned the lean image's conda layer to the Anaconda
  2026.07 baseline, so only four conda packages, transitive dependencies
  and the pip floors still re-resolve on a base move. Record #222 as the
  drift the finding predicted, and the scheduled runs since the review.
- T_RESTORE and LOG: PLAN backlog item 18 is now #228.
- T_PREVIEW: note that #227 and #230 change the same preview path.
- C135: decision 1 on #143 (gate.yml in the canary, no v0-next) tests
  the sibling chain by a test-time rewrite; the consumer side remains.
- C142: the lecture matrix has been red again since 2026-10-12 (#222).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMZcWbg9TzmmbyjsrUp
mmcky added a commit that referenced this pull request Nov 4, 2026
…s decision

The #221 handover has filed them. PLAN's Dependency policy replaces its
placeholder with #235, names #234 as the decision, and the dispositions
gain a row for each.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMbP4XxZ719EvfUPaJ4
The handover ran on 2026-11-04: tracker #239 with #232 and #233 as its
work items, standalone #234 to #236 and #238, #235 blocked by #234, and
eight comments plus the tracker's revision log. The entry pastes the
Step 8 output and lists the deviations, including the sub-issue counter
on #239 that still reads 1, and #237, a number used up by a 502.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMZcWbg9TzmmbyjsrUp
@mmcky

mmcky commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

The handover has been carried out (2026-11-04). The outcome is recorded in .qe/dev/log/2026-11-04-github-handover-outcome.md on this branch, with the comment URLs, the Step 8 output and the deviations.

Tracker: #239, Keep deploy credentials out of the jobs that execute notebooks. Its work items are #232 (deploy previews from a job that runs no notebook code) and #233 (a deploy-only mode for publish-gh-pages), in that order.

Standalone issues: #234 (Decision: scheduled container rebuilds), #235 (the task that implements it, blocked by #234), #236 (restore-jupyter-cache input validation) and #238 (the build-jupyter-cache failure alert). Eight comments went to #142, #135, #153, #149, #100, #215, #30 and #151, and the revision log to #239.

#220 is still OPEN. This PR must wait for it, because every new issue cites the review record that #220 adds.

Corrected before running. Step 0 re-checked the handover against the tracker as it stands today, and six bodies were corrected in place (commit 3d99702). The rebuild decision now has #226's pins and #222 as evidence. #228 is cited as the owner of PLAN item 18. The preview task notes #227 and #230. The #135 comment reflects decision 1 on #143, and the #142 comment notes that the lecture matrix is red again (#222).

Needs a maintainer's eye:

I've marked this PR ready for review so it can merge after #220.

Claude Code (on behalf of mmcky)

@mmcky
mmcky marked this pull request as ready for review November 4, 2026 10:36
Copilot AI balanced review requested due to automatic review settings November 4, 2026 10:36
mmcky pushed a commit that referenced this pull request Nov 4, 2026
Adds the repository's .qe/ records folder (QEP-7): .qe/README.md, the
folder contract, and .qe/dev/log/2026-10-06-codebase-review.md, the
whole-codebase review at 4550f69 with all 15 findings validated
(refuter, prior-art search, judge). Four findings with no owner became
new work, eight amend existing issues, one is already owned by PLAN
item 18 and two are dropped. The GitHub follow-ups are carried by #221,
which merges next (decision 8, 2026-11-04).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMbMmeUUEj8EjiweB6S
@mmcky
mmcky merged commit 6e75a63 into main Nov 4, 2026
30 checks passed
@mmcky
mmcky deleted the claude/sweet-clarke-ugjrlm-handover branch November 4, 2026 10:39
mmcky added a commit that referenced this pull request Nov 4, 2026
…s decision

The #221 handover has filed them. PLAN's Dependency policy replaces its
placeholder with #235, names #234 as the decision, and the dispositions
gain a row for each.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMbP4XxZ719EvfUPaJ4

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

🟡 Changes recommended

The change still contains an identified documentation nit—a grammar/typo (“writes post it”) in the outcome log at .qe/dev/log/2026-11-04-github-handover-outcome.md:126—that should be corrected to keep the handover record clear and readable.

1 open issue
What changed in this PR

This pull request adds QEP-7 .qe/dev/log/ records documenting (1) a repeatable GitHub “handover” runbook for follow-ups from the 2026-10-06 codebase review and (2) the outcome of executing that handover on 2026-11-04 (created issues, posted comment links, verification output, and deviations).

Changes:

  • Add the 2026-10-06 GitHub handover runbook with step-by-step gh CLI/API commands and templates for creating/linking issues and posting follow-up comments.
  • Add the 2026-11-04 outcome record capturing what was created/posted, Step 8 verification output, and any deviations encountered during execution.
File Summary
.qe/​dev/​log/​2026-11-04-github-handover-outcome.md Outcome log for the 2026-11-04 run (created artifacts, comment URLs, verification output, deviations).
.qe/​dev/​log/​2026-10-06-github-handover.md Handover/runbook record with scripted steps and templates for the GitHub follow-up work.

Review effort: Balanced

Comment on lines +126 to +127
close #234. The maintainer's pending decision writes post it on #234 and close it. #235
carries the implementation.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acknowledged: "writes post it" reads badly. The intended meaning is that the maintainer's pending decision comments record decision 9 on #234 and then close it. The entry stays as written, though. It is a QEP-7 raw dev/log record, and .qe/README.md makes those append-only: correctable on their pull request, never edited once merged. This PR merged as 6e75a63, so the record is now fixed. A correction, if one were ever needed, would go in a new dated entry.

Claude Code (on behalf of mmcky)

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.

4 participants