holycodex 0.16.8 → 0.16.9-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.
Files changed (32) hide show
  1. package/README.md +9 -3
  2. package/dist/agent.js +50 -41
  3. package/dist/assets/plugin/plugin.json +1 -1
  4. package/dist/assets/plugin/skills/babysit-ci/SKILL.md +16 -36
  5. package/dist/assets/plugin/skills/code-review/SKILL.md +1 -8
  6. package/dist/assets/plugin/skills/codebase-onboarding/SKILL.md +11 -0
  7. package/dist/assets/plugin/skills/codebase-onboarding/agents/openai.yaml +6 -0
  8. package/dist/assets/plugin/skills/commit/SKILL.md +6 -16
  9. package/dist/assets/plugin/skills/commit/agents/openai.yaml +1 -1
  10. package/dist/assets/plugin/skills/compress/SKILL.md +1 -1
  11. package/dist/assets/plugin/skills/context7-cli/SKILL.md +2 -4
  12. package/dist/assets/plugin/skills/continue-work/SKILL.md +15 -0
  13. package/dist/assets/plugin/skills/continue-work/agents/openai.yaml +6 -0
  14. package/dist/assets/plugin/skills/debugging/SKILL.md +7 -4
  15. package/dist/assets/plugin/skills/debugging/agents/openai.yaml +1 -1
  16. package/dist/assets/plugin/skills/grill-me/SKILL.md +1 -1
  17. package/dist/assets/plugin/skills/handoff/SKILL.md +2 -4
  18. package/dist/assets/plugin/skills/operations/SKILL.md +1 -1
  19. package/dist/assets/plugin/skills/plan/SKILL.md +1 -1
  20. package/dist/assets/plugin/skills/plan-review/SKILL.md +1 -1
  21. package/dist/assets/plugin/skills/programming/SKILL.md +3 -4
  22. package/dist/assets/plugin/skills/refactor/SKILL.md +1 -1
  23. package/dist/assets/plugin/skills/rules/SKILL.md +1 -1
  24. package/dist/assets/plugin/skills/stop-slop/SKILL.md +1 -1
  25. package/dist/assets/plugin/skills/testing-quality.md +0 -4
  26. package/dist/assets/plugin/skills/web-visualize/SKILL.md +17 -0
  27. package/dist/assets/plugin/skills/web-visualize/agents/openai.yaml +6 -0
  28. package/dist/assets/plugin/skills/writing-instructions/SKILL.md +30 -9
  29. package/dist/assets/plugin/skills/writing-instructions/agents/openai.yaml +1 -1
  30. package/dist/index.js +55 -53
  31. package/package.json +2 -2
  32. package/dist/assets/plugin/skills/writing-instructions/SKILL-MECHANICS.md +0 -16
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holycodex",
3
- "version": "0.16.8",
3
+ "version": "0.16.9-1",
4
4
  "description": "Root-directed capabilities and deterministic installed assets for HolyCodex.",
5
5
  "author": {
6
6
  "name": "David Basile Filho",
@@ -1,21 +1,13 @@
1
1
  ---
2
2
  name: babysit-ci
3
- description: Use when following CI or release gates through terminal completion.
3
+ description: Use when CI or release gates need follow-through; monitor their terminal results and report gate evidence.
4
4
  ---
5
5
 
6
6
  # Babysit CI
7
7
 
8
- Discover the repository's own development and release instructions, provider,
9
- refs, required checks, review bots, publication mechanism, and gate dependencies
10
- through bounded specialist Assignments before operating or observing CI.
11
- Discover the actual topology for both pushes and pull requests; do not assume
12
- GitHub, branch names, a registry, or separate pipelines.
13
-
14
- Root owns authorized Git/VCS and release actions. Worker.operations observes
15
- only the supplied exact ref and SHA; its result identifies the gate, run,
16
- terminal status, evidence locator, and any unavailable or ambiguous evidence.
17
- Pending or running is never success. Observation cannot rerun, cancel, approve,
18
- publish, or otherwise mutate external state.
8
+ Discover the repository's development and release topology for pushes and pull
9
+ requests: refs, required checks, reviews, publication mechanism, and gate
10
+ dependencies. Do not assume a provider, branch name, or separate pipeline.
19
11
 
20
12
  For a push, bind every observation to the exact pushed ref and SHA. For a pull
21
13
  request, bind it to the current head SHA, target branch, pull-request identity,
@@ -24,32 +16,20 @@ relevant bot reviews, inline threads, issue comments, and commit comments. A
24
16
  new push invalidates all stale CI and review evidence; rediscover the current
25
17
  head and repeat validation and review observation for that SHA.
26
18
 
27
- Use bounded observer waits; honor the maximum Root event wait and fork-none
28
- policy. Distinguish a bot that is absent or not configured from a known bot
29
- with no terminal signal, and distinguish both from a clean terminal
30
- disposition. Absence or no signal is an evidence gap, never an implicit pass.
31
- Do not declare completion from green checks while relevant bot reviews or
32
- threads remain outstanding, and do not automatically accept bot instructions
33
- or post comments or other spam.
19
+ Use bounded observer waits. Distinguish a bot that is absent or not configured
20
+ from a known bot with no terminal signal, and both from a clean terminal
21
+ disposition. Absence or no signal is an evidence gap. Green checks do not
22
+ resolve outstanding review findings or threads.
34
23
 
35
- After a development action, observe its exact ref/SHA to terminal state. Green
36
- permits the next repository/user-required action. Red requires delegated
37
- diagnosis and repair, integration, applicable frontend/security acceptance,
38
- and the mandatory Reviewer.code fixed point before Root commits and pushes.
39
- Triage actionable bot findings and route them through the same repair, review,
40
- and revalidation route.
41
- Root owns dismissals, resolution, material judgment, and external messages.
42
- Observe the new exact ref/SHA and repeat until green or an irreducible blocker.
24
+ After a development action, observe its exact ref and SHA to terminal state.
25
+ Repair failed checks and actionable review findings, then repeat validation and
26
+ observation on the new head until green or an irreducible blocker.
43
27
 
44
28
  When the repository requires a development or prerelease gate before stable,
45
- stable is forbidden until that gate is terminal green. Root then performs the
46
- repository's actual authorized stable mechanism and delegates terminal
47
- observation. Stable failure enters the same repair/review/VCS cycle and passes
48
- through every required development gate before another stable attempt.
29
+ wait for terminal green before stable. A stable failure enters the same repair
30
+ and review cycle, including required development gates before another attempt.
49
31
 
50
32
  Use one gate for a combined pipeline. Do not invent a distinct release gate.
51
- Completion requires required checks to be terminal green and every relevant bot
52
- finding to have a supported terminal disposition, with an honest record of any
53
- bot absence or missing terminal signal. A successful push, started pipeline,
54
- or green checks without current review evidence does not complete this workflow;
55
- return a precise external blocker when the evidence cannot be obtained.
33
+ Completion requires terminal green checks and a supported terminal disposition
34
+ for relevant reviews on the current SHA. Return the precise external blocker
35
+ when terminal evidence cannot be obtained.
@@ -1,15 +1,8 @@
1
1
  ---
2
2
  name: code-review
3
- description: Use after implementation when Root needs adversarial code review and bounded repair to a fixed point.
3
+ description: Use when implementation is complete and Root needs adversarial code review; find defects and repair them within the assigned boundary until review reaches a fixed point.
4
4
  ---
5
5
 
6
6
  Inspect the integrated implementation against the `Reviewer.code` contract.
7
7
  Check callers, contracts, tests, and generated artifacts. Repair defects inside
8
8
  the review surface and return findings, repairs, checks, and remaining risk.
9
-
10
- Use one batched evidence sweep, reason over it, make targeted follow-ups only,
11
- and batch related repairs and verification.
12
-
13
- Lead with actionable findings and check evidence. Keep the terminal report
14
- concise and structured, reuse stable facts, and inspect large artifacts only
15
- when a material decision, conflict, failure, or finding requires it.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: codebase-onboarding
3
+ description: Use when someone needs a repository explanation or contributor orientation; summarize its purpose, structure, and workflows from evidence.
4
+ ---
5
+
6
+ Provide a bounded, read-only orientation to the current repository or answer a
7
+ repository question from its evidence. Cover the purpose, key structure and
8
+ dependencies, entry points, and important execution or data flows relevant to
9
+ the request. Return concrete evidence and file locators; Root synthesizes the
10
+ explanation from specialist findings. Change persistent documentation only
11
+ when requested.
@@ -0,0 +1,6 @@
1
+ interface:
2
+ display_name: "Codebase onboarding"
3
+ short_description: "Explain a repository from a bounded read-only map."
4
+ default_prompt: "Explain how this repository works."
5
+ policy:
6
+ allow_implicit_invocation: true
@@ -1,20 +1,10 @@
1
1
  ---
2
2
  name: commit
3
- description: Use when Root creates a local commit after scope and proof are settled.
3
+ description: Use when Root is ready to commit settled and verified work; create the smallest coherent commits that follow repository conventions.
4
4
  ---
5
5
 
6
- Root uses this workflow after exact scope and local proof are settled. Verify
7
- the diff, generated-artifact cleanup, ignore coverage, and staged secret
8
- exclusions before creating the local commit.
9
-
10
- Require a passing Reviewer.code fixed-point result after implementation or a
11
- major codebase change before this VCS exception is used.
12
-
13
- After integration, Root commits the exact authorized scope. For subsequent CI
14
- or release work, load [babysit-ci](../babysit-ci/SKILL.md), which owns that
15
- lifecycle. Root's authority policy owns approval requirements and existing
16
- user authorization.
17
-
18
- Completion: Root reports the commit identity and post-commit status with
19
- redacted evidence, or returns an exact reproducible blocker. Never print secret
20
- values.
6
+ After scope and proof are settled, follow the repository's commit conventions
7
+ and create the smallest coherent set of atomic commits, each with a separately
8
+ meaningful purpose. Include only the authorized scope and review the staged
9
+ diff before committing. Return commit identities and the resulting repository
10
+ state, or the exact blocker.
@@ -1,6 +1,6 @@
1
1
  interface:
2
2
  display_name: "Commit"
3
- short_description: "Create one local commit with exact scope proof."
3
+ short_description: "Create coherent local commits with exact scope proof."
4
4
  default_prompt: "Open the commit workflow for this invocation."
5
5
  policy:
6
6
  allow_implicit_invocation: false
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: compress
3
- description: Use when assigned text must be shortened without changing its contract or voice.
3
+ description: Use when assigned text must be shortened without changing its contract or voice; preserve meaning and constraints in a more concise version.
4
4
  ---
5
5
 
6
6
  Shorten only the assigned text. Preserve meaning, constraints, technical terms,
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: context7-cli
3
- description: Use when querying current technical documentation with Context7 CLI.
3
+ description: Use when current technical documentation is needed through Context7 CLI; find the requested version-specific facts.
4
4
  ---
5
5
 
6
6
  Resolve the requested library identity with the installed ctx7 CLI, then query
@@ -8,6 +8,4 @@ narrowly for the requested version and fact. Use the CLI's current help for
8
8
  command syntax. Return the resolved identity, version, relevant source locator,
9
9
  and the evidence state required by the canonical Librarian policy.
10
10
 
11
- That policy owns Context7-first enforcement, allowed fallback reasons, and
12
- decision authority. Tool documentation supplies facts; Root owns material
13
- product, architecture, dependency, compatibility, and implementation decisions.
11
+ The canonical Librarian policy owns Context7-first enforcement and fallback.
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: continue-work
3
+ description: Use when the user asks Root to continue existing HolyCodex work; restore its current state and carry unresolved work forward.
4
+ ---
5
+
6
+ Restore the current Intent, Plan if present, Assignments, accepted evidence,
7
+ decisions, completed work, and unresolved work. Reconcile that state with the
8
+ current repository and continue normal HolyCodex orchestration from the last
9
+ supported point; do not restart the same work as a new Intent.
10
+
11
+ Use `holycodex-agent state diagnose --intent <ref>` only when safe continuation
12
+ cannot be established from the available state and current evidence. Resolve a
13
+ recoverable inconsistency through its owning state operation, or return the
14
+ exact blocker to Root. An active Assignment is not failed without evidence that
15
+ its invocation stopped.
@@ -0,0 +1,6 @@
1
+ interface:
2
+ display_name: "Continue work"
3
+ short_description: "Resume the current HolyCodex work from durable state."
4
+ default_prompt: "Continue the current HolyCodex work."
5
+ policy:
6
+ allow_implicit_invocation: true
@@ -1,8 +1,11 @@
1
1
  ---
2
2
  name: debugging
3
- description: Use for a reproducible crash, wrong result, regression, hang, race, leak, or slowdown.
3
+ description: Use when an observable defect or unexplained behavior needs diagnosis; establish its cause and repair it within the assigned boundary.
4
4
  ---
5
5
 
6
- Reproduce the defect before changing code. Capture the smallest failing input
7
- and trace, identify the evidence-backed cause, make the narrow repair, and prove
8
- the regression is gone. Escalate competing causes or a material redesign.
6
+ Reproduce the issue with the smallest useful case when practical; otherwise,
7
+ establish its cause from strong observed evidence. Bound log review and use
8
+ temporary instrumentation only when it resolves uncertainty; remove temporary
9
+ instrumentation afterward. Repair only the assigned seam and prove the
10
+ regression is gone at an appropriate behavior boundary. Escalate materially
11
+ unresolved causes or a redesign.
@@ -1,6 +1,6 @@
1
1
  interface:
2
2
  display_name: "Debugging"
3
- short_description: "Reproduce and repair one observable defect."
3
+ short_description: "Diagnose an observable defect through reproduction or strong evidence."
4
4
  default_prompt: "Open the debugging workflow for this invocation."
5
5
  policy:
6
6
  allow_implicit_invocation: false
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: grill-me
3
- description: Use when an unspecified choice has multiple reasonable outcomes that could materially change the work.
3
+ description: Use when an unspecified choice has multiple materially different outcomes; ask focused questions to resolve the decision before work depends on it.
4
4
  ---
5
5
 
6
6
  # Grill me
@@ -1,11 +1,9 @@
1
1
  ---
2
2
  name: handoff
3
- description: Use when a caller needs a redacted projection of current Intent state for resume or export.
3
+ description: Use when current Intent state must be resumed or exported; produce a compact redacted status projection with evidence and next action.
4
4
  ---
5
5
 
6
6
  Produce one compact projection of current Intent, Plan, and Assignment status,
7
7
  evidence, blockers, remaining risk, and the exact next action. Omit secrets,
8
8
  raw prompts, transcripts, and unchanged narration. Handoff is an export view;
9
- the semantic state remains authoritative. Lead with observable evidence and
10
- material decisions, reuse stable facts, and inspect or include large material
11
- only when a material decision, conflict, failure, or finding requires it.
9
+ the semantic state remains authoritative.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: operations
3
- description: Use for a Worker.operations exact-ref/SHA observation Assignment.
3
+ description: Use when assigned a Worker.operations observation of an exact ref and SHA; verify terminal gates and report evidence or blockers.
4
4
  ---
5
5
 
6
6
  Load [babysit-ci](../babysit-ci/SKILL.md) before observing the supplied exact ref
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: plan
3
- description: Use when unresolved architecture, scope, coordination, or material risk requires an implementation-ready Plan.
3
+ description: Use when unresolved architecture, scope, coordination, or material risk needs resolution; produce an implementation-ready Plan with owners, seams, and proof.
4
4
  ---
5
5
 
6
6
  Resolve the current material choices into an implementation-ready Plan with
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: plan-review
3
- description: Use when a complete Plan needs adversarial feasibility, order, risk, and proof review.
3
+ description: Use when a complete Plan needs adversarial review; assess feasibility, ordering, risk, and proof, then return findings and corrections.
4
4
  ---
5
5
 
6
6
  Inspect the complete Plan for feasibility, ordering, risk, and proof. Return
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: programming
3
- description: Use when Root has decided a bounded implementation seam with known acceptance behavior.
3
+ description: Use when Root has decided a bounded implementation seam and its acceptance behavior; implement that seam and prove the required behavior.
4
4
  ---
5
5
 
6
- Implement only the decided seam. Inspect its callers and typed boundaries
7
- before implementation, and add proof at the least brittle observable boundary
8
- when the acceptance behavior requires it.
6
+ Implement only the decided seam and prove its acceptance behavior at the least
7
+ brittle observable boundary.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: refactor
3
- description: Use when one decided seam needs restructuring while preserving behavior and interfaces.
3
+ description: Use when one decided seam needs restructuring without behavior or interface changes; refactor that seam and verify its boundaries.
4
4
  ---
5
5
 
6
6
  Restructure only the decided seam. Trace callers before changing a shared root
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rules
3
- description: Use when a repository rule needs discovery, validation, or diagnosis of an application failure.
3
+ description: Use when a repository rule needs discovery, validation, or failure diagnosis; trace its owner and report the rule with evidence.
4
4
  ---
5
5
 
6
6
  Trace the owning rule loader and its limits, caching, trust boundary, and
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: stop-slop
3
- description: Use when assigned prose should lose predictable AI writing patterns while preserving voice.
3
+ description: Use when assigned prose has predictable AI writing patterns; remove them while preserving meaning and voice.
4
4
  ---
5
5
 
6
6
  Edit only the assigned prose. Remove filler, formulaic structure, vague claims,
@@ -10,7 +10,3 @@ wording, irrelevant call order, broad repository shape, or one implementation
10
10
  strategy. Prefer observable typed or public boundaries. Package-verification
11
11
  tests should consume the shipped artifact through one supported outer boundary
12
12
  with minimal realistic setup, proving behavior without duplicating the suite.
13
-
14
- The canonical testing policy owns proportional proof, required gates, and when
15
- to broaden or repeat checks. Role.task and the Assignment own the validator's
16
- authority; this reference adds only test-quality criteria.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: web-visualize
3
+ description: Use when the user requests or approves an interactive visualization; create a user-facing visual experience from the supplied material.
4
+ ---
5
+
6
+ Use ChatGPT Sites to create an interactive, user-facing visualization that
7
+ turns the supplied plan, analysis, design, structured information, or other
8
+ useful material into a clear, usable result. When the user explicitly requests
9
+ a visualization, create it without asking again. If you believe one would
10
+ materially improve a task but the user did not request it, ask Root to obtain
11
+ approval before creating it.
12
+
13
+ Return the visualization and enough context to verify that it answers the
14
+ request. If the requested result cannot be completed with an authorized,
15
+ available capability, return the specific blocker to Root. Publication,
16
+ sharing, and other consequential external effects require their usual
17
+ authorization.
@@ -0,0 +1,6 @@
1
+ interface:
2
+ display_name: "Web visualize"
3
+ short_description: "Turn useful information into an interactive user-facing visualization."
4
+ default_prompt: "Create the requested interactive visualization."
5
+ policy:
6
+ allow_implicit_invocation: true
@@ -1,15 +1,14 @@
1
1
  ---
2
2
  name: writing-instructions
3
- description: Use when authoring or reviewing model-facing instructions for GPT-6.
3
+ description: Use when model-facing instructions need authorship or review; make them coherent, scoped, and complete for their receiver.
4
4
  ---
5
5
 
6
6
  # Writing instructions
7
7
 
8
- HolyCodex's canonical instruction-authoring skill has a GPT-6 → GPT-6 direction.
9
- It covers developer_instructions, Root/session policy, specialist and Role.task
10
- instructions, skill bodies, conditional workflows, and task-specific contracts.
11
- Keep shared behavioral policy under one owner across model routes, while
12
- accounting for demonstrated model-specific capability or prompting differences.
8
+ Use this skill for model-facing instructions, including Root/session policy,
9
+ specialist and Role.task contracts, skills, and conditional workflows. Keep
10
+ shared behavior under one owner across model routes; account for model-specific
11
+ differences only when supported by evidence.
13
12
 
14
13
  Before writing, identify the receiver's effective context: higher-priority and
15
14
  user instructions, repository instructions, Role/task policy, relevant skills,
@@ -24,6 +23,17 @@ in Role.task, and genuinely conditional workflow or tool knowledge in a skill.
24
23
  Generated projections derive from or validate against that owner. Invocation
25
24
  metadata selects a branch; it does not become a second policy source.
26
25
 
26
+ Write instructions as short as possible without losing information that
27
+ materially constrains correct behavior. Preserve known task facts, defects,
28
+ distinctions, invariants, authority boundaries, required outcomes, and
29
+ acceptance conditions; do not make the receiver rediscover relevant known
30
+ facts. For implementation details that are not part of the contract and can be
31
+ reliably discovered during execution, point toward the authoritative source
32
+ instead of embedding them. Prefer generic guidance where the meaning is
33
+ general. Name exact implementation details only when needed to locate
34
+ authority, describe a known defect, preserve a distinction, or constrain exact
35
+ behavior.
36
+
27
37
  Define the required outcome and completion evidence, bounded authority, relevant
28
38
  constraints, material decisions or blockers that escalate, and stopping
29
39
  conditions. Keep required lifecycle and safety invariants explicit. Give the
@@ -37,9 +47,20 @@ policy, and unnecessary questionnaires. Preserve meaningful repository checks
37
47
  and review gates through their canonical owners instead of reproducing them in
38
48
  every skill. Use configuration for verbosity rather than generic style padding.
39
49
 
40
- When creating or changing a skill's invocation boundary or conditional branches,
41
- read [Skill mechanics](SKILL-MECHANICS.md). Other instruction changes do not need
42
- that reference.
50
+ Use a skill for a distinct conditional workflow or tool capability. Keep its
51
+ description short and specific enough to distinguish the invocation from
52
+ nearby skills. Avoid broad triggers that compete for ordinary work; audit
53
+ implicit invocation against the other skills the receiver can load.
54
+
55
+ Keep the main body focused on the shared outcome, boundaries, and acceptance
56
+ criteria. Link branch-specific tool knowledge or uncommon procedures from the
57
+ condition that needs them, so only the selected branch loads that detail. Do
58
+ not split a short coherent rule merely to create more files.
59
+
60
+ Keep display and invocation metadata in agents/openai.yaml and behavior in its
61
+ single authoritative source. References should supply a missing decision or
62
+ mechanic, not copies of the body or global policy. Preserve provenance and
63
+ license attribution under the original upstream names when renaming a skill.
43
64
 
44
65
  An instruction change is complete when the receiver can act within its authority,
45
66
  recognize completion and escalation boundaries, and return sufficient evidence;
@@ -1,6 +1,6 @@
1
1
  interface:
2
2
  display_name: "Writing instructions"
3
- short_description: "Author and review GPT-6 model instructions."
3
+ short_description: "Author and review model-facing instructions."
4
4
  default_prompt: "Use writing-instructions for this instruction change."
5
5
  policy:
6
6
  allow_implicit_invocation: true