holycodex 0.16.1 → 0.16.2-dev.61.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 (28) hide show
  1. package/README.md +16 -21
  2. package/dist/assets/plugin/plugin.json +1 -1
  3. package/dist/assets/plugin/skills/code-review/SKILL.md +7 -5
  4. package/dist/assets/plugin/skills/commit/SKILL.md +11 -6
  5. package/dist/assets/plugin/skills/commit/agents/openai.yaml +1 -1
  6. package/dist/assets/plugin/skills/debugging/SKILL.md +6 -0
  7. package/dist/assets/plugin/skills/programming/SKILL.md +16 -4
  8. package/dist/assets/plugin/skills/refactor/SKILL.md +14 -5
  9. package/dist/assets/plugin/skills/testing-quality.md +8 -4
  10. package/dist/assets/plugin/skills/writing-for-agents/SKILL.md +6 -1
  11. package/dist/assets/plugin/skills/writing-for-agents/agents/openai.yaml +1 -1
  12. package/dist/index.js +56 -22376
  13. package/package.json +3 -3
  14. package/dist/assets/plugin/agents/explorer.md +0 -25
  15. package/dist/assets/plugin/agents/librarian.md +0 -26
  16. package/dist/assets/plugin/agents/reviewer.md +0 -27
  17. package/dist/assets/plugin/agents/root.md +0 -29
  18. package/dist/assets/plugin/agents/worker.md +0 -46
  19. package/dist/assets/plugin/compaction/holycodex.md +0 -11
  20. package/dist/assets/plugin/compaction/manifest.json +0 -5
  21. package/dist/assets/plugin/rules/holycodex.md +0 -27
  22. package/dist/assets/plugin/rules/manifest.json +0 -4
  23. package/dist/assets/plugin/skills/babysit-ci/SKILL.md +0 -17
  24. package/dist/assets/plugin/skills/babysit-ci/agents/openai.yaml +0 -6
  25. package/dist/assets/plugin/skills/lsp/SKILL.md +0 -11
  26. package/dist/assets/plugin/skills/lsp/agents/openai.yaml +0 -6
  27. package/dist/assets/plugin/skills/lsp-setup/SKILL.md +0 -11
  28. package/dist/assets/plugin/skills/lsp-setup/agents/openai.yaml +0 -6
package/README.md CHANGED
@@ -1,31 +1,24 @@
1
1
  # HolyCodex CLI
2
2
 
3
- ## What?
4
-
5
- The published `holycodex` package installs and removes HolyCodex through
6
- Codex's native plugin management. It also records the selected route plan,
7
- service tier, and optional capability selections in the owned configuration.
8
-
9
- ## Why?
10
-
11
- Native Codex plugin management owns installed assets and native subagent
12
- execution. The CLI is a small, typed configuration boundary around that
13
- platform surface.
14
-
15
- ## How?
3
+ The `holycodex` package is the public command-line entry point for installing,
4
+ inspecting, and removing HolyCodex through Codex's native plugin management.
16
5
 
17
6
  ```sh
18
7
  bunx holycodex install
8
+ bunx holycodex doctor
19
9
  bunx holycodex remove
20
10
  ```
21
11
 
22
- `--plan` selects routing only. `--tier` is independent and controls service
23
- handling without changing routes or authority. Optional selections are
24
- `--work`, `--frontend`, `--security`, and `--computer-use`; explicit
25
- selections and additional plugins fail closed when unavailable. Omitted
26
- Frontend and Security defaults may be recorded as missing or uncertain on a
27
- first install and retried on reinstall. `--json` emits one machine-readable
28
- result.
12
+ Use `--yes` when no interactive terminal is available. `--plan` selects native
13
+ Root and specialist routing only. `--tier` independently selects service
14
+ handling (`standard`, `fast`, or `fast-all`). The canonical plans are `go`,
15
+ `plus-low`, `plus`, `plus-high`, `pro-5x`, and `pro-20x`.
16
+
17
+ Frontend and Security are selected by default; Work and Computer Use are
18
+ opt-in. Selected capabilities must install and verify or installation fails.
19
+ Use `--json` for one validated machine-readable envelope. Human output reports
20
+ the version, plan, tier, selected capabilities, and actionable warnings without
21
+ printing the internal installation record.
29
22
 
30
23
  The development entry point is:
31
24
 
@@ -38,7 +31,9 @@ Command syntax and response contracts are owned by [CLI.md](../../docs/CLI.md).
38
31
  ## Contribute
39
32
 
40
33
  Use Bun through `mise`, keep changes within the assigned package seam, and run
41
- the relevant validation before handoff.
34
+ the relevant local validation before handoff. Never place environment secrets
35
+ or raw environment values in tracked files, package output, logs, CI artifacts,
36
+ or uploads.
42
37
 
43
38
  ## License
44
39
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holycodex",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "Root-directed capabilities and deterministic installed assets for HolyCodex.",
5
5
  "author": {
6
6
  "name": "David Basile Filho",
@@ -4,8 +4,8 @@ description: Use once after code or manifest implementation when Root needs adve
4
4
  ---
5
5
 
6
6
  Use this skill once after implementation or manifest work. Inspect the actual
7
- result to a fixed point before Root judges readiness. Apply [testing quality](../testing-quality.md)
8
- when judging new or modified tests.
7
+ integrated result to a fixed point before Root judges readiness. Apply
8
+ [testing quality](../testing-quality.md) when judging new or modified tests.
9
9
 
10
10
  Owner: Reviewer. Boundary: inspect the assigned diff, callers, contracts,
11
11
  tests, compatibility, and artifact. Repair only reviewer-owned defects inside
@@ -13,9 +13,11 @@ scope, verify each repair, and repeat until no assigned defect remains. Root
13
13
  retains architecture, product, scope, trust, interface, external-state, and
14
14
  final readiness decisions.
15
15
 
16
- Use the existing implementation before adding code, prefer standard-library
17
- or native behavior, trace callers before judging a shared root cause, and
18
- flag speculative abstractions or oversized diffs.
16
+ Use existing code and project conventions before adding code; prefer
17
+ standard-library or native behavior; trace callers before judging a shared root
18
+ cause; and flag speculative abstractions, pointless file splits, oversized or
19
+ unmergeable diffs, unclear dependency direction, and unnecessary tests.
20
+ Check that temporary/generated output is absent and Git/VCS remains Root-only.
19
21
 
20
22
  Completion: no reviewer-owned defect remains, verification evidence is
21
23
  recorded, and every residual risk or Root decision is explicit.
@@ -1,11 +1,16 @@
1
1
  ---
2
2
  name: commit
3
- description: Use when Root assigns a local commit after the exact scope is settled; verify scope, commit it, and report identity.
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: Worker. Boundary: verify status and commit only the assigned local
7
- scope. Preserve unrelated work; remote version-control mutation remains
8
- approval-gated.
6
+ Owner: Root. Boundary: perform all Git/VCS inspection and mutation. Verify the
7
+ exact diff scope, required local proof, temporary/generated-artifact cleanup,
8
+ and ignore coverage before staging. Preserve unrelated work and ensure
9
+ environment secrets, credentials, and private release material are absent from
10
+ the staged file list. Local commits need no user approval; every exact push,
11
+ tag, merge, CI trigger, publication, or other remote mutation requires fresh
12
+ user approval through native `request_user_input` immediately beforehand.
9
13
 
10
- Completion: the commit identity and post-commit status are reported, or an
11
- exact reproducible blocker is returned.
14
+ Completion: Root reports the commit identity and post-commit status with
15
+ redacted evidence, or returns an exact reproducible blocker. Never print secret
16
+ values.
@@ -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 assigns a local commit, verify the exact scope, create only that commit, and report identity and status."
4
+ default_prompt: "When Root owns a local commit, verify exact scope, required proof, ignore coverage, and secret exclusions, create only that commit, and report redacted identity and status."
5
5
  policy:
6
6
  allow_implicit_invocation: false
@@ -11,6 +11,12 @@ 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
12
  redesign.
13
13
 
14
+ Discover and use the repository-specific formatter, linter, typecheck, and
15
+ validation commands before and after the repair. Start with the smallest
16
+ relevant local proof and expand only when the defect crosses that boundary or
17
+ the release gate requires it; report unavailable commands rather than
18
+ inventing replacements.
19
+
14
20
  Completion: the failure is reproduced, the cause is supported by repository
15
21
  evidence, the fix and regression proof pass, and remaining uncertainty is
16
22
  recorded.
@@ -7,12 +7,24 @@ Implement only the assigned seam. Inspect required callers and tests, preserve
7
7
  typed boundaries and portability, edit only approved files, and make one
8
8
  bounded clarity pass.
9
9
 
10
- Reuse existing code, prefer standard-library or native behavior, trace every
11
- caller before repairing a shared root cause, and keep the diff minimal and
12
- bounded. Do not add speculative abstractions.
10
+ Prefer existing project conventions and standard-library or native behavior.
11
+ Trace every caller before repairing a shared root cause. Reuse an existing
12
+ boundary when it has real callers or clear near-term value; do not add
13
+ speculative abstractions or split a cohesive file without a concrete benefit.
14
+ Keep the smallest correct, independently mergeable diff with deliberate error
15
+ handling and sensible dependency direction. Git/VCS work remains Root-only.
16
+
17
+ Before checking a change, discover the repository's own formatter, linter,
18
+ typecheck, and validation commands from its package scripts, task config, and
19
+ contributor guidance. Run the smallest relevant local command first, then
20
+ broaden only when the changed boundary or release gate requires it; report
21
+ which commands were unavailable instead of inventing replacements.
13
22
 
14
23
  When implementation changes tests, apply [testing quality](../testing-quality.md)
15
- before adding or retaining them. Escalate material choices.
24
+ before adding or retaining them: protect a meaningful stable behavior at the
25
+ least brittle observable boundary, and avoid tests for implementation detail.
26
+ Remove temporary or incidental generated output before handoff. Escalate
27
+ material choices.
16
28
 
17
29
  Owner: Worker. Boundary: preserve repository-native ownership, dependency
18
30
  direction, trust checks, and acceptance behavior; do not broaden scope or
@@ -3,12 +3,21 @@ name: refactor
3
3
  description: Use when Root has decided one seam needs restructuring; preserve behavior, ownership, and interfaces.
4
4
  ---
5
5
 
6
- Reuse existing code and prefer standard-library or native behavior. Trace
7
- callers before changing a shared root cause, keep the diff minimal and
8
- bounded, and avoid speculative abstractions.
6
+ Prefer existing project conventions and standard-library or native behavior.
7
+ Trace callers before changing a shared root cause. Reuse an existing boundary
8
+ when it has real callers or clear near-term value; avoid speculative
9
+ abstractions and splitting a cohesive file without a concrete benefit. Keep
10
+ the smallest correct, independently mergeable diff with coherent dependency
11
+ direction. Git/VCS work remains Root-only.
12
+
13
+ Discover the repository-specific formatter, linter, typecheck, and validation
14
+ commands from its package scripts, task config, and contributor guidance. Run
15
+ the smallest relevant local proof first and broaden only when the changed
16
+ boundary or release gate requires it; do not invent unavailable commands.
9
17
 
10
18
  Owner: Worker. Boundary: change only the assigned seam; preserve ownership,
11
19
  dependency direction, public behavior, and interfaces.
12
20
 
13
- Completion: changed files are inspected and behavior-locked checks are clean,
14
- with any residual risk or blocker explicit.
21
+ Completion: changed files are inspected, focused behavior-locked checks are
22
+ clean, temporary/generated output is removed, and any residual risk or blocker
23
+ is explicit.
@@ -8,15 +8,19 @@ stable behavior, contracts, invariants, safety properties, compatibility
8
8
  guarantees, and meaningful failure modes. Prefer observable and typed or
9
9
  public boundaries while leaving implementation choices free.
10
10
 
11
- Before adding a regression or smoke test, identify:
11
+ Before adding a regression or package-verification test, identify:
12
12
 
13
13
  1. the stable behavior it protects;
14
14
  2. the real regression it catches;
15
15
  3. why a less brittle boundary cannot protect it.
16
16
 
17
- Remove or rewrite tests that freeze incidental counts, inventories, internal paths, prompt or skill sizes, exact non-contract wording, irrelevant call order, deleted names, broad repository shape, or one implementation strategy. Avoid large internal snapshots and static source inspection when a behavior check exists.
18
-
19
- A smoke test consumes the shipped artifact through one supported outer boundary with minimal realistic setup. It answers whether the artifact can start and perform its smallest supported job. It does not duplicate the suite, reproduce packaging logic, crawl file inventories, or accumulate historical implementation assertions.
17
+ Remove or rewrite tests that freeze incidental counts, inventories, internal
18
+ paths, prompt or skill sizes, exact non-contract wording, irrelevant call order,
19
+ deleted names, broad repository shape, or one implementation strategy. Avoid
20
+ large internal snapshots and static source inspection when a behavior check
21
+ exists. Package-verification tests should consume the shipped artifact through
22
+ one supported outer boundary with minimal realistic setup, proving a meaningful
23
+ artifact behavior without duplicating the suite or crawling inventories.
20
24
 
21
25
  Use proportional proof. A test that constrains more design than meaningful regression risk should not exist.
22
26
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: writing-for-agents
3
- description: Use when authoring or reviewing prompts, skills, profiles, delegations, handoffs, or agent-facing repository instructions; make them independently actionable with low context load.
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. Before each dispatch ensure this skill is loaded and applied; reuse it until compaction, a new context, or an incomplete/unavailable load.
4
4
  ---
5
5
 
6
6
  # Writing for agents
@@ -13,6 +13,11 @@ Treat each instruction as an interface with one contract:
13
13
 
14
14
  Write an objective, scope, retained constraints, evidence, exclusions, and the exact missing fact or material choice that returns to the owner. The receiver must be able to act, prove, and stop without reconstructing intent.
15
15
 
16
+ Before any Root subagent dispatch, ensure this skill is fully loaded and applied
17
+ in the current context. Reuse the loaded instructions for later dispatches
18
+ while they remain complete; reload after compaction, a new context, or an
19
+ incomplete/unavailable load.
20
+
16
21
  ## Information design
17
22
 
18
23
  A **context pointer** names out-of-context material and front-loads the branches that load it. Keep one trigger per genuine branch; synonyms spend permanent context without improving routing.
@@ -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 assigns agent-instruction work, write or review steering with clear behavior, reason, authority, evidence, escalation, and completion."
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 completion."
5
5
  policy:
6
6
  allow_implicit_invocation: true