agentleFS
modeled-information-formatmodeled-information-format/research-harness-template/.claude/skills/publish-report/SKILL.md

publish-report

Skill2 starsChanged 4 months agoMITView on GitHub

Render surviving research findings into the canonical MIF Level-3 markdown report — the harness's source of truth (reports/<topic>/<slug>.md), held to the same bar as a finding and graded by the falsification gate. A first-class harness output (not a pack), never exempt. Use this skill when the user wants the authoritative MIF report, the L3 report of record, or to emit the canonical report from the corpus. Triggers on 'publish report', 'generate the MIF report', 'render the report of record', 'emit the canonical report', 'L3 report from findings'.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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:

    Resolve the finding set: Default to the topic's findings dir (reports/<topic>/findings/).

    line 20
  2. Distinctive:

    Obtain a REAL verdict — never author it by hand: Run the same adversarial falsification gate a finding goes through over the synthesised …

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

publish-report — research → canonical MIF Level-3 report

The generic report channel is the canonical MIF Level-3 source of truth (SPEC §10): a basic markdown report (reports/<topic>/<slug>.md) with authoritative YAML frontmatter (the MIF concept) over a Markdown body. Unlike the blog and book projections — which are MIF-exempt published prose — the report is never exempt: it is held to the same L3 bar as a finding and must carry a real, non-falsified extensions.harness.verification verdict before it ships.

Pipeline

  1. Resolve the finding set. Default to the topic's findings dir (reports/<topic>/findings/). Only surviving findings (verdict ≠ falsified) are eligible.
  2. Synthesize the artifact (full MIF citations carried through):

    scripts/synthesize-artifact.sh reports/<topic>/findings <genre> reports/<topic>/artifact.json
  3. Obtain a REAL verdict — never author it by hand. Run the same adversarial falsification gate a finding goes through over the synthesised report's claims, and extract the verdict block it writes:

    # report-finding.json = a finding-shaped projection of the report's central
    # claims (its citations, no verification block yet).
    scripts/falsify.sh reports/<topic>/report-finding.json <evidence> \
      > reports/<topic>/report-finding.falsified.json
    jq '.extensions.harness.verification' reports/<topic>/report-finding.falsified.json \
      > reports/<topic>/report.verification.json

    A falsified verdict means the report is quarantined and NOT shipped.

  4. Render the report (write-then-validated; fails closed if it does not project to a valid L3 finding):

    scripts/render-artifact.sh reports/<topic>/artifact.json report \
      reports/<topic>/<slug>.md reports/<topic>/report.verification.json
  5. Confirm L3. scripts/render-artifact.sh already validates via scripts/mif-project.sh; before reporting done, re-run it to be sure:

    scripts/mif-project.sh reports/<topic>/<slug>.md
  6. Reconcile the topic README. Rendering the report wrote reports/<topic>/<slug>.md through the shell, which the README PostToolUse hook never observes — so the navigation README's Reports table and counts are now stale. Deterministically rebuild it (build mode preserves authored Purpose / Key Findings prose; idempotent):

    bash scripts/build-topic-readme.sh <topic>

Non-negotiables

  • Never hand-author the verification verdict. It must come from a real falsification pass, exactly as for a finding. The gate enforces that a well-formed, non-falsified verdict is present; that it was honestly earned rests on you.
  • Never ship a falsified or quarantined report. mif-project.sh and the citation-integrity gate reject a falsified verdict.
  • The report is the MIF source of truth, not exempt. The title lives in the frontmatter; the body carries no top-level heading (it would trip MD025 and duplicate the title). To change content, change the findings or the synthesis, not the rendered Markdown in place.
  • Genres are L3 here. A genre shapes the report's content; the report is still rendered through this channel and held to L3.

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.