-
Notifications
You must be signed in to change notification settings - Fork 0
release(core): hashing finalisieren und lokale 6.0.1-Konvergenz vorbereiten #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
9892f44
fix(archive): sharpcompress-1.0 api-kompatibilitaet absichern
github-actions[bot] c282b0b
fix(test): using-reihenfolge fuer preflight-format-gate
github-actions[bot] 15cef29
chore(ci): trigger preflight nach pr-governance-update
github-actions[bot] c834f7c
chore(test): trigger frischen pr-lauf nach governance-update
github-actions[bot] 8129dcc
chore(ci): qodana-blocker minimal bereinigen
github-actions[bot] 23fbcf1
fix(archive): targetinvocation nur fuer erwartete inner-fehler abfangen
github-actions[bot] edf624f
refactor(core): finalize hashing internals and detection model alignment
github-actions[bot] 1396e6d
test(governance): add policy-045 compliance and public API allowlist …
github-actions[bot] d6164e7
release(versioning): prepare 6.0.0 convergence and policy checks
github-actions[bot] cf95b39
chore(style): normalize formatter drift for preflight gate
github-actions[bot] 9efc309
security(policy): align supported-major claim with 6.x baseline
github-actions[bot] 156d833
ci(preflight): retrigger pull_request checks with updated governance …
github-actions[bot] 3e25950
Fix typo in DOCX file type summary
tomtastisch 1c80645
docs(governance): add closure evidence for issues 105-107
github-actions[bot] 9b54c85
refactor(detection): externalize registry ssot config and cache order…
github-actions[bot] 0a4fbb5
fix(qodana): remove dead members and high-severity analyzer findings
github-actions[bot] 9ccf814
fix(review): close remaining policy and naming threads
github-actions[bot] d184107
refactor(core): finalize ssot utils migration and hardening
github-actions[bot] a3dcb78
fix(docs): remove branch-coupled links and invalid compare base
github-actions[bot] 034225b
refactor(utils): cluster guards and normalize guard naming
github-actions[bot] 3814982
docs(hashing): complete policy-level member documentation
github-actions[bot] 077f14f
docs(hashing-core): complete internal member documentation
github-actions[bot] 1209ad8
fix(review): address remaining determinism and CI exposure threads
github-actions[bot] 479dd6d
fix(review): finalize docs and deterministic registry alias mapping
github-actions[bot] 1b6f8db
fix(policy): enforce method-header spacing and guard exception ssot
github-actions[bot] 86225ec
fix(review): align guard semantics and registry naming refinements
github-actions[bot] 808b7a2
refactor(guard): deduplicate destination deletion flow
github-actions[bot] f70ac32
docs(agents): enforce per-comment evidence and resolve workflow
github-actions[bot] ff730f0
refactor(mime): normalize ext initialization and remove redundant guard
github-actions[bot] 74fa1db
docs(versioning): clarify GH token fallback precedence
github-actions[bot] 9820930
docs(security-claims): annotate major-version claim coupling
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # 045 Compliance Status (DE) | ||
|
|
||
| Stand: 2026-02-20 | ||
| Geltungsbereich: `src/FileTypeDetection/*` | ||
|
|
||
| ## Ziel | ||
| Nachweisbare, reproduzierbare Einhaltung der Kernvorgaben aus `045_CODE_QUALITY_POLICY_DE.MD` über automatisierte Tests und wiederholbare Build-/Testläufe. | ||
|
|
||
| ## Automatisierte Governance-Gates | ||
| 1. Public-API-Allowlist-Gate | ||
| Test: `PublicApiAllowlistTests` | ||
| Datei: `tests/FileTypeDetectionLib.Tests/Contracts/PublicApiAllowlistTests.cs` | ||
| Wirkung: Unerwartete neue Public-Typen werden als blocker erkannt. | ||
|
|
||
| 2. Public-API-Snapshot-Gate | ||
| Test: `PublicApiContractSnapshotTests` | ||
| Datei: `tests/FileTypeDetectionLib.Tests/Contracts/PublicApiContractSnapshotTests.cs` | ||
| Wirkung: Surface-Drift in Public API wird deterministisch sichtbar. | ||
|
|
||
| 3. 045 Core-Layout-/Policy-Gate | ||
| Test: `CodePolicy045ComplianceTests` | ||
| Datei: `tests/FileTypeDetectionLib.Tests/Contracts/CodePolicy045ComplianceTests.cs` | ||
| Geprüfte Regeln: | ||
| - Header enthält `' FILE:` und `INTERNE POLICY` | ||
| - `Option Strict On` und `Option Explicit On` vorhanden | ||
| - Reihenfolge: Header -> Options -> Namespace | ||
| - Verbotener Catch-Pseudofilter wird ausgeschlossen | ||
| - Dateien mit `Public`-Typen enthalten XML-`summary` | ||
| - Scan nur auf Source-Dateien (Ausschluss `bin/` und `obj/`) | ||
|
|
||
| ## Reproduzierbare Verifikation | ||
| 1. `dotnet build FileClassifier.sln -v minimal` | ||
| 2. `dotnet test tests/FileTypeDetectionLib.Tests/FileTypeDetectionLib.Tests.csproj -c Release -v minimal` | ||
|
|
||
| ## Iterative Verbesserungen (Issue 03) | ||
| 1. Interne Duplikatkonsolidierung: | ||
| - `FileTypeDetector` nutzt zentrale Registry-Regel für structured refinement. | ||
| - Alias-Definitionen in `FileTypeRegistry` über Helper vereinheitlicht. | ||
| 2. Policy-Header harmonisiert: | ||
| - `HashRoundTripReport.vb`, `EnumUtils.vb`, `ArgumentGuard.vb`, `IterableUtils.vb`. | ||
|
|
||
| ## Hinweis | ||
| Diese Statusdatei dokumentiert den nachweisbaren Kernumfang der automatisierten 045-Compliance-Prüfung. | ||
| Erweiterungen an den Governance-Gates sind möglich, müssen jedoch fail-closed und mit niedriger False-Positive-Rate erfolgen. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| # Issue Closure Matrix (DE) - #105 / #106 / #107 | ||
|
|
||
| Stand: 2026-02-21 | ||
|
|
||
| ## Ziel | ||
| Nachweis, dass alle offenen Punkte aus den Issues `#105`, `#106` und `#107` im PR `#108` umgesetzt sind. | ||
|
|
||
| ## Issue #105 - HashRoundTripReport ersetzen und Usages migrieren | ||
| Status: umgesetzt. | ||
|
|
||
| Abdeckung: | ||
| - Datei ersetzt: `src/FileTypeDetection/Abstractions/Hashing/HashRoundTripReport.vb` | ||
| - Legacy-Usages migriert auf neue API (`HashSlot`, `Evidence(slot)`, `LogicalEquals(slot)`, `PhysicalEquals(slot)`). | ||
| - API-Contract/Snapshot aktualisiert: | ||
| - `tests/FileTypeDetectionLib.Tests/Contracts/public-api.snapshot.txt` | ||
|
|
||
| Geforderte `rg`-Trefferliste alt vs. neu: | ||
| 1. Legacy-API-Symbole (alt) | ||
| - Kommando: | ||
| - `rg -n "LogicalH1Equals|PhysicalH1Equals|HashRoundTripReport\\.(H1|H2|H3|H4)\\b" src tests -S` | ||
| - Ergebnis: | ||
| - `0` Treffer | ||
| 2. Neue API-Symbole (neu) | ||
| - Kommando: | ||
| - `rg -n "HashSlot|Evidence\\(|LogicalEquals\\(|PhysicalEquals\\(" src tests -S` | ||
| - Ergebnis: | ||
| - Treffer in `HashRoundTripReport.vb`, `HashingEvidenceTests.cs`, `FileTypeDetectionSteps.cs` und `public-api.snapshot.txt`. | ||
|
|
||
| Build/Test-Evidence: | ||
| - `dotnet build FileClassifier.sln -v minimal` -> pass | ||
| - `dotnet test tests/FileTypeDetectionLib.Tests/FileTypeDetectionLib.Tests.csproj -c Release -v minimal` -> pass | ||
|
|
||
| ## Issue #106 - Public-API-Policy haerten (Allowlist + Contract-Gates) | ||
| Status: umgesetzt. | ||
|
|
||
| Abdeckung: | ||
| - Explizite Public-API-Allowlist als blocker: | ||
| - `tests/FileTypeDetectionLib.Tests/Contracts/PublicApiAllowlistTests.cs` | ||
| - Public-API-Snapshot-Gate als blocker: | ||
| - `tests/FileTypeDetectionLib.Tests/Contracts/PublicApiContractSnapshotTests.cs` | ||
| - Policy-Compliance-Gate als blocker: | ||
| - `tests/FileTypeDetectionLib.Tests/Contracts/CodePolicy045ComplianceTests.cs` | ||
|
|
||
| Dokumentierte freigegebene Public-Hauptklassen: | ||
| - In `AllowedPublicTypes` innerhalb | ||
| `tests/FileTypeDetectionLib.Tests/Contracts/PublicApiAllowlistTests.cs`. | ||
|
|
||
| Reproduzierbarer Governance-Check: | ||
| - `dotnet test tests/FileTypeDetectionLib.Tests/FileTypeDetectionLib.Tests.csproj -c Release -v minimal` | ||
|
|
||
| ## Issue #107 - Interne Refactor-/Utility-Konsolidierung | ||
| Status: umgesetzt. | ||
|
|
||
| Refactor-Matrix (Duplikatquelle -> neue Utility-Stelle): | ||
| 1. Hashing-Kernlogik in Fassade `EvidenceHashing.vb` | ||
| - -> `EvidenceHashingCore.vb` | ||
| - Methoden u. a.: `BuildEvidenceFromEntries`, `BuildEvidenceFromRawPayload`, | ||
| `TryNormalizeEntries`, `BuildLogicalManifestBytes`, `ComputeSha256Hex`, | ||
| `ComputeFastHash`, `ComputeHmacSha256Hex`. | ||
| 2. RoundTrip-I/O/Temp-Lifecycle in Fassade | ||
| - -> `EvidenceHashingRoundTrip.vb` | ||
| - Pipeline: TempRoot/Target, Materialisierung, Cleanup, Report-Bildung. | ||
| 3. Gebundene Datei-Leselogik/Fehleraufbereitung | ||
| - -> `EvidenceHashingIo.vb` | ||
| - Methoden: `TryReadFileBounded`, `SetReadFileError`. | ||
| 4. Enum- und Guard-Helfer in mehreren Klassen | ||
| - -> `EnumUtils.vb`, `ArgumentGuard.vb`, `IterableUtils.vb` | ||
| - Einsatz sichtbar in `HashRoundTripReport.vb`. | ||
|
|
||
| Evidence-Kommandos: | ||
| - `rg -n "EvidenceHashingCore|EvidenceHashingRoundTrip|EvidenceHashingIo" src tests -S` | ||
| - `rg -n "EnumUtils\\.|ArgumentGuard\\.|IterableUtils\\." src tests -S` | ||
| - `dotnet test FileClassifier.sln -v minimal` | ||
|
|
||
| ## Entscheidung | ||
| Alle offenen Punkte aus `#105`, `#106` und `#107` sind im aktuellen PR-Stand umgesetzt und auditierbar nachgewiesen. |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.