Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
529 commits
Select commit Hold shift + click to select a range
f067288
[Change] Align core docs with modules site ownership (#419)
djm81 Mar 17, 2026
e456d46
fix: harden docs parity URL assertions
djm81 Mar 17, 2026
41052e6
Archive finished changes and update specs
djm81 Mar 17, 2026
05e81bb
Merge branch 'main' into dev
djm81 Mar 17, 2026
0648162
docs: fix command syntax parity after lean-core/modules split (v0.42.…
djm81 Mar 17, 2026
a6978a2
Archive finished changes and update specs
djm81 Mar 17, 2026
0273f1a
Update evidence
djm81 Mar 17, 2026
8ec2c11
Potential fix for pull request finding 'Unused global variable'
djm81 Mar 17, 2026
7d63dd8
Merge branch 'main' into dev
djm81 Mar 18, 2026
a77e5fd
docs: align core docs ownership and parity (#424)
djm81 Mar 20, 2026
664d4e4
docs: fix quickstart install guidance
djm81 Mar 20, 2026
09688de
docs: remove generated project plan docs
djm81 Mar 20, 2026
f7cca1e
Merge branch 'main' into dev
djm81 Mar 20, 2026
f4e91be
Add code-review change
djm81 Mar 20, 2026
37dfecb
fix: preserve native backlog import payloads (#429)
djm81 Mar 20, 2026
b54aaa6
fix: add docs review workflow and repair docs links (#428)
djm81 Mar 20, 2026
ae7f05c
fix: keep imported change ids stable across title changes (#431)
djm81 Mar 20, 2026
7449714
Merge branch 'main' into dev
djm81 Mar 20, 2026
65726fb
fix: remove conflicting pages file copies
djm81 Mar 20, 2026
fbb3b83
Merge branch 'main' into dev
djm81 Mar 20, 2026
c6c47fc
Add docs sync changs
djm81 Mar 20, 2026
eaa87ac
docs: update openspec clean-code planning
djm81 Mar 22, 2026
f602dba
Update change status
djm81 Mar 22, 2026
58314e5
fix: code-review-zero-findings dogfood remediation (v0.42.3) (#435)
djm81 Mar 23, 2026
fb3c5fd
Merge branch 'main' into dev
djm81 Mar 23, 2026
2809390
Add docs refactoring changes
djm81 Mar 23, 2026
215df59
Add bug change tracking for encoding and resources
djm81 Mar 24, 2026
2a60f15
docs: restructure core site IA to 6-section progressive nav (#442)
djm81 Mar 24, 2026
81bca26
fix: harden cross-platform runtime and IDE resource discovery (#443)
djm81 Mar 24, 2026
852f446
fix: resolve review type-safety findings
djm81 Mar 24, 2026
2bbde33
Merge branch 'main' into dev
djm81 Mar 24, 2026
8272233
Improve clarity and scope of ide prompt change
djm81 Mar 25, 2026
2f0675c
feat(init): IDE prompt source catalog, --prompts, namespaced exports …
djm81 Mar 25, 2026
278142e
fix tests
djm81 Mar 25, 2026
38a9d21
release: bump version to 0.42.5 and update CHANGELOG
djm81 Mar 25, 2026
f552107
Fix review findings
djm81 Mar 25, 2026
dab2ffe
feat(init): selective IDE prompt export cleanup and VS Code recommend…
djm81 Mar 25, 2026
fbb2307
Fix review findings
djm81 Mar 25, 2026
71e760b
Merge branch 'main' into dev
djm81 Mar 25, 2026
41dc0db
Add missing import
djm81 Mar 25, 2026
2b26098
Bump patch version and changelog
djm81 Mar 25, 2026
90da7da
Fix failed tests
djm81 Mar 25, 2026
1eca7a9
Fix review findings
djm81 Mar 25, 2026
07c19b4
Merge branch 'main' into dev
djm81 Mar 26, 2026
db4ddc3
docs: core vs modules URL contract and OpenSpec alignment (#448)
djm81 Mar 26, 2026
96f35d7
feat(docs-12): docs command validation and cross-site link checks (#449)
djm81 Mar 26, 2026
f11cb9e
fix(scripts): CliRunner without mix_stderr for Click 8.3+ compatibili…
djm81 Mar 26, 2026
7ccb122
fix: review gates (semgrep print, radon CC, icontract, questionary ty…
djm81 Mar 26, 2026
d516657
Merge branch 'main' into dev
djm81 Mar 26, 2026
86bdc7c
Add speckit adapter alignment change and update affected change specs
djm81 Mar 27, 2026
f92c820
feat(adapters): spec-kit v0.4.x adapter alignment (#454)
djm81 Mar 27, 2026
dd1e359
chore: bump version to 0.43.0 for spec-kit v0.4.x alignment (#455)
djm81 Mar 27, 2026
eec640e
fix(packaging): remove workflow prompts from core wheel (packaging-02…
djm81 Mar 27, 2026
f7fefdd
Potential fix for pull request finding 'Empty except'
djm81 Mar 28, 2026
280d158
Merge branch 'main' into dev
djm81 Mar 28, 2026
0cc2c3c
Fix changelog version
djm81 Mar 28, 2026
c1c2e47
docs: unify core docs portal UX (#459)
djm81 Mar 28, 2026
ce49cd5
Harden docs home URL test assertion
djm81 Mar 28, 2026
cb08cbb
Merge branch 'main' into dev
djm81 Mar 29, 2026
715d472
feat: doc frontmatter validation, v0.43.2 review JSON gate, and pre-c…
djm81 Mar 29, 2026
edc89a7
docs: archive doc-frontmatter-schema openspec change
djm81 Mar 29, 2026
85572f2
Apply suggestions from code review
djm81 Mar 29, 2026
117d568
fix: restore protocol stubs for type checking
djm81 Mar 29, 2026
582a53c
Add frontamtter check
djm81 Mar 29, 2026
4c4ef24
fix: harden protocol stubs for code quality
djm81 Mar 29, 2026
52ee695
Add PR test hardening change
djm81 Mar 29, 2026
644474a
fix: remediate review findings and harden review gates
djm81 Mar 30, 2026
3eff782
fix: rebuild review report model for pydantic
djm81 Mar 30, 2026
e44f15a
Merge branch 'main' into dev
djm81 Mar 30, 2026
93ff11e
Add story and onboarding change
djm81 Mar 30, 2026
506679e
Update change tracking
djm81 Mar 30, 2026
f84aa39
Improve scope for ci/cd requirements
djm81 Mar 30, 2026
11391c9
docs: sharpen first-contact story and onboarding (#467)
djm81 Mar 30, 2026
0fc5f1f
fix: harden review blockers and bump patch version
djm81 Mar 30, 2026
ab42fd0
test: harden modules docs url assertions
djm81 Mar 30, 2026
93b6dee
Merge branch 'main' into dev
djm81 Mar 30, 2026
c5efee3
fix: harden trustworthy green checks (#469)
djm81 Mar 30, 2026
30c70f3
fix: address CodeRabbit review findings for ci-02 (#471)
djm81 Mar 30, 2026
7709718
fix: propagate docker actionlint exit code instead of masking failure…
djm81 Mar 30, 2026
1ffdace
fix: assert hook id stability and cd to repo root for local actionlin…
djm81 Mar 30, 2026
4dcf207
Merge branch 'main' into dev
djm81 Mar 30, 2026
9dbe9d4
feat: clean-code-01-principle-gates — 7-principle charter gates, v0.4…
djm81 Mar 31, 2026
9855d35
feat: archive completed openspec changes and update main specs
djm81 Mar 31, 2026
e9e75d4
Merge branch 'main' into dev
djm81 Mar 31, 2026
6663324
Add new user onboarding change
djm81 Apr 1, 2026
b4a7ecf
docs & tooling: new user onboarding + smart-test and pre-commit revie…
djm81 Apr 2, 2026
e87058b
fix: code-review gate (Typer params), typer<0.24 vs semgrep, module u…
djm81 Apr 3, 2026
9696489
docs: restructure README for star conversion (#480)
djm81 Apr 3, 2026
8fe4a26
Merge branch 'main' into dev
djm81 Apr 3, 2026
903b131
Merge branch 'main' into dev
djm81 Apr 5, 2026
f1f1919
archived implemented changes
djm81 Apr 5, 2026
17ac397
Archive and remove outdated changes
djm81 Apr 5, 2026
9900b72
Split and refactor change proposals between both repos
djm81 Apr 8, 2026
2a73434
Merge remote-tracking branch 'origin/main' into dev
djm81 Apr 8, 2026
e8c3848
Archive alignment change
djm81 Apr 8, 2026
98cf86e
Merge branch 'main' into dev
djm81 Apr 8, 2026
5b5bac7
Add changes and github hierarchy scripts
djm81 Apr 9, 2026
280ac57
feat: add GitHub hierarchy cache sync (#492)
djm81 Apr 9, 2026
1b314a1
[codex] Compact agent governance loading (#493)
djm81 Apr 10, 2026
647ce0c
Archived github hierarchy change
djm81 Apr 10, 2026
338aa92
Update from dev
djm81 Apr 10, 2026
c5083cf
Update rules for openspec archive
djm81 Apr 10, 2026
74c566b
Potential fix for pull request finding 'Unused local variable'
djm81 Apr 10, 2026
685bd4e
Add wiki update notes
djm81 Apr 10, 2026
fdcc51a
Merge branch 'dev' of https://github.com/nold-ai/specfact-cli into dev
djm81 Apr 10, 2026
6c9f03b
Archive governance-03 change, format markdown, add wiki instructions …
djm81 Apr 10, 2026
de48d48
Fix review findings
djm81 Apr 10, 2026
186120e
Fix type errors
djm81 Apr 10, 2026
73b8f48
Merge branch 'main' into dev
djm81 Apr 10, 2026
951f3ae
fix: safe VS Code settings merge and project artifact writes (#490) (…
djm81 Apr 12, 2026
14f3b41
Fix review findings (#498)
djm81 Apr 12, 2026
6096c3c
feat(openspec): add marketplace-06-ci-module-signing change proposal
djm81 Apr 13, 2026
448328b
chore(pre-commit): modular hooks + branch-aware module verify (#501)
djm81 Apr 14, 2026
f7e3fd2
apply code review fixes
djm81 Apr 14, 2026
96879a9
apply code review fixes
djm81 Apr 14, 2026
cdf7e4d
merge: integrate origin/dev with local PyPI pre-commit and type-check…
djm81 Apr 14, 2026
29fdca8
merge: integrate origin/main into dev (conflicts resolved favoring dev)
djm81 Apr 14, 2026
3ffec56
fix(pre-commit): include staged deletions in staged_files() for Block 2
djm81 Apr 14, 2026
95ccde3
Fix review findings
djm81 Apr 14, 2026
c8a1116
Fix code review findings
djm81 Apr 14, 2026
b9b8691
feat(ci): module signing on PR approval and manual workflow_dispatch …
djm81 Apr 14, 2026
01e7351
Feature/ci module sign on approval (#504)
djm81 Apr 14, 2026
b2cc72f
feat(ci): workflow_dispatch for sign-modules-on-approval (#505)
djm81 Apr 14, 2026
a1dda6d
fix(ci): module signing workflows, PyPI version check, and review gate
djm81 Apr 14, 2026
85e7b5a
fix(modules): bump init to 0.1.28 for enforce-version-bump on dev
djm81 Apr 14, 2026
e7efd7d
Merge branch 'main' into dev
djm81 Apr 14, 2026
e61a8a2
chore(release): v0.46.2 — require signatures on all PRs to main
djm81 Apr 14, 2026
1ceddab
sign changed package
djm81 Apr 14, 2026
48ea131
fix(modules): bump init to 0.1.29 for dev→main PR version gate
djm81 Apr 14, 2026
7e9504e
Signed modules and bumped version
djm81 Apr 14, 2026
b34f9fb
Signed modules and bumped version
djm81 Apr 14, 2026
55c4c97
Fix sign flow
djm81 Apr 14, 2026
7091747
Merge branch 'main' into dev
djm81 Apr 15, 2026
5d0d82f
feat: dep-security-cleanup (license gate, pycg, commentjson, review e…
djm81 Apr 16, 2026
01d1bb1
apply review findings
djm81 Apr 16, 2026
5125725
Fix publish module and security gate findings
djm81 Apr 16, 2026
4df303c
Fix findings and publish bug
djm81 Apr 16, 2026
bbea309
Fix review findings and publish modules flow
djm81 Apr 16, 2026
1c1624d
Update publish and sign flows
djm81 Apr 16, 2026
e69ea29
Update publish and sign flows
djm81 Apr 16, 2026
ef07858
chore(modules): auto-sign bundled manifests [skip ci] (#510)
github-actions[bot] Apr 16, 2026
daa73c6
Apply code review findings
djm81 Apr 16, 2026
e62d223
Merge branch 'dev' of https://github.com/nold-ai/specfact-cli into dev
djm81 Apr 16, 2026
1e255e5
Fix failed tests
djm81 Apr 16, 2026
ce3bbb4
[codex] Add five-pillar governance OpenSpec wave (#531)
djm81 Apr 19, 2026
f48b156
[codex] stabilize module install and init state (#535)
djm81 Apr 28, 2026
0200ba5
chore(modules): auto-sign bundled manifests [skip ci] (#536)
github-actions[bot] Apr 28, 2026
b6505f4
Merge branch 'main' into dev
djm81 Apr 28, 2026
d0eb4a4
fix: remove unused checksum tuple in verifier
djm81 Apr 28, 2026
be171d3
chore: reduce low-signal coderabbit review noise
djm81 Apr 28, 2026
73741e4
fix: address codex review findings
djm81 Apr 28, 2026
d209150
fix: tighten local gate scope and module verification
djm81 Apr 28, 2026
01702e6
Merge branch 'main' into dev
djm81 Apr 28, 2026
9b7d968
Make `specfact upgrade` install-method-aware (uv/uvx support, pipx/pi…
djm81 May 3, 2026
3f349fc
chore(modules): auto-sign bundled manifests [skip ci] (#540)
github-actions[bot] May 3, 2026
7179e77
fix(upgrade): prefer pipx before uv tool detection
djm81 May 3, 2026
6e65c7d
fix(upgrade): address PR 541 review findings
djm81 May 3, 2026
88f3d90
fix(cli,upgrade): address PR 541 critical findings
djm81 May 3, 2026
082dc06
Update module manifest from main
djm81 May 3, 2026
990d1e8
chore(modules): auto-sign bundled manifests [skip ci] (#546)
github-actions[bot] May 3, 2026
cb00a4b
Fix module upgrade signature and version bump
djm81 May 3, 2026
27afdb5
Fix signature
djm81 May 3, 2026
d470837
chore(modules): auto-sign bundled manifests [skip ci] (#548)
github-actions[bot] May 3, 2026
86e7e70
fix(ci): terminate module publish output list
djm81 May 3, 2026
8a0aa0d
Merge branch 'main' into dev
djm81 May 3, 2026
bed4721
fix(cli): forward bare lazy subcommands (#549)
djm81 May 3, 2026
11a5e1e
Merge branch 'main' into dev
djm81 May 3, 2026
7724ea6
chore(openspec): park 21 deferred proposals + simplify CHANGE_ORDER (…
djm81 May 6, 2026
197c0d1
Ignore claude settings.json
djm81 May 6, 2026
8000f06
docs: refine telemetry change to active opt-in (#555)
djm81 May 6, 2026
a7a5336
Merge branch 'main' into dev
djm81 May 6, 2026
469af46
fix runtime module discovery reliability (#558)
djm81 May 7, 2026
fab4fa6
chore(modules): auto-sign bundled manifests [skip ci] (#559)
github-actions[bot] May 7, 2026
694fdb2
Merge branch 'main' into dev
djm81 May 8, 2026
abc2db1
Merge branch 'dev' of https://github.com/nold-ai/specfact-cli into dev
djm81 May 8, 2026
a021c53
Merge branch 'main' into dev
djm81 May 8, 2026
4f38ece
[codex] Add module scope version diagnostics (#566)
djm81 May 14, 2026
0c25c8a
chore(modules): auto-sign bundled manifests [skip ci] (#567)
github-actions[bot] May 14, 2026
4322275
fix: address module dependency review findings
djm81 May 17, 2026
3b0f198
fix: address dependency review follow-ups
djm81 May 17, 2026
59be197
Fix dependency resolver bounds and bundle dependency validation
djm81 May 17, 2026
f32da81
Merge branch 'main' into dev
djm81 May 17, 2026
3b13b54
Fix bundled module publish summary quoting
djm81 May 17, 2026
09e3c25
Merge branch 'main' into dev
djm81 May 20, 2026
3f74602
fix(upgrade): suppress benign pipx spaced-home warning (#574)
djm81 May 20, 2026
4ccb2d0
chore(bundled-modules): snapshot from dev@3f74602 (#576)
github-actions[bot] May 20, 2026
5394186
chore(modules): auto-sign bundled manifests [skip ci] (#575)
github-actions[bot] May 20, 2026
717c74d
fix(upgrade): tolerate undecodable child output
djm81 May 20, 2026
15b507c
chore(modules): auto-sign bundled manifests [skip ci] (#578)
github-actions[bot] May 20, 2026
e7b13db
chore(bundled-modules): snapshot from dev@717c74d (#579)
github-actions[bot] May 20, 2026
7d88cb6
Fix registry
djm81 May 20, 2026
b58f924
fix: keep core bundled registry URLs scoped (#580)
djm81 May 20, 2026
edc9651
chore(release): prepare core cli 0.46.28 (#582)
djm81 May 21, 2026
5d5ce89
Merge branch 'main' into dev
djm81 May 21, 2026
03b742f
Merge branch 'main' into dev
djm81 May 21, 2026
47f8e19
Harden CLI command reliability gates (#595)
djm81 Jun 1, 2026
8118ff2
chore(modules): auto-sign bundled manifests [skip ci] (#596)
github-actions[bot] Jun 1, 2026
c6b57a8
chore(bundled-modules): snapshot from dev@47f8e19 (#597)
github-actions[bot] Jun 1, 2026
a711057
fix: align release command validation with modules dev
djm81 Jun 1, 2026
06afb70
fix: tolerate code import alias help ambiguity
djm81 Jun 1, 2026
7e5b1c2
chore(fix): Fix code review findings and PR failure
djm81 Jun 2, 2026
82ed1ba
chore: fix PR 598 validation failures
djm81 Jun 2, 2026
9837a13
chore(modules): auto-sign bundled manifests [skip ci] (#599)
github-actions[bot] Jun 2, 2026
ed37663
chore(bundled-modules): snapshot from dev@82ed1ba (#600)
github-actions[bot] Jun 2, 2026
c4fd804
Merge branch 'main' into dev
djm81 Jun 2, 2026
b298fc1
docs: position SpecFact as AI-bloat defense CLI (#601)
djm81 Jun 2, 2026
dcc5a03
chore: archive completed docs OpenSpec change (#603)
djm81 Jun 2, 2026
c3d6c68
Archive upgrade-01 change
djm81 Jun 2, 2026
c8faa8f
Merge branch 'main' into dev
djm81 Jun 2, 2026
89df5ec
Fix conflict
Jun 6, 2026
9266fa9
add cli fix change
Jun 9, 2026
913f089
Ignore agent skills meant for local only
Jun 12, 2026
65608b4
Fix merge conflict
Jun 12, 2026
0e3c4d3
fix: replace stale flat command references and guard llms.txt freshne…
djm81 Jun 12, 2026
5308d1e
Don't ignore openspec workflow rules
Jun 12, 2026
da416b9
Tighten CI gates and module verification (#609)
djm81 Jun 13, 2026
09e95cf
Merge branch 'main' into dev
djm81 Jun 13, 2026
0a5f8d9
: use checked-in semgrep sast config
djm81 Jun 13, 2026
65dfe70
fix: harden pr gate remediation
djm81 Jun 13, 2026
10dda75
chore(modules): auto-sign bundled manifests (#611)
github-actions[bot] Jun 13, 2026
8fa6886
chore(modules): auto-sign bundled manifests (#613)
github-actions[bot] Jun 13, 2026
8b5fd59
chore(bundled-modules): snapshot from dev@8fa6886 (#615)
github-actions[bot] Jun 13, 2026
3154509
fix: refresh module consoles before install tests
djm81 Jun 13, 2026
66bca99
chore(modules): auto-sign bundled manifests (#616)
github-actions[bot] Jun 13, 2026
d568987
chore(bundled-modules): snapshot from dev@3154509 (#617)
github-actions[bot] Jun 13, 2026
ed2e2b7
chore(modules): auto-sign bundled manifests (#618)
github-actions[bot] Jun 13, 2026
30971b6
chore(bundled-modules): snapshot from dev@ed2e2b7 (#619)
github-actions[bot] Jun 13, 2026
519a599
test: avoid brittle bundle install capture
djm81 Jun 14, 2026
0853fde
chore(modules): auto-sign bundled manifests (#620)
github-actions[bot] Jun 14, 2026
ee041a9
chore(bundled-modules): snapshot from dev@519a599 (#621)
github-actions[bot] Jun 14, 2026
7705853
chore(modules): auto-sign bundled manifests (#622)
github-actions[bot] Jun 14, 2026
ead57ea
chore(bundled-modules): snapshot from dev@7705853 (#623)
github-actions[bot] Jun 14, 2026
890a5c9
feat(init): add validation profile layering (#624)
djm81 Jul 6, 2026
1ba3499
docs: add agent behavioral defaults
djm81 Jul 6, 2026
624b4ca
chore(modules): auto-sign bundled manifests (#625)
github-actions[bot] Jul 6, 2026
0d3b889
chore(bundled-modules): snapshot from dev@890a5c9 (#626)
github-actions[bot] Jul 6, 2026
625917e
chore(modules): auto-sign bundled manifests (#627)
github-actions[bot] Jul 6, 2026
f3d3ea5
chore(bundled-modules): snapshot from dev@625917e (#628)
github-actions[bot] Jul 6, 2026
d3a55a3
Merge branch 'main' into dev
djm81 Jul 7, 2026
c7b6719
Add requirements evidence input model (#630)
djm81 Jul 7, 2026
3803860
fix: address promotion review feedback
djm81 Jul 7, 2026
b3db513
chore: bump version after promotion fix
djm81 Jul 7, 2026
e034d40
docs: address requirements spec review
djm81 Jul 7, 2026
c630133
feat: add requirements context adapter (#632)
djm81 Jul 8, 2026
f80a769
docs: align use-case claims with validation-evidence positioning (#633)
djm81 Jul 8, 2026
35592a1
fix: address release review feedback
djm81 Jul 8, 2026
a2723c4
Merge remote-tracking branch 'origin/main' into dev
djm81 Jul 8, 2026
17d8964
fix: finalize release review cleanup
djm81 Jul 8, 2026
95e327a
chore: bump release to 0.50.1
djm81 Jul 8, 2026
1647522
docs: address release review scope comments
djm81 Jul 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,27 @@ All notable changes to this project will be documented in this file.

---

## [0.50.1] - 2026-07-08

### Fixed

- **Release review follow-up**: persist bundle extension payloads through
directory save/load round trips so attached requirements evidence survives
reload, and make the requirements context adapter protocol stub type-check
cleanly.

---

## [0.50.0] - 2026-07-08

### Added

- **Requirements context adapter**: add core helpers for importing,
normalizing, validating, and inspecting source-attributed requirement context
as validation evidence for the future `requirements` runtime command group.

---

## [0.49.1] - 2026-07-08

### Fixed
Expand Down
3 changes: 3 additions & 0 deletions docs/_data/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@
- title: Requirements Evidence Input Model
url: /reference/requirements-evidence-input-model/
expertise: [advanced]
- title: Requirements Context Adapter
url: /reference/requirements-context-adapter/
expertise: [advanced]
- title: Dependency Resolution
url: /reference/dependency-resolution/
expertise: [advanced]
Expand Down
4 changes: 3 additions & 1 deletion docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ expertise_level: [beginner]

This guide will help you get started with SpecFact CLI in under 60 seconds — first with **no install** (uvx), then with a **persistent** install (pip) when you want IDE workflows and a stable `specfact` command.

> **Primary use case**: brownfield code modernization — reverse-engineering existing codebases into documented specs with runtime contract enforcement. See the [5-Minute Quickstart](quickstart.md) for a full walkthrough.
> **Primary use case**: validation evidence and AI-bloat defense for AI-assisted and brownfield Python delivery —
> deterministic review, drift detection, and spec/contract evidence before code reaches PR.
> See the [5-Minute Quickstart](quickstart.md) for a full walkthrough.

## Try it now — no install required

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/tutorial-openspec-speckit.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permalink: /getting-started/tutorial-openspec-speckit/
# Tutorial: Using SpecFact with OpenSpec or Spec-Kit

> **Complete step-by-step guide for new users**
> Learn how to use SpecFact CLI with OpenSpec or Spec-Kit for brownfield code modernization
> Learn how to use SpecFact CLI with OpenSpec or Spec-Kit to validate existing codebases and keep specs, contracts, and code in sync

**Time**: 15-30 minutes | **Prerequisites**: Python 3.11+, basic command-line knowledge

Expand Down
3 changes: 2 additions & 1 deletion docs/guides/integrations-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ SpecFact CLI integrations fall into four main categories:
- Learning and exploration of state machines and contracts
- Single-developer projects and rapid prototyping

**Key difference**: Spec-Kit focuses on **new feature authoring**, while SpecFact CLI focuses on **brownfield code modernization**.
**Key difference**: Spec-Kit focuses on **new feature authoring**, while SpecFact CLI focuses on
**validating existing code and defending it against AI-bloat and drift**.

**See also**: [Spec-Kit Journey Guide](./speckit-journey.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/speckit-journey.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permalink: /guides/speckit-journey/
# The Journey: From Spec-Kit to SpecFact

> **Spec-Kit and SpecFact are complementary, not competitive.**
> **Primary Use Case**: SpecFact CLI for brownfield code modernization
> **Primary Use Case**: SpecFact CLI for validation evidence and AI-bloat defense on existing codebases
> **Secondary Use Case**: Add SpecFact enforcement to Spec-Kit's interactive authoring for new features

---
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/use-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ redirect_from:

Detailed use cases and examples for SpecFact CLI.

> **Primary Use Case**: Brownfield code modernization (Use Case 1)
> **Primary Use Case**: Validation evidence and AI-bloat defense on existing codebases (Use Case 1)
> **Secondary Use Case**: Adding enforcement to Spec-Kit projects (Use Case 2)
> **Alternative**: Greenfield spec-first development (Use Case 3)
> **Validation Use Case**: Sidecar validation of external codebases (Use Case 4) 🆕
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ doc_owner: specfact-cli
tracks:
- src/specfact_cli/**
- openspec/**
last_reviewed: 2026-05-21
last_reviewed: 2026-07-08
exempt: false
exempt_reason: ""
---
Expand Down Expand Up @@ -157,6 +157,7 @@ bundle-specific adapters, and authoring guidance.
- **[Module Categories](/reference/module-categories/)** - Category taxonomy
- **[Module Contracts](/reference/module-contracts/)** - Contract interfaces
- **[Requirements Evidence Input Model](/reference/requirements-evidence-input-model/)** - Requirement input records for validation evidence
- **[Requirements Context Adapter](/reference/requirements-context-adapter/)** - Import and coverage helpers for requirement context evidence
- **[Operational Modes](/core-cli/modes/)** - CI/CD and CoPilot modes
- **[Debug Logging](/core-cli/debug-logging/)** - Diagnostic logging

Expand Down
1 change: 1 addition & 0 deletions docs/reference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ For bundle-specific deep command guides and runbooks, use the canonical modules
- **[Module Security](module-security.md)** - Marketplace/module integrity and publisher metadata
- **[Bridge Registry](bridge-registry.md)** - Registry-facing bridge converter declarations
- **[Requirements Evidence Input Model](requirements-evidence-input-model.md)** - Requirement input records used by validation evidence
- **[Requirements Context Adapter](requirements-context-adapter.md)** - Import, validation, and coverage helpers for requirement context evidence
- **[Directory Structure](directory-structure.md)** - Project structure and organization
- **[Feature Keys](feature-keys.md)** - Key normalization and formats
- **[Dependency Resolution](dependency-resolution.md)** - Module/pip dependency resolution behavior
Expand Down
5 changes: 4 additions & 1 deletion docs/reference/directory-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ Use this document for repository-local artifact placement. Use
[Module Development](../guides/module-development.md) and
[Publishing modules](../guides/publishing-modules.md) for source/package layout.

> **Primary Use Case**: SpecFact CLI is designed for **brownfield code modernization** - reverse-engineering existing codebases into documented specs with runtime contract enforcement. The directory structure reflects this brownfield-first approach.
> **Primary Use Case**: SpecFact CLI produces **validation evidence and AI-bloat defense** for AI-assisted and
> brownfield Python delivery - reverse-engineering existing codebases into documented specs, then detecting drift,
> bloat, and weak contracts before merge. The directory structure reflects this evidence-first approach to
> existing code.

**CLI-First Approach**: SpecFact works offline, requires no account, and integrates with your existing workflow. Works with VS Code, Cursor, GitHub Actions, pre-commit hooks, or any IDE. No platform to learn, no vendor lock-in.

Expand Down
10 changes: 7 additions & 3 deletions docs/reference/module-categories.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Category command groups:
- `specfact code ...`
- `specfact spec ...`
- `specfact govern ...`
- `specfact requirements ...`

## Canonical Category Assignments

Expand All @@ -47,6 +48,7 @@ Category command groups:
| `generate` | `spec` | `specfact-spec` | `spec` | `generate` |
| `enforce` | `govern` | `specfact-govern` | `govern` | `enforce` |
| `patch_mode` | `govern` | `specfact-govern` | `govern` | `patch` |
| `requirements` | `requirements` | `specfact-requirements` | `requirements` | `requirements` |

## Bundle Contents by Category

Expand All @@ -55,13 +57,14 @@ Category command groups:
- `specfact-codebase`: `analyze`, `drift`, `validate`, `repro`
- `specfact-spec`: `contract`, `api`, `sdd`, `generate`
- `specfact-govern`: `enforce`, `patch`
- `specfact-requirements`: `requirements`

## Bundle Package Layout and Namespaces

Official bundle packages are published from the dedicated modules repository:

- Repository: `nold-ai/specfact-cli-modules`
- Package roots: `packages/specfact-project/`, `packages/specfact-backlog/`, `packages/specfact-codebase/`, `packages/specfact-spec/`, `packages/specfact-govern/`
- Package roots: `packages/specfact-project/`, `packages/specfact-backlog/`, `packages/specfact-codebase/`, `packages/specfact-spec/`, `packages/specfact-govern/`, `packages/specfact-requirements/`

Namespace mapping:

Expand All @@ -70,10 +73,11 @@ Namespace mapping:
- `specfact-codebase` -> import namespace `specfact_codebase.*`
- `specfact-spec` -> import namespace `specfact_spec.*`
- `specfact-govern` -> import namespace `specfact_govern.*`
- `specfact-requirements` -> import namespace `specfact_requirements.*`

Compatibility note:

- Flat top-level command shims were removed. Use category groups (`project`, `backlog`, `code`, `spec`, `govern`).
- Flat top-level command shims were removed. Use category groups (`project`, `backlog`, `code`, `spec`, `govern`, `requirements`).
- `specfact backlog auth ...` is provided by the backlog bundle, not by the permanent core command surface.

> Modules docs handoff: this page remains in the core docs set as release-line overview content.
Expand Down Expand Up @@ -115,5 +119,5 @@ Before:

After:

- Core top-level commands plus grouped workflow families (`project`, `backlog`, `code`, `spec`, `govern`).
- Core top-level commands plus grouped workflow families (`project`, `backlog`, `code`, `spec`, `govern`, `requirements`).
- No backward-compatibility flat shims.
79 changes: 79 additions & 0 deletions docs/reference/requirements-context-adapter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
layout: default
title: Requirements Context Adapter
permalink: /reference/requirements-context-adapter/
description: Core helpers for importing, normalizing, validating, and inspecting upstream requirement context.
keywords: [requirements, validation, evidence, adapter, projectbundle]
audience: [team, enterprise]
expertise_level: [advanced]
doc_owner: specfact-cli
tracks:
- src/specfact_cli/requirements/context.py
- tests/unit/requirements/test_context_adapter.py
last_reviewed: 2026-07-08
exempt: false
exempt_reason: ""
---

# Requirements Context Adapter

SpecFact core provides helpers that module runtimes can use to normalize
upstream requirement context into validation evidence. The helpers are designed
for import, validation, and inspection. They do not create a built-in
requirements authoring workflow.

## Core Surface

- `normalize_requirement_records(...)` converts source-attributed mappings or
`RequirementInput` objects into normalized records and bounded diagnostics.
- `attach_requirements_to_bundle(...)` stores normalized records under the
existing `requirements.inputs` `ProjectBundle` extension.
- `load_requirements_from_bundle(...)` reads that extension back into
`RequirementInput` instances.
- `validate_requirement_context(...)` emits a `ValidationReport` for evidence
usefulness by profile.
- `inspect_requirement_context_coverage(...)` returns machine-readable coverage
counts for downstream command handlers.

```python
from specfact_cli.models.requirements import RequirementInput, RequirementSourceReference
from specfact_cli.requirements.context import (
attach_requirements_to_bundle,
inspect_requirement_context_coverage,
normalize_requirement_records,
)

result = normalize_requirement_records(
[
{
"schema_version": "1",
"requirement_id": "REQ-239",
"title": "Imported context keeps source attribution",
"sources": [
{
"source_type": "issue",
"locator": "https://github.com/nold-ai/specfact-cli/issues/239",
}
],
}
],
source_locator="requirements.yaml",
)
```

## Runtime Command Ownership

The `requirements` command group is owned by the requirements module runtime.
Runtime commands should call the core helpers instead of parsing provider
payloads directly inside root CLI code.

## Compatibility Notes

- Requirement inputs must include `schema_version` and at least one source
reference.
- Invalid imported records produce bounded diagnostics; valid records remain
usable.
- Enterprise or strict validation treats missing downstream evidence links as
errors. Less strict profiles receive warnings.
- Backlog write-back and interactive requirement authoring remain outside this
core surface.
4 changes: 3 additions & 1 deletion docs/reference/requirements-evidence-input-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ doc_owner: specfact-cli
tracks:
- src/specfact_cli/models/requirements.py
- tests/unit/models/test_requirements.py
last_reviewed: 2026-07-07
last_reviewed: 2026-07-08
exempt: false
exempt_reason: ""
---
Expand Down Expand Up @@ -76,3 +76,5 @@ bundle.set_extension(
validation severity without blocking model construction by themselves.
- No requirement authoring commands or backlog write-back behavior are provided
by this model.
- Import, validation, and coverage helpers for these records live in
[Requirements Context Adapter](requirements-context-adapter.md).
Original file line number Diff line number Diff line change
@@ -1,31 +1,54 @@
# Change Validation: requirements-02-module-commands
# Change Validation Report: requirements-02-module-commands

- **Validated on (UTC):** 2026-02-15T21:54:26Z
- **Workflow:** /wf-validate-change (proposal-stage dry-run validation)
- **Validation Date (Europe/Berlin):** 2026-07-08T21:00:03+02:00
- **Workflow:** OpenSpec validate-change refresh before implementation
- **Strict command:** `openspec validate requirements-02-module-commands --strict`
- **Result:** PASS

## Scope Summary

- **New capabilities:** requirements-module
- **Modified capabilities:** module-io-contract,backlog-adapter
- **New capabilities:** requirements-context-adapter
- **Modified capabilities:** module-io-contract, backlog-adapter
- **Declared dependencies:** requirements-01 (data model), arch-07 (#213, schema extensions for ProjectBundle)
- **Proposed affected code paths:** - `modules/requirements/` (new module);- `modules/backlog/src/adapters/` (extend adapters with AC text extraction interface) - `src/specfact_cli/contracts/module_interface.py` (no change — new implementation)
- **Proposed affected code paths:**
- `src/specfact_cli/requirements/context.py`
- `src/specfact_cli/requirements/__init__.py`
- `tests/unit/requirements/test_context_adapter.py`
- `docs/reference/requirements-context-adapter.md`

## Breaking-Change Analysis (Dry-Run)

- Interface changes are proposal-level only; no production code modifications were performed in this workflow stage.
- Proposed modified capabilities are additive/extension-oriented in the current spec deltas and do not require immediate breaking migrations at proposal time.
- Backward-compatibility risk is primarily sequencing-related (dependency ordering), not signature-level breakage at this stage.
- The change adds new helper APIs for module runtimes to reuse.
- ProjectBundle integration remains optional through the existing
`requirements.inputs` schema-extension namespace.
- No existing runtime command signature is changed.
- Existing bundles without `requirements.inputs` remain backward compatible.

## Dependency and Integration Review

- Dependency declarations align with the 2026-02-15 architecture layer integration plan sequencing.
- Cross-change integration points are explicitly represented in proposal/spec/task artifacts.
- No additional mandatory scope expansion was required to pass strict OpenSpec validation.
- `requirements-01-data-model` (#238) is implemented and archived on
2026-07-07.
- `arch-07-schema-extension-system` (#213) is implemented and archived on
2026-02-18.
- GitHub issue #239 was verified as open and not `in progress` through the
GitHub connector on 2026-07-08.
- The hierarchy cache refresh command succeeded with approved network access and
reported no cache changes.
- The roadmap places #239 under Requirements Layer / Epic #256; the connector
does not expose project parent fields, so the local roadmap remains the
available structure evidence.
- The public issue body and title are aligned to the narrowed
validation-evidence format.
- The internal wiki mirror `wiki/sources/requirements-02-module-commands.md`
must be updated when scope/status metadata changes and
`wiki_rebuild_graph.py` run from the internal repo root.

## Validation Outcome

- Required artifacts are present: `proposal.md`, `design.md`, `specs/**/*.md`, `tasks.md`.
- Strict OpenSpec validation passed.
- Change is ready for implementation-phase intake once prerequisites are satisfied.
- TDD implementation evidence is complete for the narrowed context-adapter
scope, but repository-wide total coverage remains below the 80% policy
threshold recorded by CI.
- Final release readiness is blocked until the required coverage gate is
satisfied or an explicit release-governance exception is recorded.
Loading
Loading