Post-class pipeline

Fetches the recording, writes follow-up notes, updates the commitment ledger and produces the weekly report in one run.

#course#post-class patch#subagents#unattended run#weekly report
Course post-class pipeline

WorkflowCourse post-class pipeline

Course operations Lecture series (private repository)

A workflow that runs the after-class work for the author's weekly lecture series. Once a week a fetch script downloads the recording, then a steward agent carries on unattended: filing it, writing a patch for each lesson, logging every "I'll cover that later" from class, refreshing the promo page and writing the weekly report. A person is needed only to renew the login and to settle what the report hands back.

Challenge

  • A live class drifts: planned experiments get skipped, things are misspoken, extra material appears on the spot. Left in the recording, none of it reaches learners
  • Fetching, filing, patching, checking promises, reporting: the weekly chores pile up, and done by hand they keep getting postponed

Approach

  • The after-class steps are written down as a procedure, and a steward agent runs it end to end, unattended, once a week
  • Patches are written by one subagent per lesson, in parallel, each treating the transcript as the authority and comparing it with the plan and slides

Outcome

  • Each lesson gets a patch page and a README summary, and skipped experiments become homework with their source cited
  • Promises made in class are logged, and whether a later lesson kept them can be checked; everything is summed up in one weekly report

The author runs a weekly online lecture series on AI workflows. Classes are recorded, but a recording on its own does not deliver corrections of misspoken points or the experiments that were cut for time.

So the after-class work became one pipeline handed to a steward agent. It starts at a fixed time each week and goes from fetching the recording to the weekly report; wherever a human decision is needed it stops instead of guessing and notes it in the report. Learners' voices and personal information are not public, so this page introduces only the flow.

The full workflow

TaskWhoInputsOutputs
1. Renew loginAuthor + Login helperauthor + cookies_from_cdp—Login session
2. DownloadFetch scriptcron_run.shLogin sessionRecording
3. File + exportSteward agent + Archive script + README buildercourse-steward + archive_recordings + lesson_readme.pyRecordingTranscript
4. Lesson patchPatch workerspatch-worker xNTranscript, Refers to Plan + slidesLesson patch, Unsure facts
5. Check factsFact checkerCodexUnsure facts—
6. Log promisesSteward agentcourse-stewardTranscriptPromise ledger
7. Promo pageSteward agent + Promo buildercourse-steward + promo_pdf.pyLesson patchPromo page
8. Commit, reportSteward agent + Commit scriptcourse-steward + commit_recordingsLesson patch, Promise ledger, Promo pageWeekly report
9. Settle to-dosAuthorauthorWeekly report—
Course post-class pipeline

9 steps · 4 roles · 6 scripts · 2 loops · weekly since 2026-10-21

Leave only the login and the final decisions to a person; agents and scripts do everything in between, every week.

  • Steps 1–2 bring the recording home; steps 3–8 run unattended under the steward agent; in step 9 a person clears what the report hands back
  • The steward and the patch workers are subagents in a plugin; filing, README, promo page and commits each have their own script
  • Two loops: when the download is refused, renew the login and retry; when facts are checked, fix the patch
  • All five weekly reports so far ended as "partial", each saying where it stopped and what a person must decide

Project folders involved (3)

This workflow does not live in one folder: it runs across projects.

private course repository
The core: lesson folders, scripts, ledger, weekly reports and the plugin (steward, patch workers, skills)
scheduler + runner script
Wakes a terminal once a week and starts the runner; results go to logs and a notification
external model CLI
The other model used for fact checks, run read-only
Renew login

Step 1 · Author + Login helper

Renew loginabout weekly

A person renews the login to the recording service.

  • Pulling the login out of the browser automatically was rejected; a person renews it by hand
  • Doing it automatically would mean handing over a key that unlocks every site's login, which is not worth it
  • A daily check script sends a notice as the expiry approaches

Common misconceptionBeing logged in is not enough: the storage holding the files can still refuse. Downloads failed three weeks in a row

OutputsLogin session
Download

Step 2 · Fetch script

Downloaddownload

Download new recordings and transcripts.

  • Once a week a runner starts at a fixed time and runs this download first
  • Its exit code is passed on to the steward; even if it fails, the backlog work after it still runs
  • Files already being edited before the run are listed, and the steward leaves them alone
InputsLogin session
OutputsRecording
File + export

Step 3 · Steward agent + Archive script + README builder

File + exportarchive

Number the lesson, file the recording and build the README.

  • A lesson gets its number only after it has been taught; if no planned lesson matches the date, it is left as "to be mapped"
  • Recording links, transcripts and summaries go into the lesson folder; the video itself never enters the repository
  • If the check finds a missing link, it refetches once; if still missing, the report says so
InputsRecording
OutputsTranscript
Lesson patch

Step 4 · Patch workers

Lesson patchper lesson

One subagent per lesson writes the patch.

  • With the transcript as the authority, it compares against the plan: done, skipped, added on the spot, misspoken
  • Skipped experiments become homework citing their source; corrections and expansions go on the patch page. The summary records the class as it was, with errors marked
  • Facts it is unsure of are not decided; they come back as a list with the quote and timestamp

Claude CodeThe subagents run in parallel, one per lesson, and never commit

InputsTranscript
OutputsLesson patch, Unsure facts
Refers toPlan + slides
Check facts

Step 5 · Fact checker

Check factsread-only

Another model checks the facts, read-only.

  • The steward hands over the list, and another model checks each item with web search
  • The steward fixes the patch from the results; it runs unattended, so it does not ask the author
  • For the latest lesson 14 items were checked and every one was fixed accordingly

Common misconceptionThe external model is not an agent but a command the steward runs; the diagram shows it as a role

InputsUnsure facts
Log promises

Step 6 · Steward agent

Log promisesledger

Log the promises made in class and check on older ones.

  • "I'll cover that later" and "next time" are logged with quote and timestamp, split into later-this-lesson and across lessons
  • Open promises from earlier lessons are checked for evidence in the new one
  • With no evidence it says "no evidence found", never "broken". The ledger is append-only and now holds 41 promises
InputsTranscript
OutputsPromise ledger
Promo page

Step 7 · Steward agent + Promo builder

Promo pagepromo

Rebuild the promo page when the course changes.

  • Lessons added or renamed, new dates, new recordings or patches all trigger a rebuild
  • If the content does not match, it is held back and the reason goes into the report
  • Learner names and the content of confidential lessons never appear
InputsLesson patch
OutputsPromo page
Commit, report

Step 8 · Steward agent + Commit script

Commit, reportgit push

Record one commit per lesson, write the report and comment on the issue.

  • It runs on permissions bound by an allow list: no force pushes, no deletions
  • Changes from other work in progress are left alone; files are added by name
  • The report has a fixed shape: filed, patches, ledger, inbox, failures and to-dos
InputsLesson patch, Promise ledger, Promo page
OutputsWeekly report
Settle to-dos

Step 9 · Author

Settle to-doshuman decisions

A person settles what the report hands back.

  • Unattended, it stops at lessons whose date does not match, file conflicts or refused permissions, and never guesses
  • Each stop is listed in the report: which step, what happened, who acts next
  • Once settled, the next week's run picks up where it left off
InputsWeekly report

Loops and rework

  • Download refused with 403 → step 1: It really lasted three weeks; after the login was renewed the download went through and the two pending lessons came in
  • Fact-check results → step 4: For the latest lesson 14 items were checked and the steward fixed the patch for all of them

Key points

The transcript is the authority. A patch worker checks what was actually said against the transcript and compares it with the plan, sorting items into done, skipped, added on the spot and misspoken. Skipped experiments become homework citing the plan and the timestamp; corrections and expansions go into the patch page. Facts it is unsure of are listed and sent to another model for checking.

A plan exists even without a plan. Most lessons have no written plan, but in-class promises such as "I'll get to this later" or "next time" serve as one. They are logged in a ledger and checked against later lessons. If no evidence is found, the ledger says so rather than claiming the promise was broken.

Draw the lines it never crosses, even unattended. Permissions are bound by an allow list; no force pushes, no deletions. Changes from other work in progress are left alone, and each lesson is recorded as one commit. Learner names and the content of confidential lessons never appear in the report or in issue comments.