Skip to content

DEMO Beat 4: drop unmanaged instruction file (expect unmanaged-files fail)#11

Draft
danielmeppiel wants to merge 2 commits into
mainfrom
d2-demo/beat4-unmanaged-instruction
Draft

DEMO Beat 4: drop unmanaged instruction file (expect unmanaged-files fail)#11
danielmeppiel wants to merge 2 commits into
mainfrom
d2-demo/beat4-unmanaged-instruction

Conversation

@danielmeppiel
Copy link
Copy Markdown
Contributor

Demo PR — D2 Governance. Drops a hand-rolled .github/instructions/sneaky-bypass.instructions.md that tries to override the secure-coding baseline. Expected: apm audit fires unmanaged-files violation, ruleset blocks merge.

Org policy: unmanaged_files.action: deny for .github/instructions/**

@danielmeppiel danielmeppiel force-pushed the d2-demo/beat4-unmanaged-instruction branch 2 times, most recently from 8bed1c1 to a87c32c Compare May 7, 2026 23:55
Org policy unmanaged_files monitors .github/hooks/. A hook dropped in
directly (not produced by an installed plugin) is flagged. Expected:
apm audit --ci fails on unmanaged-files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@danielmeppiel danielmeppiel force-pushed the d2-demo/beat4-unmanaged-instruction branch from a87c32c to 639f391 Compare May 8, 2026 00:01
@danielmeppiel
Copy link
Copy Markdown
Contributor Author

Closing as DO-NOT-MERGE demo artifact. PR is wired for D2 governance demo (PLATFORM.md §D2) — kept open as a reference; closing to avoid accidental merge. Re-open from the same branch for the live demo.

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