agentleFS
mariomilemariomile/builder-os/skills/evidence-ledger/SKILL.md

evidence-ledger

Skill2 starsChanged 50 days agoMITView on GitHub

Keeps every claim traceable: the source-tag grammar, one evidence file per tag, importing outside material, how gates count sources. Use when writing a claim into an artifact, saving notes or data the person brings, or auditing for unsourced numbers.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write the evidence file when the source is captured: notes written from memory a week later are a doc about an interview, not the interview.

    line 29

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Evidence Ledger

The ledger makes "every number has a source" checkable. Every factual claim in a lifecycle artifact carries a source tag. Gates check resolving pointers and source counts; the model still judges whether a source supports the claim.

Mode. A standalone answer cites its direct sources in the requested format and destination; the evidence files, gates and state writes below belong to a lifecycle initiative. Both per operating modes.

Tag Grammar

[class:identifier], at the end of the sentence it substantiates, before the period or after it, consistently within a document.

ClassMeaningIdentifier formatExample
dataLive query against a connected data sourcetool:query-name[data:mixpanel:activation_funnel_q3]
interviewPrimary conversation with a real personparticipant codes, comma-separated[interview:P3,P7]
docExisting written source: ticket, note, transcript, reportsource slug or path[doc:support-tickets-aug]
codeRead from the codebasepath:line[code:src/billing.ts:142]
estimateDerived number, method statedmethod slug[estimate:bottom-up-tam]
assumptionBelieved, not verifiedunvalidated or a test id[assumption:unvalidated]

Every Tag Has a File

A pointer to nothing is an invented source. Every interview, doc and data tag has a file in evidence/ holding the raw material it cites: notes, the pasted query output with its parameters, the excerpt. Names, format and lookup order: the state schema, section Evidence Files. Gate condition E.1 checks it on every gate.

Write the evidence file when the source is captured: notes written from memory a week later are a doc about an interview, not the interview. What the user tells you in the conversation is [doc:user-{YYYY-MM-DD}-{topic}], with their words copied verbatim into the file.

Evidence From Outside the Session

Most evidence lives somewhere the session cannot reach: interview notes in a notes app, a call transcript, a CSV export, a support inbox, a survey tool. It counts the moment its raw material is in evidence/. Ask the user to paste it or give the file path, then save it with scripts/bos.mjs evidence add --class interview|doc|data --id {id} --where "{where it came from}" [--from {file}] (the raw material from the file or pasted on stdin; --shared for evidence behind PRODUCT.md, DOMAIN.md or TECH.md), which writes the format above and prints the tag to cite. One participant per interview file. A link alone is not evidence: save the excerpt the claim rests on, with the link as Where. Where commands cannot run, write the same file by hand. Resolve a connected source first when one answers the question (tickets.read, meetings.read, docs.search); importing is the floor, not a second-class path.

Source Hierarchy

Choose the source that best answers this claim by directness, relevant population, observation date, provenance and known limitations; the source class alone leaves a conflict open. Estimates and assumptions stay explicitly uncertain. Read every relevant conflicting source. Write the conflict into the artifact, recording both and explaining the choice or leaving it unresolved. Examples: examples.md, Source Conflicts.

Counting Rules

  1. An evidence unit is one tag on one distinct claim. One tag repeated across five sentences is one unit.
  2. Primary sources are data, interview, code. doc counts as primary only when the document is itself a record of primary contact (a transcript, a support ticket), not a summary of one.
  3. Evidence thresholds count data, interview, code and primary doc units. estimate and assumption belong in artifacts, marked as what they are.
  4. Distinct sources. Five quotes from one interview are one source. So are lines of one code file (regardless of line number or symlink alias) and multiple exports of one query or document; evidence files may declare **Source identity:** {stable upstream source} to identify this equivalence. A new filename does not create independent evidence.
  5. Every number gets a tag. Percentages, counts, currency, dates of events. Adjectives of scale ("most", "many", "rapidly") count as numbers and need a tag or a rewrite.

Rewrite Protocol

An untagged claim is kept and made honest: rewrite it into the weakest honest form and mark it: narrow the claim to what the source supports, separate the observation from the causal story, and name the test that would settle it. All three, every time. Worked example: examples.md, Rewrite Protocol.

Audit Mode

A gate check or an artifact audit runs this pass:

  1. Extract every sentence containing a number, a proportion word, or a causal claim.
  2. Flag each one without a tag.
  3. Count units per class.
  4. Report: total claims, tagged, untagged, primary units, distinct sources, assumption ratio.
  5. Fail the gate if the phase threshold is not met, naming the specific untagged sentences.

A high assumption ratio fails only when that phase's gate demands otherwise; phase 0 is almost entirely assumptions, correctly.

Watch for

DoInstead of
Tag each claimOne tag for a whole paragraph
[interview:P2,P5] with a participant key in the artifact[interview:users]
[assumption:unvalidated] when there is no methodAn [estimate:*] with no method behind it
Tag the evidence a recommendation rests onTagging the recommendation itself

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.