@mrciphersmith/keryx 0.3.5 → 0.3.7
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/README.md +47 -0
- package/dist/cli.js +3099 -1160
- package/dist/core.js +22 -3
- package/docs/README.md +2 -0
- package/package.json +1 -1
- package/src/gdskills/bundled/install-manifest.json +319 -76
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.md +19 -26
- package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/SKILL.md +6 -6
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.md +4 -7
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.md +2 -4
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.detail.md +23 -0
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +17 -17
- package/src/gdskills/bundled/stacks/django/agent-refs.json +3 -0
- package/src/gdskills/bundled/stacks/django/governance/eval.json +1763 -0
- package/src/gdskills/bundled/stacks/django/governance/scout.json +40 -0
- package/src/gdskills/bundled/stacks/django/pack.json +43 -0
- package/src/gdskills/bundled/stacks/django/rules/coding-style.mdc +80 -0
- package/src/gdskills/bundled/stacks/django/rules/patterns.mdc +92 -0
- package/src/gdskills/bundled/stacks/django/rules/security.mdc +92 -0
- package/src/gdskills/bundled/stacks/django/rules/testing.mdc +89 -0
- package/src/gdskills/bundled/stacks/django/skills/django-build-fix/SKILL.md +149 -0
- package/src/gdskills/bundled/stacks/django/skills/django-build-fix/evals.json +49 -0
- package/src/gdskills/bundled/stacks/django/skills/django-code-review/SKILL.md +137 -0
- package/src/gdskills/bundled/stacks/django/skills/django-code-review/evals.json +48 -0
- package/src/gdskills/bundled/stacks/django/skills/django-implementation/SKILL.md +147 -0
- package/src/gdskills/bundled/stacks/django/skills/django-implementation/evals.json +75 -0
- package/src/gdskills/bundled/stacks/django/skills/django-migrate/SKILL.md +166 -0
- package/src/gdskills/bundled/stacks/django/skills/django-migrate/evals.json +49 -0
- package/src/gdskills/bundled/stacks/django/skills/django-testing/SKILL.md +130 -0
- package/src/gdskills/bundled/stacks/django/skills/django-testing/evals.json +48 -0
- package/src/gdskills/bundled/stacks/fastapi/agent-refs.json +3 -0
- package/src/gdskills/bundled/stacks/fastapi/governance/eval.json +1777 -0
- package/src/gdskills/bundled/stacks/fastapi/governance/scout.json +34 -0
- package/src/gdskills/bundled/stacks/fastapi/pack.json +43 -0
- package/src/gdskills/bundled/stacks/fastapi/rules/coding-style.mdc +68 -0
- package/src/gdskills/bundled/stacks/fastapi/rules/patterns.mdc +108 -0
- package/src/gdskills/bundled/stacks/fastapi/rules/security.mdc +99 -0
- package/src/gdskills/bundled/stacks/fastapi/rules/testing.mdc +85 -0
- package/src/gdskills/bundled/stacks/fastapi/skills/fastapi-build-fix/SKILL.md +157 -0
- package/src/gdskills/bundled/stacks/fastapi/skills/fastapi-build-fix/evals.json +76 -0
- package/src/gdskills/bundled/stacks/fastapi/skills/fastapi-code-review/SKILL.md +150 -0
- package/src/gdskills/bundled/stacks/fastapi/skills/fastapi-code-review/evals.json +74 -0
- package/src/gdskills/bundled/stacks/fastapi/skills/fastapi-implementation/SKILL.md +158 -0
- package/src/gdskills/bundled/stacks/fastapi/skills/fastapi-implementation/evals.json +75 -0
- package/src/gdskills/bundled/stacks/fastapi/skills/fastapi-testing/SKILL.md +146 -0
- package/src/gdskills/bundled/stacks/fastapi/skills/fastapi-testing/evals.json +74 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/agent-refs.json +3 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/governance/eval.json +2194 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/governance/scout.json +39 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/pack.json +40 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/rules/coding-style.mdc +67 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/rules/patterns.mdc +65 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/rules/security.mdc +69 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/rules/testing.mdc +80 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/skills/java-kotlin-spring-build-fix/SKILL.md +144 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/skills/java-kotlin-spring-build-fix/evals.json +74 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/skills/java-kotlin-spring-code-review/SKILL.md +129 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/skills/java-kotlin-spring-code-review/evals.json +74 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/skills/java-kotlin-spring-implementation/SKILL.md +147 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/skills/java-kotlin-spring-implementation/evals.json +75 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/skills/java-kotlin-spring-migrate/SKILL.md +139 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/skills/java-kotlin-spring-migrate/evals.json +74 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/skills/java-kotlin-spring-testing/SKILL.md +128 -0
- package/src/gdskills/bundled/stacks/java-kotlin-spring/skills/java-kotlin-spring-testing/evals.json +73 -0
- package/src/gdskills/bundled/stacks/python/agent-refs.json +2 -1
- package/src/gdskills/bundled/stacks/python/pack.json +1 -1
- package/src/gdskills/bundled/stacks/rust/agent-refs.json +3 -0
- package/src/gdskills/bundled/stacks/rust/governance/eval.json +1823 -0
- package/src/gdskills/bundled/stacks/rust/governance/scout.json +32 -0
- package/src/gdskills/bundled/stacks/rust/pack.json +42 -0
- package/src/gdskills/bundled/stacks/rust/rules/coding-style.mdc +93 -0
- package/src/gdskills/bundled/stacks/rust/rules/patterns.mdc +85 -0
- package/src/gdskills/bundled/stacks/rust/rules/security.mdc +85 -0
- package/src/gdskills/bundled/stacks/rust/rules/testing.mdc +82 -0
- package/src/gdskills/bundled/stacks/rust/skills/rust-build-fix/SKILL.md +141 -0
- package/src/gdskills/bundled/stacks/rust/skills/rust-build-fix/evals.json +78 -0
- package/src/gdskills/bundled/stacks/rust/skills/rust-code-review/SKILL.md +127 -0
- package/src/gdskills/bundled/stacks/rust/skills/rust-code-review/evals.json +72 -0
- package/src/gdskills/bundled/stacks/rust/skills/rust-implementation/SKILL.md +133 -0
- package/src/gdskills/bundled/stacks/rust/skills/rust-implementation/evals.json +79 -0
- package/src/gdskills/bundled/stacks/rust/skills/rust-testing/SKILL.md +130 -0
- package/src/gdskills/bundled/stacks/rust/skills/rust-testing/evals.json +75 -0
- package/src/gdskills/bundled/agents/python-build-fixer.md +0 -52
- package/src/gdskills/bundled/agents/python-code-auditor.md +0 -49
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
schema_version: 1
|
|
3
|
-
name: "python-build-fixer"
|
|
4
|
-
description: "Reproduces and fixes a Python build, lint, type-check, or test failure with the smallest root-cause change, isolated in a worktree. Dispatched after a python build/CI command fails and needs a targeted fix rather than a full implementation pass, always re-running the same commands to prove the fix actually holds."
|
|
5
|
-
role: "A Python build-and-test fixer who reproduces the reported failure, finds the smallest root-cause fix, and proves the original commands pass again before reporting done."
|
|
6
|
-
tools:
|
|
7
|
-
- "read_file"
|
|
8
|
-
- "list_dir"
|
|
9
|
-
- "get_cwd"
|
|
10
|
-
- "search_code"
|
|
11
|
-
- "graph_affected"
|
|
12
|
-
- "apply_patch"
|
|
13
|
-
- "shell_exec"
|
|
14
|
-
model_tier: "standard"
|
|
15
|
-
policy_profile: "workspace-write"
|
|
16
|
-
skills:
|
|
17
|
-
- "python-build-fix"
|
|
18
|
-
stacks:
|
|
19
|
-
- "python"
|
|
20
|
-
output_contract: "subagent-result"
|
|
21
|
-
isolation: "worktree"
|
|
22
|
-
origin:
|
|
23
|
-
kind: "generated"
|
|
24
|
-
sourceRef: "python"
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
# Python Build Fixer
|
|
28
|
-
|
|
29
|
-
## Scope
|
|
30
|
-
|
|
31
|
-
Workspace-write build/lint/type/test-failure fixing for Python projects, isolated in a worktree so a bad fix never lands in the parent checkout. Only the smallest fix needed to turn the given failure green.
|
|
32
|
-
|
|
33
|
-
## Procedure
|
|
34
|
-
|
|
35
|
-
1. Reproduce the reported failure by running, in this order:
|
|
36
|
-
1. `ruff check .`
|
|
37
|
-
2. `ruff format --check .`
|
|
38
|
-
3. `mypy . || pyright`
|
|
39
|
-
4. `pytest -x -q`
|
|
40
|
-
2. Read the failing output and the smallest set of files it implicates, using `read_file`, `search_code`, and `graph_affected` to trace the failure to its root cause before changing anything.
|
|
41
|
-
3. Make the smallest root-cause fix with `apply_patch`. Never do any of the following:
|
|
42
|
-
- never add `# type: ignore` or `# noqa` to silence a checker without fixing or explaining the underlying issue
|
|
43
|
-
- never pin or downgrade a dependency to route around a real incompatibility without saying so in the report
|
|
44
|
-
- never widen a narrowed exception catch or a real type hole just to make a check pass
|
|
45
|
-
- fix the smallest root cause; do not refactor unrelated code while resolving a build/lint/type failure
|
|
46
|
-
4. Re-run the exact same commands from step 1, in the same order, and confirm every one is green before reporting.
|
|
47
|
-
|
|
48
|
-
## Report
|
|
49
|
-
|
|
50
|
-
Findings section: which command(s) were failing, the root cause, the fix applied, and the final re-run result for each command from step 1.
|
|
51
|
-
|
|
52
|
-
The reply's first line is `STATUS: DONE|DONE_WITH_CONCERNS|NEEDS_CONTEXT|BLOCKED` per the subagent-result contract. Use `DONE_WITH_CONCERNS` when a fix landed but a related risk remains; `BLOCKED` when the failure could not be reproduced at all.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
schema_version: 1
|
|
3
|
-
name: "python-code-auditor"
|
|
4
|
-
description: "Reviews Python code, read-only, for the 6 stack-specific risk patterns this pack's authors documented for python (correctness, resource, and security patterns particular to Python). Dispatched for a stack-specific code-quality pass distinct from generic review, gated the same stack_requires-style way review-orchestrator already uses for per-stack reviewers."
|
|
5
|
-
role: "A Python-focused code auditor who reads for this stack's known risk patterns without editing anything, and ranks findings by real-world impact rather than listing every theoretical concern equally."
|
|
6
|
-
tools:
|
|
7
|
-
- "read_file"
|
|
8
|
-
- "list_dir"
|
|
9
|
-
- "get_cwd"
|
|
10
|
-
- "search_code"
|
|
11
|
-
- "graph_affected"
|
|
12
|
-
- "memory_search"
|
|
13
|
-
model_tier: "deep"
|
|
14
|
-
policy_profile: "read-only"
|
|
15
|
-
skills:
|
|
16
|
-
- "python-code-review"
|
|
17
|
-
stacks:
|
|
18
|
-
- "python"
|
|
19
|
-
output_contract: "subagent-result"
|
|
20
|
-
isolation: "none"
|
|
21
|
-
origin:
|
|
22
|
-
kind: "generated"
|
|
23
|
-
sourceRef: "python"
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
# Python Code Auditor
|
|
27
|
-
|
|
28
|
-
## Scope
|
|
29
|
-
|
|
30
|
-
Read-only review of Python code within the given diff or area, gated on the `python` stack. Never edits files — findings and remediation guidance only.
|
|
31
|
-
|
|
32
|
-
## Procedure
|
|
33
|
-
|
|
34
|
-
1. Identify the scope: which files are in the diff or named area, and which of them are actually written in this stack.
|
|
35
|
-
2. Use `search_code` and `read_file` to check each of the following python-specific risk patterns:
|
|
36
|
-
- mutable default arguments (`def f(x=[])`) instead of `None` + inside-body init
|
|
37
|
-
- broad `except:`/`except Exception:` that swallows an unrelated failure
|
|
38
|
-
- resource handles (files, sockets, DB connections, locks) opened without a `with` block
|
|
39
|
-
- blocking calls (`requests`, `time.sleep`, sync file I/O) inside an `async def`
|
|
40
|
-
- typing holes: untyped public signatures, bare `Any`, or an implicit-`None` return missing `| None`/`Optional`
|
|
41
|
-
- security sinks: `shell=True`, `eval`/`exec`, `pickle`/`yaml.load` on untrusted input, unparameterized SQL
|
|
42
|
-
3. Trace anything ambiguous with `graph_affected` before ruling on it, and check `memory_search` for a prior accepted finding in this area before re-raising something already reviewed.
|
|
43
|
-
4. For any pattern not covered above, consult the `python-code-review` skill(s) and this pack's rules under `stacks/python/rules` (module `python-rules`).
|
|
44
|
-
|
|
45
|
-
## Report
|
|
46
|
-
|
|
47
|
-
Findings section, ordered by severity: file path and line, which audit-focus pattern it matches, and a specific remediation. Note anything checked and found clean.
|
|
48
|
-
|
|
49
|
-
The reply's first line is `STATUS: DONE|DONE_WITH_CONCERNS|NEEDS_CONTEXT|BLOCKED` per the subagent-result contract. Use `DONE_WITH_CONCERNS` when findings exist; `BLOCKED` only when the scope could not be read.
|