Skip to content

feat: add auditable publication hygiene gates - #388

Merged
szmyty merged 1 commit into
mainfrom
feat/publication-hygiene-361
Sep 10, 2026
Merged

szmyty merged 1 commit into
mainfrom
feat/publication-hygiene-361

Conversation

@szmyty

@szmyty szmyty commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add named hygiene policies to Renderflow v2 specs and derivative profiles
  • create a non-destructive pre-publication stage with explicit artifact lineage
  • sanitize allowlisted/denylisted artifact metadata plus supported JPEG EXIF/XMP/IPTC/comments and PNG EXIF/text chunks
  • block likely secrets with evidence-safe diagnostics that never reproduce detected values
  • add configurable protected-reference scanning for brand, franchise, company, creator, and work names in generated text and metadata
  • add provider-neutral deterministic/probabilistic content-redaction contracts
  • require explicit rights/license/approval evidence for public and commercial bundles
  • preserve blocked/review-required candidates in the artifact store without materializing them into release bundles
  • publish renderflow.hygiene/v1 evidence and advertise the capability through the provider contract
  • document policy boundaries, including that protected-reference findings are review signals rather than legal copyright conclusions

Validation

  • cargo check --workspace --all-targets
  • cargo test --package renderflow hygiene::tests --no-fail-fast — 3 passed
  • publication-hygiene example validates through the CLI
  • runtime-generated v2 schema matches the committed schema
  • focused safe/blocked CLI smoke builds verified release and candidate-preservation behavior
  • JSON schema files parse successfully

Full-suite/Clippy/CI hardening remains deferred under the current sprint convention.

Follow-up

Artifact DNA extraction and similarity guidance is captured in #387 and explicitly depends on this hygiene boundary.

Closes #361

@szmyty
szmyty merged commit 37a3f78 into main Sep 10, 2026
15 of 18 checks passed
@szmyty
szmyty deleted the feat/publication-hygiene-361 branch September 10, 2026 23:48
@devactivity-app

Copy link
Copy Markdown

Pull Request Summary by devActivity

Metrics

Cycle Time: 1h 38m

Achievements

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.

Add publication hygiene for metadata sanitization, secret detection, privacy redaction, and rights gates

1 participant