Skip to content

Harden generated artefact boundaries and stop tracking exported inventory packages - #12

Merged
goldjg merged 1 commit into
mainfrom
copilot/harden-artefact-boundaries
Jun 30, 2026
Merged

Harden generated artefact boundaries and stop tracking exported inventory packages#12
goldjg merged 1 commit into
mainfrom
copilot/harden-artefact-boundaries

Conversation

Copilot AI commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This change closes gaps in the repository’s generated-artifact boundary so local databases, cloned spec corpora, SARIF/results, inventory exports, and packaged shard outputs are not accidentally committed. It also aligns the repo’s cARL/docs guidance with the actual ownership model for those artifacts.

  • Ignore generated inventory outputs more completely

    • Extend inventory/ ignores beyond JSON exports to also cover shard directories and packaged ZIP outputs.
    • Keep inventory/.gitkeep as the only tracked placeholder in that directory.
    inventory/*.json
    inventory/*.min.json
    inventory/shards/
    inventory/*.zip
  • Document artifact ownership in .gitignore

    • Add targeted comments that tie each generated area to the script or workflow that owns it:
      • results/ → query execution / security scan workflow
      • azure-rest-api-specs/ → refresh/export inputs
      • database/ → refresh/build pipeline
      • inventory/ → export workflows
    • Add local-only Python cache and virtualenv artifacts that should never be committed.
  • Remove tracked generated exports

    • Drop previously tracked generated inventory ZIPs from inventory/ so the ignore rules are effective in practice, not just in theory.
  • Reconcile contributor and cARL guidance

    • Update contributor guidance and durable cARL memory to reflect the canonical rule: generated inventory exports are untracked outputs, not repository content.
    • Update the active PR contract so the repository boundary change is explicitly governed.

@goldjg
goldjg marked this pull request as ready for review June 30, 2026 22:56
@goldjg
goldjg merged commit a236400 into main Jun 30, 2026
1 check passed
@goldjg
goldjg deleted the copilot/harden-artefact-boundaries branch June 30, 2026 22:57
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