Index of every page on this site: llms.txt
All skills
heffrey avatar

/assumption-ledger

@555219e
by Jeffheffrey/hordev4 stars
Run it yourself

Use when logging decisions hordev made without asking the user, or reviewing open assumptions for falsification

  • 2 files
  • 11 KB
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/heffrey/hordev/assumption-ledger

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈33 tokens for metadata: the name and description. ≈2.1k when used: this file.

Description uses 1.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈131 characters, or 1.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Assumption Ledger

hordev refuses to interview the user. But refusing to ask is only defensible if every unanswered question becomes a logged, falsifiable assumption. An undocumented guess is a bug; a logged assumption is a design decision.

The Trade

When rapid-spec picks a detail instead of asking, that decision goes to the ledger with:

  • What was decided and why
  • What alternative was rejected
  • The blast radius: what would have to change if wrong
  • How it will be falsified (test, prototype behavior, or user reaction)
  • Current status (open, confirmed, falsified)

The ledger is visible to the user. It is the ONLY way they learn what was decided for them. horde-qa targets inspection at open high-blast-radius entries. Falsified assumptions with large blast radii send you back to rapid-spec, not to patch around them.

Ledger Format

File: .hordev/assumptions.md in the project root.

Structure: One assumption per entry. Fields are:

Field Required Content
ID yes ED-001, ED-002, etc. Immutable; status changes do not reassign IDs.
Decided yes What was chosen (e.g., "SQLite for persistence"). Terse.
Rationale yes Why in one sentence. If you need two sentences, it's underspecified.
Rejected yes The alternative not chosen. If none existed, write "None"; that signals an innovation, not a dodge.
Blast radius yes What changes if wrong. One sentence. "Tiny" for cosmetic; "Large" for architecture; "Existential" if it invalidates the core proposition. See below — Existential is the one value that changes what you do.
Falsified by yes How you will know this is wrong. Cite a test name, a prototype behavior, a specific user reaction, or "UAT".
Status yes open, confirmed, or falsified.

Prefix every ID with a short tag for the run (PK-001, not A-001). The ledger file is shared by every run in the repository, and a bare sequence collides the moment a second run starts.

Example:

## ED-001: Text-first UI, no drag-and-drop

Decided: No drag-and-drop gestures; editing happens via a command palette and
inline text.

Rationale: Command-driven flows are faster to prototype and test than gesture
recognizers.

Rejected: Drag-and-drop UI familiar from spreadsheets.

Blast radius: Medium — if users hate text-first input, we rebuild the whole
editing surface.

Falsified by: UAT feedback or "users prefer to drag" in session replays.

Status: open

---

## ED-002: Fetch data on demand, no caching layer

Decided: Every query hits the API; no local cache.

Rationale: Caching complicates state, and we need to prove the core flow
works first.

Rejected: Redis cache with TTL.

Blast radius: Small — cache is an optimization added later, not a redesign.

Falsified by: If load tests show API latency exceeds SLA without cache.

Status: open

Never Cite an Assumption You Have Not Written

An ID in a spec, a TDD, or a dispatch prompt is a promise that the entry exists. Cite one you never wrote and every later stage behaves as though the decision were on record, while the user, reading the ledger, never sees it: a decision made on their behalf and then hidden. That is the failure this ledger exists to prevent, and it has happened in prompts where no spec mentioned the ID at all.

Write the entry first, then cite it. Before any wave is dispatched, run check-ids.sh from this skill's directory:

check-ids.sh .hordev      # fails on any cited ID with no "## <ID>:" heading

It reads every artifact under .hordev/ except the run log, including the saved dispatch prompts. A failure means write the missing entries, not delete the citation.

What Earns an Entry

Test: Would a reasonable user have answered this differently, and would that change the build?

  • Yes → Entry. Example: ED-001 above. Users might demand drag-and-drop; we decided against it. That's an assumption.
  • No → Skip. Example: Naming a button "Save" instead of "Submit". No reasonable user cares; it's not a decision, it's noise.

Rule of thumb: If rapid-spec had to guess at product shape, data model, UX pattern, or performance strategy, log it. If it was just picking a word or a color, ship it.

Existential Entries Get Announced, Not Asked

Every other blast radius is logged and read at the end of the run. An Existential entry — one that invalidates the core proposition if wrong — is the exception, because discovering it at the end means the whole run was wasted.

It still does not earn a question. hordev does not stop to ask, and waiting for an answer costs more than the rebuild would. Instead, say it once, in one line, before dispatching the horde, and keep going:

Assuming ED-003: this is a CLI, not a service. Building on that now.

Then build. If the user corrects it, you have lost minutes rather than a run. If they say nothing, you were right or they did not care — both fine.

This is the whole discipline in miniature: surface the bet, do not wait on it.

New infrastructure is Existential by default. An assumption that introduces a new infrastructure class — persistence, user accounts, a new deployable, a new vendor — is Existential unless the entry states why it is not. The costliest call in one run read "a marketplace to meet vetted coaches" as a database, accounts, in-app messaging and crisis detection. It was specified, built and tested, then removed when the user saw it: out of proportion for a one-person product. It was never announced, and was written to the ledger only after it was undone, while a far smaller call in the same run ("the community is a Reddit forum") was announced. Scope by blast radius, and infrastructure is where the blast radius lives.

Status Lifecycle

open: The assumption is live. The ledger mentions it, the user sees it, and horde-qa may target it.

confirmed: Testing (unit test, prototype, or UAT) proved the assumption sound. Do not remove the entry; mark it confirmed so the user knows this was questioned and held up.

falsified: Testing proved the assumption wrong. Do NOT patch around it. If blast radius is large, return to rapid-spec and replan. If tiny, update the ledger and continue.

Who Writes and Reads

  • Write: rapid-spec logs entries when it picks. writing-tdds refines them as tests clarify the surface. Horde agents inherit relevant open assumptions in their prompts (tagged by component or layer).
  • Read: horde-qa targets inspection at open entries with medium or large blast radius. The final report to the user lists all open assumptions, highest blast radius first.

Surfacing to the User

At the end of each run, surface the ledger plainly:

## Assumptions Made

The following decisions were made without user approval:

**Large blast radius:**
- ED-001: Text-first UI, no drag-and-drop [open]
- ED-005: SQLite backend, not PostgreSQL [open]

**Medium blast radius:**
- ED-002: Fetch on demand, no caching [open]

**Tiny/cosmetic:**
- ED-003: Button label "Save", not "Submit" [open]

Review `.hordev/assumptions.md` for full details. If any assumption conflicts
with your intentions, reply with the ID (e.g., "ED-001 is wrong") and the
intended behavior.

Quick Reference: When to Log

✓ Data model shape (e.g., relational vs. document vs. key-value) ✓ Editing paradigm (e.g., modal dialogs vs. inline vs. command palette) ✓ Performance trade-off (e.g., caching vs. on-demand) ✓ Persistence strategy (e.g., SQLite vs. PostgreSQL vs. in-memory) ✓ Error handling posture (e.g., fail-fast vs. retry-with-backoff)

✗ Color, icon, or button label ✗ Whitespace or typography ✗ Ordinary naming of functions, variables, or files ✗ Choice between two equivalent implementations (if the user wouldn't care)

Battle cry

"Work, work." — when logging a decision you made instead of asking. An assumption falsified with real blast radius gets none: say that one straight.

Once, at that moment — not every message, and never two messages running. Full rules in using-hordev § Voice: conversational output only, never in artifacts, never on bad news.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 555219e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 2 months ago

README badge

README badge for heffrey/hordev/assumption-ledger