Skip to content

Forge: persist sanitized fingerprint signatures - #14

Merged
GolaraJ merged 2 commits into
mainfrom
feat/forge-signature-catalog
Aug 14, 2026
Merged

Forge: persist sanitized fingerprint signatures#14
GolaraJ merged 2 commits into
mainfrom
feat/forge-signature-catalog

Conversation

@GolaraJ

@GolaraJ GolaraJ commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • persist a bounded, versioned fingerprint catalog with sanitized structural signatures
  • restore historical signatures during later aggregation without retaining raw commands or source content
  • migrate existing v2 issue state that lacks the catalog
  • enforce catalog size, shape, fingerprint consistency, and secret leakage validation

Testing

  • python3 -m unittest discover -s plugins/repo-dreamer/skills/repository-skill-forge/tests -p 'test_*.py'\n- python3 -m json.tool plugins/repo-dreamer/skills/repository-skill-forge/assets/schemas.json\n- Python compilation and git diff --check

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b8cf0691-0fe3-4d67-92ce-ce2a529c400c

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds durable storage for sanitized, structural “signature” data keyed by fingerprint, enabling later aggregation to explain historical patterns without persisting raw commands or source content. It also introduces migration support for legacy v2 state blobs and adds validation to keep the catalog bounded and non-leaky.

Changes:

  • Adds fingerprintCatalog to persisted Forge state (schema + docs) and migrates legacy v2 state without the field.
  • Restores signatures from the catalog during aggregation and rebuilds a bounded catalog from retained evidence.
  • Introduces validation and tests covering catalog shape, fingerprint consistency, and secret-shaped value rejection.
Show a summary per file
File Description
plugins/repo-dreamer/skills/repository-skill-forge/tests/test_state_catalog.py New unit tests covering migration, restoration, secret-shaped rejection, key mismatch, and catalog size limits.
plugins/repo-dreamer/skills/repository-skill-forge/SKILL.md Documents the new fingerprintCatalog field and its purpose/behavior.
plugins/repo-dreamer/skills/repository-skill-forge/scripts/issue-state.py Adds fingerprintCatalog field support, legacy migration defaulting, and deep catalog validation + expanded secret/local-path detection.
plugins/repo-dreamer/skills/repository-skill-forge/scripts/aggregate-primitives.py Restores signatures from the catalog into evidence, builds a bounded catalog for persistence, and writes it into next state.
plugins/repo-dreamer/skills/repository-skill-forge/assets/schemas.json Extends the persisted state schema to include fingerprintCatalog.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 5/5 changed files
  • Comments generated: 4
  • Review effort level: Lite

Comment thread plugins/repo-dreamer/skills/repository-skill-forge/scripts/issue-state.py Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b8cf0691-0fe3-4d67-92ce-ce2a529c400c

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@GolaraJ
GolaraJ merged commit 20f9dab into main Aug 14, 2026
1 check passed
@GolaraJ
GolaraJ deleted the feat/forge-signature-catalog branch August 14, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants