docs: align security exemption workflow guidance#172
Draft
cursor[bot] wants to merge 3 commits into
Draft
Conversation
Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
|
|
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.
Description
Updates existing documentation and prompt guidance to match the current STO security exemption execute behavior and refreshes related setup/tooling references.
Docs added/updated:
README.md: STOsecurity_exemptionexecute workflow, current tool inventory, docs/schema maintenance commands.docs/gemini.md: current tool/resource/toolset counts,harness_schema, optional org/project setup, exemption promotion capability.docs/testing/security_exemption/test_plan.mdandtest_report.md: current approve/reject/promote examples and expected results.CONTRIBUTING.md: canonical repository URL, 11 generic tools, docs/schema scripts.src/prompts/exemption-review.ts: prompt guidance for project-only approve vs scoped promote.tasks/todo.md: automation plan and verification record.Codepaths covered:
src/registry/toolsets/sto.tssecurity exemption execute actions:approve,reject,promote.src/tools/index.tsgeneric tool registration includingharness_schema.src/config.tsoptionalHARNESS_ORG/HARNESS_PROJECTbehavior.Key knowledge gaps addressed:
approveis project-scope only.promoteapproves and promotes in one call and requiresbody.scope;PIPELINEandTARGETalso require the corresponding IDs.approver_idis optional because the server derives it from the authenticated user when omitted.defaultis configured by default.Type of Change
Checklist
Verification:
pnpm buildpnpm docs:checkpnpm typecheck