Repository navigation
docs: add the documents OpenSSF Baseline level 2 asks for - #55
Merged
Merged
Conversation
|
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.



Summary
Adds the documentation OpenSSF Baseline level 2 requires and this repository did not have. The project already holds the Best Practices passing badge and Baseline level 1 (project 16186); 9 of the 19 level 2 requirements were met already, and these pages cover the rest.
docs/ARCHITECTURE.mddescribes the actors, each action the plugin takes, and every external interface: package exports, plugin options, the/cache-managercommand, thex-cache-ttlheader, the RPC contract, storage keys, the models.dev fetch and the debug log (OSPS-SA-01.01, OSPS-SA-02.01).docs/SECURITY_ASSESSMENT.mdlists eight risks with what the code does about each and what remains (OSPS-SA-03.01).docs/GOVERNANCE.mdnames the roles and who has access to the repository, security advisories and npm packages (OSPS-GV-01.01, OSPS-GV-01.02).docs/CONTRIBUTING.mdgains a Dependencies section on how dependencies are selected, obtained and tracked (OSPS-DO-06.01), and a sentence stating that contributions are MIT-licensed under GitHub's Terms of Service, section D.6 (OSPS-LE-01.01).SECURITY.mdgains a Disclosure policy section: reports stay private until a fix is released, then are published as GitHub security advisories (OSPS-VM-01.01, OSPS-VM-04.01).README.mdlinks the three new pages, andCLAUDE.mdlists them and adds a rule to keep the architecture and assessment pages current when a hook, an interface or the keepalive rules change.Not in this diff
The repository's default GitHub Actions token was switched to read-only, with "Actions can approve pull requests" off (OSPS-AC-04.01). Every workflow already declared its own permissions.
Review notes
The new pages make statements on the project's behalf. Worth a careful read:
GOVERNANCE.mdlists thenoppunpm account as the owner of both packages, which is whatnpm owner lsshows.No source, test or workflow file changes, and nothing is released.
Checks
bun run fmt:check,bun run lint,bun run typecheckandbun test tests/pass locally (1297 tests). Every relative link and anchor in the changed pages resolves.