Skip to content

Verification gates and principles for external references#16

Merged
discreteds merged 5 commits intomainfrom
feature/platform-api-restructure
Apr 27, 2026
Merged

Verification gates and principles for external references#16
discreteds merged 5 commits intomainfrom
feature/platform-api-restructure

Conversation

@discreteds
Copy link
Copy Markdown
Member

Summary

  • LOAD_AND_VERIFY / GLOB_AND_VERIFY gates added to all 8 phases in SKILL.md that depend on external references — 16 gates total
  • Each gate forces a Read, extracts a proof value (function names, entry counts, structural markers), and halts if the file is missing
  • Phase 3 (Score) gates include platform-api.md and per-platform spec files before rubric evaluation
  • Phase 7 (Document) uses GLOB_AND_VERIFY for the install-docs directory
  • Verification gates principle added to lib/principles/pseudocode-principles.md — documents the pattern, what makes a good proof, and when gates are needed

Test plan

  • grep -c 'LOAD_AND_VERIFY\|GLOB_AND_VERIFY' skills/plugin-portability/SKILL.md returns 16
  • No bare "Follow" or "References" directives remain in SKILL.md phase sections
  • grep -n 'platform-api.md' skills/plugin-portability/SKILL.md shows gate in Phase 3
  • grep -n 'GLOB_AND_VERIFY.*install-docs' skills/plugin-portability/SKILL.md shows Phase 7 gate

🤖 Generated with Claude Code

discreteds and others added 5 commits April 28, 2026 08:21
LOAD_AND_VERIFY pattern for every phase with external references.
Forces Read, extracts proof value, halts on failure.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add GLOB_AND_VERIFY pattern for directories (Phase 7)
- Add platform-api.md and per-platform spec gates to Phase 3
- Update verification checks

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8 tasks: gate pattern definitions, then gates for phases 1, 2, 0b, 3,
5, 6, 7, 8. Single file change in SKILL.md.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Every phase that depends on external references now forces a Read,
extracts a proof value, and halts if the file is missing. 16 gates
across 8 phases. Phase 3 includes platform-api.md and per-platform
spec gates. Phase 7 uses GLOB_AND_VERIFY for the install-docs directory.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
External references must be read, proven, and followed — not just
hinted at. LOAD_AND_VERIFY for files, GLOB_AND_VERIFY for directories.
Documents what makes a good proof and when gates are needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@discreteds discreteds merged commit 68c5bb6 into main Apr 27, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant