holycodex 0.16.3-dev.66.1 → 0.16.4-dev.73.1
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 +18 -5
- package/dist/agent.js +128 -0
- package/dist/assets/plugin/plugin.json +2 -2
- package/dist/assets/plugin/skills/code-review/SKILL.md +15 -3
- package/dist/assets/plugin/skills/code-review/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/commit/SKILL.md +29 -7
- package/dist/assets/plugin/skills/commit/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/compress/SKILL.md +12 -3
- package/dist/assets/plugin/skills/compress/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/debugging/SKILL.md +10 -5
- package/dist/assets/plugin/skills/debugging/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/handoff/SKILL.md +13 -5
- package/dist/assets/plugin/skills/handoff/agents/openai.yaml +2 -2
- package/dist/assets/plugin/skills/operations/SKILL.md +31 -0
- package/dist/assets/plugin/skills/operations/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/plan/SKILL.md +15 -3
- package/dist/assets/plugin/skills/plan/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/plan-review/SKILL.md +14 -2
- package/dist/assets/plugin/skills/plan-review/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/programming/SKILL.md +17 -6
- package/dist/assets/plugin/skills/programming/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/refactor/SKILL.md +17 -6
- package/dist/assets/plugin/skills/refactor/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/rules/SKILL.md +12 -3
- package/dist/assets/plugin/skills/rules/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/stop-slop/SKILL.md +10 -2
- package/dist/assets/plugin/skills/stop-slop/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/writing-for-agents/SKILL.md +18 -3
- package/dist/assets/plugin/skills/writing-for-agents/agents/openai.yaml +1 -1
- package/dist/index.js +87 -57
- package/package.json +7 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "holycodex",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.4",
|
|
4
4
|
"description": "Root-directed capabilities and deterministic installed assets for HolyCodex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "David Basile Filho",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"Code Intelligence"
|
|
27
27
|
],
|
|
28
28
|
"defaultPrompt": [
|
|
29
|
-
"
|
|
29
|
+
"Activate HolyCodex for this task. Read the generated Root developer instructions and repository AGENTS.md, apply installed skills as branch procedures, and use holycodex-agent semantic operations for durable Intent, Plan, and Assignment state."
|
|
30
30
|
]
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -3,14 +3,26 @@ name: code-review
|
|
|
3
3
|
description: Use once after code or manifest implementation when Root needs adversarial review and bounded repair to a fixed point.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Owner: Reviewer within one delegated Assignment. Root must dispatch this skill
|
|
7
|
+
after implementation or manifest work and record its structured result through
|
|
8
|
+
`holycodex-agent assignment result`; the Reviewer never owns global lifecycle,
|
|
9
|
+
material decisions, or Git/VCS. Inspect the actual integrated result to a
|
|
10
|
+
fixed point before Root judges readiness. Apply
|
|
8
11
|
[testing quality](../testing-quality.md) when judging new or modified tests.
|
|
9
12
|
|
|
13
|
+
Read the Assignment and current Intent through the semantic agent interface;
|
|
14
|
+
do not edit TOON files manually.
|
|
15
|
+
|
|
16
|
+
This fixed-point review is mandatory after implementation or a major codebase
|
|
17
|
+
change and must pass before Intent completion or any VCS operation. Apply the
|
|
18
|
+
repository surgical-mutation rule from `AGENTS.md` to reviewer repairs.
|
|
19
|
+
|
|
10
20
|
Inspect the assigned diff, callers, contracts, tests, compatibility, and
|
|
11
21
|
artifact. Repair defects inside the review surface, verify each repair, and
|
|
12
22
|
repeat until the review reaches a fixed point.
|
|
13
23
|
|
|
14
|
-
|
|
24
|
+
Return `completed`, `blocked`, `needs_root_input`, or `failed` with findings,
|
|
25
|
+
repaired paths, verification, and residual risk. Flag speculative
|
|
26
|
+
abstractions, pointless file splits, oversized changes,
|
|
15
27
|
unclear dependency direction, and tests that protect implementation detail.
|
|
16
28
|
Confirm incidental generated output is absent before stopping.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Code review"
|
|
3
3
|
short_description: "Review one implementation result to a fixed point."
|
|
4
|
-
default_prompt: "After implementation, inspect the
|
|
4
|
+
default_prompt: "After implementation, inspect the delegated Assignment result once, apply the repository surgical-mutation rule, repair reviewer-owned defects to a fixed point, and return structured evidence for Root's readiness judgment."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|
|
@@ -3,13 +3,35 @@ name: commit
|
|
|
3
3
|
description: Use when Root owns a local commit after exact scope and proof are settled; verify scope, create the minimal commit, and report identity.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Owner: Root.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
Owner: Root. This is the only unconditional direct execution exception:
|
|
7
|
+
perform all Git/VCS inspection and mutation. Verify the exact diff scope,
|
|
8
|
+
required local proof, temporary/generated-artifact cleanup, and ignore coverage
|
|
9
|
+
before staging. Preserve unrelated work and ensure environment secrets,
|
|
10
|
+
credentials, and private release material are absent from the staged file list.
|
|
11
|
+
Do not use this exception for implementation, testing, review, or release
|
|
12
|
+
verification; delegate those as Assignments and persist their outcomes through
|
|
13
|
+
`holycodex-agent assignment result`.
|
|
14
|
+
|
|
15
|
+
Require a passing Reviewer.code fixed-point result after implementation or a
|
|
16
|
+
major codebase change before this VCS exception is used. Apply the repository
|
|
17
|
+
surgical-mutation rule to VCS operations and staging.
|
|
18
|
+
|
|
19
|
+
After integration, Root commits/pushes the exact approved ref, then delegates
|
|
20
|
+
terminal CI observation to `Worker.operations` with the exact ref and SHA.
|
|
21
|
+
Discover the repository's actual development/release topology first; never
|
|
22
|
+
assume GitHub, branch names, or that pending is success. Delegate fixes for
|
|
23
|
+
failures, then repeat integration, commit, push, and observation until the
|
|
24
|
+
repository gate is terminal green. If release is authorized, Root performs the
|
|
25
|
+
repository's own release mechanism only after the development gate is terminal
|
|
26
|
+
green, then delegates terminal release verification. If development and release
|
|
27
|
+
share one pipeline, or the repository has no distinct release gate, record that
|
|
28
|
+
topology and apply the repository's one available terminal gate. Fix failures
|
|
29
|
+
through a new bounded Assignment and repeat the same review/VCS/observation
|
|
30
|
+
cycle.
|
|
31
|
+
|
|
32
|
+
Local commits need no user approval; every exact push, tag, merge, CI trigger,
|
|
33
|
+
publication, or other remote mutation requires fresh user approval through
|
|
34
|
+
native `request_user_input` immediately beforehand.
|
|
13
35
|
|
|
14
36
|
Completion: Root reports the commit identity and post-commit status with
|
|
15
37
|
redacted evidence, or returns an exact reproducible blocker. Never print secret
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Commit"
|
|
3
3
|
short_description: "Create one local commit with exact scope proof."
|
|
4
|
-
default_prompt: "When Root
|
|
4
|
+
default_prompt: "When Root uses the Git/VCS direct exception, apply the repository surgical-mutation rule, verify exact scope, required proof, ignore coverage, and secret exclusions, create only that commit, ask for approval before remote mutation, and delegate terminal exact-ref verification."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: false
|
|
@@ -3,8 +3,17 @@ name: compress
|
|
|
3
3
|
description: Use when Root assigns text that must be shortened; preserve meaning, constraints, technical terms, and voice.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Owner: Worker. Boundary: remove repetition
|
|
7
|
-
technical terms, product voice, or required
|
|
6
|
+
Owner: Worker within one delegated Assignment. Boundary: remove repetition
|
|
7
|
+
without changing requirements, technical terms, product voice, or required
|
|
8
|
+
evidence. Read the Assignment through the semantic agent interface; do not edit
|
|
9
|
+
TOON files manually.
|
|
10
|
+
|
|
11
|
+
Apply the repository surgical-mutation rule from `AGENTS.md`; preserve
|
|
12
|
+
unrelated work and stop for Root input before expanding scope.
|
|
8
13
|
|
|
9
14
|
Completion: the compressed text is constraint-equivalent to the input and any
|
|
10
|
-
unresolvable ambiguity is explicit.
|
|
15
|
+
unresolvable ambiguity is explicit. Return one outcome from `completed`,
|
|
16
|
+
`blocked`, `needs_root_input`, or `failed` with changed paths, proof, and
|
|
17
|
+
remaining risk. Root records the result through `holycodex-agent assignment
|
|
18
|
+
result`; the Worker does not mutate global Intent lifecycle, make material
|
|
19
|
+
decisions, or perform Git/VCS.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Compress"
|
|
3
3
|
short_description: "Shorten assigned text without changing its contract or voice."
|
|
4
|
-
default_prompt: "When Root assigns
|
|
4
|
+
default_prompt: "When Root assigns a bounded compression Assignment, apply the repository surgical-mutation rule, produce one constraint-equivalent draft, and return completed, blocked, needs_root_input, or failed evidence for holycodex-agent."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|
|
@@ -6,10 +6,14 @@ description: Use when Root assigns a reproducible crash, wrong result, regressio
|
|
|
6
6
|
Reproduce the defect before changing code. A stable red case distinguishes
|
|
7
7
|
cause from symptom and makes the repair checkable.
|
|
8
8
|
|
|
9
|
-
Owner: Worker within
|
|
9
|
+
Owner: Worker within one delegated Assignment. Boundary: capture the smallest
|
|
10
10
|
failing input and trace, form an evidence-backed cause, apply the narrow fix,
|
|
11
11
|
and preserve unrelated behavior. Escalate competing causes or material
|
|
12
|
-
redesign.
|
|
12
|
+
redesign. Root creates/starts the Assignment and records the result through
|
|
13
|
+
`holycodex-agent assignment result`; the Worker must not mutate Intent state or
|
|
14
|
+
edit TOON files manually.
|
|
15
|
+
|
|
16
|
+
Apply the repository surgical-mutation rule from `AGENTS.md`.
|
|
13
17
|
|
|
14
18
|
Discover and use the repository-specific formatter, linter, typecheck, and
|
|
15
19
|
validation commands before and after the repair. Start with the smallest
|
|
@@ -17,6 +21,7 @@ relevant local proof and expand only when the defect crosses that boundary or
|
|
|
17
21
|
the release gate requires it; report unavailable commands rather than
|
|
18
22
|
inventing replacements.
|
|
19
23
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
Return one outcome from `completed`, `blocked`, `needs_root_input`, or
|
|
25
|
+
`failed`, including reproduction, cause, repair proof, and remaining
|
|
26
|
+
uncertainty. Completion requires the failure to be reproduced, the cause to be
|
|
27
|
+
supported by repository evidence, and the fix and regression proof to pass.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Debugging"
|
|
3
3
|
short_description: "Reproduce and repair one observable defect."
|
|
4
|
-
default_prompt: "When Root assigns a
|
|
4
|
+
default_prompt: "When Root assigns a bounded defect Assignment, apply the repository surgical-mutation rule, reproduce it, isolate its cause, make the narrow repair, prove the regression is gone, and return a structured outcome for holycodex-agent."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: handoff
|
|
3
|
-
description: Use when
|
|
3
|
+
description: Use when a caller needs a redacted projection of current Intent state for resume or export.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
Handoff is a projection/export only, not persistent workflow state. Read the
|
|
7
|
+
current Intent, Plan, and Assignments through `holycodex-agent`; never create a
|
|
8
|
+
handoff file or duplicate lifecycle, owner, blocker, evidence, or resume state.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Owner: Root. Boundary: request a compact redacted projection containing the
|
|
11
|
+
current Intent reference, Plan revision, Assignment statuses, evidence,
|
|
12
|
+
blockers, remaining risk, and exact next action; omit secrets, raw prompts,
|
|
13
|
+
transcripts, and unchanged narration. The authoritative state remains under
|
|
14
|
+
`.holycodex/{slug}-{short-id}/` and all mutations use semantic agent CLI
|
|
15
|
+
operations.
|
|
16
|
+
|
|
17
|
+
Completion: one bounded, redacted projection is ready for the receiving owner;
|
|
18
|
+
no second source of truth exists.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Handoff"
|
|
3
|
-
short_description: "
|
|
4
|
-
default_prompt: "When Root
|
|
3
|
+
short_description: "Export a redacted projection of current Intent state."
|
|
4
|
+
default_prompt: "When Root needs a resume projection, read current Intent, Plan, and Assignments through holycodex-agent and export one redacted projection without creating duplicate state."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: false
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: operations
|
|
3
|
+
description: Use when Root assigns exact-ref CI or release observation; discover the repository topology and report terminal external evidence without mutation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Owner: Worker.operations within one delegated Assignment. Boundary: observe
|
|
7
|
+
only the exact approved ref and SHA after Root's VCS action. First discover the
|
|
8
|
+
repository's actual topology:
|
|
9
|
+
separate development/release gates, one combined pipeline, or no formal
|
|
10
|
+
separation. Do not assume GitHub, a branch name, or a provider.
|
|
11
|
+
|
|
12
|
+
The Assignment must include the exact ref, SHA, required checks, and whether
|
|
13
|
+
the observation is development CI or release verification. Do not rerun,
|
|
14
|
+
cancel, approve, merge, push, tag, publish, deploy, or otherwise mutate
|
|
15
|
+
external state. Pending or running is never success; report terminal green,
|
|
16
|
+
terminal failure, or an exact unavailable/ambiguous blocker.
|
|
17
|
+
|
|
18
|
+
Apply the repository surgical-mutation rule from `AGENTS.md` to any local
|
|
19
|
+
write, and stop for Root input before expanding scope. Do not edit TOON files manually;
|
|
20
|
+
do not create standalone handoff, Decision, or blocker files.
|
|
21
|
+
|
|
22
|
+
Return one outcome from `completed`, `blocked`, `needs_root_input`, or
|
|
23
|
+
`failed`, with discovered topology, exact ref/SHA, check or release results,
|
|
24
|
+
source references, and remaining risk. Root records it with
|
|
25
|
+
`holycodex-agent assignment result` and decides whether to delegate a fix and
|
|
26
|
+
repeats the post-integration cycle. A terminal green development result permits
|
|
27
|
+
Root to proceed to an authorized release action; after that action, observe the
|
|
28
|
+
release against its exact ref/SHA. If the repository has no distinct release
|
|
29
|
+
gate, report that topology explicitly and never invent a second gate. A
|
|
30
|
+
terminal failure returns control to Root for a bounded fix; this Assignment
|
|
31
|
+
never repairs, retries, approves, or mutates external state.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Operations"
|
|
3
|
+
short_description: "Observe exact-ref CI or release state to terminal evidence."
|
|
4
|
+
default_prompt: "Observe the assigned exact ref and SHA, discover the repository topology, report completed terminal CI or release evidence (pending is never success), return blocked or needs_root_input when unavailable, never mutate external state, and apply the repository surgical-mutation rule to any authorized local write."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: false
|
|
@@ -4,9 +4,21 @@ description: Use when Root faces unresolved architecture, scope, coordination, o
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
Owner: Root. Boundary: identify alternatives, constraints, risks, route,
|
|
7
|
-
acceptance evidence, exclusions, and recovery
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
acceptance evidence, exclusions, and recovery, then persist the semantic Plan
|
|
8
|
+
through `holycodex-agent plan revise`. Specialists may supply facts but may not
|
|
9
|
+
decide the outcome.
|
|
10
|
+
|
|
11
|
+
Create or read the current Intent with `holycodex-agent intent ...`, and create
|
|
12
|
+
the bounded delegated plan/review assignments before dispatch. A plan is optional for
|
|
13
|
+
trivial work. Do not edit TOON files manually.
|
|
14
|
+
|
|
15
|
+
Use `request_user_input` before seeking workflow Plan approval and whenever
|
|
16
|
+
ambiguity or missing material input blocks safe progress; persist that condition as
|
|
17
|
+
`needs_root_input` on the Intent or Plan. Apply the repository
|
|
18
|
+
surgical-mutation rule from `AGENTS.md`.
|
|
19
|
+
|
|
20
|
+
Persist the plan operation as a compact `completed`, `blocked`,
|
|
21
|
+
`needs_root_input`, or `failed` result with proof and remaining risk.
|
|
10
22
|
|
|
11
23
|
Completion: Root has an implementation-ready plan naming scope, owners and
|
|
12
24
|
seams, data and control flow, policy, recovery, tests, compatibility, the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Plan"
|
|
3
3
|
short_description: "Resolve material scope and architecture choices before work."
|
|
4
|
-
default_prompt: "When Root faces an unresolved material choice,
|
|
4
|
+
default_prompt: "When Root faces an unresolved material choice, persist an implementation-ready Plan through holycodex-agent, covering scope, route, risk, proof, and delegated Assignments; ask for material input and apply the repository surgical-mutation rule."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|
|
@@ -3,9 +3,21 @@ name: plan-review
|
|
|
3
3
|
description: Use when Root has a complete plan that needs adversarial review; check feasibility, order, risk, and proof to a fixed point.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Owner: Reviewer. Boundary: inspect the complete
|
|
6
|
+
Owner: Reviewer. Boundary: inspect the complete Plan once to a fixed point;
|
|
7
7
|
repair only reviewer-owned plan defects. Return material product or
|
|
8
|
-
architecture choices to Root.
|
|
8
|
+
architecture choices to Root. Root must delegate this review as an Assignment
|
|
9
|
+
and record its structured result through `holycodex-agent assignment result`.
|
|
10
|
+
|
|
11
|
+
Read the current Plan with `holycodex-agent plan read`; never edit TOON files
|
|
12
|
+
directly. A revision is a semantic `plan revise` operation that archives the
|
|
13
|
+
prior canonical Plan before replacement.
|
|
14
|
+
|
|
15
|
+
Apply the repository surgical-mutation rule from `AGENTS.md` to any repair. If
|
|
16
|
+
a material choice is unresolved, return `needs_root_input` rather than deciding
|
|
17
|
+
it.
|
|
18
|
+
|
|
19
|
+
Return `completed`, `blocked`, `needs_root_input`, or `failed` with findings,
|
|
20
|
+
proof, and remaining risk; Root records that outcome on the Assignment.
|
|
9
21
|
|
|
10
22
|
Completion: the plan is complete with proof, blocked with evidence, or
|
|
11
23
|
explicitly needs a Root decision.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Plan review"
|
|
3
3
|
short_description: "Review one complete plan to a fixed point."
|
|
4
|
-
default_prompt: "When Root has a complete
|
|
4
|
+
default_prompt: "When Root has a complete Plan, inspect it once, apply only surgical reviewer-owned repairs to a fixed point, and return a structured Assignment result for holycodex-agent."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|
|
@@ -3,9 +3,20 @@ name: programming
|
|
|
3
3
|
description: Use when Root has decided a seam and assigns bounded implementation, fixes, tests, or manifests with known acceptance behavior.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
Owner: Worker within one delegated Assignment. Read the Assignment and current
|
|
7
|
+
Intent through the semantic agent interface; do not edit TOON files manually.
|
|
8
|
+
Implement the decided seam inside the assigned files, and do not expand its
|
|
9
|
+
scope. Inspect the callers and tests needed to preserve behavior and typed
|
|
10
|
+
boundaries, then add focused proof at the least brittle observable boundary.
|
|
11
|
+
|
|
12
|
+
Apply the repository surgical-mutation rule from `AGENTS.md`.
|
|
13
|
+
|
|
14
|
+
Return exactly one compact specialist outcome: `completed`, `blocked`,
|
|
15
|
+
`needs_root_input`, or `failed`, with changed paths, checks and results,
|
|
16
|
+
evidence, and remaining risk. Root records it with
|
|
17
|
+
`holycodex-agent assignment result`; the Worker never changes global Intent
|
|
18
|
+
lifecycle, makes material decisions, or performs Git/VCS.
|
|
19
|
+
|
|
20
|
+
Discover and use the repository's own validation commands and run the smallest
|
|
21
|
+
relevant check first; broaden when the seam or release gate requires it.
|
|
22
|
+
Inspect changed files and remove incidental generated output before stopping.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Programming"
|
|
3
3
|
short_description: "Implement one decided seam with proportional proof."
|
|
4
|
-
default_prompt: "When Root assigns a
|
|
4
|
+
default_prompt: "When Root assigns a bounded Assignment, apply the repository surgical-mutation rule, implement only that seam, add focused proof, inspect changed files, and return completed, blocked, needs_root_input, or failed evidence for holycodex-agent."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|
|
@@ -3,9 +3,20 @@ name: refactor
|
|
|
3
3
|
description: Use when Root has decided one seam needs restructuring; preserve behavior, ownership, and interfaces.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
Owner: Worker within one delegated Assignment. Read the current Assignment
|
|
7
|
+
through the semantic agent interface; do not edit TOON files manually. Restructure
|
|
8
|
+
only the decided seam. Trace its callers before changing a shared root cause,
|
|
9
|
+
preserve public behavior and interfaces, and keep the smallest cohesive change.
|
|
10
|
+
|
|
11
|
+
Apply the repository surgical-mutation rule from `AGENTS.md`.
|
|
12
|
+
Preserve unrelated work and stop for Root input before expanding scope.
|
|
13
|
+
|
|
14
|
+
Discover the repository's own validation commands and run the smallest relevant
|
|
15
|
+
behavior-locked check first; broaden when the changed boundary or release gate
|
|
16
|
+
requires it. Inspect changed files and remove incidental generated output
|
|
17
|
+
before stopping.
|
|
18
|
+
|
|
19
|
+
Return one outcome from `completed`, `blocked`, `needs_root_input`, or `failed`,
|
|
20
|
+
with changed paths, checks and results, evidence, and remaining risk. The Worker
|
|
21
|
+
does not mutate global Intent lifecycle, make material decisions, or perform
|
|
22
|
+
Git/VCS; Root records the result through `holycodex-agent assignment result`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Refactor"
|
|
3
3
|
short_description: "Restructure one decided seam while preserving its contract."
|
|
4
|
-
default_prompt: "When Root assigns a
|
|
4
|
+
default_prompt: "When Root assigns a bounded refactor Assignment, apply the repository surgical-mutation rule, preserve behavior and interfaces, inspect changed files, prove the seam, and return completed, blocked, needs_root_input, or failed evidence for holycodex-agent."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|
|
@@ -3,8 +3,17 @@ name: rules
|
|
|
3
3
|
description: Use when Root assigns a repository rule discovery, validation, or application failure; trace the owning rule path.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Owner: Worker. Boundary: inspect the owning
|
|
7
|
-
deduplication, limits, caching, trust boundaries, and
|
|
6
|
+
Owner: Worker within one delegated Assignment. Boundary: inspect the owning
|
|
7
|
+
rule loader and preserve deduplication, limits, caching, trust boundaries, and
|
|
8
|
+
rule ownership. Read the Assignment through the semantic agent interface; do
|
|
9
|
+
not edit TOON files manually.
|
|
10
|
+
|
|
11
|
+
Apply the repository surgical-mutation rule from `AGENTS.md` to any repair.
|
|
12
|
+
Preserve unrelated work and stop for Root input before expanding scope.
|
|
8
13
|
|
|
9
14
|
Completion: the rule path, policy, observed failure, and verification evidence
|
|
10
|
-
are explicit, or the exact blocker is returned.
|
|
15
|
+
are explicit, or the exact blocker is returned. Return one outcome from
|
|
16
|
+
`completed`, `blocked`, `needs_root_input`, or `failed` with changed paths,
|
|
17
|
+
proof, and remaining risk. Root records the result through
|
|
18
|
+
`holycodex-agent assignment result`; the Worker does not mutate global Intent
|
|
19
|
+
lifecycle, make material decisions, or perform Git/VCS.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Rules"
|
|
3
3
|
short_description: "Trace one repository rule discovery or application failure."
|
|
4
|
-
default_prompt: "When Root assigns a rule
|
|
4
|
+
default_prompt: "When Root assigns a bounded rule Assignment, apply the repository surgical-mutation rule, inspect the owning seam, and return completed, blocked, needs_root_input, or failed evidence for holycodex-agent."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|
|
@@ -7,6 +7,11 @@ Owner: Worker or Reviewer within the assigned prose surface. Boundary: edit
|
|
|
7
7
|
only the assigned text, preserve meaning and product voice, and use the linked
|
|
8
8
|
references for phrase, structure, and example branches when needed.
|
|
9
9
|
|
|
10
|
+
The prose edit is one delegated Assignment. Read its scope and constraints
|
|
11
|
+
through the semantic agent interface; do not edit TOON files manually. Apply the
|
|
12
|
+
repository surgical-mutation rule from `AGENTS.md`. Preserve unrelated work
|
|
13
|
+
and stop for Root input before expanding scope.
|
|
14
|
+
|
|
10
15
|
# Stop Slop
|
|
11
16
|
|
|
12
17
|
Remove predictable AI writing patterns from prose.
|
|
@@ -30,8 +35,11 @@ claims, throat-clearing, binary contrasts, meta-joiners, em dashes, and repeated
|
|
|
30
35
|
rhythm. Use [examples](references/examples.md) to calibrate edits.
|
|
31
36
|
|
|
32
37
|
Completion: the assigned prose is direct, specific, constraint-equivalent,
|
|
33
|
-
and reviewed against the relevant references; any deliberate voice tradeoff
|
|
34
|
-
|
|
38
|
+
and reviewed against the relevant references; any deliberate voice tradeoff is
|
|
39
|
+
recorded. Return one outcome from `completed`, `blocked`, `needs_root_input`, or
|
|
40
|
+
`failed` with changed paths, proof, and remaining risk. Root records the result
|
|
41
|
+
through `holycodex-agent assignment result`; do not mutate global Intent
|
|
42
|
+
lifecycle or perform Git/VCS.
|
|
35
43
|
|
|
36
44
|
## License
|
|
37
45
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Stop Slop"
|
|
3
3
|
short_description: "Edit assigned prose to remove predictable AI patterns."
|
|
4
|
-
default_prompt: "When Root assigns prose
|
|
4
|
+
default_prompt: "When Root assigns a bounded prose Assignment, apply the repository surgical-mutation rule and disclosed references, preserve meaning and voice, and return completed, blocked, needs_root_input, or failed evidence for holycodex-agent."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: writing-for-agents
|
|
3
|
-
description: Use when Root prepares or reviews a subagent delegation, handoff, profile, skill, prompt, or agent-facing instruction; write a low-context independent contract.
|
|
3
|
+
description: Use when Root prepares or reviews a subagent delegation, handoff, profile, skill, prompt, or agent-facing instruction; write a low-context independent contract. Load it before the first dispatch, then reuse it while the current context contains a complete usable load.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Writing for agents
|
|
@@ -19,8 +19,18 @@ must be able to act, prove, and stop without reconstructing intent.
|
|
|
19
19
|
|
|
20
20
|
Before any Root subagent dispatch, ensure this skill is fully loaded and applied
|
|
21
21
|
in the current context. Reuse the loaded instructions for later dispatches
|
|
22
|
-
while they remain complete; reload
|
|
23
|
-
|
|
22
|
+
while they remain complete and available; reload only when the current context
|
|
23
|
+
no longer contains a complete usable load.
|
|
24
|
+
|
|
25
|
+
## Dispatch contract
|
|
26
|
+
|
|
27
|
+
Root owns dispatch. Every specialist invocation is a bounded Assignment whose
|
|
28
|
+
objective, exact scope, exclusions, dependencies, acceptance criteria, proof
|
|
29
|
+
route, and return format are explicit. Independent, non-overlapping
|
|
30
|
+
Assignments may run concurrently; dependent work and writes to the same
|
|
31
|
+
mutable seam remain ordered. Leaves execute only their Assignment: they do not
|
|
32
|
+
delegate, message peers, mutate global Intent lifecycle, perform Git/VCS, or
|
|
33
|
+
make material product or architecture decisions.
|
|
24
34
|
|
|
25
35
|
## Information design
|
|
26
36
|
|
|
@@ -41,6 +51,11 @@ Keep each meaning in one source of truth. Treat code, configuration, directory l
|
|
|
41
51
|
|
|
42
52
|
Use architectural role names: Root owns material decisions, Workers implement bounded seams, Reviewers repair their assigned findings to fixed point, and other specialists follow their literal authority. Continuations carry changed constraints, evidence, decisions, and semantic delta instead of replaying accepted context.
|
|
43
53
|
|
|
54
|
+
Project the single repository surgical-mutation rule from `AGENTS.md` into
|
|
55
|
+
every write-capable Assignment: minimize the edit/write surface and operation
|
|
56
|
+
count while staying careful, complete, and evidence-driven. Do not create a
|
|
57
|
+
weaker or competing mutation variant in a profile, skill, or dispatch prompt.
|
|
58
|
+
|
|
44
59
|
When the document is a skill, read [SKILL-MECHANICS.md](SKILL-MECHANICS.md) for invocation and frontmatter mechanics.
|
|
45
60
|
|
|
46
61
|
Completion means the instruction routes at the right branch, names authority and exclusions, prevents premature completion, supplies checkable proof, and contains no duplicated or no-op policy.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Writing for agents"
|
|
3
3
|
short_description: "Design compact, independently actionable agent instructions."
|
|
4
|
-
default_prompt: "When Root prepares a delegation or agent-facing instruction, ensure this skill is loaded and applied in the current context, then write or review a compact contract with behavior, authority, evidence, escalation, and
|
|
4
|
+
default_prompt: "When Root prepares a delegation or agent-facing instruction, ensure this skill is loaded and applied in the current context, then write or review a compact contract with behavior, authority, evidence, escalation, completion, and the repository surgical-mutation rule."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|