feat(spec-adapter): spec-kit artifact conventions as fifth SpecFormat (task-coding-0004) - #3
Merged
Flissel merged 2 commits intoAug 14, 2026
Conversation
…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
marked this pull request as ready for review
August 14, 2026 14:38
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.
Zusammenfassung
Service-Commits der Session
task-coding-0004-speckit-jobspec-format-v1(CCRsession_01VNgbsm49iUE4NGzv9zngo5, Parent-Cockpitcockpit-coding, Risikoklassecode). Freigabe:claude-user-message:session_01SdA3ftgP3wciDbcFzKw4uk@2026-08-14T13:45:00Z. Setzt die gemergte Evaluationdocs/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/engine/test_spec_adapter_speckit.py(208 Zeilen) plus Fixturestests/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