daily-workstream-update
Run the daily workstream update workflow for the Obsidian vault. Generates today's workstream summary from meeting summaries, syncs individual workstream files, copies daily-note entries into workstre
SKILL.mdskills/obsidian/daily-workstream-update/SKILL.md
GitHubDaily Workstream Update Skill
Runs the /daily-workstream-update workflow for the Obsidian vault at
/home/gbencke/git.work/331.obsidian-scripts.
Today's date (or the argument provided) is the target date D.
If no argument is given, use today.
Helper script for all mechanical operations:
python3 05.Scripts/daily_workstream_update.py <subcommand> [--date D]
Available subcommands: today, meetings, workstreams, hierarchies-path,
daily-summary-path, daily-note-path, workstream-file <name>,
list-workstream-files, verify, move-daily-summary,
git-publish "<msg>".
Run python3 05.Scripts/daily_workstream_update.py -h to recheck at any time.
Use the script for every date / path / file-listing / verification / git operation. Do not hand-roll those.
Step A — Generate today's workstream summary
- Resolve the date:
python3 05.Scripts/daily_workstream_update.py today [--date D] - List today's meeting summaries:
If the list is empty, stop and tell the user there are no meetings forpython3 05.Scripts/daily_workstream_update.py meetings --date DD. - Read the workstream reference:
This ispython3 05.Scripts/daily_workstream_update.py workstreams00.Tasks/Workstreams.SubTasks.Hierarchies.md. - Read the most recent existing file in
00.Tasks/Daily.Summary/(sorted by date) — this is the formatting model. Match its frontmatter, heading hierarchy, source-meeting wikilinks, "What was discussed" / "Action Items" sections, and---separators exactly. - Read each meeting summary file from step 2 in full.
- Write
<repo-root>/<D>.WorkstreamUpdates.Summary.md(at the repo root, not yet in00.Tasks/Daily.Summary/). Include a## <Workstream Name>section only for workstreams from the hierarchies reference that were actually discussed in today's meetings. Use the exact workstream names from the hierarchies file as the##headings — never an older name or a workstream file's alias (e.g.## SchedulerIQ - Scope.Open.Beta, not## SchedulerIQ - Open Beta). Write one section per workstream: if content fits two headings that are the same workstream, merge it into one. Content that fits no workstream row (one-off intake or refinement items) goes under the closest workstream, not under a new ad-hoc heading. - Move the file into place:
python3 05.Scripts/daily_workstream_update.py move-daily-summary --date D
Step B — Verify workstream files contain today's entry, then publish
- Run:
python3 05.Scripts/daily_workstream_update.py verify --date D - For every
MISSINGline: open the workstream file shown and add a new### <D-dashed>section directly under the#workstream/...tag line (as the newest entry). Use the same per-day structure already in that file:##### Meetingsblock with summary + source links, body bullets grouped by topic,##### Action Items. Pull content from the corresponding## <Workstream>section in the daily summary produced in Step A. End the new section with a---separator before the previously-newest section. - For every
RENAMEline: the heading resolves (via an alias) but is not the hierarchies name. Rename the##heading in the daily summary to the name shown. If that creates two sections with the same heading, merge them: combine the> Source meetings:lines (dedupe), the "What was discussed" bodies, and the action items. - For every
UNKNOWNline: no workstream file matches that heading.- If the heading is a row in the hierarchies file, create the missing file
as
00.Tasks/WorkStreams/<Product>/<Workstream Name>.md(exact row name) with frontmattercategory: workstream,description,creation,last updated,product,status: open, then a#workstream/<product>/<workstream-slug>tag line. Re-runverify; it now reportsMISSING, which step 2 fills. - Otherwise it is an ad-hoc heading: move its content under the closest hierarchies workstream (step A.6). Only if nothing fits, print a short note for the user.
- If the heading is a row in the hierarchies file, create the missing file
as
- Re-run
verifyuntil it exits clean (onlyOKlines and any genuinely unresolvableUNKNOWNcases). - Publish:
python3 05.Scripts/daily_workstream_update.py git-publish "Daily workstream summary <D-dashed>"
Step C — Copy daily-note workstream entries into workstream files
- Get today's daily note path:
python3 05.Scripts/daily_workstream_update.py daily-note-path --date D - Re-read that file from disk now — the user may have updated it since this run started. Do not rely on cached content.
- The daily note is organised as
### <Section Name>blocks. For each section:- Map the section name to a workstream from the hierarchies reference (names
are usually close but not identical — e.g.
### NewGen Performance→NewGen - Performance.Improvements). Skip and note any section with no clear workstream mapping. - Resolve the workstream file:
python3 05.Scripts/daily_workstream_update.py workstream-file "<workstream name>" - In that workstream file, locate today's
### <D-dashed>section (created in Step B). Append a new block at the end of that day's section, before the closing---separator:##### Daily Notes <verbatim contents of the daily-note section, preserving checkboxes, links, and formatting> - If a
##### Daily Notesblock already exists for today, append the new bullets inside it rather than creating a duplicate heading.
- Map the section name to a workstream from the hierarchies reference (names
are usually close but not identical — e.g.
- Re-read the daily note after all edits to confirm nothing was missed.
- Publish:
python3 05.Scripts/daily_workstream_update.py git-publish "Copy daily-note workstream entries <D-dashed>"
Step D — Update PROJECT_DECISIONS.md
Process all of today's meeting summary files through the decisions extractor.
- Get the list of today's summaries (same list from Step A, step 2).
- For each file, run:
Run files one at a time — do not batch them into a single call.python3 /home/gbencke/git.work/331.obsidian-scripts/.pi/skills/project-decisions/extract_decisions.py \ process "<full-path-to-summary>" - Verify the new entries landed:
head -80 /home/gbencke/git.work/331.obsidian-scripts/00.Tasks/PROJECT_DECISIONS.md - Publish:
python3 05.Scripts/daily_workstream_update.py git-publish "Update project decisions <D-dashed>"
Step E — Update ACTION_ITEMS.guilherme_bencke.md
Extract every action item that Guilherme Bencke owns or co-owns from today's daily summary (the file written in Step A) and add each one to the action-item log.
Read the daily summary from
00.Tasks/Daily.Summary/<D>.WorkstreamUpdates.Summary.md.Collect every bullet under
### Action Itemsblocks whose leading bold owner annotation names Guilherme Bencke — whether he is the sole owner or one of several co-owners. The owner list is the run of bold text at the start of the bullet, before the:or—that introduces the action text. Match all of these forms:- Sole owner:
- **Guilherme Bencke**: ...or- **Guilherme Bencke** — ... - Co-owners in one bold, any position, any joiner (
/,&,,):- **Guilherme Bencke / Marleny Patsi**: ...,- **Javed Nurani / Guilherme Bencke / Enrique Ortuno**: ...,- **Noemi Antezana, Guilherme Bencke**: ...,- **Guilherme Bencke & Robert Lupinek** — ... - Co-owners as separate bold segments:
- **Guilherme Bencke** / **Anura Adikari**: ... - A bare
**Guilherme**when it clearly refers to him (e.g.- **Anura / Guilherme** — ...).
Do not require the bold to close immediately after "Bencke", and do not require a colon — the em-dash (
—) separator is equally valid. Skip a bullet only when its owner list contains no Guilherme.For each matched item capture:
- The action text: everything after the separator (
:or—) that follows the owner list, up to the trailing meeting source annotation. When the item is co-owned, prefix the text with the co-owners in parentheses so the log records that it is shared — e.g.(with Marleny Patsi) Deploy the visit-plan config fix .... - The meeting name and timestamp from the trailing
*(Meeting, HH:MM)*annotation.
- Sole owner:
For each item, call:
python3 /home/gbencke/git.work/331.obsidian-scripts/.pi/skills/action-items/action_items.py add \ "ACTION TEXT" \ --meeting "Meeting Name" \ --time "HH:MM" \ --date "YYYY-MM-DD" \ --subtopic "_Sub.Topic"--subtopicis required on every call. Read00.Tasks/Topics/All Sub-Topics.mdonce before adding items, then pick the sub-topic whose description best matches the action (e.g. prior auth →_Authorization.PriorAuth, credentialing →_Provider.Credentialing.Disciplines, contract validation →_Security.Reliability). Pass—only when no sub-topic fits (team management, hiring, one-off production tickets). The script rejects unknown names; on that error, fix the name and retry — do not fall back to—. The script keeps each date's table sorted by sub-topic. Skip any item whose text already appears verbatim in the file (runsearchfirst if unsure).Confirm additions:
python3 /home/gbencke/git.work/331.obsidian-scripts/.pi/skills/action-items/action_items.py show --days 1Publish:
python3 05.Scripts/daily_workstream_update.py git-publish "Update action items <D-dashed>"
Step F — Update Decisions tables and Meetings lists in Topics subtopic files
Every _*.md file under 00.Tasks/Topics/ contains a ## Decisions table and
a ### Meetings list. For each subtopic relevant to today's meetings, append
new decision rows and prepend the day's meeting bullets to its ### Meetings
list.
F.1 — Enumerate subtopic files
find /home/gbencke/git.work/331.obsidian-scripts/00.Tasks/Topics -name "_*.md" | sort
F.2 — Map file to meetings
For each subtopic file:
- Read its YAML frontmatter:
product,workstream,description,tags. - Cross-reference against the daily summary sections (Step A output). A file
is relevant to a meeting section when:
- Its
product+workstreampair maps to a## <Workstream>section in the daily summary (fuzzy match — e.g.product: PlatformSync,workstream: Performance→## PlatformSync - Performance Improvements), or - Its
descriptionortagsoverlap significantly with the meeting content.
- Its
- If no section in the daily summary touches this file's topic, skip it.
F.3 — Extract and insert decisions
For each relevant subtopic file:
- Read the full meeting summary files that fed the matching daily-summary section.
- Identify decisions relevant specifically to this subtopic's scope (not
all decisions from the meeting — only those whose subject matter falls within
the file's
description). - Format each decision as:
| YYYYMMDD | *[Category]* **Decision statement** — one-sentence rationale *(MeetingName)* |YYYYMMDD— date with no separators (e.g.20260608).Category— one of:Architectural,Technical,Team Management,Project Management,Process,Security & Compliance,Cost & Governance.- Statement — 3–12 words summarising the choice made.
- Rationale — one sentence explaining why.
- MeetingName — short name matching how other entries in that file cite
meetings (e.g.
PlatformSyncMapping,WarRoom,TeamDaily).
- Insert the new rows at the top of the
## Decisionstable, immediately after the header row:## Decisions | Date | Decision | | ---------- | -------- | | 20260608 | *[Technical]* **New decision** — rationale *(Meeting)* | ← new rows here | 20260605 | *[Architectural]* **Older decision** ... ← existing rows - Update the
last updatedfrontmatter field toD(dashed format:YYYY-MM-DD). - Do not modify any section other than
## Decisions,### Meetings(see F.3.5), and thelast updatedfrontmatter field.
F.3.5 — Update the ### Meetings list
Each subtopic file also has a ### Meetings section: a newest-first list of
- [[<YYYY.MM.DD>.<Name>.Summary|<Short Alias>]] — <one-line description>
bullets. For every subtopic you touched in F.3, prepend a bullet for each of
today's meetings relevant to that subtopic (the same meetings whose decisions
you just added):
- Format each bullet as
- [[<YYYY.MM.DD>.<Name>.Summary|<Short Alias>]] — <one sentence on what was discussed that is relevant to this subtopic>. Match the link/alias/em-dash style already used in that file's list. - Insert the new bullet(s) at the top of the
### Meetingslist (newest first). If a subtopic saw more than one meeting today, order them by meeting time, latest first. - Skip any meeting whose link (
[[<YYYY.MM.DD>.<Name>.Summary) already appears in the list — the insert is idempotent. - If the list holds only a
- _None yet._placeholder, replace it.
F.4 — Publish
After all subtopic files have been updated (decisions and meetings):
python3 05.Scripts/daily_workstream_update.py git-publish "Update topic decisions and meetings <D-dashed>"
Keeping names, files, and indexes aligned
These rules apply whenever a run (or the user) adds or renames a workstream or sub-topic.
- Hierarchies file is canonical.
00.Tasks/Workstreams.SubTasks.Hierarchies.mdhas one row per00.Tasks/Topics/<Product>/<Workstream>/folder. Every row needs a workstream file in00.Tasks/WorkStreams/<Product>/whose name resolves to it (workstream-file "<row name>"must succeed). - New sub-topic (
_*.md): add a row to00.Tasks/Topics/All Sub-Topics.mdand update its counts line; mention it in the workstream's description in the hierarchies file. A new workstream folder also needs a hierarchies row and a workstream file (template in Step B.4). - Renaming a workstream file: use
git mv, add the old name underaliases:in the file's frontmatter (the script and Obsidian both resolve aliases), rewrite[[Old Name]]links, rename## Old Nameheadings in00.Tasks/Daily.Summary/, and rewrite[[<D>.WorkstreamUpdates.Summary#Old Name|…]]anchors in workstream files. Then runverifyover every daily summary; it must report noRENAMEorMISSINGlines. - Moving content between sub-topics: move the matching
### Meetingsbullets and## Decisionsrows, add a "tracked in [[_New.Subtopic]]" pointer in the old file, and re-tag affected rows inACTION_ITEMS.guilherme_bencke.md.
Final Report
After all six steps, print a concise summary:
- Daily summary written to:
00.Tasks/Daily.Summary/<D>.WorkstreamUpdates.Summary.md - Workstream files updated in Step B: list each
- Daily-note sections copied in Step C:
<section> → <workstream> - PROJECT_DECISIONS.md: N new decisions added across M meetings
- ACTION_ITEMS: N items added (owned or co-owned by Guilherme Bencke), with the
sub-topic chosen for each (flag any that got
—) - Topics subtopic files updated: list each file, how many decisions were added,
and how many
### Meetingsbullets were added - Headings fixed for
RENAMEand workstream files created forUNKNOWN - Anything skipped or unresolved (
UNKNOWNworkstreams, daily-note sections with no obvious workstream mapping, subtopic files with no relevant meeting content) - Commits pushed: list each commit message
If any git-publish reports "nothing to commit", say so explicitly — that
means there was nothing new to write for D.