Repository navigation
Add AGENTS.md, shared .ai workflows, and security review skill - #8
Closed
Jeremy Lee (legit-ninja) wants to merge 1 commit into
Closed
Jeremy Lee (legit-ninja) wants to merge 1 commit into
Jeremy Lee (legit-ninja) wants to merge 1 commit into
Conversation
Jeremy Lee (legit-ninja)
force-pushed
the
feat/security-review
branch
from
November 17, 2026 21:01
141bd74 to
2ad9fee
Compare
Add AGENTS.md and a CLAUDE.md that imports it, with the project layout, commands, and conventions for AI agents and contributors. Document the library's threat model in docs/explanation/security-model.md, mapping each control to its code and tests, and add a register of deliberate allowances, held privileges, controls owned by callers, residual risks, and fixed findings in docs/reference/security-allowances.md. Add a tool-agnostic security review workflow in .ai/ with change and baseline modes, false-positive rules, an agent security policy, and a Claude Code skill that wraps them. The review reads the register, the security model, and its own instructions from the base ref, so a branch cannot pre-allow its own findings, and it always reports changes to the review policy, agent instructions, and CI. The skill pre-approves exact git commands only. Open findings stay in the gitignored local/ report until their fix ships; findings in upstream code are reported privately first. Signed-off-by: Jeremy Lee <jeremy.lee1664@gmail.com>
Jeremy Lee (legit-ninja)
force-pushed
the
feat/security-review
branch
from
November 17, 2026 21:15
2ad9fee to
d2003d9
Compare
Member
|
Jeremy Lee (@legit-ninja) thanks for the PR, I think we'll keep these conventions outside of the repository for now since they are very specific and we (at this point) want to have a standardized method rather than embedding this in a single repo where others might operate differently. Happy to take in the code PRs though. |
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.
AGENTS.md documents the project layout, CI commands, and conventions for any AI agent. The .ai directory holds tool-agnostic playbooks, starting with a security review tailored to this library's threat model. The Claude Code skill and CLAUDE.md wrap these shared files.