Skip to content

feat(spec-adapter): spec-kit artifact conventions as fifth SpecFormat (task-coding-0004) - #3

Merged
Flissel merged 2 commits into
masterfrom
codex/coding/task-coding-0004-speckit-jobspec-format-v1
Aug 14, 2026
Merged

feat(spec-adapter): spec-kit artifact conventions as fifth SpecFormat (task-coding-0004)#3
Flissel merged 2 commits into
masterfrom
codex/coding/task-coding-0004-speckit-jobspec-format-v1

Conversation

@Flissel

@Flissel Flissel commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Zusammenfassung

Service-Commits der Session task-coding-0004-speckit-jobspec-format-v1 (CCR session_01VNgbsm49iUE4NGzv9zngo5, Parent-Cockpit cockpit-coding, Risikoklasse code). Freigabe: claude-user-message:session_01SdA3ftgP3wciDbcFzKw4uk@2026-08-14T13:45:00Z. Setzt die gemergte Evaluation docs/superpowers/specs/2026-08-14-speckit-openclaude-evaluation.md (Flissel/Vibemind_V1 #171) um.

  • src/engine/spec_adapter.py: spec-kit-Artefakt-Konventionen (spec.md/plan.md/tasks.md) als fünftes SpecFormat in der bestehenden Adapter-Kette; keine spec-kit-Installation, keine neue Execution-Lane — Ausführungspfad bleibt Brain → OpenFang → coding-engine.
  • Tests: tests/engine/test_spec_adapter_speckit.py (208 Zeilen) plus Fixtures tests/fixtures/speckit_feature/{spec,plan,tasks}.md.

Additiv bis auf 1 geänderte Zeile in spec_adapter.py (Format-Registrierung). Evidence-Doku folgt als separater PR in Flissel/Vibemind_V1.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SdA3ftgP3wciDbcFzKw4uk


Generated by Claude Code

claude added 2 commits August 14, 2026 14:01
…directories

Fixture directory tests/fixtures/speckit_feature/ follows the spec-kit
artifact conventions (spec.md user stories + FR list, plan.md technical
context, tasks.md task lines with [P]/[USn] markers grouped by phase).
Tests specify SpecFormat.SPEC_KIT detection, normalization, TaskSlice
mapping and fail-closed error cases (missing plan.md, empty tasks.md,
duplicate task ids). Red on purpose: implementation follows.

Refs: task-coding-0004-speckit-jobspec-format-v1

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VNgbsm49iUE4NGzv9zngo5
Adds SpecFormat.SPEC_KIT to the spec_adapter chain: a feature directory
{spec.md, plan.md, tasks.md} following the spec-kit artifact conventions
is detected (spec.md + tasks.md) and normalized like the existing four
formats. User stories and FR-xxx entries from spec.md become
Requirements (story priority Pn mapped to high/medium/low), the plan.md
Technical Context becomes tech_stack (kept verbatim under
technical_context), and tasks.md lines '[ID] [P?] [USn] description +
file path' are parsed into context_layers.tasks with phase grouping.

speckit_tasks_to_slices() maps parsed tasks onto slicer TaskSlice
objects: [P] -> can_parallelize, phase order -> depth, story -> feature,
sequential tasks chain depends_on within their phase.

Fail-closed: missing plan.md raises FileNotFoundError; tasks.md without
task lines or with duplicate ids raises ValueError. Detection order for
directories is unchanged (DOCUMENTATION first). No API, runtime or
dependency changes; spec-kit itself is not installed - this is a data
format adaptation only.

Refs: task-coding-0004-speckit-jobspec-format-v1

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VNgbsm49iUE4NGzv9zngo5
@Flissel
Flissel marked this pull request as ready for review August 14, 2026 14:38
@Flissel
Flissel merged commit 81ab938 into master Aug 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants