create-egregore 0.19.22 → 0.19.24

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 (125) hide show
  1. package/assets/egregore-launcher.js +50 -7
  2. package/assets/egregore-launcher.sh +10 -2
  3. package/bin/cli.js +21 -3
  4. package/lib/codex-runtime.js +25 -3
  5. package/lib/connect-runtime.js +329 -0
  6. package/lib/pi-runtime.js +23 -3
  7. package/lib/setup.js +13 -0
  8. package/package.json +3 -3
  9. package/runtime/codex/.codex/skills/handoff/SKILL.md +99 -13
  10. package/runtime/codex/.codex/skills/save/SKILL.md +39 -4
  11. package/runtime/codex/.codex/spec-manifest.json +2 -2
  12. package/runtime/codex/AGENTS.md +18 -1
  13. package/runtime/codex/bin/agent.sh +28 -14
  14. package/runtime/codex/bin/attendant.sh +169 -6
  15. package/runtime/codex/bin/codex-render-spec.mjs +18 -1
  16. package/runtime/codex/bin/codex-session-start.sh +13 -0
  17. package/runtime/codex/bin/codex-skill-render.mjs +5 -0
  18. package/runtime/codex/bin/codex-sync-skills.sh +1 -0
  19. package/runtime/codex/bin/graph.sh +21 -1
  20. package/runtime/codex/bin/handoff-run.sh +88 -84
  21. package/runtime/codex/bin/index-handoff.sh +2 -1
  22. package/runtime/codex/bin/lib/context.sh +220 -172
  23. package/runtime/codex/bin/lib/dashboard-artifact.sh +113 -13
  24. package/runtime/codex/bin/lib/git-sync.sh +44 -8
  25. package/runtime/codex/bin/lib/greeting.sh +34 -11
  26. package/runtime/codex/bin/lib/identity.sh +32 -14
  27. package/runtime/codex/bin/person.py +20 -0
  28. package/runtime/codex/bin/publish-artifact.sh +25 -4
  29. package/runtime/codex/manifest.json +3 -72
  30. package/runtime/pi/.codex/skills/handoff/SKILL.md +99 -13
  31. package/runtime/pi/.codex/skills/save/SKILL.md +39 -4
  32. package/runtime/pi/.codex/spec-manifest.json +2 -2
  33. package/runtime/pi/.pi/APPEND_SYSTEM.md +18 -1
  34. package/runtime/pi/.pi/spec-manifest.json +2 -2
  35. package/runtime/pi/AGENTS.md +18 -1
  36. package/runtime/pi/bin/agent.sh +28 -14
  37. package/runtime/pi/bin/attendant.sh +169 -6
  38. package/runtime/pi/bin/codex-render-spec.mjs +18 -1
  39. package/runtime/pi/bin/codex-session-start.sh +13 -0
  40. package/runtime/pi/bin/codex-skill-render.mjs +5 -0
  41. package/runtime/pi/bin/codex-sync-skills.sh +1 -0
  42. package/runtime/pi/bin/graph.sh +21 -1
  43. package/runtime/pi/bin/handoff-run.sh +88 -84
  44. package/runtime/pi/bin/index-handoff.sh +2 -1
  45. package/runtime/pi/bin/lib/context.sh +220 -172
  46. package/runtime/pi/bin/lib/dashboard-artifact.sh +113 -13
  47. package/runtime/pi/bin/lib/git-sync.sh +44 -8
  48. package/runtime/pi/bin/lib/greeting.sh +34 -11
  49. package/runtime/pi/bin/lib/identity.sh +32 -14
  50. package/runtime/pi/bin/person.py +20 -0
  51. package/runtime/pi/bin/pi-product-workflows.mjs +19 -6
  52. package/runtime/pi/bin/publish-artifact.sh +25 -4
  53. package/runtime/pi/manifest.json +3 -72
  54. package/runtime/codex/.codex/skills/add/SKILL.md +0 -29
  55. package/runtime/codex/.codex/skills/answer/SKILL.md +0 -29
  56. package/runtime/codex/.codex/skills/ask/SKILL.md +0 -67
  57. package/runtime/codex/.codex/skills/audit/SKILL.md +0 -29
  58. package/runtime/codex/.codex/skills/autosave/SKILL.md +0 -29
  59. package/runtime/codex/.codex/skills/branch/SKILL.md +0 -29
  60. package/runtime/codex/.codex/skills/commit/SKILL.md +0 -29
  61. package/runtime/codex/.codex/skills/demo-mode/SKILL.md +0 -29
  62. package/runtime/codex/.codex/skills/deploy-bridge/SKILL.md +0 -29
  63. package/runtime/codex/.codex/skills/design/SKILL.md +0 -29
  64. package/runtime/codex/.codex/skills/egregore-voice/SKILL.md +0 -29
  65. package/runtime/codex/.codex/skills/emissary/SKILL.md +0 -45
  66. package/runtime/codex/.codex/skills/env/SKILL.md +0 -29
  67. package/runtime/codex/.codex/skills/ingest-google/SKILL.md +0 -29
  68. package/runtime/codex/.codex/skills/minion/SKILL.md +0 -29
  69. package/runtime/codex/.codex/skills/mock/SKILL.md +0 -29
  70. package/runtime/codex/.codex/skills/pr/SKILL.md +0 -29
  71. package/runtime/codex/.codex/skills/product-voice/SKILL.md +0 -29
  72. package/runtime/codex/.codex/skills/project/SKILL.md +0 -45
  73. package/runtime/codex/.codex/skills/pull/SKILL.md +0 -29
  74. package/runtime/codex/.codex/skills/push/SKILL.md +0 -29
  75. package/runtime/codex/.codex/skills/quest-suggest/SKILL.md +0 -29
  76. package/runtime/codex/.codex/skills/review-pr/SKILL.md +0 -45
  77. package/runtime/codex/.codex/skills/scroll/SKILL.md +0 -288
  78. package/runtime/codex/.codex/skills/scroll/agents/openai.yaml +0 -4
  79. package/runtime/codex/.codex/skills/scroll/assets/shell.html +0 -871
  80. package/runtime/codex/.codex/skills/search/SKILL.md +0 -79
  81. package/runtime/codex/.codex/skills/session-view/SKILL.md +0 -29
  82. package/runtime/codex/.codex/skills/setup/SKILL.md +0 -29
  83. package/runtime/codex/.codex/skills/summon/SKILL.md +0 -45
  84. package/runtime/codex/.codex/skills/task/SKILL.md +0 -29
  85. package/runtime/codex/.codex/skills/teams-connect/SKILL.md +0 -29
  86. package/runtime/codex/.codex/skills/telegram-connect/SKILL.md +0 -29
  87. package/runtime/codex/.codex/skills/the-spiral/SKILL.md +0 -84
  88. package/runtime/codex/.codex/skills/thread/SKILL.md +0 -29
  89. package/runtime/codex/.codex/skills/todo/SKILL.md +0 -45
  90. package/runtime/pi/.codex/skills/add/SKILL.md +0 -29
  91. package/runtime/pi/.codex/skills/answer/SKILL.md +0 -29
  92. package/runtime/pi/.codex/skills/ask/SKILL.md +0 -67
  93. package/runtime/pi/.codex/skills/audit/SKILL.md +0 -29
  94. package/runtime/pi/.codex/skills/autosave/SKILL.md +0 -29
  95. package/runtime/pi/.codex/skills/branch/SKILL.md +0 -29
  96. package/runtime/pi/.codex/skills/commit/SKILL.md +0 -29
  97. package/runtime/pi/.codex/skills/demo-mode/SKILL.md +0 -29
  98. package/runtime/pi/.codex/skills/deploy-bridge/SKILL.md +0 -29
  99. package/runtime/pi/.codex/skills/design/SKILL.md +0 -29
  100. package/runtime/pi/.codex/skills/egregore-voice/SKILL.md +0 -29
  101. package/runtime/pi/.codex/skills/emissary/SKILL.md +0 -45
  102. package/runtime/pi/.codex/skills/env/SKILL.md +0 -29
  103. package/runtime/pi/.codex/skills/ingest-google/SKILL.md +0 -29
  104. package/runtime/pi/.codex/skills/minion/SKILL.md +0 -29
  105. package/runtime/pi/.codex/skills/mock/SKILL.md +0 -29
  106. package/runtime/pi/.codex/skills/pr/SKILL.md +0 -29
  107. package/runtime/pi/.codex/skills/product-voice/SKILL.md +0 -29
  108. package/runtime/pi/.codex/skills/project/SKILL.md +0 -45
  109. package/runtime/pi/.codex/skills/pull/SKILL.md +0 -29
  110. package/runtime/pi/.codex/skills/push/SKILL.md +0 -29
  111. package/runtime/pi/.codex/skills/quest-suggest/SKILL.md +0 -29
  112. package/runtime/pi/.codex/skills/review-pr/SKILL.md +0 -45
  113. package/runtime/pi/.codex/skills/scroll/SKILL.md +0 -288
  114. package/runtime/pi/.codex/skills/scroll/agents/openai.yaml +0 -4
  115. package/runtime/pi/.codex/skills/scroll/assets/shell.html +0 -871
  116. package/runtime/pi/.codex/skills/search/SKILL.md +0 -79
  117. package/runtime/pi/.codex/skills/session-view/SKILL.md +0 -29
  118. package/runtime/pi/.codex/skills/setup/SKILL.md +0 -29
  119. package/runtime/pi/.codex/skills/summon/SKILL.md +0 -45
  120. package/runtime/pi/.codex/skills/task/SKILL.md +0 -29
  121. package/runtime/pi/.codex/skills/teams-connect/SKILL.md +0 -29
  122. package/runtime/pi/.codex/skills/telegram-connect/SKILL.md +0 -29
  123. package/runtime/pi/.codex/skills/the-spiral/SKILL.md +0 -84
  124. package/runtime/pi/.codex/skills/thread/SKILL.md +0 -29
  125. package/runtime/pi/.codex/skills/todo/SKILL.md +0 -45
@@ -1,79 +0,0 @@
1
- ---
2
- name: search
3
- description: Hybrid keyword + semantic recall over the org's shared memory (decisions, handoffs, quests, knowledge, meetings) when the user invokes /search or $search, or asks what the org knows/decided about a topic. Use proactively before answering questions about past work.
4
- ---
5
-
6
- # Egregore Search
7
-
8
- Native Codex Egregore skill. Fully local — no API calls, works in local and
9
- connected mode. Silence in your context does not mean silence in memory:
10
- search before answering from conversation context alone.
11
-
12
- ## Flow
13
-
14
- 1. Organizational recall must begin with the Egregore search entry point in
15
- step 2. Do not resolve `memory/` to its sibling Git repository, change into
16
- that absolute path, or improvise raw grep/listing as the first retrieval
17
- action. Use direct file reads or grep only on evidence paths returned by the
18
- ranked search.
19
-
20
- Before any shell, file-read, grep, or other retrieval tool call, send exactly
21
- one standalone commentary line:
22
-
23
- - local/filesystem-only:
24
- `⌕ Egregore · searching your organization’s memory`
25
- - connected mode with automatic graph enrichment:
26
- `⌕ Egregore Connect · searching your organization’s memory and relationships`
27
-
28
- Send the line verbatim. Do not replace it with generic narration such as
29
- “I’ll search org memory.” It must be visible before the tool call; captured
30
- command output does not satisfy this requirement. Emit it once even when the
31
- retrieval needs multiple queries or source reads.
32
-
33
- 2. Run the search:
34
-
35
- ```bash
36
- bash bin/search.sh query "your query" -n 6
37
- ```
38
-
39
- - The command also prints the attribution as a direct-shell fallback. That
40
- captured banner is diagnostic redundancy, not the user-visible product beat.
41
- If the answer instead begins with a graph-only named read, follow the same
42
- global Egregore Retrieval Beat before that query.
43
- - Default is hybrid (BM25 + vector + rerank); it falls back to keyword
44
- search automatically when local models aren't built, with a note.
45
- - `--fast` — keyword only (BM25), instant. Use for exact terms: names,
46
- filenames, error strings.
47
- - `--semantic` — vector only. Use when the user's wording likely differs
48
- from the document's.
49
- - Graph enrichment is automatic in connected mode — hits carry `↳ graph`
50
- state lines (status, recipient, artifact type, quest) with no flag.
51
- `--no-enrich` skips it when speed matters; local mode never attempts it.
52
-
53
- 3. Search the *concept*, not the user's literal sentence. If the first query
54
- returns weak scores, run a second with different wording — one
55
- keyword-ish, one conceptual.
56
-
57
- 4. Results are snippets with `memory/...` file paths. Read the source file
58
- for anything you will cite or act on — snippets truncate, and memory
59
- files carry dates, authors, and caveats that change the answer.
60
-
61
- 5. Answer directly, citing file paths. If results are empty or weak, say so
62
- plainly — "nothing in memory on X" is a real answer. Do not present
63
- conversation-context guesses as memory.
64
-
65
- ## Routing
66
-
67
- - Searching *code* in the repo → use your normal file search, not this.
68
- - Relationship/status traversal in connected mode ("who claimed this
69
- handoff?") → `bin/graph.sh`. The graph finds links between things;
70
- search finds content inside things.
71
-
72
- ## Maintenance
73
-
74
- - Fully self-maintaining: every query re-indexes incrementally and warms
75
- missing embeddings in a background job. On a fresh machine the first
76
- searches run in keyword mode while the semantic index builds itself
77
- (~2GB one-time local model download); no manual setup.
78
- - `bash bin/search.sh reindex --embed` — force a full rebuild.
79
- - `bash bin/search.sh status` — index health.
@@ -1,29 +0,0 @@
1
- ---
2
- name: session-view
3
- description: 'Turn the current working session into an expressive, self-contained HTML view of how it evolved — steady work as a quiet spine, decisions as forks showing the road taken beside the roads not taken. Use for "/session-view", "make sense of this session", "turn this session into an artifact", "show how this session evolved".'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore session-view Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/session-view/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.
@@ -1,29 +0,0 @@
1
- ---
2
- name: setup
3
- description: 'Fallback Codex adapter for the Egregore setup workflow.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore setup Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/setup/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.
@@ -1,45 +0,0 @@
1
- ---
2
- name: summon
3
- description: 'Fallback Codex adapter for the Egregore summon workflow.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore summon Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- ## Structured UX parity
19
-
20
- This workflow has a Claude skill with user-visible structured output. After
21
- reading `.claude/skills/summon/SKILL.md`, reproduce the same visible UX in Codex:
22
-
23
- - Preserve TUI boxes, markdown tables, rich cards, browser artifact rendering,
24
- exact confirmation blocks, and "no preamble" rules from the source skill.
25
- - Use the source skill's frame width, section order, labels, status footer,
26
- and examples as the contract for the final response.
27
- - Never replace a required box/table/card/artifact view with a prose summary
28
- unless the user explicitly asks for a summary.
29
- - When the source says to output a TUI box directly, paste that box as the
30
- visible response, preferably in a `text` fenced block.
31
- - Never show raw JSON, raw command output, or unformatted script output when
32
- the source skill requires formatted status or rendered output.
33
-
34
- 1. Read `.claude/skills/summon/SKILL.md` for the workflow details.
35
- 2. Run the referenced `bin/` scripts directly from Codex.
36
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
37
- says they are required.
38
- 4. For every external notification, follow
39
- `.claude/context/notification-consent.md`: plan without sending, then show
40
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
41
- consent from the workflow request or a batch approval.
42
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
43
- calls when `egregore.json` declares `"mode": "local"`.
44
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
45
- handoffs.
@@ -1,29 +0,0 @@
1
- ---
2
- name: task
3
- description: 'Create, import, inspect, approve, answer, retry, complete, or cancel work in the hosted Egregore Agent Desk. Use for `/task`, `$task`, “send this work to the agents,” “start these tasks,” Markdown development batches, or checking hosted task progress. This skill submits work to the hosted pipeline; it does not implement the task in the current local session.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore task Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/task/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.
@@ -1,29 +0,0 @@
1
- ---
2
- name: teams-connect
3
- description: 'Fallback Codex adapter for the Egregore teams-connect workflow.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore teams-connect Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/teams-connect/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.
@@ -1,29 +0,0 @@
1
- ---
2
- name: telegram-connect
3
- description: 'Fallback Codex adapter for the Egregore telegram-connect workflow.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore telegram-connect Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/telegram-connect/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.
@@ -1,84 +0,0 @@
1
- ---
2
- name: the-spiral
3
- description: Run a Codex-native structured Socratic dialogue when the user invokes /the-spiral or $the-spiral to turn an intuition into rigorous, communicable output.
4
- ---
5
-
6
- # The Spiral
7
-
8
- Native Codex Egregore skill. The Spiral is a stateful Socratic process for
9
- developing, pressure-testing, and compressing a complex thesis.
10
-
11
- ## Setup
12
-
13
- Gather three inputs, using structured Codex question tooling when available and
14
- plain one-at-a-time questions otherwise:
15
-
16
- 1. Domain: what are we spiraling on?
17
- 2. Purpose: what should the process produce?
18
- 3. Known areas: what domains must be covered, if any?
19
-
20
- Create state files:
21
-
22
- ```text
23
- spiral_state.json
24
- spiral_artifacts/ring1
25
- spiral_artifacts/ring2
26
- spiral_artifacts/ring3
27
- spiral_artifacts/ring4
28
- spiral_artifacts/ring5
29
- ```
30
-
31
- State includes domain, purpose, addressable space, current ring, current loop,
32
- artifacts, emerged domains, parked threads, descents, and ring history.
33
-
34
- ## Rings
35
-
36
- 1. Seed: find the irreducible claim. Artifact:
37
- `spiral_artifacts/ring1/seed.md`.
38
- 2. Territory: map implications, tensions, contradictions, and open questions.
39
- Artifact: `spiral_artifacts/ring2/territory.md`.
40
- 3. Encounter: ground claims in reality. Research facts when needed and write
41
- domain artifacts under `spiral_artifacts/ring3/`.
42
- 4. Crucible: test objections and disconfirming evidence. Artifact:
43
- `spiral_artifacts/ring4/crucible.md`.
44
- 5. Compression: produce the final deliverables under
45
- `spiral_artifacts/ring5/`.
46
-
47
- Ask one question at a time. After each alignment check, update
48
- `spiral_state.json`. Render a compact text progress view only at setup,
49
- alignment checks, ring transitions, descents, resume, and completion.
50
-
51
- ## TUI Rendering
52
-
53
- Structured UX parity is required. The Spiral must present state as a structured
54
- terminal view at phase boundaries, not as loose paragraphs:
55
-
56
- - Show rings 1-5 with current/completed/parked status.
57
- - Show current thesis, emerged domains, parked threads, descents, and next
58
- question or alignment check.
59
- - Render only at setup, alignment checks, ring transitions, descents, resume,
60
- and completion.
61
- - On completion, render a final structured view with rings completed, loop
62
- count, deliverable paths, emerged domains, and parked threads.
63
- - Do not render mid-flow while asking a Socratic question.
64
-
65
- ## Flow Rules
66
-
67
- - If the user gives a marketing-like answer in Ring 1, push toward the real
68
- conviction.
69
- - If an objection breaks an earlier assumption, offer a descent to the right
70
- ring and record the reason.
71
- - Research is active only when factual claims need grounding or pressure.
72
- - Never force a domain that has not emerged from the user's answers.
73
- - If the user is tired or wants to pause, crystallize the current state and
74
- stop at an alignment boundary.
75
-
76
- ## Resume
77
-
78
- If `spiral_state.json` exists, summarize domain, ring, loop, and current
79
- artifacts, then ask whether to continue or start fresh.
80
-
81
- ## Completion
82
-
83
- The process ends when Ring 5 deliverables satisfy the user. Report artifact
84
- paths, rings completed, loop count, emerged domains, and any parked threads.
@@ -1,29 +0,0 @@
1
- ---
2
- name: thread
3
- description: 'Threads — directed work-stream primitive: store the intent, project the state. Use for /thread new|view|dash|fold|review — creating a thread, viewing one, regenerating the heat-ring dashboard, folding a confirmed decision into stored intent, or running the iteration review. Also triggers when a #thread-<slug>-foldin:v1 block is pasted.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore thread Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/thread/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.
@@ -1,45 +0,0 @@
1
- ---
2
- name: todo
3
- description: 'Fallback Codex adapter for the Egregore todo workflow.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore todo Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- ## Structured UX parity
19
-
20
- This workflow has a Claude skill with user-visible structured output. After
21
- reading `.claude/skills/todo/SKILL.md`, reproduce the same visible UX in Codex:
22
-
23
- - Preserve TUI boxes, markdown tables, rich cards, browser artifact rendering,
24
- exact confirmation blocks, and "no preamble" rules from the source skill.
25
- - Use the source skill's frame width, section order, labels, status footer,
26
- and examples as the contract for the final response.
27
- - Never replace a required box/table/card/artifact view with a prose summary
28
- unless the user explicitly asks for a summary.
29
- - When the source says to output a TUI box directly, paste that box as the
30
- visible response, preferably in a `text` fenced block.
31
- - Never show raw JSON, raw command output, or unformatted script output when
32
- the source skill requires formatted status or rendered output.
33
-
34
- 1. Read `.claude/skills/todo/SKILL.md` for the workflow details.
35
- 2. Run the referenced `bin/` scripts directly from Codex.
36
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
37
- says they are required.
38
- 4. For every external notification, follow
39
- `.claude/context/notification-consent.md`: plan without sending, then show
40
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
41
- consent from the workflow request or a batch approval.
42
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
43
- calls when `egregore.json` declares `"mode": "local"`.
44
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
45
- handoffs.
@@ -1,29 +0,0 @@
1
- ---
2
- name: add
3
- description: 'Fallback Codex adapter for the Egregore add workflow.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore add Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/add/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.
@@ -1,29 +0,0 @@
1
- ---
2
- name: answer
3
- description: 'Fallback Codex adapter for the Egregore answer workflow.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore answer Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/answer/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.
@@ -1,67 +0,0 @@
1
- ---
2
- name: ask
3
- description: Ask an asynchronous Egregore question to a teammate when the user invokes /ask or $ask, or help the current user formulate inward reflection questions.
4
- ---
5
-
6
- # Egregore Ask
7
-
8
- Native Codex Egregore skill. Use this when the user wants to ask a teammate a
9
- question, run a topic by someone, or inspect pending questions for themselves.
10
-
11
- ## Flow
12
-
13
- 1. Run `bin/agent.sh sync`.
14
- 2. Resolve the current author from `.egregore-state.json`, then git config.
15
- 3. Load people from `memory/people/*.md`. Match target names against filename,
16
- `name:`, `github:`, and heading text, case-insensitively. Strip leading `@`.
17
- 4. If the user named a target, draft one to four concrete questions. In
18
- connected mode, optionally gather context with `bin/graph.sh` queries, but
19
- suppress raw JSON and continue from memory files if graph access fails.
20
- 5. Preview the exact questions and target. Use structured Codex question
21
- tooling when available; otherwise render:
22
-
23
- ```text
24
- Save these questions?
25
- 1. Save as-is
26
- 2. Edit
27
- Other:
28
- ```
29
-
30
- 6. For each approved question, run:
31
-
32
- ```bash
33
- bin/agent.sh ask --from "$AUTHOR" --to "$TARGET" --topic "$TOPIC" --question "$QUESTION"
34
- ```
35
-
36
- Add harvest flags only when this ask is part of a harvest:
37
- `--harvest-id`, `--harvest-session-id`, `--turn`, `--question-intent`, and
38
- `--context-mode`.
39
-
40
- 7. In connected mode, follow
41
- `.claude/context/notification-consent.md`. Saving the questions is not
42
- notification consent. Prepare without sending:
43
-
44
- ```bash
45
- PLAN_JSON=$(bash bin/notify.sh plan send "$TARGET" "$AUTHOR has a question about \"$TOPIC\". Ask for \$activity to answer.")
46
- ```
47
-
48
- Show the exact organization, recipient, channel, and message in a separate
49
- Send / Edit / Cancel checkpoint. Only a Send response to that preview permits
50
- one approve + dispatch.
51
-
52
- 8. Report the created `memory/knowledge/questions/...` path and the truthful
53
- notification state.
54
-
55
- ## Inward Mode
56
-
57
- If no target matches, do not create a question file. Generate a small set of
58
- questions for the user to answer in-session, grounded in current conversation
59
- and memory context. Offer to save the result as a reflection only after the user
60
- answers.
61
-
62
- ## Rules
63
-
64
- - Person-targeted asks are asynchronous: store first; notification is a
65
- separate exact-consent action.
66
- - Local mode is filesystem-only; skip graph and notification calls.
67
- - Do not use Claude Code commands.
@@ -1,29 +0,0 @@
1
- ---
2
- name: audit
3
- description: 'Fallback Codex adapter for the Egregore audit workflow.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore audit Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/audit/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.
@@ -1,29 +0,0 @@
1
- ---
2
- name: autosave
3
- description: 'View or change your personal autosave settings, and merge staged auto-save PRs. The consent surface for ambient session capture.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore autosave Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/autosave/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.
@@ -1,29 +0,0 @@
1
- ---
2
- name: branch
3
- description: 'Fallback Codex adapter for the Egregore branch workflow.'
4
- ---
5
-
6
- <!-- generated-by: bin/codex-sync-skills.sh -->
7
-
8
- # Egregore branch Adapter
9
-
10
- This is fallback coverage for a long-tail Egregore workflow that has not been
11
- ported to a hand-written Codex-native skill yet.
12
-
13
- Use the project shell and filesystem directly. Do not invoke Claude Code
14
- commands. Translate interactive choices to structured Codex question tooling
15
- when it is available; otherwise render compact numbered choices with an
16
- `Other:` option and wait for the user.
17
-
18
- 1. Read `.claude/skills/branch/SKILL.md` for the workflow details.
19
- 2. Run the referenced `bin/` scripts directly from Codex.
20
- 3. Treat graph and publish steps as best-effort unless that workflow explicitly
21
- says they are required.
22
- 4. For every external notification, follow
23
- `.claude/context/notification-consent.md`: plan without sending, then show
24
- a separate exact Send / Edit / Cancel checkpoint. Never infer notification
25
- consent from the workflow request or a batch approval.
26
- 5. Keep local-mode behavior filesystem-first and avoid graph or notification
27
- calls when `egregore.json` declares `"mode": "local"`.
28
- 6. Never call the deprecated `egregore-handoff` CLI for Egregore project
29
- handoffs.