agentleFS
tanbopptanbopp/ai-development-framework/.agents/skills/evidence-gated-blocking/SKILL.md

evidence-gated-blocking

Skill1 starsChanged 20 days agoMITView on GitHub

Blocks Phase 6 completion, Phase 7 completion, and Phase 8 delivery unless raw, unedited command verification logs exist in docs/tasks/logs/[phase-name].log with zero errors and exit code 0.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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:

    Run the concrete verification commands for the current phase (for example npm run build, npm test, tsc --noEmit, lint scripts, or stack …

    line 17

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Evidence-Gated Blocking

Trigger

Mandatory at the end of Phase 6 (Implementation) and Phase 7 (Audit), and enforced as a pre-condition before Phase 8 (Delivery).

Process

  1. No Self-Certification:
    • A phase CANNOT be marked complete simply because the agent believes edits or tests are finished.
  2. Capture Raw Execution Logs:
    • Run the concrete verification commands for the current phase (for example npm run build, npm test, tsc --noEmit, lint scripts, or stack equivalents).
    • Capture the raw, unedited terminal output together with the final exit status and save it to docs/tasks/logs/[phase-name].log (for example docs/tasks/logs/phase-6.log and docs/tasks/logs/phase-7.log).
  3. Block on Failure Signals:
    • Inspect the saved .log file. If it contains any error, failed test/check, or non-zero exit status (such as exit code 1), the phase status is BLOCKED.
    • Return to implementation, fix the underlying defect, re-run verification from scratch, and overwrite the log with the fresh unedited output.
  4. Strict Phase 8 Delivery Gate:
    • Transitioning to Phase 8 (Delivery) is strictly forbidden unless both docs/tasks/logs/phase-6.log and docs/tasks/logs/phase-7.log (or the active phase log) exist on disk and explicitly show exit code 0 with zero errors.

Output Contract

Unedited terminal output files stored at docs/tasks/logs/[phase-name].log demonstrating exit code 0 prior to marking a phase complete or starting Phase 8.

Checklist

  • Verification commands actually executed after final edits (not recalled from earlier runs)
  • Raw, unedited stdout/stderr and exit code saved to docs/tasks/logs/[phase-name].log
  • Zero errors and exit code 0 verified inside the saved log file
  • Phase 8 blocked until valid Phase 6 and Phase 7 evidence logs exist

Prohibitions

  • Marking Phase 6 or Phase 7 done without a saved docs/tasks/logs/[phase-name].log file.
  • Editing, truncating, filtering out failures, or fabricating log contents.
  • Proceeding to Phase 8 (Delivery) when any log contains error or a non-zero exit code.

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.