reprocess-meetings
Reprocess a day's meetings against a folder of meeting exports the user supplies: add meetings the vault is missing, append transcript segments the vault transcripts missed or garbled, fold the new fa
Files3
View on GitHubSKILL.mdskills/obsidian/reprocess-meetings/SKILL.md
GitHubReprocess Meetings Skill
Target date D = the argument, or the previous weekday if none is given.
D-dashed = YYYY-MM-DD, D-dotted = YYYY.MM.DD.
Helper script (run from the repo root, always with bytecode off):
export PYTHONDONTWRITEBYTECODE=1
H=.pi/skills/reprocess-meetings/reprocess_meetings.py
python3 $H -h
Rules for every step
- Ask for the export folder at the start. Do not guess it and do not reuse
one from memory. Pass it as
--source. - Never name the export tool or folder in any vault file or commit message. Call additions "reprocessed", never "enriched", "supplemented", or "imported". Do not add per-bullet source markers; new facts read as normal content.
- Leave out off-topic personal remarks, especially comments about
colleagues, with
--skip. List what you skipped in the final report. - Stage explicit paths. Do not use
git add -Auntil the daily workstream steps (they usegit-publish); checkgit status --shortbefore each commit.
Step 1 — Ask and scan
- Ask the user for the export folder path (use
ask_user_questionso they can type it). ConfirmD. - Run:
Each export is reported as one of:python3 $H scan --source "<folder>" --date DMATCH <vault transcript>: paired; shows offset, speaker map, and segment counts.(already reprocessed)means an earlier run already did it.NO MATCH: the vault lacks this meeting; handle in Step 3.SHORT: almost no speech. Skip it unless it holds work content.vault only: a vault meeting with no export. Nothing to do.
- Sanity-check each speaker map (names should match the vault transcript's participants). If a pairing looks wrong, say so and stop.
Step 2 — Append reprocessed segments
- Dry run, then read every listed segment:
Segments are speech the vault transcript lacks: accented or cross-talk speech it garbled, and speech before it started or after it ended.python3 $H merge --source "<folder>" --date D - Write, skipping personal or off-topic lines by export file and export time:
This appends apython3 $H merge --source "<folder>" --date D --write \ --skip "<export file>@MM:SS" ...## Reprocessed Segmentssection to each paired transcript. Transcripts that already have one are left alone. - For each transcript that changed, read its new section and its summary in
02.Meetings/summaries/. Add facts that are new (names, numbers, systems, decisions, owners) to the matching### Topic (MM:SS - MM:SS)block. Speech after the transcript ended gets its own short topic block. Update thedescription:only if a new fact changes the meeting's gist. Do not touch frontmatter dates. If nothing new surfaced, leave the summary as it is.
Step 3 — Add missing meetings
For each NO MATCH export worth keeping:
- Title: reuse the vault name of a recurring meeting (check
ls 02.Meetings/transcripts | grep -i <keyword>, e.g.RoarAIMobElaboration,Roar - Stand-up,ArchOfficeHours). Otherwise a short CamelCase title. - Type slug:
daily-syncfor stand-ups, otherwisetechnical-refinement. - Speakers: map generic labels (
Speaker 1) to real names from the content: people addressed by name, roles, topics, and same-day summaries. Map short names to the vault's spelling (Jorge→Jorge Luis Cameo,Jose Miranda→Jose Miranda (JAM)). - Time: pass
--when "HH:MM AM"only if you actually know it. - Convert:
Re-run withpython3 $H convert --source "<folder>" --date D --file "<export file>" \ --title "<Title>" [--type daily-sync] [--when "11:00 AM"] \ --speaker "Speaker 1=Katie Portnoy" ... [--skip MM:SS ...]--forceto fix a mapping. - Write
02.Meetings/summaries/<D-dotted>.<Title>.Summary.mdin this session, following.pi/skills/process-root-transcripts/SKILL.mdStep C: same frontmatter,## General Summarywith timed topic blocks,## Action Itemsas- **Owner**: action *(MM:SS)*. If you inferred speaker names, add the line> Speaker names inferred from context.under the date line. For a fragmentary capture, write a short summary and- None captured.
Step 4 — Commit the meetings
git add "02.Meetings/transcripts/<D-dotted>.<Title>.Transcript.md" "02.Meetings/summaries/<D-dotted>.<Title>.Summary.md"
git commit -m "Add <D-dashed> <Title> transcript and summary" # one per new meeting
git add 02.Meetings/transcripts 02.Meetings/summaries
git commit -m "Reprocess <D-dashed> transcripts and summaries" # body: list the files
git push
Step 5 — Update the daily workstream files for D
Read 00.Tasks/Workstreams.SubTasks.Hierarchies.md for workstream names.
Changed meetings = the new summaries from Step 3 plus summaries edited in
Step 2.
- Daily summary
00.Tasks/Daily.Summary/<D-dotted>.WorkstreamUpdates.Summary.md. If it does not exist, run thedaily-workstream-updateskill forDand skip to item 4. Otherwise edit it in place:- Add each new meeting's wikilink to the
> Source meetings:line of every section it feeds, and add its bullets and action items (*(<Title>, MM:SS)*) to those sections. - A workstream with no section yet gets one, named exactly as in the hierarchies file and placed in alphabetical order.
- Add facts from reprocessed segments to the existing bullets they belong to.
- Add a sentence to the intro paragraphs for any meeting that changes the day's story.
- Add each new meeting's wikilink to the
- Workstream files: mirror every section you changed or added:
python3 $H sync-entry --date D "<Workstream>" ... python3 05.Scripts/daily_workstream_update.py verify --date Dsync-entryrebuilds the### D-dashedentry from the daily summary and keeps any##### Daily Notesblock. Fix everyMISSING,RENAME, orUNKNOWNline as thedaily-workstream-updateskill describes, then:python3 05.Scripts/daily_workstream_update.py git-publish "Daily workstream summary <D-dashed>: <what changed>" - Daily note: no action. The daily note was copied when the day was first processed.
- Project decisions: for each new summary only (not the edited ones,
whose decisions already exist), one at a time:
Then read the new entries underpython3 .pi/skills/project-decisions/extract_decisions.py process "$PWD/02.Meetings/summaries/<file>"## D-dashedin00.Tasks/PROJECT_DECISIONS.md. Delete entries that are open questions, proposals, or bare option numbers ("Option 2 selected for Q2"), and reword vague ones. Publish:git-publish "Update project decisions <D-dashed>: <meetings>". - Action items: for each new action item that Guilherme Bencke owns or
co-owns (matching rules in the
daily-workstream-updateskill, Step E):
Pick the sub-topic frompython3 .pi/skills/action-items/action_items.py search "<key phrase>" # skip if already there python3 .pi/skills/action-items/action_items.py add "(with <co-owner>) <action>" \ --meeting "<Title>" --time "MM:SS" --date "D-dashed" --subtopic "_Sub.Topic"00.Tasks/Topics/All Sub-Topics.md. Publish:git-publish "Update action items <D-dashed>: <what>". - Topic files: for each
00.Tasks/Topics/**/_*.mdsub-topic the new meetings touch, add decision rows at the top of## Decisionsand a meeting bullet in### Meetings(newest meeting time first, skip links already there), followingdaily-workstream-updateStep F. Publish:git-publish "Update topic decisions and meetings <D-dashed>: <meetings>".
Final report
- Export folder: say only "scanned N exports" (do not print the path).
- Meetings added: title, type, whether speakers were inferred.
- Transcripts reprocessed: segment count each; summaries updated.
- Skipped:
SHORTexports, and--skiplines with the reason. - Daily workstream: sections and workstream files changed; decisions added and removed; action items added (with sub-topic); topic files updated.
- Commits pushed (list messages). Say so if any publish had nothing to commit.