Repository navigation
fix: require capability preflight and complete trial evidence - #10
Conversation
Implements the three justified corrections from Issue #8 (TrueNAS trial audit) + Proxmox precedent. - pattern-author: identify an executable capability path (procedure -> required capability -> declared/expected runtime tool path) when generated procedures depend on tools/capabilities; keep package declarations internally consistent. No prescribed tool/mechanism doctrine. - review: capability-path consistency check (REVISE if a referenced operation has no executable declaration; Review checks internal coherence, not runtime availability); receipt-backed native parse/spec evidence (Review cannot PASS a SKILL.md without a recorded native parse/spec result; REVISE on unexpected/non-spec frontmatter; positive rule = Agent Skills allowed fields; Turnstone metadata maps to native API fields). - trial: applicable-category accounting before running; capability preflight (unavailable -> overall INCOMPLETE, not behavioral FAIL, report responsible layer); overall verdict semantics PASS / INCOMPLETE / FAIL (INCOMPLETE does not advance to Ship; only PASS hands off); preserve granular case results. Ship unchanged (already requires Trial PASS; clearer Trial semantics resolve the handoff). No version bump, no live deployment. Prompt-only. Structural validation PASS. Regressions R1-R5 + non-infrastructure sanity all PASS.
RedEyeNinja-BKK
left a comment
There was a problem hiding this comment.
Independent implementation review on exact head bbcd0811e059f1d1034fbb6434f74725c2b46ee3.
Overall architecture/scope is strong: exactly three prompt skill files, no Ship change, no runtime/evaluator/manifest machinery, and exact-head structural-validation run 31281117452 is PASS. The PASS/INCOMPLETE/FAIL distinction is a good small correction to the repeated Proxmox/TrueNAS over-crediting problem, and capability-path preflight is correctly separated between package coherence (Review) and target-runtime availability (Trial).
I am not yet recommending merge. Please address these two prompt ambiguities and one evidence gap:
-
Do not conflate native parsing with Agent Skills field validation. The Review wording currently says
native parse/spec result, which can imply thatPOST /skills/parseitself proves the allowed-field contract. The TrueNAS evidence did not establish that the parser rejects all extra fields. Make the evidence contract explicit: preserve the native parse result and separately compare the parsed/authored frontmatter keys against the Agent Skills allowed-field contract. Unexpected fields => REVISE regardless of whether the native parser accepted the document. This remains prompt reasoning; do not build a custom parser/schema validator. -
Keep
allowed-toolsoptional. Pattern currently says the capability path must be coherent withthe skills' allowed-tools. Agent Skills treats that field as optional/experimental. Reword to coherence with persona/tool declarations and any skillallowed-toolsconstraints when present. Do not make capability-path reasoning force every generated skill to addallowed-tools.
Also tighten the Review sentence about Turnstone metadata: use native Turnstone object/API fields when such supported fields exist; otherwise do not invent SKILL.md frontmatter or hallucinate an API field.
- Expose reviewable R1–R5 receipts. GitHub currently contains only summarized PASS claims for R1–R5 + the customer-returns sanity run. Before merge, post a sanitized PR comment (or Issue #8 evidence comment linked here) containing enough direct evidence for independent review: fixture/prompt or concise setup, the material output/verdict, and what observation satisfied each expected result. Preserve local detailed receipts, but do not ask reviewers to trust an agent summary. No new evaluator or repo evidence framework is needed.
After those narrow corrections: rerun structural validation, rerun only the regressions materially affected by the wording changes (at minimum R3, plus R1 if allowed-tools handling changes), update exact head, and stop for re-review.
No broader product change requested.
…se/allowed-field evidence Per independent review 4889928880. - pattern-author: capability path coherent with persona/tool declarations AND any skill-level allowed-tools constraints WHEN PRESENT; allowed-tools stays optional/experimental (no requirement to add it; reasoning works when a skill omits it). Verification wording updated. - review: separate two evidence steps - (A) native parse evidence (skill identity, parse invoked, result) preserved; (B) allowed-field comparison against the Agent Skills contract, REVISE on unexpected/non-spec keys WHETHER OR NOT the parser accepted the document. Turnstone metadata: use a supported native field when one exists; else a valid Agent Skills field (e.g. metadata); never invent SKILL.md frontmatter or hallucinate an API field. Verification wording updated. Trial unchanged (byte-identical). Structural validation PASS. Re-ran R1, R1-allowed-tools-optional variant, R3 - all PASS.
Regression receipts - R1-R5 + non-infrastructure sanity (head
|
RedEyeNinja-BKK
left a comment
There was a problem hiding this comment.
Independent re-review on exact head faac9143af185b81d4934610888855f1013e4c5d: PASS.
Verified the correction commit is exactly one commit ahead of prior reviewed head bbcd0811e059f1d1034fbb6434f74725c2b46ee3 and modifies only process-engine-pattern-author and process-engine-review; process-engine-trial is byte-unchanged from the prior implementation head. Full PR scope remains exactly three prompt skill files with no Ship/runtime/evaluator/manifest/version changes.
The three prior review concerns are resolved:
allowed-toolsremains explicitly optional/experimental. Capability-path reasoning now applies to persona/tool declarations and any skill-levelallowed-toolsconstraints only when present. The R1 variant directly demonstrates that a valid persona capability path is accepted whenallowed-toolsis absent.- Native parsing and Agent Skills field validation are now explicitly separate evidence steps. Review requires a native parse receipt, then independently compares authored frontmatter keys to the allowed-field contract. R3 demonstrates the intended behavior: native parse succeeds, unexpected keys are independently identified, Review = REVISE, no Trial.
- Sanitized R1-R5 + customer-returns receipts are exposed in PR comment
5228543823with fixture, expected result, material actual output, and assessment. They are sufficient for this bounded prompt change; no new evaluator/evidence framework is warranted.
The PASS/INCOMPLETE/FAIL Trial semantics remain a small, appropriate correction to the repeated Proxmox/TrueNAS evidence-overcredit problem. Capability coherence remains in Review; target-runtime availability remains in Trial. Ship correctly remains unchanged.
Exact-head structural-validation workflow run 31282283705 concluded success.
No blocking finding remains. Recommendation: READY FOR PR #10 MERGE GATE. Do not merge without the operator gate, and keep live Turnstone reconciliation / version-release decisions separate after merge.
fix: require capability preflight and complete trial evidence
Base SHA:
d0e0a2d431dc32deac4ed362c1cff8a3023be564(post-PR #9 main)Head SHA (current):
faac9143af185b81d4934610888855f1013e4c5dGoverning: Issue #8 (TrueNAS trial audit + change definition
5228316036, gate5228410356); evidence PR #9 (mergedd0e0a2d4…)Precedent: Issue #1 (Proxmox trial)
Independent review addressed:
4889928880(allowed-tools optionality; separate native-parse vs allowed-field evidence; Turnstone metadata wording; reviewable regression receipts)Problem statement
Two downstream infrastructure trials showed green executed cases can be over-credited as full Trial PASS while required coverage remains unrun, and a generated package can describe procedures that depend on capabilities with no actually-executable path. Three narrow corrections are implemented.
Corrections
allowed-toolsconstraints when present -allowed-toolsremains optional/experimental (no requirement to add it). No prescribed tool/mechanism doctrine.metadata); never invent SKILL.md frontmatter or hallucinate an API field.Files changed (3 overall; correction commit touched Pattern + Review only; Trial byte-identical)
skills/process-engine-pattern-author/SKILL.mdskills/process-engine-review/SKILL.mdskills/process-engine-trial/SKILL.mdStructural validation
python3 tools/validate.py --repo .→ STRUCTURAL VALIDATION PASS (exact-head run onfaac914…).Regression receipts
Sanitized direct evidence for R1-R5 + non-infrastructure sanity: comment
5228543823on this PR. (R1, R1-allowed-tools-optional variant, R3 re-run on corrected wording - all PASS; R2/R4/R5 receipts from prior run, contract unchanged - all PASS.)Non-changes
Ship, standards, skill-anatomy, governance, core, persona, templates, intake, safety, evidence-library unchanged. No evaluator framework, no code runtime, no manifest/state machine, no version bump, no live deployment.
Why this remains prompts-only / Turnstone-native
Prompt instructions only; capability/spec verification uses Turnstone native parsing + runtime preflight + Agent Skills allowed-field contract; no reimplementation of enforcement.
Do not merge; awaiting independent re-review.