Repository navigation
Conversation
This was referenced Aug 29, 2026
Pepps233
force-pushed
the
feat/validate-evolved-skill-drafts
branch
from
August 30, 2026 02:56
dda6a36 to
bf46c7b
Compare
Pepps233
force-pushed
the
feat/validate-evolved-skill-drafts
branch
from
August 30, 2026 15:10
bf46c7b to
6e32413
Compare
Pepps233
force-pushed
the
feat/validate-evolved-skill-drafts
branch
from
August 30, 2026 21:32
6e32413 to
acebff0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deterministically validate synthesized skill drafts for structure, provenance, workspace safety, version consistency, and sensitive data before allowing them to enter later evolution lifecycle stages.
Reasoning
Synthesized drafts are durable but untrusted artifacts. They need a deterministic gate that rejects malformed, stale, provenance-incomplete, locally referenced, oversized, or sensitive content before any behavioral evaluation, writing, or activation can be considered.
Validation reuses the canonical harness skill parser for in-memory drafts and persists immutable reports with resumable candidate transitions. Only accepted drafts advance to
structurally-valid; rejected drafts remain outside downstream execution paths.Changes
structurally-validwhile preserving rejected drafts and reports for review.User impact
Invalid or unsafe generated drafts are rejected before downstream processing. Accepted drafts become eligible only for later evaluation work; this pull request does not install, write, or activate generated skills.
Stack
Position: 6 of 12
Base: #139
Next: #147
Testing
npm run checkcd packages/harness-state && node ../../node_modules/vitest/dist/cli.js --run test/harness-state.test.tscd packages/evolution && node ../../node_modules/vitest/dist/cli.js --run test/skill-draft-validator.test.ts test/skill-synthesizer.test.ts test/skill-candidate-registry.test.ts test/skill-candidate-worker.test.ts test/filesystem-store.test.tscd packages/coding-agent && node ../../node_modules/vitest/dist/cli.js --run test/evolution-runtime.test.tsThis pull request is AI-generated by Diffex.