@aacombarro89/praxis 0.1.13 → 0.1.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aacombarro89/praxis",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "A CLI that installs an AI methodology layer into a codebase.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -12,6 +12,28 @@ upkeep, keeps the hub wiki's cross-repo knowledge current, fans work out to
12
12
  cloned members in **audit mode only**, and never edits a member repo without
13
13
  the user's explicit confirmation.
14
14
 
15
+ **Planning entry.** Enter this pass in planning mode when the rule's planning
16
+ trigger routed here, or when `{{arguments}}` states a planning or
17
+ implementation question rather than a general sweep. Under planning entry:
18
+ scope step 4's fan-out to one read-only planning workstream per affected
19
+ cloned member instead of the full roster; treat steps 2 and 3 as optional
20
+ observations, skipped when they don't bear on the question; and collapse
21
+ steps 5 and 6 into a single planning synthesis — constraints, validation
22
+ commands, risks, and `file:line` evidence for the hub plan — instead of the
23
+ consolidated upkeep report. The entire pass runs read-only in this mode: hub
24
+ drift (step 2) and wiki staleness (step 3) are reported as proposals only,
25
+ and no `sync`, wiki edit, or instruction edit is applied until the user is
26
+ out of planning and confirms.
27
+
28
+ **CLI resolution (all repos).** In the hub and every cloned member, run
29
+ `praxis check` when that repo has an available `praxis` command. If `praxis` is
30
+ unavailable, immediately fall back to `npx @aacombarro89/praxis@latest check`
31
+ and continue the pass — a missing local command is not a reason to skip that
32
+ repo. Use the matching `praxis sync` or
33
+ `npx @aacombarro89/praxis@latest sync` invocation if drift needs syncing.
34
+ Always pin the fallback to `@latest`; never use a bare
35
+ `npx @aacombarro89/praxis`, which can silently reuse a stale cached build.
36
+
15
37
  1. **Read the workspace** from `praxis.yaml`'s `workspace:` section (members,
16
38
  edges, contract pages). If it is absent, say so and stop — this command is
17
39
  for a workspace hub only. Note any member whose directory isn't cloned yet;
@@ -31,15 +53,27 @@ the user's explicit confirmation.
31
53
  `{{workflow:praxis-wiki}}`'s own conventions and confirmation gate before
32
54
  creating or editing pages.
33
55
 
34
- 4. **Member fan-out (report-first).** For each **cloned** member, produce a
56
+ 4. **Member fan-out (report-first).** For each **cloned** member each
57
+ **affected** cloned member only, under planning entry — produce a
35
58
  per-member brief with `{{workflow:praxis-handoff}}` and delegate one
36
59
  workstream per member — where the tool lacks subagent spawning, execute the
37
- briefs sequentially instead. Each delegate works inside that member's own
38
- directory, reads that repo's own agent instructions and rules first, then
39
- runs its upkeep in **audit mode**: run `praxis check` there, assess
40
- instruction/wiki currency, and **return proposed edits without applying
41
- them**. Also have it flag any duplicated cross-repo integration prose that
42
- belongs in the hub's contract pages instead.
60
+ briefs sequentially instead. Every brief must name the resolved member root
61
+ (the hub root plus the member's declared `path`) and make the delegate's
62
+ first tool action use that root as its working directory; the delegate
63
+ confirms the root it used in its report. Each delegate reads that repo's own
64
+ `CLAUDE.md` and every file under `.claude/rules/` (Claude Code) or
65
+ `AGENTS.md` (Codex/agents-md) first, then `docs/wiki/index.md` when it
66
+ exists and the relevant pages those entrypoints identify, before inspecting
67
+ source.
68
+
69
+ When the focus is planning or an implementation question, do not stop at
70
+ methodology currency: state the concrete member-local question in the brief,
71
+ inspect the relevant implementation source and nearest tests, and return the
72
+ constraints, local validation commands, and unresolved risks with `file:line`
73
+ evidence. Keep the workstream in **audit mode**: run `praxis check` there,
74
+ assess instruction/wiki currency, and **return proposed edits without
75
+ applying them**. Also have it flag any duplicated cross-repo integration
76
+ prose that belongs in the hub's contract pages instead.
43
77
 
44
78
  5. **Edge-based staleness judgment.** For each member with changes since its
45
79
  relevant contract page was last touched (compare via `git log`), walk
@@ -13,5 +13,17 @@ member, an edge change), or on a periodic sweep, run
13
13
  `{{workflow:praxis-workspace-upkeep}}` rather than fixing hub/member drift
14
14
  piecemeal.
15
15
 
16
+ Planning trigger: when planning a change that may cross member boundaries, or
17
+ when the plan needs member implementation details, enter through
18
+ `{{workflow:praxis-workspace-upkeep}}` before finalizing the hub plan. Fan out
19
+ one read-only planning workstream per affected cloned member. Every brief names
20
+ the resolved member root and makes the delegate's first tool action start there;
21
+ the delegate reads that member's `CLAUDE.md` and every file under
22
+ `.claude/rules/` (Claude Code) or `AGENTS.md` (Codex/agents-md), plus
23
+ `docs/wiki/index.md` and relevant linked pages when present, then inspects the
24
+ implementation source and nearest tests. Synthesize the returned constraints,
25
+ validation commands, risks, and `file:line` evidence in the hub — never infer
26
+ member implementation from hub prose alone.
27
+
16
28
  Sovereignty: never edit a member repo's files from the hub uninvited — audit,
17
29
  propose, and apply only what the user confirms.