3.5 KiB
3.5 KiB
description, handoffs
| description | handoffs | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Execute the implementation plan by processing the active tasks.md for the Python/Svelte repository. |
|
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Outline
- Run
.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasksand locate the active feature artifacts. - If
checklists/exists, evaluate checklist completion status before implementation proceeds. - Load implementation context from:
tasks.mdplan.mdspec.mdux_reference.mdcontracts/modules.mdwhen presentresearch.md,data-model.md,quickstart.mdwhen present.specify/memory/constitution.mdREADME.mddocs/SEMANTIC_PROTOCOL_COMPLIANCE.md- relevant
docs/adr/*.md
- Parse tasks by phase, dependencies, story ownership, and guardrails.
- Execute implementation phase-by-phase with strict semantic and verification discipline.
Repository Reality Rules
- Default source paths are
backend/src/**/*.py,frontend/src/**/*.svelte,backend/tests/, andfrontend/tests/. - Active feature docs always live under
specs/<feature>/...and are discovered via the.specify/scripts/bash/*helpers. - Default verification stack is Python/Svelte-native and repository-real:
cd backend && pytest(backend tests)cd frontend && npm run test(frontend vitest)ruff check backend/(Python linting)cd frontend && npm run build(Svelte build check)python3 scripts/static_verify.py(semantic static verification when available)
- Do not fall back to
cargo,cargo test,cargo clippy,src/**/*.rs, or Rust/MCP conventions unless the active feature genuinely introduces such a surface.
Semantic Execution Rules
- Preserve and extend canonical
[DEF]anchors and metadata. - Use correct comment-anchor syntax:
# [DEF:...]for Python,<!-- [DEF:...] -->for Svelte markup,// [DEF:...]for Svelte script blocks. - Match contract density to effective complexity.
- Keep accepted-path and rejected-path memory intact.
- Do not silently restore an ADR- or contract-rejected branch.
- For C4/C5 Python orchestration flows, account for the belief runtime where required by repository norms and local contracts.
- For C4/C5 Svelte components, ensure
@UX_STATE,@UX_FEEDBACK,@UX_RECOVERY,@UX_REACTIVITYtags are satisfied. - Treat pseudo-semantic markup as invalid.
Progress and Acceptance
- Mark tasks complete only after local verification succeeds.
- Handoff to the tester must include touched files, declared complexity, contract expectations, ADR guardrails, and executed verifiers.
- Final acceptance requires explicit evidence that the
speckit.testworkflow-equivalent verification was executed. .kilo/plans/*may exist as internal assistant scratch context, but it is not part of the speckit feature output surface and must not replacespecs/<feature>/...artifacts.
Completion Gate
No task batch is complete if any of the following remain in the touched scope:
- broken or unclosed anchors
- missing complexity-required metadata
- unresolved critical contract gaps
- rejected-path regression
- required verification not executed