bend-proof
Skill0 starsChanged 5 days agoMITArchived repositoryView on GitHub
Use Bend 2 laws as the reviewed formal product specification for explicitly selected proof-first work or stable, important modelable invariants. Prove before production implementation and verify conformance afterward.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adrSkill
- advanced-sqlSkill
- content-writingSkill
- database-designSkill
- data-decision-scienceSkill
- data-dimensional-modelingSkill
- data-lifecycleSkill
- data-operationsSkill
- data-slicingSkill
- data-statisticsSkill
- data-storytellingSkill
- evidence-researchSkill
- graph-protocolSkill
- gui-design-thinkingSkill
- marimo-notebooksSkill
- project-adoptionSkill
- repository-workSkill
- requirementsSkill
- software-design-thinkingSkill
- software-factorySkill
- testingSkill
- visual-designSkill
The file
Files
Bend 2 — approved law → proof → conformance
Trigger: explicitly requested proof-first scope or a consequential stable invariant that can be represented faithfully as a pure property/state transition. Not a universal gate for UI, network, operations, unresolved business intent or every feature.
Authority: operator-reviewed LAWS.bend is the formal product specification within its selected scope, replacing a duplicate PRD. PROOF.bend proves that law for its checked model; optional SPEC.bend defines a pure model. Neither a proof nor a passing smoke check approves a law or verifies separate production code. $requirements owns missing intent and approval.
Intent + approved scope
→ Draft LAWS.bend (+ normative SPEC.bend assumptions, if used)
→ Expose quantified semantics, preconditions, exclusions, counterexamples
→ Operator reviews exact laws/assumptions
→ Accepted law → Write PROOF.bend + pure model
→ scripts/factory proof (actual pair, pinned Bend)
→ Pass → Production code → Conformance + effect/integration tests
→ Fail → Correct witness/non-normative model, or request law amendmentGuards: inspect accepted laws, relevant tests, proofs/README.md and bend guide first. Use stable law names under proofs/<rule>/LAWS.bend; PROOF.bend imports accepted laws. Avoid @unsafe, unchecked/foreign assumptions and TODOs in proof dependency closure. Never weaken an accepted law or normative model assumption just to pass. Amendments need renewed review and fresh proof/conformance evidence. Use project source review or another verifiable operator decision, not a mutable approval marker. No duplicate PRD or proof register.
Failure/stop: Bend unavailable, model unfaithful or proof required but infeasible → report blocked/request explicit rescope, never substitute tests silently. A smoke proof is installer-only. A law can be vacuous; test counterexamples and unintended implementations. A compiler/model/law change invalidates dependent evidence. Bind conformance to the actual application implementation, representation conversions, error paths and effects. Separate pure decisions from IO/time/network/rendering unless modeled explicitly.
Output: law → model/proof verdict → implementation path → conformance checks; report observed results, assumptions, unmodeled scope and risks. Keep proof assets compact and readable; no automatic writes to docs/.
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
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.

