@kyo-so/cli 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/kyoso-review/SKILL.md +38 -0
- package/.agents/skills/kyoso-review/agents/openai.yaml +14 -0
- package/LICENSE +677 -0
- package/README.md +202 -0
- package/dist/acp/AcpAgentManager.d.ts +9 -0
- package/dist/acp/AcpAgentProcess.d.ts +9 -0
- package/dist/acp/FakeAgentManager.d.ts +9 -0
- package/dist/acp/normalize.d.ts +3 -0
- package/dist/acp/prompts.d.ts +2 -0
- package/dist/aggregate/aggregateFindings.d.ts +15 -0
- package/dist/aggregate/severity.d.ts +3 -0
- package/dist/audit/sanitize.d.ts +3 -0
- package/dist/audit/trace.d.ts +12 -0
- package/dist/bin/kyoso.js +199606 -0
- package/dist/cli/args.d.ts +8 -0
- package/dist/cli/doctor.d.ts +9 -0
- package/dist/cli/init.d.ts +4 -0
- package/dist/cli/io.d.ts +7 -0
- package/dist/cli/main.d.ts +1 -0
- package/dist/config/defaultConfig.d.ts +2 -0
- package/dist/config/defineConfig.d.ts +2 -0
- package/dist/config/loadConfig.d.ts +22 -0
- package/dist/config/schema.d.ts +117 -0
- package/dist/config/trustedConfig.d.ts +5 -0
- package/dist/config/tsConfigLoader.d.ts +7 -0
- package/dist/context/buildContext.d.ts +11 -0
- package/dist/context/pathPolicy.d.ts +3 -0
- package/dist/context/truncate.d.ts +6 -0
- package/dist/core/constants.d.ts +7 -0
- package/dist/core/errors.d.ts +4 -0
- package/dist/core/runReview.d.ts +12 -0
- package/dist/core/types.d.ts +154 -0
- package/dist/core/validateRequest.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +189728 -0
- package/dist/judge/anthropic.d.ts +2 -0
- package/dist/judge/deterministicFallback.d.ts +3 -0
- package/dist/judge/openai.d.ts +2 -0
- package/dist/judge/prompt.d.ts +9 -0
- package/dist/judge/provider.d.ts +26 -0
- package/dist/mcp/formatMcpResponse.d.ts +7 -0
- package/dist/mcp/schemas.d.ts +38 -0
- package/dist/mcp/server.d.ts +6 -0
- package/dist/output/markdown.d.ts +7 -0
- package/dist/security/cisaGate.d.ts +2 -0
- package/dist/security/decision.d.ts +10 -0
- package/dist/security/recursionGuard.d.ts +1 -0
- package/dist/security/redact.d.ts +5 -0
- package/dist/security/sanitizeText.d.ts +3 -0
- package/dist/security/secretScan.d.ts +2 -0
- package/dist/utils/env.d.ts +5 -0
- package/dist/utils/ids.d.ts +1 -0
- package/dist/workspace/cleanup.d.ts +1 -0
- package/dist/workspace/createSnapshot.d.ts +11 -0
- package/examples/claude-code-mcp.json +13 -0
- package/examples/codex-config.toml +11 -0
- package/examples/kyoso.config.ts +22 -0
- package/package.json +50 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kyoso-review
|
|
3
|
+
description: Use Kyoso when the user explicitly asks for multi-agent plan review, security review, CISA Secure by Design review, diff review, or a second opinion from Codex and Claude. Do not invoke implicitly unless the user clearly requests Kyoso or multi-agent review.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Kyoso Review
|
|
7
|
+
|
|
8
|
+
Kyoso is a multi-agent review gate for AI coding workflows. It coordinates Codex and Claude through ACP and returns a structured plan, security, or diff review.
|
|
9
|
+
|
|
10
|
+
Use this skill when the user explicitly asks for:
|
|
11
|
+
|
|
12
|
+
- Kyoso
|
|
13
|
+
- multi-agent review
|
|
14
|
+
- plan review
|
|
15
|
+
- security review
|
|
16
|
+
- CISA Secure by Design review
|
|
17
|
+
- diff review
|
|
18
|
+
- second opinion from Codex and Claude
|
|
19
|
+
|
|
20
|
+
Do not use this skill for every coding task. It is intended for deliberate review checkpoints.
|
|
21
|
+
|
|
22
|
+
## Workflow
|
|
23
|
+
|
|
24
|
+
1. Determine whether the user wants a plan review, security review, or diff review.
|
|
25
|
+
2. Summarize the user's goal.
|
|
26
|
+
3. Gather relevant context:
|
|
27
|
+
- repo summary
|
|
28
|
+
- current plan if available
|
|
29
|
+
- selected files
|
|
30
|
+
- unified diff if available
|
|
31
|
+
- constraints
|
|
32
|
+
4. Call the appropriate Kyoso MCP tool:
|
|
33
|
+
- `plan_review`
|
|
34
|
+
- `security_review`
|
|
35
|
+
- `diff_review`
|
|
36
|
+
5. Treat `decision: block` as a stop signal. Present the result to the user before implementing.
|
|
37
|
+
6. Treat `decision: approve_with_changes` as requiring changes to the plan or implementation.
|
|
38
|
+
7. Do not claim Kyoso modified files. Kyoso only reviews.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Kyoso Review"
|
|
3
|
+
short_description: "Multi-agent plan, security, and diff review with Codex and Claude"
|
|
4
|
+
default_prompt: "Use Kyoso to review this plan, security-sensitive change, or diff."
|
|
5
|
+
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
8
|
+
|
|
9
|
+
dependencies:
|
|
10
|
+
tools:
|
|
11
|
+
- type: "mcp"
|
|
12
|
+
value: "kyoso"
|
|
13
|
+
description: "Kyoso MCP server"
|
|
14
|
+
transport: "stdio"
|