Skip to content

ci(high/easy): enforce threat-model anchor checks - #585

Open
umpireboulianne-design wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-520
Open

umpireboulianne-design wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-520

Conversation

@umpireboulianne-design

Copy link
Copy Markdown
Contributor

Summary

Runs threat-model:test and threat-model:check (scripts/check-threat-model-anchors.test.mjs and scripts/check-threat-model-anchors.mjs docs/THREAT_MODEL.md) as blocking CI steps when documentation or security code changes.

Fixes #520
Closes #520

Changes

  • package.json: Wire check-threat-model-anchors.test.mjs and check-threat-model-anchors.mjs docs/THREAT_MODEL.md into the blocking CI check suite (coverage:test).
  • scripts/check-links.js: Run check-threat-model-anchors.mjs docs/THREAT_MODEL.md alongside markdown link checks when documentation changes.
  • scripts/check-threat-model-anchors.test.mjs: Use cross-platform fileURLToPath paths and add an automated test asserting threat-model:test and threat-model:check CI wiring and documentation.
  • docs/CI.md: Document the threat-model anchor check and local commands (pnpm threat-model:test, pnpm threat-model:check).

Run threat-model:test and threat-model:check as blocking CI steps, add CI wiring test in check-threat-model-anchors.test.mjs, and document in docs/CI.md.

Fixes Sub-Rosa-Issue#520
@karagozemin

Copy link
Copy Markdown
Collaborator

I reviewed the diff and did not find a malicious payload, but this branch now conflicts with current main after related changes landed. Please rebase on current main, preserve the already-merged security and CI gates, rerun the relevant tests, and update this PR; it is not safe to merge the stale conflict state.

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.

ci(high/easy): enforce threat-model anchor checks

2 participants