feat: add software-architecture-design command (Path B) with IEEE 101…#12
Open
grissiom wants to merge 4 commits into
Open
feat: add software-architecture-design command (Path B) with IEEE 101…#12grissiom wants to merge 4 commits into
grissiom wants to merge 4 commits into
Conversation
…6/42010 fusion Introduce the combined `/speckit.v-model.software-architecture-design` command that reads `requirements.md` directly and produces a single architecture artifact, replacing the two-step Path A chain (system-design + architecture-design). Key deliverables: - New command: `commands/software-architecture-design.md` - New template: `templates/software-architecture-design-template.md` - Domain overlays for all three regulated domains: - `iso_26262`: Full ASPICE SWE.2 BP1–BP9 process guidance + compliance checklist - `do_178c`: Stub with DAL allocation + temporal constraints - `iec_62304`: Stub with safety class allocation + defensive coding - Setup scripts already support `--require-software-architecture-design` - V-model example artifacts in `specs/007-software-architecture-design/v-model/` (requirements, architecture design, acceptance plan, integration test, module design, unit test, traceability matrix) Design decisions (from spec clarifications): - SWE.2 is domain-gated: generated only when `domain: iso_26262` - Path B ARCH elements trace strictly to REQ-NNN (never SYS-NNN) - Path A coexistence: warn but proceed; both artifacts coexist - IEEE 1016:2009 design entity model synthesized within IEEE 42010 views IEEE 1016/42010 fusion: - Logical View ← IEEE 1016 Decomposition View (§5.1) + Dependency View (§5.2) - Interface View ← IEEE 1016 Interface Identification (§5.3) + IEEE 42010 - Data Flow View ← IEEE 1016 Data Design (§5.4) + IEEE 42010 - Process View ← IEEE 42010 / Kruchten 4+1 only (synthesis differentiator) Documentation updates: - docs/: v-model-overview, usage-examples, standards-reference, compliance-guide, domain-decoupling-design, id-schema-guide, v-model-config - site/: commands reference (15 commands, Path A/B), templates reference, scripts reference, roadmap, domain-overlays guide, automotive-adas tutorial, medical-device tutorial - All 14→15 command count references updated Coverage: 16/16 ARCH→ITP (18 ITPs, 40 ITSs), 28/28 REQ→ATP, 13/13 MOD→UTP
37521a3 to
a26085b
Compare
5a1cc6e to
afc3775
Compare
- Add tests/fixtures/path-b-combined/ fixture set (software-architecture-design without system-design.md / architecture-design.md) - Register software-architecture-design in eval harness (harness.py) - Create tests/validators/software_architecture_validators.py (ARCH→REQ checks) - Add StructuralSoftwareArchitectureDesignMetric to structural.py - Create software_architecture_design_quality.py (IEEE 42010 quality metrics) - Create test_software_architecture_design_eval.py (6 structural + 5 quality) - Create test_e2e_software_architecture_design.py (4 E2E tests) - Add golden expected-software-architecture-design.md for medical + automotive - Add 6 Path B scenarios to build-matrix.bats and Pester mirror - Add *_software_architecture_design fixtures to conftest.py
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.
…6/42010 fusion
Introduce the combined
/speckit.v-model.software-architecture-designcommand that readsrequirements.mddirectly and produces a single architecture artifact, replacing the two-step Path A chain (system-design + architecture-design).Key deliverables:
commands/software-architecture-design.mdtemplates/software-architecture-design-template.mdiso_26262: Full ASPICE SWE.2 BP1–BP9 process guidance + compliance checklistdo_178c: Stub with DAL allocation + temporal constraintsiec_62304: Stub with safety class allocation + defensive coding--require-software-architecture-designspecs/007-software-architecture-design/v-model/(requirements, architecture design, acceptance plan, integration test, module design, unit test, traceability matrix)Design decisions (from spec clarifications):
domain: iso_26262IEEE 1016/42010 fusion:
Documentation updates:
Coverage: 16/16 ARCH→ITP (18 ITPs, 40 ITSs), 28/28 REQ→ATP, 13/13 MOD→UTP
Description
Brief description of what this PR does.
Related Issue: Fixes #
Type of Change
Changes Made
Checklist
General
Commands (
commands/*.md)VMODEL_DIR, notv_model_dir)Scripts (
scripts/)--json) matches documented key namesTesting
specify extension add --devvalidate-requirement-coverage.shcorrectly detects gaps for category-prefixed IDsbuild-matrix.shgenerates a valid traceability matrix