Skip to content

feat: add task-ledger skill - #566

Open
InsightFactoryAPP wants to merge 1 commit into
addyosmani:mainfrom
InsightFactoryAPP:add-task-ledger-skill
Open

InsightFactoryAPP wants to merge 1 commit into
addyosmani:mainfrom
InsightFactoryAPP:add-task-ledger-skill

Conversation

@InsightFactoryAPP

Copy link
Copy Markdown

Fills the durable-state gap between planning-and-task-breakdown (one-time decomposition) and incremental-implementation (single-task execution): nothing in the catalog tracks task state across sessions — what is in progress, blocked, ready next, or done with evidence. The nearest open proposal (#429 repository-memory) explicitly scopes episodic session/task state out ("that is task memory, not repository memory"), and a repo-wide search finds no existing kanban/board/ledger skill, so the gap is real rather than a reshuffle.

What the skill covers: a TASK_LEDGER.md record format (stable IDs, todo/doing/blocked/done, dependencies, evidence receipts), a six-step workflow (read before acting → select next-ready by dependency → claim exactly one → do only the task → record outcome with receipt → close the session consistently), multi-agent claim etiquette, append-only history rules, rationalizations, red flags, and verification.

Registered in the README Plan table, CLAUDE.md phases, and the using-agent-skills discovery tree / lifecycle / quick reference. Ships with evals/cases/task-ledger.json (5 positive triggers, 3 owned negatives, 1 execution eval) backed by a working fixture repo under evals/fixtures/task-ledger/ whose suite runs green as committed.

Validation (run locally, all green):

  • node scripts/validate-skills.js — 26 skills, 0 errors, 0 warnings
  • node scripts/run-evals.js --min-rank1 95 — 148 checks passed, trigger rank-1 rate 100% (93/93), no collisions
  • node scripts/validate-versions.js, validate-reference-links.js, and the three validator test suites — all pass

Disclosure: I'm on the team behind YYLO / YYLO Ledger, the git-native task-ledger CLI this skill is distilled from — the provenance note sits at the top of the SKILL.md the same way code-simplification credits its inspiration. The skill itself is tool-agnostic (plain Markdown, no CLI required) and was prepared with AI-agent assistance following your CONTRIBUTING and skill-anatomy docs, including the dedupe checks (catalog, open PRs, and the rejection ledger — which is empty). Happy to revise, trim, or re-scope if the gap reads differently to you.

SanHsien referenced this pull request in SanHsien/agent-skills Sep 11, 2026
Records the verdicts for the 11 upstream commits since 469d00f, PRs
#561-#567 and issue #565, and advances tools/upstream_baseline.json to
6ca0cd7 / PR 567 / issue 565.

Adopted by cherry-pick with original authorship: the observability
runbook-writing subsection with its review follow-up, the
context-engineering Context Budget Management section with two review
follow-ups, the incomplete-plan overwrite guard in both planning.toml
files, and the description vocabulary for 11 skills with the eval
rank-1 floor raised from 80 to 95. Four merge commits carry no extra
diff. From unmerged #563, the null grader expectation crash in
scripts/run-evals.js, which this fork has. #561/#562 are closed personal
branches, #564 is a comment-only showcase, #566 and #567 wait for merge.

Verified: tools/dev_check.ps1 green (pytest 32 passed, 25 skills and 9
commands validated, links) with the SkillSpector self-scan excluded:
its baseline still records scanner 2.11.0 while the installed scanner
is 2.11.2, so every exact fingerprint predates this change and is
tracked separately. Node CI steps: run-evals-test 16 passed, rank-1
100% (88/88) against the new 95 floor, validate-versions and
validate-reference-links pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: SanHsien <34234698+SanHsien@users.noreply.github.com>
@addyosmani

Copy link
Copy Markdown
Owner

Genuinely useful concept, a durable TASK_LEDGER.md so multi-session and multi-agent work survives and two agents don't grab the same task. But it's a new skill, and I'm being deliberate about growing the catalog, and it overlaps the parallel-tasks discussion in #518 and the repository-memory direction in #429, both about durable state. So I'm holding it for a scope conversation and I'd want to reconcile it against those first. Not a no. Leaving it open.

@InsightFactoryAPP

Copy link
Copy Markdown
Author

Thanks for the thoughtful hold — and for keeping it open. No rush on any of this; since you mentioned reconciling against #518 and #429, here's the boundary as we see it, in case it saves you a pass:

  • feat: add repository-memory skill (v1 of #398) #429 (repository-memory) covers durable knowledge about the codebase — what/why memory. Its own scope line excludes task state ("that is task memory, not repository memory"), which is precisely the gap this skill fills: the task memory itself.
  • [skill-gap]: tasks/ are Poorly designed in parallel development #518 (parallel-tasks, closed) resolved on execution mechanics — per-lane grouping as the missing primitive, dependency edges mostly already existing. That's how parallel work runs; a lane still needs a durable place to record who claimed what, so two agents don't grab the same task (your framing).
  • task-ledger is only that substrate: a TASK_LEDGER.md record format (stable IDs, todo/doing/blocked/done, dependencies, evidence receipts) plus claim etiquette. It doesn't model the codebase, and it doesn't schedule or execute anything.

So the three compose rather than overlap: memory remembers the code, lanes execute the work, the ledger holds task state between sessions. If the reconciliation lands differently and you'd rather see this narrowed (e.g., to just the claim/locking primitive), renamed, or withdrawn, happy to do any of those — your call, no hurry.

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.

2 participants