AGENTS.md
internal/policy/AGENTS.mdAGENTS.md
Quality
44/100
Scores the file, not the repository.Length
144 words
7 headings · 0 code blocksRepository
0
— · pushed 78 days agoLast changed
3 days ago
First indexed 3 days ago.1# SDP Policy Runtime — v1 Contract23## Context Objects4- `Decision`: Primary output (Allowed bool, Explanation ExplainResult)5- `ExplainResult`: Human-readable rationale via ExplainMode (Basic/Detailed/Internal)67## Dependencies8- `internal/evidence`: CodingWorkflowStatement, DiscrepancyReport (wrapped in EvidenceInput)9- **Risk**: Evidence schema changes break policy API10- Stdlib only: context, encoding/json, fmt, strings1112## Configuration13Discrepancy thresholds (GateConfig):14- Critical: 0, High: 0, Medium: 5, Low: 201516Attestation:17- RequireSignedAttestation: true (default)18- Verify via evidence.NewSigner().VerifyAttestation()1920## Evaluation Contract21- **Ordering**: Severity descending (Critical→High→Medium→Low) for determinism22- **Short-circuit**: Stop on first deny23- **Override hooks**: Post-evaluation, can flip deny→allow with audit2425## Runtime Assumptions26- Context propagation: No specific keys required27- Audit: AuditFields() returns status, reasons, severity counts, thresholds28- Errors: Return nil Decision + error; verification/threshold violations deny with message2930## Versioning31- v1.0.0 stable for SDP runtime integration32- Evidence changes require policy contract review33
Also in fall-out-bug/sdp_lab
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| fall-out-bug/sdp_labcmd/AGENTS.md · 0 | AGENTS.md | styledependenciesapido-not+1 | 55/100 | 3 days ago | |
| fall-out-bug/sdp_labinternal/AGENTS.md · 0 | AGENTS.md | styledependenciesapido-not+1 | 55/100 | 3 days ago | |
| fall-out-bug/sdp_labprompts/skills/AGENTS.md · 0 | AGENTS.md | dependenciesapido-notagent-behaviour | 59/100 | 3 days ago | |
| fall-out-bug/sdp_lab.agents/skills/AGENTS.md · 0 | AGENTS.md | dependenciesapido-notagent-behaviour | 59/100 | 3 days ago | |
| fall-out-bug/sdp_lab.codex/AGENTS.md · 0 | AGENTS.md | setupbuildtestlint-format+4 | 86/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/beads.mdc · 0 | Cursor rules | arch | 40/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/bugfix.mdc · 0 | Cursor rules | no sections | 60/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/build.mdc · 0 | Cursor rules | build | 29/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/ci-triage.mdc · 0 | Cursor rules | arch | 40/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/oneshot.mdc · 0 | Cursor rules | no sections | 30/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/codereview.mdc · 0 | Cursor rules | archgit | 40/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/debug.mdc · 0 | Cursor rules | arch | 40/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/deliver.mdc · 0 | Cursor rules | no sections | 39/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/deploy.mdc · 0 | Cursor rules | deployment | 54/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/design.mdc · 0 | Cursor rules | no sections | 25/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/feature.mdc · 0 | Cursor rules | arch | 40/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/hotfix.mdc · 0 | Cursor rules | git | 65/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/idea.mdc · 0 | Cursor rules | no sections | 25/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/issue.mdc · 0 | Cursor rules | api | 25/100 | 3 days ago | |
| fall-out-bug/sdp_lab.cursor/rules/prd.mdc · 0 | Cursor rules | no sections | 16/100 | 3 days ago |
Diff against cmd/AGENTS.md Diff against internal/AGENTS.md Diff against prompts/skills/AGENTS.md Diff against .agents/skills/AGENTS.md Diff against .codex/AGENTS.md Diff against .cursor/rules/beads.mdc Diff against .cursor/rules/bugfix.mdc Diff against .cursor/rules/build.mdc Diff against .cursor/rules/ci-triage.mdc Diff against .cursor/rules/oneshot.mdc Diff against .cursor/rules/codereview.mdc Diff against .cursor/rules/debug.mdc Diff against .cursor/rules/deliver.mdc Diff against .cursor/rules/deploy.mdc Diff against .cursor/rules/design.mdc Diff against .cursor/rules/feature.mdc Diff against .cursor/rules/hotfix.mdc Diff against .cursor/rules/idea.mdc Diff against .cursor/rules/issue.mdc Diff against .cursor/rules/prd.mdc
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| OnlyTerp/prompt-cache-skillsAGENTS.md · 112 | AGENTS.md | setupbuildtestlint-format+5 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago |
