Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Accept the reviewed Skills update from `06365b10b42d1c56308b946187d51ccf1efa7d33` to `730840554d16160fefc701a544492d06e52fb4e5` as `0.1.0-canary.10` through a separate protected PR, because the range changes sensitive paths. Merges overlapping workflows (`improve-codebase` into `improve-code`, `review-ui` into `improve-ui`, `plan-issues` into `manage-issues`, machine privacy and security into `improve-machine`, `explore-decisions` into `plan-work`, `manage-vision` into `manage-roadmap`), cuts bundled context, and adopts verifier-first risk-tiered validation with proportional planning. The automatic sensitivity policy is unchanged.

- Align the skills updater with current main protection. The reviewed merge contract now requires strict `validate` and `Privacy Guard` (both GitHub Actions app 15368), and auto-merge waits until every required check has succeeded on the exact PR head. Scheduled runs had been stopping because the contract listed only `validate`.

- Extend `Privacy Guard` with optional `.privacy-baseline` support, so the required commit-metadata check can scan `baseline..HEAD` on push when historical exposure has been accepted. Mirrors vllnt/skills.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0-canary.9
0.1.0-canary.10
2 changes: 1 addition & 1 deletion plugins/claude/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"license": "MIT",
"name": "vstack",
"repository": "https://github.com/vllnt/stack",
"version": "0.1.0-canary.9"
"version": "0.1.0-canary.10"
}
156 changes: 72 additions & 84 deletions plugins/claude/SOURCE.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugins/claude/skills/build-landing-page/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ Produce one evidence-backed landing-page draft, targeted rewrite, or review for
1. Resolve the mode, audience, action, outcome, evidence, and acceptance criteria from the request, applicable instructions, and loaded principles.
2. Use [Structure blueprints](references/structure-blueprints.md) for page architecture, [Copywriting formulas](references/copywriting-formulas.md) for drafting or rewriting, and [Review rubric](references/review-rubric.md) for assessments. Draft one recommended conversion path, or return evidence-backed findings with replacement copy.
3. Check claims against available evidence and record material assumptions and gaps.
4. For substantive work, use [Quality validation](references/vstack/protocols/quality-validation.md), passing the mode, scope, candidate, and evidence; otherwise apply its self-assess, review, critique, triage, improve, and renewed-verdict loop directly. Repair only the authorized output until the current candidate passes.
4. For substantive work, use [Quality validation](references/vstack/protocols/quality-validation.md). Repair only the authorized output.
5. Return the result, current evidence, and the unmet criterion with its next action when validation cannot pass.
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
## Contract

- Input: A current candidate, mode, validation contract, evidence, and required review or critique perspectives.
- Output: `PASS`, `REVISE`, or `BLOCKED`, with traceable evidence, verdicts, findings, and remaining work.
- Effects: Coordinates validation only. The caller owns candidate changes and the requested endpoint.
- Input: Current candidate, mode, validation contract, evidence.
- Output: `PASS`, `REVISE` (caller repairs), or `BLOCKED`, with tier, proof, findings.
- Effects: Validation only. The caller owns changes; a producer may add the smallest missing check or reduction (read-only modes propose them).

### Acceptance

- The contract identifies the candidate, mode, applicable rules, criteria, evidence, and perspective coverage before evaluation.
- Self-assessment, review, critique, and finding dispositions are traceable.
- Authorized code changes have a current pre-commit reduction check: task-owned additions are justified or simplified, with preserved contracts and renewed affected proof.
- `PASS` has current proof and scoped acceptance; missing independence or proof remains explicit.
- Authorized revisions receive renewed affected checks and verdicts.
- Criteria, unacceptable outcomes, tier, and runnable proof are named; each criterion passes, fails, or stays unverified, with run results bound to the candidate.
- Independence matches the tier or its absence is reported.
- Only findings meeting the blocking rule block, within the repair cap; authorized code passes a current reduction pass that preserves contracts.

## Procedure

1. Reuse the caller's validation contract. Record candidate, mode, required criteria, evidence or checks, unacceptable outcomes, and useful review perspectives from the request, applicable instructions, principles, and owning workflow.
2. Have the producer self-assess each criterion as pass, fail, or unverified with evidence. In authorized code-change mode, require a reduction pass before each commit or final uncommitted handoff: compare the complete task delta with its verified baseline, including earlier task commits, staged, unstaged, and new files. Challenge additions with deletion, reuse, consolidation, or a narrower change at the existing owner. Have the caller apply supported reductions, not merely recommend them; justify retained complexity against the current contract and maintainability. Preserve required features, compatibility, security, failure handling, meaningful test detection, and unrelated or mixed-owner edits. Uncertain attribution or necessity is a gap, not permission to delete. Fewer lines alone, minification, hidden work, and deletion quotas are not success. Rerun invalidated checks and renew affected review after reductions; reuse current proof rather than repeat unchanged passes. Read-only work assesses or proposes, never performs code cleanup. Return known defects to the caller before independent review. A score may summarize a defined rubric but cannot replace required proof.
3. For substantive work, obtain review of correctness, completeness, and preserved behavior, and critique of assumptions, necessity, simplicity, and alternatives from reviewers independent of the producer. One reviewer may cover both; add reviewers only for required separation or non-overlapping parallel scopes. Supply scoped criteria, the candidate or diff, and current evidence. Assign checks within each reviewer's tools and authority; return missing required evidence to the caller. Use direct checks for mechanical work. Without subagents, assess sequentially and report missing independence; return `BLOCKED` if required independent review is unavailable.
4. Collect verdicts and findings with criterion, location or scenario, evidence, impact, smallest remedy, and acceptance check. Before dependent repairs, tie each blocker to the current authorized criteria or a demonstrated regression or safety obligation, including necessary supporting behavior absent from the original issue. Separate evidence of a defect from necessity and authority for its proposed remedy. Honor accepted recovery paths; resolve conflicting requirements rather than silently strengthening or weakening them. Deduplicate into required fixes, selected improvements, optional suggestions, and justified rejections. Resolve disagreements with evidence; a disputed required criterion remains open.
5. Return fixes to the caller. After authorized revisions, send affected reviewers the reason, revised material, and invalidated evidence. Rerun invalidated checks and renew affected verdicts; retain only evidence and acceptance unaffected by changes to the candidate, inputs, or relevant environment.
6. Return `PASS` only when every required criterion has proof, required perspectives accept their scopes, and no required finding remains. Otherwise return `REVISE` with fixes for the caller to implement and resubmit, or `BLOCKED` with the unmet criterion, cause, options, recommendation, and consequence. On unchanged evidence, change approach rather than retrying or lowering criteria.

## Pitfalls

- A reviewer consensus or numeric score cannot replace required evidence.
- Sequential assessment may inform the result but cannot satisfy a contract that requires independent review.
1. Reuse the caller's contract and applicable perspectives, each with runnable proof. The caller assigns the tier (highest match wins); verifiers may raise, never lower it. Verifiers stay within their tools and authority, returning gaps. No subagents: report missing independence; `BLOCKED` if the tier requires independence.
- Low (mechanical, docs, or behavior-preserving, proven by existing or new checks): producer proof, required checks, CI; report no independent check.
- Medium (any other behavior change): a non-producer reruns the proof, exercises the change, and gives the diff a quick advisory review (code review, quick depth, if linked; else read the diff inline).
- High (auth, secrets, payments, data loss, migrations, concurrency, public contract breaks, production config) or an explicit review request: medium plus a targeted review of the risk area or requested scope.
- Non-code artifacts: self-assess; where the mode permits, settle open forks with a prototype or discriminating check, else propose it; independent review only at high tier or on request.
2. Missing runnable proof: the producer adds the smallest check at the existing owner within authority (types > lint > tests > docs), failing first when feasible; broader tooling goes to `improve-dx` when installed.
3. Before committing or handing off authorized code, reduce: compare the whole task delta with its verified baseline; apply justified deletion, reuse, consolidation, or narrowing at the existing owner; justify what stays. Preserve supported behavior, security, failure handling, test detection, and unrelated edits; line count is not success; uncertain attribution is a gap, not permission to delete. Rerun invalidated checks.
4. A finding blocks only if a run on the candidate reproduces it, it violates an explicit requirement, or an agent that neither produced the candidate nor raised it confirms a concrete failure scenario, re-derived without the raiser's verdict.
5. Ledger per finding: criterion, location/scenario, evidence, impact, bug class (fix every instance), smallest remedy, recheck; tag Important, Nit, or Pre-existing (never blocking). No repeats without new evidence. Each ends fixed, rejected, or deferred, with reason. Blockers need a current criterion, demonstrated regression, or safety obligation; defect evidence is not remedy authority. Honor accepted recovery paths; resolve conflicting requirements without weakening either; keep a disputed criterion open.
6. At most 3 repair rounds (5 for security or data loss). Send verifiers revised material and invalidated evidence; recheck only those. Stop at optional-only findings; change approach on unchanged evidence. At the cap, `BLOCKED` with the unmet criterion, cause, options, recommendation, consequence.
2 changes: 1 addition & 1 deletion plugins/claude/skills/build-prototype/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Build one local prototype that tests one product hypothesis, or return its exper
2. Choose visual, fixture-backed, or real-integration fidelity and state what it can prove.
3. In build mode, create the smallest authorized vertical slice and exercise its key, state-change, and error paths. For a React web slice with no chosen component library, default to `@vllnt/ui` per [default packages](references/vstack/capabilities/project-alignment/references/default-packages.md). Server or CLI prototype code that logs defaults to `@vllnt/logger`, not `console` or a per-app pino setup. A web prototype that tracks product events defaults to `@vllnt/analytics`.
4. Show the artifact, run instructions, observed behavior, shortcuts, feedback status, and next experiment. In build mode, apply selected feedback when authorized; in planning mode, refine the experiment design only.
5. In planning mode, return the experiment design only. For substantive work, use [Quality validation](references/vstack/protocols/quality-validation.md) with the mode, scope, candidate, and evidence; otherwise apply its feedback loop directly. Repair authorized gaps and renew affected verdicts until acceptance.
5. In planning mode, return the experiment design only. For substantive work, use [Quality validation](references/vstack/protocols/quality-validation.md).
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
## Contract

- Input: A current candidate, mode, validation contract, evidence, and required review or critique perspectives.
- Output: `PASS`, `REVISE`, or `BLOCKED`, with traceable evidence, verdicts, findings, and remaining work.
- Effects: Coordinates validation only. The caller owns candidate changes and the requested endpoint.
- Input: Current candidate, mode, validation contract, evidence.
- Output: `PASS`, `REVISE` (caller repairs), or `BLOCKED`, with tier, proof, findings.
- Effects: Validation only. The caller owns changes; a producer may add the smallest missing check or reduction (read-only modes propose them).

### Acceptance

- The contract identifies the candidate, mode, applicable rules, criteria, evidence, and perspective coverage before evaluation.
- Self-assessment, review, critique, and finding dispositions are traceable.
- Authorized code changes have a current pre-commit reduction check: task-owned additions are justified or simplified, with preserved contracts and renewed affected proof.
- `PASS` has current proof and scoped acceptance; missing independence or proof remains explicit.
- Authorized revisions receive renewed affected checks and verdicts.
- Criteria, unacceptable outcomes, tier, and runnable proof are named; each criterion passes, fails, or stays unverified, with run results bound to the candidate.
- Independence matches the tier or its absence is reported.
- Only findings meeting the blocking rule block, within the repair cap; authorized code passes a current reduction pass that preserves contracts.

## Procedure

1. Reuse the caller's validation contract. Record candidate, mode, required criteria, evidence or checks, unacceptable outcomes, and useful review perspectives from the request, applicable instructions, principles, and owning workflow.
2. Have the producer self-assess each criterion as pass, fail, or unverified with evidence. In authorized code-change mode, require a reduction pass before each commit or final uncommitted handoff: compare the complete task delta with its verified baseline, including earlier task commits, staged, unstaged, and new files. Challenge additions with deletion, reuse, consolidation, or a narrower change at the existing owner. Have the caller apply supported reductions, not merely recommend them; justify retained complexity against the current contract and maintainability. Preserve required features, compatibility, security, failure handling, meaningful test detection, and unrelated or mixed-owner edits. Uncertain attribution or necessity is a gap, not permission to delete. Fewer lines alone, minification, hidden work, and deletion quotas are not success. Rerun invalidated checks and renew affected review after reductions; reuse current proof rather than repeat unchanged passes. Read-only work assesses or proposes, never performs code cleanup. Return known defects to the caller before independent review. A score may summarize a defined rubric but cannot replace required proof.
3. For substantive work, obtain review of correctness, completeness, and preserved behavior, and critique of assumptions, necessity, simplicity, and alternatives from reviewers independent of the producer. One reviewer may cover both; add reviewers only for required separation or non-overlapping parallel scopes. Supply scoped criteria, the candidate or diff, and current evidence. Assign checks within each reviewer's tools and authority; return missing required evidence to the caller. Use direct checks for mechanical work. Without subagents, assess sequentially and report missing independence; return `BLOCKED` if required independent review is unavailable.
4. Collect verdicts and findings with criterion, location or scenario, evidence, impact, smallest remedy, and acceptance check. Before dependent repairs, tie each blocker to the current authorized criteria or a demonstrated regression or safety obligation, including necessary supporting behavior absent from the original issue. Separate evidence of a defect from necessity and authority for its proposed remedy. Honor accepted recovery paths; resolve conflicting requirements rather than silently strengthening or weakening them. Deduplicate into required fixes, selected improvements, optional suggestions, and justified rejections. Resolve disagreements with evidence; a disputed required criterion remains open.
5. Return fixes to the caller. After authorized revisions, send affected reviewers the reason, revised material, and invalidated evidence. Rerun invalidated checks and renew affected verdicts; retain only evidence and acceptance unaffected by changes to the candidate, inputs, or relevant environment.
6. Return `PASS` only when every required criterion has proof, required perspectives accept their scopes, and no required finding remains. Otherwise return `REVISE` with fixes for the caller to implement and resubmit, or `BLOCKED` with the unmet criterion, cause, options, recommendation, and consequence. On unchanged evidence, change approach rather than retrying or lowering criteria.

## Pitfalls

- A reviewer consensus or numeric score cannot replace required evidence.
- Sequential assessment may inform the result but cannot satisfy a contract that requires independent review.
1. Reuse the caller's contract and applicable perspectives, each with runnable proof. The caller assigns the tier (highest match wins); verifiers may raise, never lower it. Verifiers stay within their tools and authority, returning gaps. No subagents: report missing independence; `BLOCKED` if the tier requires independence.
- Low (mechanical, docs, or behavior-preserving, proven by existing or new checks): producer proof, required checks, CI; report no independent check.
- Medium (any other behavior change): a non-producer reruns the proof, exercises the change, and gives the diff a quick advisory review (code review, quick depth, if linked; else read the diff inline).
- High (auth, secrets, payments, data loss, migrations, concurrency, public contract breaks, production config) or an explicit review request: medium plus a targeted review of the risk area or requested scope.
- Non-code artifacts: self-assess; where the mode permits, settle open forks with a prototype or discriminating check, else propose it; independent review only at high tier or on request.
2. Missing runnable proof: the producer adds the smallest check at the existing owner within authority (types > lint > tests > docs), failing first when feasible; broader tooling goes to `improve-dx` when installed.
3. Before committing or handing off authorized code, reduce: compare the whole task delta with its verified baseline; apply justified deletion, reuse, consolidation, or narrowing at the existing owner; justify what stays. Preserve supported behavior, security, failure handling, test detection, and unrelated edits; line count is not success; uncertain attribution is a gap, not permission to delete. Rerun invalidated checks.
4. A finding blocks only if a run on the candidate reproduces it, it violates an explicit requirement, or an agent that neither produced the candidate nor raised it confirms a concrete failure scenario, re-derived without the raiser's verdict.
5. Ledger per finding: criterion, location/scenario, evidence, impact, bug class (fix every instance), smallest remedy, recheck; tag Important, Nit, or Pre-existing (never blocking). No repeats without new evidence. Each ends fixed, rejected, or deferred, with reason. Blockers need a current criterion, demonstrated regression, or safety obligation; defect evidence is not remedy authority. Honor accepted recovery paths; resolve conflicting requirements without weakening either; keep a disputed criterion open.
6. At most 3 repair rounds (5 for security or data loss). Send verifiers revised material and invalidated evidence; recheck only those. Stop at optional-only findings; change approach on unchanged evidence. At the cap, `BLOCKED` with the unmet criterion, cause, options, recommendation, consequence.
Loading
Loading