chore(release): prepare core cli 0.46.28#582
Conversation
* Archive module-migration-03 change
* feat: remove flat command shims (category-only CLI) (#344)
* feat: remove flat command shims from grouped registry
* Finalize change module-migration-04 implementation
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Archived module-migration-04 and updated specs
* docs(openspec): finalize module-migration-05 tracking after modules PR merge (#345)
* Implement blockers to prepare for module-migration-03 change.
* Update migration change
* docs(openspec): close migration-05 PR tracking and change order
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Archive module-migration-05 change and update specs
* test(migration-06): move legacy sync tests out of core (#346)
* feat(migration-06): core decoupling cleanup - boundary tests and inventory
- Add test_core_does_not_import_from_bundle_packages boundary regression test
- Update spec with ownership boundary and migration acceptance criteria
- Add CORE_DECOUPLING_INVENTORY.md (keep/move/interface classification)
- Record TDD evidence in TDD_EVIDENCE.md
- Update docs/reference/architecture.md with core vs modules-repo boundary
- Update openspec/CHANGE_ORDER.md status
No move candidates identified; core already decoupled from bundle packages.
Boundary test prevents future core->bundle coupling.
Refs #338
Made-with: Cursor
* chore(migration-06): mark all tasks complete
Made-with: Cursor
* feat(migration-06): extend scope - migrate package-specific artifacts per #338
- Add MIGRATION_REMOVAL_PLAN.md with phased removal of MIGRATE-tier code
- Add test_core_modules_do_not_import_migrate_tier boundary test
- Remove templates.bridge_templates (dead code; only tests used it)
- Remove tests/unit/templates/test_bridge_templates.py
- Update CORE_DECOUPLING_INVENTORY.md with removal status
- Update spec with MIGRATE-tier enforcement and package-specific removal
Phase 1 complete. Further MIGRATE-tier removal documented in plan.
Refs #338
Made-with: Cursor
* test(migration-06): move legacy sync tests out of core
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Archived module-migration-06 change and updated specs
* test: module-migration-07 core test ownership cleanup (#347)
* test: finalize module-migration-07 core test ownership cleanup
* docs: mark module-migration-07 quality and PR tasks complete
* test: fix CI isolation failures for project and persona merge
* test: narrow migrated skips and restore core registry guardrails
* test: stabilize core CI by refining skips and bootstrap checks
* test: fix remaining PR failures via targeted core filtering
* fix: harden module package checks against import-mode class identity
* test: stabilize core slimming integration assertions
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Archived backlog-core-07 change and updated specs
* Update some docs and archive latest finished changes and specs
* Add docs update change
* feat: add agile-01-feature-hierarchy change and update CHANGE_ORDER.md (#376)
- Create openspec/changes/agile-01-feature-hierarchy/ with proposal.md and tasks.md
- Add Epics #256 (Architecture Layer Integration), #257 (AI IDE Integration),
and #258 (Integration Governance and Dogfooding) to CHANGE_ORDER.md parent issues table
- 25 GitHub Feature issues created (#351-#375), linked to their parent Epics
- Feature label created; issue #185 closed (ceremony-cockpit-01, archived 2026-02-18)
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: align core docs and sync pending changes (#377)
* docs: align core docs and sync pending changes
* fix: preserve partial staging in markdown autofix hook
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix: stabilize release test suite after module migration
* Update module
* Fix module install
* Fix module install
* Fix failed tests
* Fix marketplace client regression
* Fix install regression for specfact-cli (#380)
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Add changes to improve runtime validation and backlog module remaining migration to module
* refactor: remove backlog ownership from core cli (#384)
* refactor: remove backlog ownership from core cli
* fix: align CI marketplace validation paths
* test: stabilize command audit validation and add command-surface change
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Add new command alignment change
* fix: finalize cli runtime validation regressions (#387)
* fix: finalize cli runtime validation regressions
* test: align satisfied dependency logging assertions
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* docs: archive cli-val-07 change
* Archive changes and update specs
* Add code-review change proposals
* test: align command surface regression coverage
* docs: add OpenSpec change for backlog-core commands migration (#390)
* feat: add OpenSpec change for backlog-core commands migration
Change: backlog-02-migrate-core-commands
- Add proposal, design, tasks, specs
- Add TDD_EVIDENCE.md with implementation progress
- GitHub Issue: #389
Rules applied: AGENTS.md Git Worktree Policy, TDD Hard Gate
Made-with: Cursor
* docs: update TDD_EVIDENCE and tasks for quality gate results
Made-with: Cursor
* docs: update TDD_EVIDENCE with test fix results
Made-with: Cursor
* docs: update TDD_EVIDENCE with all test fixes complete
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix: use POST instead of PATCH for ADO work item creation (#391)
* fix: use POST instead of PATCH for ADO work item creation
Azure DevOps API requires POST (not PATCH) for creating work items.
Also fixed category grouping to always register group commands.
Made-with: Cursor
* docs: add changelog entry for ADO POST fix
Made-with: Cursor
* chore: bump version to 0.40.4
Made-with: Cursor
* fix: update test mocks from PATCH to POST for ADO create
- Reverted incorrect unconditional _mount_installed_category_groups call
- Updated test_create_issue mocks to use requests.post instead of requests.patch
Made-with: Cursor
* test: skip category group test when bundles not installed
The test_bootstrap_with_category_grouping_disabled_registers_flat_commands test
expects bundles like specfact-codebase to be installed, but in CI they may not be.
Added pytest.skip() when 'code' command is not available.
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* docs: archive backlog-02-migrate-core-commands change
- Archived backlog-02-migrate-core-commands change
- Updated CHANGE_ORDER.md with implementation status
- Updated main specs with backlog-add, backlog-analyze-deps, backlog-delta, backlog-sync, backlog-verify-readiness
Made-with: Cursor
* feat: document code-review module scaffold (#410)
* feat: document code-review module scaffold
* chore: sync 0.41.0 release version artifacts
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Add change for project codebase ownership
* Realign code import ownership surface (#412)
* Realign code import ownership surface
* Harden temp registry command audit test
---------
Signed-off-by: Dom <39115308+djm81@users.noreply.github.com>
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Update code review changes
* docs: update reward ledger OpenSpec tracking (#413)
Link the existing change issue, record TDD evidence, and align the OpenSpec artifacts with the bundle-owned DDL and paired worktree implementation flow.
Made-with: Cursor
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Track house-rules skill OpenSpec changes (#414)
Made-with: Cursor
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* docs: Update change-proposal for code-review-07 (#415)
* Track house-rules skill OpenSpec changes
Made-with: Cursor
* Cursor: Apply local changes for cloud agent
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Finalize code-review-07 status
* Finalize code-review-08 status
* feat: apply code-review-09 pre-commit integration
* fix: fall back when cached hatch test env is broken
* fix: avoid hatch env for coverage xml export
* fix: install type-check and lint tools directly in CI
* fix: install pytest fallback deps in test job
* fix: install pytest-cov for test fallback path
* Finalize code-review-09 status
* [Change] Align core docs with modules site ownership (#419)
* Align core docs with modules site ownership
* Close docs portal change PR task
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix: harden docs parity URL assertions
* Archive finished changes and update specs
* docs: fix command syntax parity after lean-core/modules split (v0.42.2) (#421)
Replace all stale CLI syntax families in authored docs with current
shipped commands. Adds docs parity tests that guard against regression.
Removed syntax families corrected:
- specfact project plan → project devops-flow / project snapshot / govern enforce sdd
- project import from-bridge → code import from-bridge
- specfact backlog policy → backlog verify-readiness / backlog refine
- specfact spec contract → spec validate / spec generate-tests / spec mock
- specfact spec sdd constitution → govern enforce sdd [BUNDLE]
- spec generate <prompt-subcommands> → AI IDE skills or removed
Updated docs: README.md, docs/index.md, docs/README.md,
docs/reference/commands.md (+4 reference docs),
docs/getting-started/ (4 files), docs/guides/ (21 files),
docs/examples/ (5 files), docs/prompts/ (2 files).
Added 11 new docs parity tests in test_release_docs_parity.py:
- 7 tests asserting removed syntax families stay absent
- 4 tests asserting current command families remain documented
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* Archive finished changes and update specs
- Archive docs-03-command-syntax-parity (2026-03-18)
- Sync delta specs: cli-output + documentation-alignment updated with
post-split command-surface alignment requirements and scenarios
- Update CHANGE_ORDER.md: mark docs-03 as archived
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Update evidence
* Potential fix for pull request finding 'Unused global variable'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Signed-off-by: Dom <39115308+djm81@users.noreply.github.com>
* docs: align core docs ownership and parity (#424)
* docs: fix command syntax parity after lean-core/modules split (v0.42.2)
Replace all stale CLI syntax families in authored docs with current
shipped commands. Adds docs parity tests that guard against regression.
Removed syntax families corrected:
- specfact project plan → project devops-flow / project snapshot / govern enforce sdd
- project import from-bridge → code import from-bridge
- specfact backlog policy → backlog verify-readiness / backlog refine
- specfact spec contract → spec validate / spec generate-tests / spec mock
- specfact spec sdd constitution → govern enforce sdd [BUNDLE]
- spec generate <prompt-subcommands> → AI IDE skills or removed
Updated docs: README.md, docs/index.md, docs/README.md,
docs/reference/commands.md (+4 reference docs),
docs/getting-started/ (4 files), docs/guides/ (21 files),
docs/examples/ (5 files), docs/prompts/ (2 files).
Added 11 new docs parity tests in test_release_docs_parity.py:
- 7 tests asserting removed syntax families stay absent
- 4 tests asserting current command families remain documented
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: align core docs ownership and parity
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: fix quickstart install guidance
* docs: remove generated project plan docs
* Add code-review change
* fix: preserve native backlog import payloads (#429)
* fix: preserve native backlog import payloads
* fix: preserve imported proposal ids on reimport
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix: add docs review workflow and repair docs links (#428)
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix: keep imported change ids stable across title changes (#431)
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix: remove conflicting pages file copies
* Add docs sync changs
* docs: update openspec clean-code planning
* Update change status
* fix: code-review-zero-findings dogfood remediation (v0.42.3) (#435)
* fix: continue code review remediation and align module signing
* fix: complete code-review-zero-findings dogfood remediation (v0.42.3)
Eliminates full-scope code review findings (types, Radon CC, contracts, lint) and records OpenSpec change code-review-zero-findings with tests and CHANGELOG. Module manifests may need re-signing before merge per project policy.
Made-with: Cursor
* chore: re-sign bundled modules after content changes
* fix: resolve review follow-up regressions
* fix: run ci smart-test directly
* fix: restore ci test progress output
* fix: stabilize command audit ci test
---------
Signed-off-by: Dom <39115308+djm81@users.noreply.github.com>
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Add docs refactoring changes
* Add bug change tracking for encoding and resources
* docs: restructure core site IA to 6-section progressive nav (#442)
* docs: restructure core site IA from 5 flat sections to 6 progressive sections
Restructure docs.specfact.io from a flat 5-section sidebar to a 6-section
progressive navigation: Getting Started, Core CLI, Module System, Architecture,
Reference, Migration.
- Create docs/core-cli/, docs/module-system/, docs/migration/ directories
- Move 12 files to correct new sections with jekyll-redirect-from entries
- Write 3 new CLI reference pages: init.md, module.md, upgrade.md
- Replace first-steps.md with focused 5-minute quickstart
- Rewrite index.md as portal landing with core vs modules delineation
- Rewrite getting-started/README.md to link module tutorials to modules site
- Update sidebar navigation in _layouts/default.html
- Delete 6 obsolete files (competitive-analysis, ux-features, common-tasks,
workflows, testing-terminal-output, guides/README)
- Add documentation-alignment delta spec for core-only focus policy
Implements: #438
OpenSpec: docs-05-core-site-ia-restructure
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: fix broken internal links after IA restructure
Update all relative links across 40 files to point to new file locations:
- ../reference/architecture.md → ../architecture/overview.md
- ../reference/debug-logging.md → ../core-cli/debug-logging.md
- ../reference/modes.md → ../core-cli/modes.md
- guides/ sibling links → ../module-system/ or ../migration/
- module-system/ back-links → ../guides/
- Remove links to deleted files (common-tasks, workflows)
- first-steps.md → quickstart.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: update test path for moved bootstrap-checklist and fix remaining broken links
- Update test_module_bootstrap_checklist_uses_current_bundle_ids to use
new path docs/module-system/bootstrap-checklist.md
- Fix 2 remaining command-chains.md anchor links in migration-guide.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix: harden cross-platform runtime and IDE resource discovery (#443)
* fix: harden cross-platform runtime and IDE resource discovery
* fix: bump patch version to 0.42.4
* fix: restore init lifecycle compatibility
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix: resolve review type-safety findings
* Improve clarity and scope of ide prompt change
* feat(init): IDE prompt source catalog, --prompts, namespaced exports (#445)
* feat(init): IDE prompt source catalog, --prompts, namespaced exports
Implement init-ide-prompt-source-selection: discover core + module prompts,
default export all sources, interactive multi-select, non-interactive --prompts,
source-namespaced IDE paths. Fix project module roots to use metadata source
project. Extend discovery roots with user/marketplace. Update startup_checks
for nested exports. Bump init module to 0.1.14 with signed manifest.
Made-with: Cursor
* fix(init): scope VS Code prompt recommendations to exported sources
- Pass prompts_by_source into create_vscode_settings from copy_prompts_by_source_to_ide
- Strip prior .github/prompts/* recommendations on selective export to avoid stale paths
- Extract helpers for catalog paths and fallbacks; keep code review clean
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix tests
* release: bump version to 0.42.5 and update CHANGELOG
- Remove [Unreleased] sections; fold historical arch-08 notes under [0.34.0]
- Document init ide catalog, VS Code recommendations, integration test isolation
Made-with: Cursor
* Fix review findings
* feat(init): selective IDE prompt export cleanup and VS Code recommendation strip
- Prune stale exports and unselected catalog segments in copy_prompts_by_source_to_ide
- Strip only specfact*.prompt.md under .github/prompts/ when merging VS Code settings
- Tighten e2e missing-templates assertions to match CLI output
- Add unit tests for prompt path helper and selective export behavior
Made-with: Cursor
* Fix review findings
* Add missing import
* Bump patch version and changelog
* Fix failed tests
* Fix review findings
* docs: core vs modules URL contract and OpenSpec alignment (#448)
* docs: add core vs modules URL contract and OpenSpec alignment
Document cross-site permalink rules in docs/reference, extend documentation-alignment
and module-docs-ownership specs, update docs-07 and openspec config, and note the
dependency on modules URL policy in CHANGE_ORDER.
Made-with: Cursor
* docs: convert core handoff pages to modules canonical links (docs-07)
- Replace 20 duplicate guides/tutorials with thin summaries, prerequisites,
and links to modules.specfact.io per URL contract
- Add docs/reference/core-to-modules-handoff-urls.md mapping table
- Align OpenSpec documentation-alignment spec delta with ADDED Requirements
- Complete docs-07-core-handoff-conversion tasks checklist
Refs: #439
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* feat(docs-12): docs command validation and cross-site link checks (#449)
* feat(docs-12): docs command validation and cross-site link checks
- Add check-docs-commands (Typer CliRunner prefix + --help) and exclusions for migration/illustrative pages
- Add check-cross-site-links with robust URL extraction; warn-only in docs-validate and CI while live site may lag
- Extend docs-review: Hatch env, validation steps, pytest tests/unit/docs/
- Opt-in handoff map HTTP test (SPECFACT_RUN_HANDOFF_URL_CHECK=1)
- OpenSpec deltas, TDD_EVIDENCE, tasks complete; CHANGELOG [Unreleased]
Made-with: Cursor
* fix(docs-validate): strip leading global flags before command path
- Parse --mode/--input-format/--output-format + value, then other root flags
- Add test for specfact --mode copilot import from-code …
- Fix showcase docs: hatch run contract-test-exploration (not specfact)
Made-with: Cursor
* fix(docs-12): harden link/command validators and spec wording
- Capitalize Markdown in cross-site link spec requirement
- Cross-site: redirect-only HTTP success, UTF-8 read failures, URL delimiter/trim fixes
- Docs commands: catch Typer exceptions on --help, UTF-8 read failures
- Tests: shared loader for check-cross-site-links module
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix(scripts): CliRunner without mix_stderr for Click 8.3+ compatibility (#451)
Default CliRunner() merges stderr into stdout; read stdout only so
accessing result.stderr does not raise when streams are combined.
Made-with: Cursor
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix: review gates (semgrep print, radon CC, icontract, questionary types) (#452)
* fix: satisfy review gates for docs scripts and module_lifecycle typing
- Replace print() with Rich Console in docs validation scripts (semgrep)
- Split HTTP URL checks and doc scans to reduce cyclomatic complexity (radon)
- Add icontract require/ensure on public helpers; use CliRunner() without mix_stderr
- Cast questionary API for basedpyright reportUnknownMemberType
Made-with: Cursor
* fix(scripts): address #452 review (HTTP helpers, icontract, CLI streams)
- _http_success_code: use int directly after None guard
- _response_status: safe getcode via getattr/callable
- check-docs: drop @require preconditions duplicated by beartype
- _cli_invoke_streams_text: merge stdout + stderr for not-installed detection
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Add speckit adapter alignment change and update affected change specs
* feat(adapters): spec-kit v0.4.x adapter alignment (#454)
* feat(adapters): spec-kit v0.4.x adapter alignment — extensions, presets, hooks, version detection, 7-command presets
Update SpecKitAdapter, ToolCapabilities, BridgeConfig presets, and
SpecKitScanner for spec-kit v0.4.3 compatibility:
- ToolCapabilities: 5 new optional fields (extensions, extension_commands,
presets, hook_events, detected_version_source)
- SpecKitScanner: scan_extensions(), scan_presets(), scan_hook_events()
with .extensionignore support and defensive JSON parsing
- SpecKitAdapter: 3-tier version detection (CLI → heuristic → None),
refactored get_capabilities() with reduced cyclomatic complexity
- BridgeConfig: all 3 speckit presets expanded from 2 to 7 command
mappings (specify, plan, tasks, implement, constitution, clarify, analyze)
- 42 new tests across 4 test files (110 targeted, 2248 full suite pass)
- Docs updated: comparison matrix, journey guide, integrations overview,
adapter development guide
Closes #453
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address CodeRabbit review findings
- Use get_bridge_logger instead of logging.getLogger in speckit adapter
and scanner (production command path convention)
- Narrow except Exception to except OSError in _load_extensionignore
- Simplify redundant base_path conditional in get_capabilities
- Use SimpleNamespace instead of dynamic type() in tests
- Add subprocess.TimeoutExpired and OSError exception tests for CLI
version detection
- Fix duplicate MD heading in bridge-adapter spec
- Add blank lines after markdown headings in proposal (MD022)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* chore: bump version to 0.43.0 for spec-kit v0.4.x alignment (#455)
* chore: bump version to 0.43.0 and add changelog entry
Minor version bump for spec-kit v0.4.x adapter alignment feature.
Syncs version across pyproject.toml, setup.py, and __init__.py.
Adds changelog entry documenting new capabilities.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Sync deps and fix changelog
* Sync deps and fix changelog
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix(packaging): remove workflow prompts from core wheel (packaging-02 #441, v0.43.1) (#456)
* fix(packaging): drop duplicate workflow prompts from core wheel (packaging-02 3.5)
Remove resources/prompts from wheel force-include and repo tree; canonical
copies remain in specfact-cli-modules bundles. Align startup IDE drift
checks and init template resolution with discover_prompt_template_files.
Bump to 0.43.1; re-sign init module 0.1.19. Update CHANGELOG, docs, OpenSpec.
Made-with: Cursor
* fix: address PR review (changelog, TDD evidence, startup checks, tests)
- Changelog 0.43.1 header uses Unreleased until release tag
- TDD_EVIDENCE: pre-fail block for Task 3.5 before passing verification
- TemplateCheckResult.sources_available; skip last_checked_version bump when no
discoverable prompts; drift missing only when source exists
- Integration _fake_discover respects include_package_fallback
- test_validate_all_prompts uses tmp_path; re-enable file in default test run
- test_print_startup_checks_version_update_no_type uses stale version timestamp
Made-with: Cursor
* fix: address follow-up PR review (startup metadata, tests)
- Use ide_dir directly in TemplateCheckResult when IDE folder exists
- Set last_checked_version only after successful template-source checks
- Integration test: assert discover_prompt_template_files fallback + stable startup patches
- validate_all_prompts test: valid vs invalid specfact.*.md outcomes
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Potential fix for pull request finding 'Empty except'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Signed-off-by: Dom <39115308+djm81@users.noreply.github.com>
* Fix changelog version
* docs: unify core docs portal UX (#459)
* docs: unify core docs portal UX
* Fix docs-13 core review findings
* Address docs-13 PR review feedback
* Address follow-up docs review feedback
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Harden docs home URL test assertion
* feat: doc frontmatter validation, v0.43.2 review JSON gate, and pre-commit review UX (#463)
* chore(release): v0.43.2 pre-commit review JSON + OpenSpec dogfood rules
- Pre-commit gate writes ReviewReport JSON to .specfact/code-review.json
- openspec/config.yaml: require fresh review JSON and remediate findings
- Docs and unit tests updated
Made-with: Cursor
* fix: CodeRabbit — changelog, openspec TDD_EVIDENCE freshness, review hook timeout
- CHANGELOG 0.43.2: expanded entries, line wrap
- openspec/config.yaml: exclude TDD_EVIDENCE.md from review JSON staleness
- pre_commit_code_review: timeout 300s, TimeoutExpired handling
- tests: exact cwd, timeout assertion and timeout failure test
Made-with: Cursor
* Add code review to pre-commit and frontmatter docs validation
* Improve pre-commit script output
* Improve specfact code review findings output
* Fix review findings
* Improve pre-commit hook output
* Enable dev branch code review
* Update code review hook
* Fix contract review findings
* Fix review findings
* Fix review warnings
* feat: doc frontmatter hardening and code-review gate fixes
- Typer CLI for doc-frontmatter-check; safer owner resolution (split helpers for CC)
- Strict exempt handling; pre-commit hook matches USAGE-FAQ.md; review script JSON typing
- Shared test fixtures/types; integration/unit test updates; OpenSpec tasks and TDD evidence
- Changelog: pre-commit code-review-gate UX note
Made-with: Cursor
* Fix test failures and add docs review to github action runner
* Fix test failure due to UTF8 encoding
* Apply review findings
* Optimize pr orchestrator runtime
* Optimize pr orchestrator runtime
* Fix caching on pr-orchestrator
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* docs: archive doc-frontmatter-schema openspec change
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Signed-off-by: Dom <39115308+djm81@users.noreply.github.com>
* fix: restore protocol stubs for type checking
* Add frontamtter check
* fix: harden protocol stubs for code quality
* Add PR test hardening change
* fix: remediate review findings and harden review gates
* fix: rebuild review report model for pydantic
* Add story and onboarding change
* Update change tracking
* Improve scope for ci/cd requirements
* docs: sharpen first-contact story and onboarding (#467)
* docs: sharpen first-contact story and onboarding
* docs: address first-contact review feedback
* docs: address onboarding review fixes
* test: accept default-filtered site tokens in docs parity
* docs: record completed onboarding quality gates
* test: improve first-contact assertion failures
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix: harden review blockers and bump patch version
* test: harden modules docs url assertions
* fix: harden trustworthy green checks (#469)
* fix: harden trustworthy green checks
* fix: restore contract-first ci repro command
* fix: apply CodeRabbit auto-fixes
Fixed 3 file(s) based on 3 unresolved review comments.
Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
* fix: resolve CI failures for trustworthy green checks PR
- Use hatch run contract-test instead of specfact code repro in CI
(CLI bundle not available in CI environment)
- Allow test_bundle_import.py in migration cleanup legacy-import check
(_bundle_import is an internal helper, not a removed module package)
- Fix formatting in test_trustworthy_green_checks.py (CodeRabbit commit
was unformatted)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address CodeRabbit review findings
- Add trailing newline to TDD_EVIDENCE.md (MD047)
- Make _load_hooks() search for repo: local instead of assuming index 0
- Replace fragile multi-line string assertion in actionlint test with
semantic line-by-line checks
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address CodeRabbit review findings for ci-02 (#471)
- Widen workflow_changed filter to include scripts/run_actionlint.sh
and scripts/yaml-tools.sh so Workflow Lint triggers on script changes
- Pin actionlint default to v1.7.11 (matches CI) instead of latest
- Fix run_actionlint.sh conflating "not installed" with "lint failures"
by separating availability check from execution
- Restore sys.path after test_bundle_import to avoid cross-test leakage
- Normalize CHANGE_ORDER.md status format to semicolon convention
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix: propagate docker actionlint exit code instead of masking failures (#472)
Simplify run_actionlint.sh control flow so both local and docker
execution paths propagate actionlint's exit code via `exit $?`. Previously
the docker path used `if run_with_docker; then exit 0; fi` which treated
lint errors as "docker unavailable" and fell through to install guidance.
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix: assert hook id stability and cd to repo root for local actionlint (#473)
- Assert hook id == "specfact-smart-checks" to prevent silent renames
- cd to REPO_ROOT before running local actionlint so it finds workflows
regardless of caller's cwd
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* feat: clean-code-01-principle-gates — 7-principle charter gates, v0.44.0 (#474)
* feat: clean-code-01-principle-gates — 7-principle charter gates, v0.44.0
Implements openspec/changes/clean-code-01-principle-gates:
- Rewrote .cursor/rules/clean-code-principles.mdc as a canonical alias
surface for the 7-principle clean-code charter (naming, kiss, yagni,
dry, solid) defined in nold-ai/specfact-cli-modules. Documents Phase A
KISS thresholds (>80 warning / >120 error LOC), nesting-depth and
parameter-count checks active, and Phase B (>40/80) explicitly deferred.
- Added Clean-Code Review Gate sections to AGENTS.md and CLAUDE.md listing
all 5 expanded review categories and the Phase A thresholds.
- Created .github/copilot-instructions.md as a lightweight alias (< 30 lines)
referencing the canonical charter without duplicating it inline.
- Added unit tests (test_clean_code_principle_gates.py) covering all three
spec scenarios: charter references, compliance gate, LOC/nesting thresholds.
- TDD evidence recorded in openspec/changes/clean-code-01-principle-gates/TDD_EVIDENCE.md.
- Bumped version 0.43.3 → 0.44.0 (minor — feature branch).
- Updated CHANGELOG.md and openspec/CHANGE_ORDER.md.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: clean-code-01-principle-gates review findings and broad exception handling\n\n- Fix coderabbitai review findings:\n - Clarify T20 and W0718 are aspirational in clean-code-principles.mdc\n - Add language specifier to TDD_EVIDENCE.md fenced code block\n - Update test to check all 7 canonical principles\n - Make LOC threshold assertion more specific\n- Improve exception handling throughout codebase:\n - Replace broad except Exception with specific exceptions\n - Apply SOLID principle for better error handling\n- Update tasks.md to reflect completion status\n\nFixes #434\n\nGenerated by Mistral Vibe.\nCo-Authored-By: Mistral Vibe <vibe@mistral.ai>
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: archive completed openspec changes and update main specs
Archive 11 completed OpenSpec changes:
- bugfix-02-ado-import-payload-slugging
- ci-02-trustworthy-green-checks
- clean-code-01-principle-gates
- code-review-zero-findings
- docs-04-docs-review-gate-and-link-integrity
- docs-05-core-site-ia-restructure
- docs-07-core-handoff-conversion
- docs-12-docs-validation-ci
- docs-13-core-nav-search-theme-roles
- docs-14-first-contact-story-and-onboarding
- init-ide-prompt-source-selection
- packaging-02-cross-platform-runtime-and-module-resources
- speckit-02-v04-adapter-alignment
Fix spec validation errors:
- Add proper delta headers (ADDED/MODIFIED/REMOVED/RENAMED)
- Use correct scenario format with GIVEN/WHEN/THEN bullets
- Ensure requirement headers match between delta and main specs
- Use correct operation type based on existing requirements
Update main specs with archived changes:
- backlog-adapter: various updates
- bridge-adapter: Spec-Kit v0.4.x capabilities
- bridge-registry: BridgeConfig preset updates
- code-review-module: new requirements
- debug-logging: enhancements
- devops-sync: improvements
- documentation-alignment: core vs modules separation
- review-cli-contracts: new contracts
- review-run-command: command updates
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
* Add new user onboarding change
* docs & tooling: new user onboarding + smart-test and pre-commit review fixes (#477)
* Fix content for install, sync, uninstallä
* test(docs): align first-contact contracts and stabilize module CLI tests
- docs/index: restore Why does it exist?, tagline, OpenSpec, canonical core CLI story
- Update init profile tests for solo-developer + install all (code-review, six bundles)
- Lean help test accepts uvx init hint; upgrade/core_compatibility tests match runtime
- Autouse fixture re-bootstraps CommandRegistry after category-group tests
- Rebase tasks conflict resolved; TDD_EVIDENCE + tasks for gates 7.1/7.2/12.1/12.2
Made-with: Cursor
* fix(tools): smart-test baseline and pre-commit single code-review run
- Run full suite when smart-test cache has no last_full_run; force+auto falls back to full when incremental is a no-op
- Pre-commit: invoke pre_commit_code_review.py once (no xargs split) so .specfact/code-review.json is not clobbered
- Tests and OpenSpec tasks for docs-new-user-onboarding
Made-with: Cursor
* test: fix CI backlog copy assertions and module install test isolation
- Align backlog not-installed tests with solo-developer init guidance (no <profile> placeholder)
- Autouse: reset CommandRegistry, register_builtin_commands, rebuild_root_app_from_registry so module install tests work after registry-only clears
Made-with: Cursor
* docs: README wow path + tests locking entrypoint with docs
- README leads with uvx init + code review run --scope full; pip install secondary
- Unit contract tests: README and docs/index.md share canonical uvx strings and order
- E2E: init --profile solo-developer in temp git repo; registry ready for step two with mock bundles
Made-with: Cursor
* feat(init): solo-developer includes code-review bundle and marketplace install
- Add specfact-code-review to canonical bundles and solo-developer preset
- Install marketplace module nold-ai/specfact-code-review via install_bundles_for_init
- Docs index: core CLI story and default starting point copy for parity tests
- CLI: missing-module hint references solo-developer profile
- smart_test_coverage: icontract requires use (self, test_level) for method contracts
- Re-sign init and module_registry manifests; tests and registry updates
Made-with: Cursor
* fix(tools): align _run_changed_only with tuple return and baseline full run
- Return (success, ran_any) from _run_changed_only; run full suite when no last_full_run
- run_smart_tests(auto, force): fall back to full tests when incremental ran nothing
- Fix wow e2e fixture typing (Iterator[None]) for basedpyright
Unblocks PR #477 CI: type-check, tests, lint job.
Made-with: Cursor
* chore(release): bump to 0.45.1 and update OpenSpec tasks status
- Sync version across pyproject.toml, setup.py, and __init__ modules
- Changelog: 0.45.1 entry for dependency profiles, smart-test baseline, CI, UX
- openspec: rolling status snapshot and task checkboxes for PR verification
- Includes prior branch work: init/profile, module registry, docs entry path, workflows
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix: code-review gate (Typer params), typer<0.24 vs semgrep, module upgrade tests (#479)
* fix: code-review gate (Typer params), typer<0.24 vs semgrep, module upgrade tests
- Split root/install Typer callbacks into merged param stubs (KISS param count).
- Patch typer.main via importlib; merge install param specs in module_registry.
- Cap typer<0.24 to stay compatible with semgrep click~=8.1.8.
- Invoke module_registry app directly in upgrade CLI tests (root app may lack module group).
- Refactors for first_run_selection, module_packages, registry tests, semgrep README.
Worktree: specfact-cli-worktrees/bugfix/code-review-cli-tests
Made-with: Cursor
* docs: use code import in examples (flat import removed from CLI)
Replace specfact [--flags] import from-code with specfact [--flags] code import
from-code so check-docs-commands matches the nested Typer path after removing
the flat import shim.
Made-with: Cursor
* Fix review findings
---------
Co-authored-by: Dom <djm81@users.noreply.github.com>
* docs: restructure README for star conversion (#480)
* docs: restructure readme for star conversion
Co-authored-by: Dom <djm81@users.noreply.github.com>
* docs: sync readme change tracking
Co-authored-by: Dom <djm81@users.noreply.github.com>
* docs: relocate readme support artifacts
Co-authored-by: Dom <djm81@users.noreply.github.com>
* docs: fix readme workflow snippet and pin demo capture
Co-authored-by: Dom <djm81@users.noreply.github.com>
* docs: address remaining readme review findings
Co-authored-by: Dom <djm81@users.noreply.github.com>
---------
Co-authored-by: Dom <djm81@users.noreply.github.com>
* archived implemented changes
* Archive and remove outdated changes
* Split and refactor change proposals between both repos
* Archive alignment change
* Add changes and github hierarchy scripts
* feat: add GitHub hierarchy cache sync (#492)
* feat: add github hierarchy cache sync
* Backport improvements from modules scripts
* Fix review findings
* Make github sync script executable
---------
Signed-off-by: Dom <39115308+djm81@users.noreply.github.com>
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* [codex] Compact agent governance loading (#493)
* feat: compact agent governance loading
* docs: mark governance PR task complete
* docs: sync governance-03 github issue metadata
* fix: restore dev branch governance block
* Apply review findings
* docs: add sibling internal wiki context for OpenSpec design
Point AGENTS.md, Claude/Copilot/Cursor surfaces, and the OpenSpec rule at
docs/agent-rules/40-openspec-and-tdd.md to read-only wiki paths (hot.md,
graph.md, concepts) via absolute paths when specfact-cli-internal is present.
Update INDEX applicability notes and extend governance tests.
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Archived github hierarchy change
* Update rules for openspec archive
* Potential fix for pull request finding 'Unused local variable'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Signed-off-by: Dom <39115308+djm81@users.noreply.github.com>
* Add wiki update notes
* Archive governance-03 change, format markdown, add wiki instructions for update
* Fix review findings
* Fix type errors
* fix: safe VS Code settings merge and project artifact writes (#490) (#496)
* fix: safe merge for VS Code settings.json on init ide (profile-04)
- Add project_artifact_write.merge_vscode_settings_prompt_recommendations with fail-safe
on invalid JSON / bad chat shape; --force backs up to .specfact/recovery/ then replaces.
- Route ide_setup create_vscode_settings through helper; thread force; catch errors for CLI exit.
- Lint gate: scripts/verify_safe_project_writes.py blocks json.load/dump in ide_setup.py.
- Tests, installation docs, 0.45.2 changelog and version pins.
OpenSpec: profile-04-safe-project-artifact-writes
Made-with: Cursor
* fix(profile-04): satisfy review gate, pin setuptools for semgrep
- Refactor project_artifact_write merge path (KISS); icontract predicates
- Deduplicate ide_setup prompt helpers; import from project_artifact_write
- verify_safe_project_writes: ast.walk, contracts, beartype
- Pin setuptools<82 for Semgrep pkg_resources chain
- Update TDD_EVIDENCE and tasks checklist
Made-with: Cursor
* ci: run safe-write verifier in PR orchestrator lint job
Match hatch run lint by invoking scripts/verify_safe_project_writes.py
after ruff/basedpyright/pylint. Use set -euo pipefail so the first lint
failure is not masked by later commands.
Made-with: Cursor
* fix(profile-04): address CodeRabbit review (docs, guard, contracts, tests)
- Wrap installation.md VS Code merge paragraph to <=120 chars per line
- tasks 4.7 + TDD_EVIDENCE: openspec validate --strict sign-off
- verify_safe_project_writes: detect from-json import and aliases
- settings_relative_nonblank: reject absolute paths and .. segments
- ide_setup: _handle_structured_json_document_error for duplicate handlers
- ProjectWriteMode docstring (reserved policy surface); backup stamp + collision loop
- Tests: malformed settings preserved on init ide exit; force+chat coercion; AST guard tests
Made-with: Cursor
* fix(profile-04): JSON5 settings, repo containment, review follow-ups
- merge_vscode_settings: resolve containment before mkdir/write; JSON5 load/dump
(JSONC comments; trailing_commas=False for strict JSON output)
- ide_setup: empty prompts_by_source skips catalog fallback (_finalize allow_empty_fallback)
- verify_safe_project_writes: detect import json as js attribute calls
- contract_predicates: prompt_files_all_strings accepts list[Any] for mixed-type checks
- Tests: symlink escape, JSONC merge, empty export strip, import-json-as-js guard
- tasks.md / TDD_EVIDENCE: wrap lines to <=120 chars; CHANGELOG + json5 dep + setup.py sync
Made-with: Cursor
* docs(profile-04): tasks pre-flight + full pytest; narrow icontract ensure
- tasks 1.1: hatch env create then smart-test-status and contract-test-status
- tasks 4.3: add hatch test --cover -v to quality gates
- TDD_EVIDENCE: shorter module-signatures and report lines (<=120 cols)
- project_artifact_write: isinstance(result, Path) in @ensure postconditions
Made-with: Cursor
* fix: clear specfact code review on safe-write modules
- verify_safe_project_writes: flatten json binding helpers; stderr writes
instead of print; inline Import/ImportFrom loops to drop duplicate-shape DRY
- project_artifact_write: _VscodeChatMergeContext dataclass (KISS param count);
typed chat_body cast before .get for pyright
Made-with: Cursor
* docs(profile-04): record hatch test --cover -v in TDD_EVIDENCE
Align passing evidence with tasks.md 4.3 full-suite coverage gate.
Made-with: Cursor
* fix: reduce KISS blockers (bridge sync contexts, tools, partial adapters)
Refactors high-parameter call sites into dataclasses/context objects and splits hot spots (export devops pipeline, smart_test_coverage incremental run, suggest_frontmatter, crosshair summary loop).
API: BridgeSync.export_change_proposals_to_devops(adapter_type, ExportChangeProposalsOptions | None); LoggerSetup.create_logger(name, LoggerCreateOptions | None); run_crosshair(path, CrosshairRunOptions | None).
Full specfact code review --scope full still reports error-severity kiss/radon findings (remaining nesting/LOC and param counts in ADO, analyzers, generators, source_scanner, module_installer, bundle-mapper, etc.). Gate PASS requires follow-up.
Made-with: Cursor
* Fix review findings and sign modules
* fix(tests): register dynamic check_doc_frontmatter module; align _update_cache tests
- Insert check_doc_frontmatter into sys.modules before exec_module so
dataclasses can resolve string annotations (fixes Docs Review / agent
rules governance fixture).
- Call SmartCoverageManager._update_cache with _SmartCacheUpdate after
signature refactor (fixes basedpyright reportCallIssue).
Made-with: Cursor
* fix(tests): align install_module mocks with InstallModuleOptions; register verify_bundle script
- Monkeypatch/patch fakes now accept (module_id, options=None) matching
install_module(module_id, InstallModuleOptions(...)).
- Read install_root, trust_non_official, non_interactive, reinstall from
InstallModuleOptions in CLI command tests.
- Dynamic load of verify-bundle-published registers sys.modules before
exec_module (same dataclass annotation issue as check_doc_frontmatter).
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Fix review findings (#498)
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* feat(openspec): add marketplace-06-ci-module-signing change proposal
Moves module signing from local interactive requirement to CI step
triggered by PR approval (pull_request_review). Eliminates local private
key dependency for non-interactive development on feature/dev branches.
Trust boundary remains at main.
Scope:
- NEW .github/workflows/sign-modules-on-approval.yml
- MODIFY scripts/pre-commit-smart-checks.sh (branch-aware policy)
- MODIFY .github/workflows/pr-orchestrator.yml (split verify by target)
- MODIFY .github/workflows/sign-modules.yml (main-only enforcement)
GitHub: #500
Parent Feature: #353 (Marketplace Module Distribution) → #194 (Architecture Epic)
Paired modules change: specfact-cli-modules#185
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore(pre-commit): modular hooks + branch-aware module verify (#501)
* chore(pre-commit): modular hooks aligned with specfact-cli-modules
- Add scripts/pre-commit-quality-checks.sh (block1 stages + block2; all for manual/shim)
- Replace monolithic smart-checks with shim to quality-checks all
- .pre-commit-config: fail_fast, verify-module-signatures + check-version-sources,
cli-block1-* hooks, cli-block2, doc frontmatter
- Match modules: hatch run lint when Python staged; scoped code review paths
- CLI extras: Markdown fix/lint, workflow actionlint (no packages/ bundle-import gate)
- Bump to 0.46.1; docs: README, CONTRIBUTING, code-review.md, agent-rules/70
Made-with: Cursor
* fix(pre-commit): branch-aware module verify hook (marketplace-06 policy)
- Add scripts/pre-commit-verify-modules.sh and git-branch-module-signature-flag.sh
- Point verify-module-signatures hook at wrapper (script); skip when no staged module paths
- pre-commit-quality-checks all: delegate module step to wrapper; safe-change allowlist
- Tests + CONTRIBUTING/CHANGELOG alignment
Made-with: Cursor
* fix(pre-commit): address review — portable quality checks and signature policy
- Emit require/omit from git-branch-module-signature-flag; pass --require-signature only on main
- Resolve repo root in pre-commit-smart-checks via git rev-parse for .git/hooks copies
- Harden pre-commit-quality-checks: ACMR staged paths, pipefail, no xargs -r, safe loops
- CHANGELOG/CONTRIBUTING: Added vs Changed; document verifier CLI (no --allow-unsigned)
- Tests: omit/require expectations, detached HEAD; shim asserts repo-root exec
Made-with: Cursor
* docs: align signing and verification docs with verifier CLI
- Document checksum-only vs --require-signature; clarify --allow-unsigned is sign-modules.py only
- Add pre-commit and CI branch policy to module-security, signing guide, publishing, agent gates
- Refresh marketplace-06 OpenSpec proposal/design/tasks/spec delta; openspec validate --strict OK
- CHANGELOG: note doc and OpenSpec alignment
Made-with: Cursor
* fix(pre-commit): address review — sig_policy guard, DRY contract check, tests
- Validate require|omit from git-branch-module-signature-flag; error on unknown policy
- check_contract_script_exists for tools/contract_first_smart_test.py (run_block2 + run_all)
- Comment why contract-test-status stdout/stderr are discarded
- Tests: run_all-scoped markdown order; fake hatch integration for verify wrapper; 8s flag timeout
Made-with: Cursor
* fix(pre-commit): review follow-ups — Block 2 scope, git diff errors, skip test
- check_safe_change: do not exempt pre-commit wrapper scripts from Block 2 when staged
- pre-commit-verify-modules: fail if git diff --cached fails (no || true)
- test: no-module-tree fast path; touch hatch log so skip path can assert empty
- CHANGELOG: reflow + note git-diff failure handling and Block 2 exemption removal
Made-with: Cursor
* fix(pre-commit): classify changelog, harden format diff, extend verify tests
- Move pre-commit follow-ups under 0.46.1 ### Fixed; note git diff exit >1 handling
- run_format_safety: fail only when git diff exit code > 1 (keep diff=1 as success)
- Test: fake git fails on diff --cached; skip-path uses staged docs/notes.txt only
Made-with: Cursor
* fix(pre-commit): legacy verify shim, mdc markdown, safe-change parity
- Add pre-commit-verify-modules-signature.sh delegating to canonical verify
- run_module_signature_verification: prefer canonical, fallback legacy, log path
- Treat staged *.mdc like *.md; replace mapfile for Bash 3.2; drop pyproject/setup
from Block 2 safe-change skip; extend tests for bundled module tree + legacy
- Split pre-commit layout assertions to satisfy code-review complexity gate
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* apply code review fixes
* apply code review fixes
* fix(pre-commit): include staged deletions in staged_files() for Block 2
Use diff-filter ACMRD so deletion-only commits are not treated as empty
safe changes. Restrict markdown and code-review paths to existing files.
Made-with: Cursor
* Fix review findings
* Fix code review findings
* feat(ci): module signing on PR approval and manual workflow_dispatch (#503)
* feat(ci): sign modules on PR approval and manual dispatch
- Add sign-modules-on-approval workflow (approved reviews, dev/main base)
- Extend sign-modules.yml with workflow_dispatch inputs and sign-and-push job
- Document flows in module-security.md; update CHANGELOG and tests
Made-with: Cursor
* Fix sign review and process
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* Feature/ci module sign on approval (#504)
* feat(ci): sign modules on PR approval and manual dispatch
- Add sign-modules-on-approval workflow (approved reviews, dev/main base)
- Extend sign-modules.yml with workflow_dispatch inputs and sign-and-push job
- Document flows in module-security.md; update CHANGELOG and tests
Made-with: Cursor
* Fix sign review and process
* Fix signature flow
* Fix review gate findings
* Fix review gate findings
---------
Signed-off-by: Dom <39115308+djm81@users.noreply.github.com>
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* feat(ci): workflow_dispatch for sign-modules-on-approval (#505)
- Add sign-on-dispatch job with base_branch/version_bump inputs and merge-base signing
- Rename approval job to sign-on-approval; fix concurrency for manual runs
- Document default-branch vs Run workflow on dev; update tests and CHANGELOG
- Refactor workflow tests to satisfy code-review complexity gate
Made-with: Cursor
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* fix(ci): module signing workflows, PyPI version check, and review gate
Align VERIFY_ARGS order; use immutable PR base SHA and branch checkout for
approval signing; make PyPI ahead-of-registry check lenient on network failures
in PR jobs. Refactor workflow policy tests for radon complexity; add beartype and
icontract to the PyPI check script; restore init manifest signature field where
applicable.
Made-with: Cursor
* fix(modules): bump init to 0.1.28 for enforce-version-bump on dev
The prior commit added integrity.signature without incrementing the module
version, so sign-modules verify failed (same 0.1.27 vs HEAD~1). Refresh checksum;
CI will re-add signatures via Module Signature Hardening workflow_dispatch.
Made-with: Cursor
* chore(release): v0.46.2 — require signatures on all PRs to main
Bump patch version across canonical sources. Tighten pr-orchestrator and
sign-modules verify so every PR targeting main uses --require-signature,
matching the post-merge main push gate.
Made-with: Cursor
* sign changed package
* fix(modules): bump init to 0.1.29 for dev→main PR version gate
enforce-version-bump compares changed manifests to origin/main; signing-only
changes on 0.1.28 still failed. Re-sign integrity.signature locally after pull.
Made-with: Cursor
* Signed modules and bumped version
* Signed modules and bumped version
* Fix sign flow
* feat: dep-security-cleanup (license gate, pycg, commentjson, review env) (#507)
* feat(openspec): add dep-security-cleanup change artifacts
Proposal, design, specs (call-graph-analysis, dependency-resolution,
dep-license-gate), and tasks for removing GPL/wrong deps and introducing
proactive license + CVE gates.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: dep-security-cleanup (license gate, pycg, commentjson, review env)
Implements openspec/dep-security-cleanup: pip-licenses-style compliance script,
call graph via pycg, commentjson for VS Code JSONC, optional-deps hygiene,
subprocess-only SPECFACT_MODULES_REPO for pre-commit code review, docs and CI.
Made-with: Cursor
* docs(openspec): source tracking for dep-security-cleanup and CHANGE_ORDER row
Link PR #507 in proposal Source Tracking; register dep-security-cleanup under
openspec/CHANGE_ORDER.md (deps module).
Made-with: Cursor
* docs(openspec): link dep-security-cleanup to GitHub issue #508
Register tracking issue in proposal Source Tracking and CHANGE_ORDER.
Made-with: Cursor
* Fix code review findings and add version check
* Fix review findings
* Fix module sign logic
* feat(deps): remove GPL/wrong packages, add license-gate and security-audit (#508)
* fix(versioning): enforce packaged artifact bump policy (#508)
* Bump registry version
* Fix review findings and test failurs
* Fix validation script
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* apply review findings
* Fix publish module and security gate findings
* Fix findings and publish bug
* Fix review findings and publish modules flow
* Update publish and sign flows
* Update publish and sign flows
* chore(modules): auto-sign bundled manifests [skip ci] (#510)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Apply code review findings
* Fix failed tests
* [codex] Add five-pillar governance OpenSpec wave (#531)
* Add five-pillar governance openspec wave
* docs(openspec): address PR review findings for five-pillar wave
Align OpenSpec proposals, tasks, specs, and CHANGE_ORDER with CodeRabbit
feedback: worktree gates, envelope compatibility, GDPR/telemetry contracts,
and markdown structure. No runtime code changes.
Made-with: Cursor
* docs(openspec): hierarchy table, archive gates, and spec alignment
- CHANGE_ORDER: Epic/Feature columns (#511, #512-#517) and delivery archive note
- Tasks: archive-before-cleanup for architecture-02, enterprise-01/03, knowledge-01; security-02 archive step
- enterprise-03/knowledge-02: origin/dev worktree + hatch + pre-flight
- review-resiliency: mandatory schema_version on review-report-model
- security-01: explicit 4.4 quality gate checklist
- security-02: wrap design lines; policy-engine scenario aligns with enterprise-01 metadata
- telemetry design: unified resolution chain, Usernames wording
Made-with: Cursor
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* [codex] stabilize module install and init state (#535)
* fix: stabilize module install and init state
* test: align module lifecycle and backlog config helpers
* fix: address PR review findings
* fix: address remaining review feedback
* Fix format
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* chore(modules): auto-sign bundled manifests [skip ci] (#536)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: remove unused checksum tuple in verifier
* chore: reduce low-signal coderabbit review noise
* fix: address codex review findings
* fix: tighten local gate scope and module verification
* Make `specfact upgrade` install-method-aware (uv/uvx support, pipx/pip detection) (#539)
* refactor(upgrade): resolve clean-code warnings in upgrade detection flow
* chore(modules): bump upgrade manifest checksum and version
* fix(upgrade): address review findings for openspec evidence and path-safe detection
* chore(release): bump version artifacts to 0.46.10
* fix(upgrade): pin uv pip upgrades to detected interpreter
* fix(upgrade): quote pip executable and suppress uvx check-only command hint
* fix(cli): gracefully handle missing lazy command groups in help/delegation
* fix(cli,upgrade): handle runtime lazy-command errors and uv tool detection
* Fix: failing tests
* fix(cli): handle stale flat lazy shims
---------
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* chore(modules): auto-sign bundled manifests [skip ci] (#540)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(upgrade): prefer pipx before uv tool detection
* fix(upgrade): address PR 541 review findings
* fix(cli,upgrade): address PR 541 critical findings
* chore(modules): auto-sign bundled manifests [skip ci] (#546)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Fix module upgrade signature and version bump
* chore(modules): auto-sign bundled manifests [skip ci] (#548)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(ci): terminate module publish output list
* fix(cli): forward bare lazy subcommands (#549)
Co-authored-by: Dominikus Nold <djm81@users.noreply.github.com>
* chore(openspec): park 21 deferred proposals + simplify CHANGE_ORDER (#551)
* chore(openspec): park 21 deferred change proposals
Move proposals that are awaiting external signal (paying enterprise customer,
third-party publisher, evidence corpus, etc.) from openspec/changes/ into
a new openspec/parking-lot/ directory, preserving full content and history.
This restores focus on the active core thesis (full-chain traceability for
agile DevOps + AI IDEs) without abandoning prior thinking. Each parked
proposal has an explicit un-park trigger documented in
openspec/parking-lot/README.md.
Parked groups:
- enterprise-01..04 (4): no paying enterprise customer yet
- finops-01..02 (2): no internal LLM workload to optimise yet
- knowledge-01..02 (2): insufficient evidence corpus for distillation
- marketplace-03..06 (4): no third-party publishers to onboard
- security-01..02 (2): no customer-driven security review demand
- review-resiliency-01-contracts (1): code-review module gap unproven
- profile-02..03 (2): profile-01 not yet shipped
- cli-val-01,02,05,06 (4): infrastructure ahead of demand;
cli-val-03 and cli-val-04 remain active
Active changes drop from 45 to 24. No CI workflows or production code
referenced the parked directories; only comment-level references remain
in already-shipped marketplace-06 helper scripts. openspec list is clean.
Also adds a missing fenced-code language tag to a parked design.md
to satisfy the markdownlint pre-commit hook.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* docs(openspec): rewrite CHANGE_ORDER.md to reflect parked roadmap
Reduce from 647 to 214 lines and reorganise around five active tracks
instead of ten plan-derived addenda. The previous file accumulated
historical narrative ("plan-derived addendum 2026-02-15", "addendum
2026-03-22", etc.) that belonged in git history, and listed many
changes that no longer exist as folders here (moved to modules repo
or already archived).
New structure:
- Status snapshot: 24 active / 21 parked / 104 archived with paths
- Five active tracks (full-chain, AI IDE, profile, CLI reliability, other)
- Modify queue: explicit list of proposals needing scope adjustment
before implementation begins
- Five waves (1: adjust scope, 2: foundations, 3: chain assembly,
4: evidence + AI surface, 5: proof + extensions) with auditable
exit gates
- Ownership authority table (kept; still load-bearing)
- Pointers to parking-lot, archive, and the modules-repo companion plan
Stale content removed: old "Implemented" table (51 archived items
already in changes/archive/), four separate addendum sections, tables
for backlog-scrum/kanban/safe that just said "moved to modules", a
GitHub blocked-by relationships table that duplicated each track's
own Blocked-by column, and references to changes that don't exist as
active folders.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* docs(openspec): fix Modify queue count "Five" -> "Six"
PR #551 review caught the prose/table mismatch: the Modify queue
intro said "Five active changes" but the table lists six
(integration-01, architecture-02, telemetry-01, ai-integration-02,
ai-integration-04, openspec-01). The table is the canonical list;
all six adjustments are still required before implementation.
Other count wording verified consistent:
- "five independent tracks" (line 28) refers to Tracks A-E - correct.
- Wave 1 references in the wave plan name the queue by reference,
not by count.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(openspec): archive marketplace-06 (incorrectly parked, already shipped)
Re-validation of parked changes against git history found that
marketplace-06-ci-module-signing was substantially implemented in dev
(PRs #501, #503, #504, #505 + commit a1dda6d7) before the 2026-05-05
parking triage, but its tasks.md still read 0/N done so it was placed
in parking-lot/ by mistake.
Move the change to openspec/changes/archive/2026-05-06-marketplace-06-ci-module-signing/,
mark all tasks [x] in bulk, and add an "Implementation history" banner
documenting the actual merging PRs and verified on-disk deliverables
(sign-modules-on-approval.yml, git-branch-module-signature-flag.sh,
branch-aware verify-module-signatures gating).
Update parking-lot/README.md (remove marketplace-06 row) and
CHANGE_ORDER.md status snapshot (parked 21 -> 20, archived 104 -> 105).
All 20 other core parked changes and all 9 modules-side parked changes
were re-validated and have no implementation traces; they remain
correctly parked.
* fix(openspec): sync specs from archived marketplace-06 via openspec archive
The previous commit (8443297b) moved marketplace-06-ci-module-signing
into the archive directory manually, which skipped the
`openspec archive` step that syncs delta specs into main specs.
Re-ran the proper flow:
1. Move change back to openspec/changes/marketplace-06-ci-module-signing/
2. Run `openspec archive marketplace-06-ci-module-signing --yes`
That command app…
|
Strix is installed on this repository, but we could not run this PR security review because this workspace does not have an active plan. If you'd like to continue receiving code reviews, you can add a payment method or manage billing here. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
✅ Files skipped from review due to trivial changes (7)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🧰 Additional context used📓 Path-based instructions (8){src/__init__.py,pyproject.toml,setup.py}📄 CodeRabbit inference engine (.cursor/rules/python-github-rules.mdc)
Files:
{pyproject.toml,setup.py,src/__init__.py}📄 CodeRabbit inference engine (.cursor/rules/testing-and-build-guide.mdc)
Files:
pyproject.toml📄 CodeRabbit inference engine (.cursorrules)
Files:
**/*.py📄 CodeRabbit inference engine (.cursor/rules/python-github-rules.mdc)
Files:
src/**/*.py📄 CodeRabbit inference engine (.cursor/rules/spec-fact-cli-rules.mdc)
Files:
@(src|tests)/**/*.py📄 CodeRabbit inference engine (.cursor/rules/spec-fact-cli-rules.mdc)
Files:
**/*.{py,pyi}📄 CodeRabbit inference engine (.cursorrules)
Files:
src/specfact_cli/**/*.py⚙️ CodeRabbit configuration file
Files:
🔀 Multi-repo context nold-ai/specfact-cli-modulesLinked repositories findingsnold-ai/specfact-cli-modules
Impact for the core specfact-cli PR under review:
🔇 Additional comments (2)
📝 WalkthroughVersion Bump & Release Artifacts
User-Visible Behavior and CLI Surface
Contract/API Impact
Testing and Quality Gates
Related Issues, Scope, and Notes
WalkthroughVersion 0.46.28 patch release updates the package version across metadata files and changelog, then documents the new ChangesRelease 0.46.28 and AI bloat guidance
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/modules/code-review.md`:
- Around line 40-44: The docs state `severity=info` and “score-neutral” but
later the scoring section assigns `info: -1`, which conflicts for the `ai_bloat`
rule; update the description around `ai_bloat` (the block that currently lists
`severity=info`, `advisory-only`, `score-neutral`, and the note about
`.specfact/code-review.json`) to explicitly state that `ai_bloat` is
advisory-only and exempt from the `info` severity deduction (i.e., remains
score-neutral even though it has severity=info), so readers understand that
`ai_bloat` will not apply the `info: -1` penalty and that reports are written to
`.specfact/code-review.json` when all severities are included.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 12dde960-aaff-4e1b-ba0b-cc4b6e05caa5
📒 Files selected for processing (9)
CHANGELOG.mdREADME.mddocs/getting-started/quickstart.mddocs/index.mddocs/modules/code-review.mdpyproject.tomlsetup.pysrc/__init__.pysrc/specfact_cli/__init__.py
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Tests (Python 3.12)
🧰 Additional context used
📓 Path-based instructions (13)
**/*.py
📄 CodeRabbit inference engine (.cursor/rules/python-github-rules.mdc)
**/*.py: Maintain minimum 80% test coverage, with 100% coverage for critical paths in Python code
Use clear naming and self-documenting code, preferring clear names over comments
Ensure each function/class has a single clear purpose (Single Responsibility Principle)
Extract common patterns to avoid code duplication (DRY principle)
Apply SOLID object-oriented design principles in Python code
Use type hints everywhere in Python code and enable basedpyright strict mode
Use Pydantic models for data validation and serialization in Python
Use async/await for I/O operations in Python code
Use context managers for resource management in Python
Use dataclasses for simple data containers in Python
Enforce maximum line length of 120 characters in Python code
Use 4 spaces for indentation in Python code (no tabs)
Use 2 blank lines between classes and 1 blank line between methods in Python
Organize imports in order: Standard library → Third party → Local in Python files
Use snake_case for variables and functions in Python
Use PascalCase for class names in Python
Use UPPER_SNAKE_CASE for constants in Python
Use leading underscore (_) for private methods in Python classes
Use snake_case for Python file names
Enable basedpyright strict mode with strict type checking configuration in Python
Use Google-style docstrings for functions and classes in Python
Include comprehensive exception handling with specific exception types in Python code
Use logging with structured context (extra parameters) instead of print statements
Use retry logic with tenacity decorators (@retry) for operations that might fail
Use Pydantic BaseSettings for environment-based configuration in Python
Validate user input using Pydantic validators in Python models
Use@lru_cacheand Redis-based caching for expensive calculations in Python
Run code formatting with Black (120 character line length) and isort in Python
Run type checking with basedpyright on all Python files
Run linting with ruff and pylint on all Pyth...
Files:
setup.pysrc/specfact_cli/__init__.pysrc/__init__.py
{src/__init__.py,pyproject.toml,setup.py}
📄 CodeRabbit inference engine (.cursor/rules/python-github-rules.mdc)
{src/__init__.py,pyproject.toml,setup.py}: Update src/init.py first as primary source of truth for package version, then pyproject.toml and setup.py
Maintain version synchronization across src/init.py, pyproject.toml, and setup.py
Files:
setup.pypyproject.tomlsrc/__init__.py
{pyproject.toml,setup.py,src/__init__.py}
📄 CodeRabbit inference engine (.cursor/rules/testing-and-build-guide.mdc)
Manually update version numbers in pyproject.toml, setup.py, and src/init.py when making a formal version change
Files:
setup.pypyproject.tomlsrc/__init__.py
**/*.{py,pyi}
📄 CodeRabbit inference engine (.cursorrules)
**/*.{py,pyi}: After any code changes, follow these steps in order: (1) Apply linting and formatting to ensure code quality:hatch run format, (2) Type checking:hatch run type-check(basedpyright), (3) Contract-first approach: Runhatch run contract-testfor contract validation, (4) Run full test suite:hatch test --cover -v, (5) Verify all tests pass and contracts are satisfied, (6) Fix any issues and repeat steps until all tests pass
All public APIs must have@icontractdecorators and@beartypetype checking
Use Pydantic models for all data structures with data validation
Only write high-value comments if at all. Avoid talking to the user through comments
Files:
setup.pysrc/specfact_cli/__init__.pysrc/__init__.py
src/**/*.py
📄 CodeRabbit inference engine (.cursor/rules/spec-fact-cli-rules.mdc)
src/**/*.py: All code changes must be followed by running the full test suite using the smart test system.
All Python files in src/ and tools/ directories must have corresponding test files in tests/ directory. If you modify src/common/logger_setup.py, you MUST have tests/unit/common/test_logger_setup.py. NO EXCEPTIONS - even small changes require tests.
All new Python runtime code files must have corresponding test files created BEFORE committing the code. NO EXCEPTIONS - no code without tests.
Test Coverage Validation: Run hatch run smart-test-unit for modified files, hatch run smart-test-folder for modified directories, and hatch run smart-test-full before committing. ALL TESTS MUST PASS.
All components must support TEST_MODE=true environment variable with test-specific behavior defined as: if os.environ.get('TEST_MODE') == 'true': # test-specific behavior
Use src/common/logger_setup.py for all logging via: from common.logger_setup import get_logger; logger = get_logger(name)
Use src/common/redis_client.py with fallback for Redis operations via: from common.redis_client import get_redis_client; redis_client = get_redis_client()
Type checking must pass with no errors using: mypy .
Test coverage must meet or exceed 80% total coverage. New code must have corresponding tests. Modified code must maintain or improve coverage. Critical paths must have 100% coverage.
Use Pydantic v2 validation for all context and data schemas.Add/update contracts on new or modified public APIs, stateful classes and adapters using
icontractdecorators andbeartyperuntime type checks
src/**/*.py: Meaningful Naming — identifiers reveal intent; avoid abbreviations. Identifiers insrc/must usesnake_case(modules/functions),PascalCase(classes),UPPER_SNAKE_CASE(constants). Avoid single-letter names outside short loop variables.
KISS — keep functions and modules small and single-purpose. Maximum function length: 120 lines (Phase A error threshold). Maximum cyclomati...
Files:
src/specfact_cli/__init__.pysrc/__init__.py
@(src|tests)/**/*.py
📄 CodeRabbit inference engine (.cursor/rules/spec-fact-cli-rules.mdc)
Linting must pass with no errors using: pylint src tests
Files:
src/specfact_cli/__init__.pysrc/__init__.py
src/specfact_cli/**/*.py
⚙️ CodeRabbit configuration file
src/specfact_cli/**/*.py: Focus on modular CLI architecture: lazy module loading, registry/bootstrap patterns, and
dependency direction. Flag breaking changes to public APIs, Pydantic models, and resource
bundling. Verify@icontract+@beartypeon public surfaces; prefer centralized logging
(get_bridge_logger) over print().
Files:
src/specfact_cli/__init__.py
**/*.{md,mdc}
📄 CodeRabbit inference engine (.cursor/rules/markdown-rules.mdc)
**/*.{md,mdc}: Do not use more than one consecutive blank line anywhere in the document (MD012: No Multiple Consecutive Blank Lines)
Fenced code blocks should be surrounded by blank lines (MD031: Fenced Code Blocks)
Lists should be surrounded by blank lines (MD032: Lists)
Files must end with a single empty line (MD047: Files Must End With Single Newline)
Lines should not have trailing spaces (MD009: No Trailing Spaces)
Use asterisks (**) for strong emphasis, not underscores (__) (MD050: Strong Style)
Fenced code blocks must have a language specified (MD040: Fenced Code Language)
Headers should increment by one level at a time (MD001: Header Increment)
Headers should be surrounded by blank lines (MD022: Headers Should Be Surrounded By Blank Lines)
Only one top-level header (H1) is allowed per document (MD025: Single H1 Header)
Use consistent list markers, preferring dashes (-) for unordered lists (MD004: List Style)
Nested unordered list items should be indented consistently, typically by 2 spaces (MD007: Unordered List Indentation)
Use exactly one space after the list marker (e.g., -, *, +, 1.) (MD030: Spaces After List Markers)
Use incrementing numbers for ordered lists (MD029: Ordered List Item Prefix)
Enclose bare URLs in angle brackets or format them as links (MD034: Bare URLs)
Don't use spaces immediately inside code spans (MD038: Spaces Inside Code Spans)
Use consistent indentation (usually 2 or 4 spaces) throughout markdown files
Keep line length under 120 characters in markdown files
Use reference-style links for better readability in markdown files
Use a trailing slash for directory paths in markdown files
Ensure proper escaping of special characters in markdown files
Files:
docs/index.mddocs/getting-started/quickstart.mdCHANGELOG.mdREADME.mddocs/modules/code-review.md
docs/**/*.md
📄 CodeRabbit inference engine (.cursor/rules/spec-fact-cli-rules.mdc)
Update architecture documentation in docs/ for architecture changes, state machine documentation for FSM modifications, interface documentation for API changes, and configuration guides for configuration changes. DO NOT create internal docs in specfact-cli repo folder that should not be visible to end users; use the respective internal repository instead.
Files:
docs/index.mddocs/getting-started/quickstart.mddocs/modules/code-review.md
⚙️ CodeRabbit configuration file
docs/**/*.md: User-facing accuracy: CLI examples match current behavior; preserve Jekyll front matter;
call out when README/docs index need sync.
Files:
docs/index.mddocs/getting-started/quickstart.mddocs/modules/code-review.md
**/*.md
📄 CodeRabbit inference engine (.cursorrules)
Avoid markdown linting errors (refer to markdown-rules)
Files:
docs/index.mddocs/getting-started/quickstart.mdCHANGELOG.mdREADME.mddocs/modules/code-review.md
CHANGELOG.md
📄 CodeRabbit inference engine (.cursor/rules/python-github-rules.mdc)
Include new version entries at the top of CHANGELOG.md when updating versions
Update CHANGELOG.md with all code changes as part of version control requirements.
Update CHANGELOG.md to document all significant changes under Added, Fixed, Changed, or Removed sections when making a version change
Files:
CHANGELOG.md
pyproject.toml
📄 CodeRabbit inference engine (.cursorrules)
When updating the version in
pyproject.toml, ensure it's newer than the latest PyPI version. The CI/CD pipeline will automatically publish to PyPI only if the new version is greater than the published version
Files:
pyproject.toml
@(README.md|AGENTS.md)
📄 CodeRabbit inference engine (.cursor/rules/spec-fact-cli-rules.mdc)
Check README.md and AGENTS.md for current project status and development guidelines. Review .cursor/rules/ for detailed development standards and testing procedures.
Files:
README.md
🔀 Multi-repo context nold-ai/specfact-cli-modules
nold-ai/specfact-cli-modules — relevant cross-repo findings
-
New/adopted review category "ai_bloat" appears across code, rules, docs, and tests:
- tests asserting ai_bloat category and scorer behaviour: tests/unit/specfact_code_review/run/test_scorer.py (score-neutral) and many run/runner tests referencing "ai_bloat". [::nold-ai/specfact-cli-modules::tests/unit/specfact_code_review/run/test_scorer.py]
- semgrep/AST rule resources and policy pack referenced: packages/specfact-code-review/resources/semgrep-rules/ai-bloat.yaml and packages/specfact-code-review/resources/policy-packs/specfact/ai-bloat-patterns.yaml (referenced in resource payload tests). [::nold-ai/specfact-cli-modules::packages/specfact-code-review/resources/semgrep-rules/ai-bloat.yaml][::nold-ai/specfact-cli-modules::packages/specfact-code-review/resources/policy-packs/specfact/ai-bloat-patterns.yaml]
- Tests ensuring resource payloads include ai-bloat files: tests/unit/test_bundle_resource_payloads.py lines asserting ai-bloat filenames. [::nold-ai/specfact-cli-modules::tests/unit/test_bundle_resource_payloads.py]
-
Runner wiring and schema expectations:
- Design/spec describes adding "ai_bloat" to ReviewFinding.category and emitting severity=info (advisory, score-neutral): openspec/changes/code-review-ai-bloat-detection/design.md and specs files. [::nold-ai/specfact-cli-modules::openspec/changes/code-review-ai-bloat-detection/design.md][::nold-ai/specfact-cli-modules::openspec/changes/code-review-ai-bloat-detection/specs/code-review-ai-bloat-detection/spec.md]
- Semgrep runner mapping update required: SEMGREP_RULE_CATEGORY referenced in design/tasks and code. Tests mention mapping in packages/.../semgrep_runner.py. [::nold-ai/specfact-cli-modules::openspec/changes/code-review-ai-bloat-detection/tasks.md][::nold-ai/specfact-cli-modules::tests/unit/specfact_code_review/tools/test_semgrep_runner.py]
-
Pre-commit / CLI behaviour updated to surface ai_bloat in JSON but not block commits:
- scripts/pre_commit_code_review.py: writes .specfact/code-review.json and counts ai_bloat, ensures hook exits zero when only ai_bloat/info findings present and prints stderr summary. Tests cover these behaviours. [::nold-ai/specfact-cli-modules::scripts/pre_commit_code_review.py][::nold-ai/specfact-cli-modules::tests/unit/scripts/test_pre_commit_code_review.py]
-
IDE prompt for simplifying ai_bloat findings:
- Prompt resource present: packages/specfact-project/resources/prompts/specfact.08-simplify.md describing reading .specfact/code-review.json, filtering category == "ai_bloat", and driving accept/reject edits via IDE slash command
/specfact.08-simplify. [::nold-ai/specfact-cli-modules::packages/specfact-project/resources/prompts/specfact.08-simplify.md]
- Prompt resource present: packages/specfact-project/resources/prompts/specfact.08-simplify.md describing reading .specfact/code-review.json, filtering category == "ai_bloat", and driving accept/reject edits via IDE slash command
-
Docs and quickstart additions:
- Multiple docs updated/added to explain ai_bloat advisory framing and workflows, including docs pages and quickstart instructions referenced in openspec change tasks and docs paths. [::nold-ai/specfact-cli-modules::openspec/changes/code-review-ai-bloat-detection/tasks.md][::nold-ai/specfact-cli-modules::docs]
Implication for this PR (specfact-cli core):
- Core should not break: modules introduce a new review category ("ai_bloat") and a project prompt (
specfact.08-simplify) that core docs now reference. Core consumers that parse ReviewFinding.category must accept the additional literal "ai_bloat" (schema add), and pre-commit/CLI behaviour expects .specfact/code-review.json to be present and include ai_bloat entries without causing blocking errors.- Verify core's ReviewFinding schema/parser accepts "ai_bloat" and that any scoring/filtering in core treats ai_bloat as score-neutral (or ignores it). (Evidence for needed compatibility exists in modules tests and design spec.) [::nold-ai/specfact-cli-modules::openspec/changes/code-review-ai-bloat-detection/specs/code-review-ai-bloat-detection/spec.md][::nold-ai/specfact-cli-modules::tests/unit/specfact_code_review/run/test_scorer.py]
🔇 Additional comments (8)
CHANGELOG.md (1)
13-27: LGTM!pyproject.toml (1)
7-7: LGTM!setup.py (1)
10-10: LGTM!src/__init__.py (1)
6-6: LGTM!src/specfact_cli/__init__.py (1)
48-48: LGTM!README.md (1)
62-63: LGTM!docs/index.md (1)
13-13: LGTM!Also applies to: 37-38
docs/getting-started/quickstart.md (1)
15-15: LGTM!Also applies to: 48-55
a6ae72d to
9086e1e
Compare
Summary
mainfix back into thedevrelease-prep path.0.46.27to0.46.28across all canonical version files.CHANGELOG.mdfor the release and implement [Docs] Add AI bloat simplify callout after modules rollout #573 with core README/docs callouts forai_bloatadvisories and/specfact.08-simplify.Validation
python scripts/check_version_sources.pypython scripts/check_doc_frontmatter.pypython scripts/check-docs-commands.pypython scripts/check-cross-site-links.py --warn-only(rerun escalated; 25 modules.specfact.io URLs checked)hatch run check-pypi-ahead(0.46.28 ahead of PyPI latest 0.46.25)bash scripts/pre-commit-quality-checks.sh allcontract-test-statusbecause no input changesCloses #573.