Skip to content

feat: add reward ledger to code review bundle#74

Merged
djm81 merged 1 commit intodevfrom
feature/code-review-06-reward-ledger
Mar 16, 2026
Merged

feat: add reward ledger to code review bundle#74
djm81 merged 1 commit intodevfrom
feature/code-review-06-reward-ledger

Conversation

@djm81
Copy link
Copy Markdown
Contributor

@djm81 djm81 commented Mar 16, 2026

Summary

Add a persisted reward ledger to specfact-code-review so governed review runs can accumulate coins and streaks over time, while still working offline through a local JSON fallback.

Refs:

  • specfact-cli issue: #395
  • related module migration item/change: code-review-06-reward-ledger

Scope

  • Bundle source changes under packages/
  • Registry/manifest changes (registry/index.json, packages/*/module-package.yaml)
  • CI/workflow changes (.github/workflows/*)
  • Documentation changes (docs/*, README.md, AGENTS.md)
  • Security/signing changes (scripts/sign-modules.py, scripts/verify-modules-signature.py)

Bundle Impact

List impacted bundles and version updates:

  • nold-ai/specfact-code-review: 0.41.7 -> 0.42.0

Validation Evidence

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 --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)

Made with Cursor

Persist code-review reward history with a Supabase-first ledger, keep an offline JSON fallback, and expose ledger commands so review runs can be tracked over time.

Made-with: Cursor
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@djm81 djm81 self-assigned this Mar 16, 2026
@djm81 djm81 added enhancement New feature or request module Specfact Module related topic codebase Specfact codebase related topic labels Mar 16, 2026
@djm81 djm81 moved this from Todo to In Progress in SpecFact CLI Mar 16, 2026
@djm81 djm81 merged commit f90cf55 into dev Mar 16, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in SpecFact CLI Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codebase Specfact codebase related topic enhancement New feature or request module Specfact Module related topic

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Change] code-review-06 - Reward Ledger Supabase Persistence and ledger Subcommands

1 participant