Skip to content

Release: bundle_dependencies, pip_dependencies, and manifest validation (dev → main)#138

Merged
djm81 merged 16 commits intomainfrom
dev
Apr 2, 2026
Merged

Release: bundle_dependencies, pip_dependencies, and manifest validation (dev → main)#138
djm81 merged 16 commits intomainfrom
dev

Conversation

@djm81
Copy link
Copy Markdown
Contributor

@djm81 djm81 commented Apr 2, 2026

Summary

Merges devmain to publish the module bundle dependencies / pip dependencies work: official bundles declare optional pip_dependencies in module-package.yaml; code-review declares bundle_dependencies (depends on codebase), bumps core_compatibility, and ships a new signed release. tools/validate_repo_manifests.py now validates bundle_dependencies entries against registry/index.json module IDs. PyYAML is added to Hatch default and hatch-test so yaml-lint and unit tests that load the validator keep working.

Registry: registry/index.json, published tarballs, and checksums were updated incrementally on dev while the change landed (not only at the final merge). In particular, code-review was published at 0.46.0 and then superseded by 0.46.1; index.json latest_version for code-review is 0.46.1 with the matching artifact and .tar.sig. Older bundle versions on main remain superseded by the new rows and files in this diff.

Refs:

Scope

  • Bundle source changes under packages/ (manifest metadata: pip_dependencies, bundle_dependencies, versions)
  • Registry/manifest changes (registry/index.json, packages/*/module-package.yaml)
  • CI/workflow changes (.github/workflows/*)
  • Documentation changes (docs/*, README.md, AGENTS.md) — docs/bundles/code-review/overview.md
  • Security/signing changes (scripts/sign-modules.py, scripts/verify-modules-signature.py)

Bundle Impact

List impacted bundles and version updates:

  • nold-ai/specfact-project: 0.41.20.41.3
  • nold-ai/specfact-backlog: 0.41.160.41.17
  • nold-ai/specfact-codebase: 0.41.30.41.4
  • nold-ai/specfact-spec: 0.40.160.40.17
  • nold-ai/specfact-govern: 0.40.190.40.20
  • nold-ai/specfact-code-review: 0.45.40.46.1 (intermediate 0.46.0 registry artifacts remain in registry/modules/ for history; latest is 0.46.1)

Validation Evidence

Paste command output snippets or link workflow runs.

Required local gates

  • hatch run format
  • hatch run type-check
  • hatch run lint
  • hatch run yaml-lint
  • hatch run check-bundle-imports
  • hatch run contract-test
  • hatch run smart-test (or hatch run test)

Signature + version integrity (required)

  • hatch run verify-modules-signature --require-signature --payload-from-filesystem --enforce-version-bump
  • Changed bundle versions were bumped before signing
  • Manifests re-signed after bundle content changes

CI and Branch Protection

  • PR orchestrator jobs expected:
    • verify-module-signatures
    • quality (3.11)
    • quality (3.12)
    • quality (3.13)
  • Branch protection required checks are aligned with the above

Docs / Pages

  • Bundle/module docs updated in this repo (docs/)
  • Pages workflow impact reviewed (docs-pages.yml, if changed)
  • Cross-links from specfact-cli docs updated (if applicable)

Checklist

  • Self-review completed
  • No unrelated files or generated artifacts included
  • Backward-compatibility/rollout notes documented (if needed)

djm81 and others added 9 commits April 2, 2026 23:31
Add bundle_dependencies on nold-ai/specfact-code-review for nold-ai/specfact-codebase,
refresh registry artifact and index, document install behavior, and add registry/manifest
parity tests. OpenSpec change module-bundle-deps-auto-install.

Made-with: Cursor
Add pip_dependencies lists to project, backlog, codebase, spec, and govern
manifests (code-review already lists tools). Patch-bump versions, refresh
checksums and registry artifacts. Primary work belongs on this feature branch.

Made-with: Cursor
- Docs: clarify auto-install wording and bundle_dependencies in code-review overview
- OpenSpec: resolve design open question with specfact-cli + official-bundle-tier spec refs
- Proposal: impact notes for core_compatibility when bumping bundles
- code-review: core_compatibility >=0.44.0 in manifest and registry; refresh artifact
- tools/validate_repo_manifests: ensure bundle_dependencies target registry module ids
- Tests: manifest helper returns [] when key absent; add bundle_deps validation tests

Made-with: Cursor
Use a unique module name when loading tools/validate_repo_manifests.py in tests
so sys.modules does not reuse a stale module. Add backward-compatible aliases
for underscore-prefixed helpers.

Made-with: Cursor
Install pyyaml in the default Hatch env (yaml-lint) and as an
extra-dependency for hatch-test so unit tests that exec
tools/validate_repo_manifests.py do not fail with ModuleNotFoundError.

Made-with: Cursor
…install

feat(code-review): declare codebase bundle peer dependency (0.46.0)
chore(registry): publish changed modules
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 2, 2026

Warning

Rate limit exceeded

@djm81 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 18 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 7 minutes and 18 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5faac784-2d8a-4da6-9f5a-111d9f364c6d

📥 Commits

Reviewing files that changed from the base of the PR and between 416e61c and b48ae35.

⛔ Files ignored due to path filters (7)
  • registry/modules/specfact-backlog-0.41.17.tar.gz is excluded by !**/*.gz
  • registry/modules/specfact-code-review-0.46.0.tar.gz is excluded by !**/*.gz
  • registry/modules/specfact-code-review-0.46.1.tar.gz is excluded by !**/*.gz
  • registry/modules/specfact-codebase-0.41.4.tar.gz is excluded by !**/*.gz
  • registry/modules/specfact-govern-0.40.20.tar.gz is excluded by !**/*.gz
  • registry/modules/specfact-project-0.41.3.tar.gz is excluded by !**/*.gz
  • registry/modules/specfact-spec-0.40.17.tar.gz is excluded by !**/*.gz
📒 Files selected for processing (35)
  • docs/adapters/azuredevops.md
  • docs/bundles/code-review/overview.md
  • docs/guides/agile-scrum-workflows.md
  • docs/reference/README.md
  • docs/reference/architecture.md
  • docs/reference/schema-versioning.md
  • openspec/CHANGE_ORDER.md
  • openspec/changes/module-bundle-deps-auto-install/.openspec.yaml
  • openspec/changes/module-bundle-deps-auto-install/TDD_EVIDENCE.md
  • openspec/changes/module-bundle-deps-auto-install/design.md
  • openspec/changes/module-bundle-deps-auto-install/proposal.md
  • openspec/changes/module-bundle-deps-auto-install/specs/module-bundle-dependencies/spec.md
  • openspec/changes/module-bundle-deps-auto-install/tasks.md
  • openspec/config.yaml
  • packages/specfact-backlog/module-package.yaml
  • packages/specfact-code-review/module-package.yaml
  • packages/specfact-codebase/module-package.yaml
  • packages/specfact-govern/module-package.yaml
  • packages/specfact-project/module-package.yaml
  • packages/specfact-spec/module-package.yaml
  • pyproject.toml
  • registry/index.json
  • registry/modules/specfact-backlog-0.41.17.tar.gz.sha256
  • registry/modules/specfact-code-review-0.46.0.tar.gz.sha256
  • registry/modules/specfact-code-review-0.46.1.tar.gz.sha256
  • registry/modules/specfact-codebase-0.41.4.tar.gz.sha256
  • registry/modules/specfact-govern-0.40.20.tar.gz.sha256
  • registry/modules/specfact-project-0.41.3.tar.gz.sha256
  • registry/modules/specfact-spec-0.40.17.tar.gz.sha256
  • registry/signatures/specfact-code-review-0.46.1.tar.sig
  • scripts/check-docs-commands.py
  • tests/unit/test_check_docs_commands_script.py
  • tests/unit/test_registry_manifest_bundle_dependencies.py
  • tests/unit/test_validate_repo_manifests_bundle_deps.py
  • tools/validate_repo_manifests.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Comment @coderabbitai help to get the list of available commands and usage tips.

@djm81 djm81 self-assigned this Apr 2, 2026
@djm81 djm81 added enhancement New feature or request module Specfact Module related topic marketplace Specfact Marketplace related topic labels Apr 2, 2026
@djm81 djm81 moved this to In Progress in SpecFact CLI Apr 2, 2026
djm81 and others added 7 commits April 3, 2026 00:02
…fests

Remove _registry_module_ids and _validate_manifest_bundle_dependency_refs;
nothing references them and they triggered unused-global findings.

Made-with: Cursor
Replace relative links to missing local stubs (debug-logging,
directory-structure, feature-keys) with canonical core CLI URLs per
the modules/core documentation URL contract.

Made-with: Cursor
…-aliases

fix(tools): remove unused validate_repo_manifests backward-compat aliases
Docs Review failed on PR #140: links to core docs.specfact.io pages for
debug-logging, directory-structure, and feature-keys. Extend
ALLOWED_CORE_DOCS_ROUTES to match published specfact-cli permalinks.

Made-with: Cursor
Assert debug-logging (with fragment), directory-structure, and feature-keys
URLs produce no cross-site-link findings.

Made-with: Cursor
docs: link core-owned reference pages via docs.specfact.io
@djm81 djm81 merged commit ef3a076 into main Apr 2, 2026
20 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in SpecFact CLI Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request marketplace Specfact Marketplace related topic module Specfact Module related topic

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

OpenSpec: Peer bundle dependencies for code-review (module-bundle-deps-auto-install)

1 participant