feat(vstack): add changedoc/lazy/simplify skills, introduce reasoning prompt+advise, and tighten agent guardrails - #81
Merged
Conversation
- Migrate reasoning from Instruction to Prompt artifact type for correct one-shot evaluation semantics and opt-in behavior - Add skill/advise for structured adversarial review workflows - Update CLI constants EXPECTED_PROMPT_NAMES and EXPECTED_INPUT_NAMES - Update copilot-instructions.md with reasoning framework section - Remove obsolete reasoning.instructions.md after prune - All tests passing: 672 passed, 100% coverage
Update downstream user guidance for prompt/reasoning: use vstack manifest + vstack install instead of manual file copying. This aligns with vstack's template-driven install model where all artifacts are generated automatically.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR expands vstack’s reusable skill/prompt library (changedoc/lazy/simplify + advise/reasoning), introduces a planner-run handoff cache under .vstack/memories/session/, tightens shared agent guardrails via partials, and then regenerates artifacts while syncing docs, fixtures, CLI constants, and install behavior.
Changes:
- Add new skills (
changedoc,lazy,simplify) plusadviseandprompt/reasoning, and update skill catalogs/docs accordingly. - Introduce planner/run handoff cache protocol (
.vstack/memories/session/<RUN_ID>/) and ensure it’s gitignored via install and templates. - Regenerate installed artifacts and update tests + golden fixtures to reflect new templates/partials/constants.
Reviewed changes
Copilot reviewed 133 out of 134 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/vstack/cli/test_install.py | Assert session cache is gitignored. |
| tests/vstack/cli/test_constants.py | Update expected skill name set. |
| tests/_fixtures/golden/agents/product.agent.md | Sync regenerated product agent golden. |
| tests/_fixtures/golden/agents/planner.agent.md | Sync regenerated planner agent golden. |
| src/vstack/cli/install.py | Add memories/session/ to generated .vstack/.gitignore. |
| src/vstack/cli/constants.py | Add new skills + reasoning prompt to expected names. |
| src/vstack/agents/generator.py | Adjust baseline docs section wording. |
| src/vstack/agents/config.py | Register new agent placeholders/partials. |
| src/vstack/_templates/skills/simplify/template.md | Add simplify skill template. |
| src/vstack/_templates/skills/simplify/config.yaml | Add simplify skill metadata. |
| src/vstack/_templates/skills/lazy/template.md | Add lazy skill template. |
| src/vstack/_templates/skills/lazy/config.yaml | Add lazy skill metadata. |
| src/vstack/_templates/skills/changedoc/template.md | Add changedoc skill template. |
| src/vstack/_templates/skills/changedoc/config.yaml | Add changedoc skill metadata. |
| src/vstack/_templates/skills/advise/template.md | Add advise skill template. |
| src/vstack/_templates/skills/advise/config.yaml | Add advise skill metadata. |
| src/vstack/_templates/prompts/reasoning/template.md | Add reasoning prompt template. |
| src/vstack/_templates/prompts/reasoning/config.yaml | Add reasoning prompt metadata. |
| src/vstack/_templates/project/.vstack/memories/README.md | Seed project memory-cache README. |
| src/vstack/_templates/agents/tester/template.md | Include memory-cache partial + skill list trim. |
| src/vstack/_templates/agents/release/template.md | Include memory-cache partial + skill list trim. |
| src/vstack/_templates/agents/product/template.md | Add changedoc-first guidance + memory-cache partial. |
| src/vstack/_templates/agents/product/artifacts/changes/changedoc.md | Add changedoc starter artifact template. |
| src/vstack/_templates/agents/product/artifacts/changes/change-request.md | Remove obsolete change-request artifact. |
| src/vstack/_templates/agents/planner/template.md | Add changedoc gating + memory-cache guidance. |
| src/vstack/_templates/agents/engineer/template.md | Include memory-cache partial + add lazy/simplify. |
| src/vstack/_templates/agents/designer/template.md | Include memory-cache partial + add simplify. |
| src/vstack/_templates/agents/architect/template.md | Include memory-cache partial + add simplify. |
| src/vstack/_templates/agents/_partials/stage-report-contract.md | Update planner_run_id description; trim example. |
| src/vstack/_templates/agents/_partials/memory-cache.md | New shared handoff-cache protocol partial. |
| src/vstack/_templates/agents/_partials/agent-skill-boundary.md | Add compact guardrails to shared boundary. |
| docs/user/reference/skills-overview.md | Document new skills in overview table. |
| docs/product/roadmap.md | Add candidate item for configurable outputs. |
| docs/design/workflow.md | Document handoff-cache semantics. |
| docs/design/skills.md | Update skills catalog + changedoc ownership model. |
| docs/design/overview.md | Mention disposable handoff cache. |
| docs/architecture/overview.md | Add .vstack/memories/ to repo structure docs. |
| docs/architecture/adr/031-planner-handoff-cache.md | New ADR for handoff cache protocol. |
| CHANGELOG.md | Reformat 3.6.0 bullets for consistency. |
| .vstack/templates/product/artifacts/changes/changedoc.md | Install-time changedoc template. |
| .vstack/templates/product/artifacts/changes/change-request.md | Remove obsolete installed change-request template. |
| .vstack/memories/README.md | Add repo memory-cache README. |
| .vstack/.gitignore | Ignore .vstack/memories/session/. |
| .pre-commit-config.yaml | Bump commit-check + ruff hook revisions. |
| .github/skills/vision/SKILL.md | Regen footer version bump. |
| .github/skills/verify/SKILL.md | Regen footer version bump. |
| .github/skills/threat-model/SKILL.md | Regen footer version bump. |
| .github/skills/terragrunt/SKILL.md | Regen footer version bump. |
| .github/skills/terraform/SKILL.md | Regen footer version bump. |
| .github/skills/space-setup/SKILL.md | Regen footer version bump. |
| .github/skills/simplify/SKILL.md | New generated simplify skill artifact. |
| .github/skills/security/SKILL.md | Regen footer version bump. |
| .github/skills/secret-scan/SKILL.md | Regen footer version bump. |
| .github/skills/requirements/SKILL.md | Regen footer version bump. |
| .github/skills/release-notes/SKILL.md | Regen footer version bump. |
| .github/skills/refactor/SKILL.md | Regen footer version bump. |
| .github/skills/rca/SKILL.md | Regen footer version bump. |
| .github/skills/rancher/SKILL.md | Regen footer version bump. |
| .github/skills/pr/SKILL.md | Regen footer version bump. |
| .github/skills/postmortem/SKILL.md | Regen footer version bump. |
| .github/skills/performance/SKILL.md | Regen footer version bump. |
| .github/skills/openapi/SKILL.md | Regen footer version bump. |
| .github/skills/onboard/SKILL.md | Regen footer version bump. |
| .github/skills/migrate/SKILL.md | Regen footer version bump. |
| .github/skills/lazy/SKILL.md | New generated lazy skill artifact. |
| .github/skills/k8s/SKILL.md | Regen footer version bump. |
| .github/skills/inspect/SKILL.md | Regen footer version bump. |
| .github/skills/incident/SKILL.md | Regen footer version bump. |
| .github/skills/helm/SKILL.md | Regen footer version bump. |
| .github/skills/guardrails/SKILL.md | Regen footer version bump. |
| .github/skills/gh-release/SKILL.md | Regen footer version bump. |
| .github/skills/gh-issues/SKILL.md | Regen footer version bump. |
| .github/skills/gdpr/SKILL.md | Regen footer version bump. |
| .github/skills/explore/SKILL.md | Regen footer version bump. |
| .github/skills/docs/SKILL.md | Regen footer version bump. |
| .github/skills/design/SKILL.md | Regen footer version bump. |
| .github/skills/dependency/SKILL.md | Regen footer version bump. |
| .github/skills/dependabot/SKILL.md | Regen footer version bump. |
| .github/skills/debug/SKILL.md | Regen footer version bump. |
| .github/skills/copilot-ops/SKILL.md | Regen footer version bump. |
| .github/skills/conventional-commit/SKILL.md | Regen footer version bump. |
| .github/skills/container/SKILL.md | Regen footer version bump. |
| .github/skills/consult/SKILL.md | Regen footer version bump. |
| .github/skills/concise/SKILL.md | Regen footer version bump. |
| .github/skills/codeql/SKILL.md | Regen footer version bump. |
| .github/skills/code-review/SKILL.md | Regen footer version bump. |
| .github/skills/cloudformation/SKILL.md | Regen footer version bump. |
| .github/skills/cicd/SKILL.md | Regen footer version bump. |
| .github/skills/changedoc/SKILL.md | New generated changedoc skill artifact. |
| .github/skills/aws-cli/SKILL.md | Regen footer version bump. |
| .github/skills/ask/SKILL.md | Regen footer version bump. |
| .github/skills/architecture/SKILL.md | Regen footer version bump. |
| .github/skills/analyse/SKILL.md | Regen footer version bump. |
| .github/skills/advise/SKILL.md | New generated advise skill artifact. |
| .github/skills/adr/SKILL.md | Regen footer version bump. |
| .github/prompts/workflow-check.prompt.md | Regen footer version bump. |
| .github/prompts/upgrade-plan.prompt.md | Regen footer version bump. |
| .github/prompts/test-gaps.prompt.md | Regen footer version bump. |
| .github/prompts/template-impact.prompt.md | Regen footer version bump. |
| .github/prompts/repo-assessment.prompt.md | Regen footer version bump. |
| .github/prompts/release-check.prompt.md | Regen footer version bump. |
| .github/prompts/reasoning.prompt.md | New generated reasoning prompt artifact. |
| .github/prompts/quick-review.prompt.md | Regen footer version bump. |
| .github/prompts/ops-readiness.prompt.md | Regen footer version bump. |
| .github/prompts/migration-safety.prompt.md | Regen footer version bump. |
| .github/prompts/migration-plan.prompt.md | Regen footer version bump. |
| .github/prompts/incident-timeline.prompt.md | Regen footer version bump. |
| .github/prompts/dependency-audit.prompt.md | Regen footer version bump. |
| .github/prompts/ci-triage.prompt.md | Regen footer version bump. |
| .github/prompts/artifact-integrity.prompt.md | Regen footer version bump. |
| .github/prompts/architecture-risk.prompt.md | Regen footer version bump. |
| .github/prompts/api-design-review.prompt.md | Regen footer version bump. |
| .github/instructions/typescript.instructions.md | Regen footer version bump. |
| .github/instructions/testing.instructions.md | Regen footer version bump. |
| .github/instructions/terragrunt.instructions.md | Regen footer version bump. |
| .github/instructions/terraform.instructions.md | Regen footer version bump. |
| .github/instructions/security.instructions.md | Regen footer version bump. |
| .github/instructions/rancher.instructions.md | Regen footer version bump. |
| .github/instructions/python.instructions.md | Regen footer version bump. |
| .github/instructions/markdown.instructions.md | Regen footer version bump. |
| .github/instructions/k8s.instructions.md | Regen footer version bump. |
| .github/instructions/java.instructions.md | Regen footer version bump. |
| .github/instructions/helm.instructions.md | Regen footer version bump. |
| .github/instructions/git.instructions.md | Regen footer version bump. |
| .github/copilot-instructions.md | Add reasoning/advise guidance to repo instructions. |
| .github/agents/tester.agent.md | Regen agent guardrails + memory-cache section. |
| .github/agents/release.agent.md | Regen agent guardrails + memory-cache section. |
| .github/agents/product.agent.md | Regen agent guardrails + changedoc guidance. |
| .github/agents/planner.agent.md | Regen agent guardrails + changedoc gating. |
| .github/agents/engineer.agent.md | Regen agent guardrails + lazy/simplify. |
| .github/agents/designer.agent.md | Regen agent guardrails + simplify. |
| .github/agents/architect.agent.md | Regen agent guardrails + simplify. |
eschaar
force-pushed
the
feature/changedoc-skill-governance
branch
2 times, most recently
from
June 27, 2026 13:42
87116bc to
22546a3
Compare
- Add compact guardrail block to shared AGENT_SKILL_BOUNDARY partial - Regenerate all agent artifacts to inherit the guardrails - Sync planner/product agent golden fixtures with generated output
eschaar
force-pushed
the
feature/changedoc-skill-governance
branch
from
June 27, 2026 13:48
22546a3 to
d9fec68
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
Why
Version impact