eod
Prepare, evidence-check, and deliver a concise stakeholder-ready end-of-day update directly on Telegram. Use when the user invokes /eod or asks to prepare, correct, approve, or deliver a daily update; never require or modify Obsidian.
- License 许可
- MIT
- 所属仓库
- 0xgleb/dotconfig
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- eod
- description
- Prepare, evidence-check, and deliver a concise stakeholder-ready end-of-day update directly on Telegram. Use when the user invokes /eod or asks to prepare, correct, approve, or deliver a daily update; never require or modify Obsidian.
- allowed-tools
- [ "Bash(nu /Users/0xgleb/.config/ai/skills/eod/scripts/collect.nu *)", "Bash(date *)", "Read", "AskUserQuestion", "deliver_stakeholder_update" ]
- user-invocable
- true
02 资源文件 5
- 脚本scripts/collect.nu23.6 KB
- 脚本scripts/evidence.nu5.0 KB
- 脚本scripts/evidence.test.nu6.1 KB
- 脚本scripts/report-contract.nu4.1 KB
- 脚本scripts/report-contract.test.nu5.8 KB
03 SKILL.md 正文
EOD
Write a short stakeholder update only after the evidence has passed the review gate below. A user's brain dump, embedded TLDR, correction, ordering, and attribution are canonical. Evidence fills gaps and supplies references; it does not override the user's account.
Scope
- Cover only the repositories and audience explicitly selected for this update. Keep private or unrelated work out of team updates; never infer scope from an old organization default.
- Cover everything from the most recent prior EOD through one captured
now. This is not a calendar-day or rolling-24-hour report. - Never read raw Claude, Codex, or Pi transcript files, credentials, secrets, or raw environment files. Do not query persistent memory or session-history providers. Use the current conversation and verified Git/GitHub evidence. Ask the user when required facts are missing.
- Never infer work from a PR title, body, branch name,
updatedAt, or committer date. These describe context or can be changed by a history rewrite. - Group by verified repository or canonical user framing, not a guessed project name. An issue merely closing is context, not proof that the user worked on it; require timestamped user activity, a reportable authored PR link, or canonical user framing before promoting it into the update.
- A family deployment workflow is context, not user work by itself. Report it only when an exact run is linked to reportable user-authored work or canonical user framing identifies the user's substantive involvement.
- Do not create tracker issues or make any external mutation while running EOD, except the required final typed Telegram delivery described below.
Establish the reporting window
- Use the latest successful prior EOD delivery and verified reporting boundary
shown in the current conversation or an explicit handoff. Prefer a typed
deliver_stakeholder_updateresult withoutcome=delivered. Assistant claims alone are not evidence. - If no prior verified boundary is available, use an explicit starting point supplied by the user. If neither exists, ask for the starting point rather than inventing a calendar-day or rolling-24-hour window.
- Capture
untilonce withdate -u +%Y-%m-%dT%H:%M:%SZ. Use the same exactsinceanduntiltimestamps for collection, drafting, corrections, and final verification. - Treat any user brain dump, correction, ordering, and attribution in the current conversation as canonical framing. Preserve its meaning and emphasis; deterministic evidence fills gaps but does not rewrite the user's account.
Collect evidence
Run /Users/0xgleb/.config/ai/skills/eod/scripts/collect.nu once with explicit
--since, --until, --workspace, and --owners arguments. --owners must
contain GitHub organization logins: automated review searches use org: and do
not cover individual-account owners. For user-owned repositories, obtain
separate review evidence or an explicitly approved omission; never claim empty
review activity from this unsupported scope. Create a recorded evidence
directory under the current workspace's .tmp/ and pass its activity JSON path
through --output. Add --deploy-repos only for explicitly selected additional
deployment repositories. Read the resulting JSON.
The collector covers Git commits and GitHub PRs, reviews, and deployments. It does not collect GitHub issue activity; verify any issue evidence separately within the same reporting window rather than claiming an empty issue history.
When canonical user framing supplies exact historical Graphite batch group and
child PR numbers, also pass one or more bounded --graphite-batches arguments
in OWNER/REPO#GROUP:CHILD,CHILD form. Never replace this bounded scope with
broad is:merged, mergedAt, or organization-wide searches.
The collector deliberately distinguishes:
new: the PR was created inside the window.merged: the PR was merged inside the window.verified_continued: an older PR contains a commit authored inside the window.unverified_update: GitHub says an old PR moved, but no authored commit, merge, or other substantive event verifies what changed.merged_via_graphite_batch: an exact child PR is CLOSED withmergedAt: null, but canonical bounded membership and a mergedapp/graphite-appgroup prove the child was part of the merge batch.context_only: a deployment run exists, but no evidence yet connects it to the user's substantive involvement.rewritten_or_amended_in_window: only the committer date moved into the window. Treat this as restack/amend context, never substantive work.
It also collects exact submitted review timestamps, review states, reviewer identities, and Actions workflows whose identity says they are deployments.
Reconcile current framing
Reconcile the collector with the current conversation and explicit handoffs. User requests, corrections, sequencing, attribution, and status statements define the framing. Verified tool results provide facts to cross-check. Assistant summaries and claims are discovery hints, not proof that work happened. Do not retrieve old sessions or create a new event log. Keep private conversation excerpts out of stakeholder updates.
Evidence gate
Before drafting, verify all of the following:
source_status.gitandsource_status.githubare bothavailable.github.review_collection_status,github.family_repository_lookup_status,github.linked_commit_lookup_status, andgithub.deployment_collection_status,github.deployment_pr_lookup_status, andgithub.graphite_batch_collection_statusare allavailable.- Every authored PR has an empty
collection_errorslist. - The window in the JSON exactly matches the window established above.
If any check fails, stop before drafting. Tell the user which source or verification failed and ask whether to retry or proceed with a specifically named omission. Never turn a failed source into an empty section.
For unverified_update or context_only entries, do not narrate them as work
unless canonical user framing explicitly supplies the missing involvement and
delta. Otherwise omit them and identify the omission when presenting the draft.
Review and delivery boundary
Draft the update in the current conversation after the evidence gate passes. Do not discover, read, create, or modify an Obsidian note or any other draft staging file. Present the exact stakeholder-forwardable draft for owner approval. A request to prepare or correct an EOD is not delivery approval; deliver only after the owner explicitly approves the exact draft or explicitly orders immediate delivery of that exact content. If the owner corrects it, reconcile the correction against current evidence, present the revised exact draft, and await approval unless the correction itself explicitly orders delivery.
After approval and final verification, send the exact approved update through
the typed deliver_stakeholder_update tool. This lane intentionally omits the
visible agent provenance banner so the owner can forward the message unchanged;
sender, time, size, and outcome remain in private audit metadata. Do not use
report_owner, a dispatcher, an inbound registry request, or the retired
relay-to-owner: frame. Only deliver_stakeholder_update evidence with
outcome=delivered proves completion. If delivery fails, preserve the exact
draft and the bounded transport error in durable task state; do not claim the
EOD is complete. Do not send it to Slack, email, GitHub, or any other
stakeholder channel.
Draft
- Use meaningful stakeholder headers that state the outcome or decision area.
Never emit generic headings such as
What Was DoneorReview hardening, and never create a one-bullet section whose heading is merely a project name or a collector category. - Lead with deliverables and their state, not PR mechanics or counts.
- Follow the user's requested workstream order exactly. Otherwise order by stakeholder importance, not repository or query order.
- Never emit a detached stats line. Put every count in the same sentence or bullet as the exact supporting PR, review, issue, deployment-run, or Graphite batch references. If the references do not support the count one-for-one, omit the count.
- Report deployments only from
github.deploymentsentries markedverified_user_involvement. Include environment only when the workflow identity establishes it;unspecifiedstays unspecified. - Include separately verified issue activity only with substantive user-involvement evidence or canonical user framing. An issue being touched or closed today does not prove it was the substantive work performed today.
- When exact bounded Graphite evidence is supplied, count each child PR once and cite both the child PRs and the merged batch group. Do not count the group as an additional authored PR.
- Reviews count only when the user submitted the review inside the window on another author's PR. Group them as Approved, Commented, or Changes-requested.
- Human and bot feedback are different. Never describe bot-only activity as human review feedback.
- Collapse related PR runs. One line should state a fact and its references.
- Use canonical GitHub PR links:
https://github.com/OWNER/REPO/pull/NUMBER. - Link every PR reference or none of them.
- Use ASCII only: no emoji, curly quotes, Unicode dashes, arrows, or ellipses.
- No first-person voice. No
Next itemsunless the user supplied them. - Aim below 1500 characters and never exceed Telegram's 4096-character limit.
Final verification
Verify the exact draft once more:
- every claimed delta has user confirmation or reportable evidence;
- relevant framing from the current conversation was reconciled; missing historical framing was not invented, and no assistant-only claim became a work claim;
- deployment work is present when deployment runs are present;
- workstream ordering and attribution match the user's checkpoint correction;
- no
unverified_update,context_only, or committer-date-only event became a work claim without canonical user framing; - every grouping follows verified repository data or canonical user framing, and every included issue or deployment item has substantive user-involvement evidence;
- every count is adjacent to exact references and agrees with those references;
- Graphite children and their batch group are reconciled without double-counting;
- the draft preserves every current user correction and requested emphasis;
- formatting is ASCII, terse, grammatical, and consistent with the owner's stakeholder-update preferences.
If any sentence cannot be traced to the user's words or the evidence JSON,
remove it or ask. Present the exact verified draft for approval. After approval,
re-verify that the payload is byte-for-byte the approved content, deliver it
through deliver_stakeholder_update, and require outcome=delivered before
reporting completion.
04 同仓库更多 Skills
worktree
Manage worktrees only for concurrent work by the owner or agents launched by the owner on the same repository, or for explicitly requested inventory and cleanup; never create one for isolation alone.
unslop
Rewrite draft prose before owner-facing replies, docs, issues, PR text, handoffs, or Telegram reports to remove AI tells while preserving facts, links, tone, and authority; auto-trigger on externally visible prose, but never on code, commands, logs, tool output, quoted sources, or user text.
threat-model-first
Use at the START of a change that moves money, changes balances or custody, touches access control or signing, deserializes untrusted input, adds an external or on-chain integration, or wires an LLM tool. Design-time threat modeling that turns abuse cases into the first failing tests; it precedes the post-hoc security-review pass.
test-inspector
Auto-run for new or changed retained behavior, even without test changes, and for test, fixture, snapshot or mock changes; verify real happy-path and error-path coverage, expose false-confidence assertions and over-mocking, but do not perform general production-code correctness review.
strong-typing-inspector
Lightweight review — flags primitives used where a domain type already exists (e.g. String for a USD field when Usd exists) and missed newtype opportunities.
spec-review
Critique existing specifications and design proposals, including whether their approach or addition is justified, and refine them through adversarial Pi review and authorized author revisions. Not for code review, implementation-plan sequencing, creating a design from scratch or minor copy edits.