mirror of
https://github.com/github/spec-kit
synced 2026-06-21 13:51:39 +00:00
c7eb2a4d11
Dogfood the converge feature through Spec Kit's own workflow: - spec.md, plan.md, tasks.md, research, data-model, contracts, quickstart - requirements checklist for the feature - ratified constitution v1.0.0 (.specify/memory) - Specify project scaffolding (.specify/, .github agent + prompt files) Defines a built-in /speckit.converge command that assesses spec/plan/tasks against the codebase and appends remaining work as new tasks (no git, no change tracking, append-only). Implementation not yet started. Excludes unrelated working-tree changes to agents.py, extensions.py, test_extensions.py, catalog.community.json, and README.md.
29 lines
1.3 KiB
Markdown
29 lines
1.3 KiB
Markdown
---
|
|
description: Refresh the managed Spec Kit section in the coding agent context file
|
|
---
|
|
|
|
|
|
<!-- Extension: agent-context -->
|
|
<!-- Config: .specify/extensions/agent-context/ -->
|
|
# Update Coding Agent Context
|
|
|
|
Refresh the managed Spec Kit section inside the active coding agent's context/instruction file (e.g. `CLAUDE.md`, `.github/copilot-instructions.md`, `AGENTS.md`).
|
|
|
|
## Behavior
|
|
|
|
The script reads the agent-context extension config at
|
|
`.specify/extensions/agent-context/agent-context-config.yml` to discover:
|
|
|
|
- `context_file` — the path of the coding agent context file to manage.
|
|
- `context_markers.start` / `.end` — the delimiters surrounding the managed section. Defaults to `<!-- SPECKIT START -->` and `<!-- SPECKIT END -->` when the field is missing.
|
|
|
|
It then creates, replaces, or appends the managed block so that the section points at the most recent plan path when one can be discovered (`specs/<feature>/plan.md`).
|
|
|
|
If `context_file` is empty or the file cannot be located, the command reports nothing to do and exits successfully.
|
|
|
|
## Execution
|
|
|
|
- **Bash**: `.specify/extensions/agent-context/scripts/bash/update-agent-context.sh [plan_path]`
|
|
- **PowerShell**: `.specify/extensions/agent-context/scripts/powershell/update-agent-context.ps1 [plan_path]`
|
|
|
|
When `plan_path` is omitted, the script auto-detects the most recently modified `specs/*/plan.md`. |