Repository navigation
security(wow): central source approvals and auditable provenance (#140) - #146
Merged
Merged
Conversation
5 tasks
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.
Context
Closes #140. Builds on the existing AppFactory UI Registry and read-only WOW source inventory delivered by #139. No external component becomes available for automated import.
Added
ui-registry/wow-review-policy.json: central source approval policy,defaultDisposition: reference-only, no live approvals.ui-registry/wow-security.mjs: validates trusted source approvals and human-reviewed license evidence, rejects mutable refs, unknown sources, unsafe files, unapproved install commands, duplicate approvals and colliding provenance.ui-registry/schemas/wow-review-policy.schema.jsonandwow-provenance.schema.json.reconcileWowProvenance()helper for the future consumer file.appfactory/frontend-provenance.json: idempotent no-op for the same request; explicit conflicts for changed refs/paths/evidence and file collisions.verifyWowProvenanceFiles()checks that adopted code + notices exist, are nonempty and do not resolve through symlinks outside the checkout.findExternalMediaHotlinks()flags likely external imagery in source text as a review cue, not a full browser/network audit.test/wow-frontend-security.test.mjs, invoked through the existingtest:ui-registryCI.docs/wow-reuse-security.md.Security semantics
approved,reference-only,review-required,blockeddispositions.executeAllowedis always false. No package installs, clone, remote script, auto-copy or production modification.Scope boundaries
ui-registry/registry.json,provenance.json,profiles.json, consumer blueprints and Worker runtime are unchanged.Verify
npm run test:ui-registry+ existing typecheck and webapp gates. Only merge when CI green.Next: #141 agent skill, #142 source adapters; neither may treat a reference-only inventory entry as installation permission.