feat(gate): add tamper-evident finding baseline ratchet - #63
Open
DivyamTalwar wants to merge 2 commits into
Open
feat(gate): add tamper-evident finding baseline ratchet#63DivyamTalwar wants to merge 2 commits into
DivyamTalwar wants to merge 2 commits into
Conversation
Owner
Author
Implementation evidence
Competitive pattern sources:
The implementation is dependency-free and does not copy competitor code. Latest reviewed head: This PR is intentionally open and unmerged. GitHub CI/Security on this exact head is the authoritative next check; dependency-review requires the repository dependency graph setting and is tracked as external configuration. |
Owner
Author
Final authoritative verificationLatest head:
The Security workflow's aggregate failure is therefore repository configuration, not a source, dependency, secret, or CodeQL failure. The implementation-authoritative CI and security analyzers are green on the exact latest head. PR state: open, unmerged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
structorium baseline capturefor deterministic, version-controlled snapshots of active findingsstructorium baseline checkwith a distinct regression exit code and optional JSON evidencecapture --forceWhy this is high leverage
Structorium's changed-line gate is ideal for source-local defects, but architecture findings and detector identities can move outside a diff's exact line range. A version-controlled finding ratchet lets mature repositories adopt enforcement immediately while making removed debt visible and preventing new debt.
Competitive research and provenance
This is original Structorium code informed by public patterns, not copied source:
FreezingArchRulestores known violations and reports only new violations so grown projects can adopt rules incrementally: https://www.archunit.org/userguide/html/000_Index.html#_freezing_arch_rulesStructorium's version is finding-ID-native, checksum protected, dependency free, and reports resolved debt alongside regressions.
Verification
git diff --check: passedCI disclosure
The deterministic prompt-test commit is intentionally included because the first next-wave CI run showed the same pre-existing flaky assertion in both core and full suites. It sorts generated prompts and checks the complete batch set; it does not weaken production behavior.
The repository's Security dependency-review job may remain blocked until the repository dependency graph is enabled. Secret scan, pip-audit, and CodeQL are the code-authoritative security checks and will be reported separately.
No existing PR or branch was changed. This PR intentionally remains open for review.