@jentrix/cli 0.5.3
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/LICENSE +21 -0
- package/README.md +54 -0
- package/claude-plugin/.claude-plugin/marketplace.json +16 -0
- package/claude-plugin/.claude-plugin/plugin.json +5 -0
- package/claude-plugin/commands/jentrix-align.md +113 -0
- package/claude-plugin/commands/jentrix-checkpoint.md +56 -0
- package/claude-plugin/commands/jentrix-connect.md +21 -0
- package/claude-plugin/commands/jentrix-end.md +62 -0
- package/claude-plugin/commands/jentrix-plan.md +66 -0
- package/claude-plugin/commands/jentrix-status.md +8 -0
- package/claude-plugin/hooks/hooks.json +57 -0
- package/codex-plugin/.agents/plugins/marketplace.json +20 -0
- package/codex-plugin/plugins/jentrix/.codex-plugin/plugin.json +26 -0
- package/codex-plugin/plugins/jentrix/hooks/hooks.json +87 -0
- package/codex-plugin/plugins/jentrix/skills/jentrix-align/SKILL.md +26 -0
- package/codex-plugin/plugins/jentrix/skills/jentrix-checkpoint/SKILL.md +21 -0
- package/codex-plugin/plugins/jentrix/skills/jentrix-connect/SKILL.md +21 -0
- package/codex-plugin/plugins/jentrix/skills/jentrix-end/SKILL.md +23 -0
- package/codex-plugin/plugins/jentrix/skills/jentrix-plan/SKILL.md +21 -0
- package/codex-plugin/plugins/jentrix/skills/jentrix-status/SKILL.md +10 -0
- package/dist/main.js +28496 -0
- package/package.json +61 -0
- package/surface.json +20808 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stacks-checkpoint
|
|
3
|
+
description: Distill verified session state into a typed Jentrix checkpoint that survives compaction or handoff.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Write a checkpoint
|
|
7
|
+
|
|
8
|
+
Write only what a fresh task could not cheaply rediscover:
|
|
9
|
+
|
|
10
|
+
- decisions and reasons;
|
|
11
|
+
- verified files, records, and ids changed;
|
|
12
|
+
- open questions and failed approaches;
|
|
13
|
+
- the single next step.
|
|
14
|
+
|
|
15
|
+
Do not summarize the transcript or promote guesses to facts. Push durable knowledge
|
|
16
|
+
with `jentrix push learning --title "Checkpoint — <topic>"`; otherwise use
|
|
17
|
+
`jentrix push report`. Relay the artifact id and explain the chosen kind. If task
|
|
18
|
+
status is stale, read the real columns and correct it.
|
|
19
|
+
|
|
20
|
+
The compact hooks preserve only the approved evidence boundary; this skill performs
|
|
21
|
+
the model-authored distillation.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stacks-connect
|
|
3
|
+
description: Connect the current Codex task to a Jentrix project using trusted lifecycle identity and start the session capture host.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Connect this Codex task
|
|
7
|
+
|
|
8
|
+
Run:
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
jentrix session attach --provider codex
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
If the user named a project, append `--project <value>`. Do not pass a
|
|
15
|
+
model-authored provider-session id: the CLI resolves the current Codex task from
|
|
16
|
+
trusted environment and lifecycle-hook context. Relay the command output or error
|
|
17
|
+
verbatim. The command starts the hook-watching host in the background and prints
|
|
18
|
+
its pid; do not start a second host. Never put credentials on the command line.
|
|
19
|
+
|
|
20
|
+
If trusted identity is unavailable, report the CLI's fallback exactly; do not guess
|
|
21
|
+
from Codex session files.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stacks-end
|
|
3
|
+
description: End a connected Jentrix session after preserving approved outputs, parking completed work in review, and reporting capture honestly.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# End the connected session
|
|
7
|
+
|
|
8
|
+
1. For an aligned session, offer to push a concise final `report`, any unrecorded
|
|
9
|
+
`decision` or `learning`, and a useful `diff`. Never invent content or record
|
|
10
|
+
material the operator declined.
|
|
11
|
+
2. If work is genuinely complete, read the board's real columns and move the task to
|
|
12
|
+
**In review**. Never self-accept it into Done.
|
|
13
|
+
3. Offer the operator a one-line project outcome; append only wording they supplied.
|
|
14
|
+
Declining never blocks closure.
|
|
15
|
+
4. Run `jentrix session end <session-id>` and relay all output, including the exact
|
|
16
|
+
telemetry line and any capture gap.
|
|
17
|
+
5. Explain that Codex lifecycle hooks do not report token receipts, so null token
|
|
18
|
+
fields are expected on hook-watched sessions. Do not report estimates.
|
|
19
|
+
6. A final-response artifact exists only when a prior `Stop` hook observed assistant
|
|
20
|
+
text before closure. The assistant text produced by this closing turn occurs after
|
|
21
|
+
the command and must not be claimed as captured.
|
|
22
|
+
7. The Jentrix session is sealed after end; do not retry pushes against it. Ending it
|
|
23
|
+
does not terminate the Codex task.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stacks-plan
|
|
3
|
+
description: Turn the opening request into an operator-approved goal and small Jentrix task set, then store the prompt and goal as typed artifacts.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Plan confirmed work
|
|
7
|
+
|
|
8
|
+
1. Confirm the session is aligned with `jentrix session status`; otherwise direct the
|
|
9
|
+
operator to `$jentrix-align` and create nothing.
|
|
10
|
+
2. Read the board's real columns.
|
|
11
|
+
3. Draft one measurable goal and one to four independent task titles. If the request
|
|
12
|
+
is already one unit of work, create no extra tasks.
|
|
13
|
+
4. Ask the operator to approve or replace the goal and every title. Their wording is
|
|
14
|
+
authoritative; never silently clean it up.
|
|
15
|
+
5. Create only approved tasks with stable idempotency keys, record the goal on the
|
|
16
|
+
aligned task, push the opening prompt verbatim as a `prompt` artifact, and push
|
|
17
|
+
the approved goal as a `goal` artifact.
|
|
18
|
+
6. Report created ids/keys and move only the task being started into the board's
|
|
19
|
+
actual working column.
|
|
20
|
+
|
|
21
|
+
If approval is declined, write nothing.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stacks-status
|
|
3
|
+
description: Show the connected Jentrix session, alignment, capture health, and honest telemetry availability for this Codex task.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Show session status
|
|
7
|
+
|
|
8
|
+
Run `jentrix session status` and append the session id when the user supplied one.
|
|
9
|
+
Relay stdout and stderr verbatim, including capture or telemetry warnings. Never turn
|
|
10
|
+
null token values into zero or infer provider usage that the hooks did not report.
|