create-egregore 0.19.30 → 0.19.31

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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // egregore-launcher-version: 0.19.30
2
+ // egregore-launcher-version: 0.19.31
3
3
  //
4
4
  // egregore — launch and browse Egregore instances from your terminal.
5
5
  // Installed by create-egregore. Reads ~/.egregore/instances.json.
@@ -33,7 +33,7 @@ const crypto = require("node:crypto");
33
33
  const { spawnSync, spawn } = require("node:child_process");
34
34
  const readline = require("node:readline");
35
35
 
36
- const VERSION = "0.19.30";
36
+ const VERSION = "0.19.31";
37
37
  const REGISTRY = path.join(os.homedir(), ".egregore", "instances.json");
38
38
  const DEFAULT_FILE = path.join(os.homedir(), ".egregore", "default");
39
39
  const UPDATE_CACHE_FILE = path.join(os.homedir(), ".egregore", "update-check.json");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-egregore",
3
- "version": "0.19.30",
3
+ "version": "0.19.31",
4
4
  "description": "Set up Egregore for your team in one command — installs the egregore launcher and your choice of Claude Code, Codex, or Pi.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: create-skill
3
+ description: 'Create a skill your org owns — scaffolded in this Egregore, protected from framework updates, shared with teammates via /save.'
4
+ ---
5
+
6
+ <!-- generated-by: bin/codex-sync-skills.sh -->
7
+
8
+ # Egregore create-skill 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/create-skill/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.
@@ -29,7 +29,7 @@
29
29
  {
30
30
  "section": "On Launch — MANDATORY FIRST ACTION",
31
31
  "action": "replace",
32
- "sourceHash": "3def4421213a",
32
+ "sourceHash": "233d160f9ca8",
33
33
  "note": "Claude SessionStart hook does not run on Codex; the egregore launcher renders the card via bin/codex-session-start.sh before the session. Greeting-replay instruction dropped (card is already on screen)."
34
34
  },
35
35
  {
@@ -41,7 +41,7 @@
41
41
  {
42
42
  "section": "Config Files",
43
43
  "action": "keep",
44
- "sourceHash": "8d7f1bd0f2d9",
44
+ "sourceHash": "4ca75fe428ca",
45
45
  "note": "Kept verbatim — shell facts, runtime-neutral."
46
46
  },
47
47
  {
@@ -101,7 +101,7 @@
101
101
  {
102
102
  "section": "Command Awareness",
103
103
  "action": "keep",
104
- "sourceHash": "d6fe47a75c00",
104
+ "sourceHash": "905ad739e18c",
105
105
  "note": "Prepended the Codex command surface (skill tokens, native vs adapter split, $save abstraction); disambiguation map kept with /x -> $x token rendering. Tokens with no Codex skill (e.g. /loop, a Claude Code harness feature) are left as-is."
106
106
  },
107
107
  {
@@ -216,7 +216,7 @@ If the startup card output contains `onboarding_needed`, invoke the `$onboarding
216
216
 
217
217
  ## Config Files
218
218
 
219
- - **`egregore.json`** — committed. Non-secret org config: `org_name`, `github_org`, `memory_repo`, `slug`, `mode`. `api_url` is connected-mode only. Optional `boundary { posture, read[], locked }` sets the org's isolation posture (see Environment Isolation). **Never put secrets here.**
219
+ - **`egregore.json`** — committed. Non-secret org config: `org_name`, `github_org`, `memory_repo`, `slug`, `mode`. `api_url` is connected-mode only. Optional `boundary { posture, read[], locked }` sets the org's isolation posture (see Environment Isolation). Optional `owned_skills[]` names org-authored skills in `.claude/skills/` that `$update` must never overwrite (created via `$create-skill`). **Never put secrets here.**
220
220
  - **`.env`** — gitignored. Personal secrets. Local mode: `GITHUB_TOKEN` only. Connected mode: `GITHUB_TOKEN` + `EGREGORE_API_KEY`. **Never use `source .env`** — use `grep '^KEY=' .env | cut -d'=' -f2-`.
221
221
 
222
222
  In connected mode, infrastructure credentials (Neo4j, Telegram) live on the API server only — `bin/graph.sh` and `bin/notify.sh` route through the API gateway.
@@ -395,9 +395,10 @@ Invoke commands from user intent — don't wait for the slash. Each command file
395
395
  **Knowledge** — `$search` `$deep-reflect` `$archive` `$note` `$add` `$meeting` `$ingest` `$scroll` `$mock` `$audit`
396
396
  **Identity** — `$me` (view profile or set display name)
397
397
  **Coordination** — `$ask` `$quest` `$issue` `$invite` `$delete-user` `$announce`
398
- **Connectors** — `$telegram-connect` (Telegram group setup) `$teams-connect` (Microsoft Teams channel setup)
398
+ **Connectors** — `$notion-connect` (Notion workspace) `$telegram-connect` (Telegram group setup) `$teams-connect` (Microsoft Teams channel setup)
399
399
  **Git** — `$branch` `$commit` `$push` `$pr` `$save` `$review-pr` `$contribute`
400
400
  **Spirits** — `$summon` (persistent agent processes)
401
+ **Skills** — `$create-skill` (org-owned skill: scaffold, protect from updates, share)
401
402
  **Infra** — `$setup` `$update` `$pull` `$env` `$infra` `$sync-repos` `$release` `$checkup`
402
403
 
403
404
  **Disambiguation:**
@@ -410,11 +411,12 @@ Invoke commands from user intent — don't wait for the slash. Each command file
410
411
  - Tasks: `$todo` (personal) · `$quest` (team exploration) · `$issue` (something broken)
411
412
  - Questions: `$ask [person]` (async) · just ask (agent answers from context)
412
413
  - Ingestion: `$ingest <file-or-folder>` (org-scoped corpus intake) · `$ingest meeting` · `$ingest user-interview` · `$ingest google` · ambiguous → ask which type
413
- - Connectors: `$telegram-connect` (Telegram group) · `$teams-connect` (MS Teams channel) · `$ingest` (bring content in)
414
+ - Connectors: `$notion-connect` (Notion workspace) · `$telegram-connect` (Telegram group) · `$teams-connect` (MS Teams channel) · `$ingest` (bring content in) · `$ingest notion` (promote Notion docs)
414
415
  - Identity: `$me` — "who am I", "call me oz"
415
416
  - People: `$invite` (add) · `$delete-user` (remove)
416
417
  - PRs: `$pr` (create) · `$review-pr` (review)
417
418
  - Contributing: `$contribute` (upstream framework) · `$save` (org repo) · `$issue` (report bug)
419
+ - Skills: `$create-skill` (new org-owned skill) · `$contribute` (change a framework skill for everyone)
418
420
  - Agents: `$summon` (design through questions) · `/loop` (quick recurring schedule)
419
421
  - Announcements: `$announce` (broadcast to group) · `$handoff` (structured to a person) · `bin/notify.sh send` (DM one person)
420
422
 
@@ -15,7 +15,7 @@ ROOT = Path(__file__).resolve().parent.parent
15
15
  CORPUS_SCHEMA = "egregore-ingest-corpus/v1"
16
16
  KNOWLEDGE_SCHEMA = "egregore-knowledge-projection/v1"
17
17
  PLAN_SCHEMA = "egregore-ingest-graph-plan/v2"
18
- SOURCE_KINDS = {"meeting", "interview", "google", "corpus", "document"}
18
+ SOURCE_KINDS = {"meeting", "interview", "google", "notion", "corpus", "document"}
19
19
  SOURCE_RELATIONS = {"INVOLVES", "CONDUCTED_BY"}
20
20
  ARTIFACT_RELATIONS = {"RELATES_TO", "SUPERSEDES"}
21
21
  ARTIFACT_LABELS = {
@@ -438,6 +438,8 @@ def source_shape(kind: str) -> tuple[str, str]:
438
438
  return "Interview:KnowledgeSource", "FROM_INTERVIEW"
439
439
  if kind == "google":
440
440
  return "Artifact:KnowledgeSource", "DERIVED_FROM"
441
+ if kind == "notion":
442
+ return "Artifact:KnowledgeSource", "DERIVED_FROM"
441
443
  if kind == "corpus":
442
444
  return "IngestSource:KnowledgeSource", "DERIVED_FROM"
443
445
  return "IngestDocument:Document:KnowledgeSource", "DERIVED_FROM"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "source": "egregore-runtime",
3
3
  "policy": "available OSS components selected by capability-distribution.json; Connect is an authenticated additive overlay",
4
- "skillCount": 41,
4
+ "skillCount": 42,
5
5
  "skills": [
6
6
  "activity",
7
7
  "announce",
@@ -10,6 +10,7 @@
10
10
  "checkup",
11
11
  "commit",
12
12
  "contribute",
13
+ "create-skill",
13
14
  "dark-mode",
14
15
  "dashboard",
15
16
  "deep-reflect",
@@ -60,6 +61,7 @@
60
61
  ".codex/skills/checkup/SKILL.md",
61
62
  ".codex/skills/commit/SKILL.md",
62
63
  ".codex/skills/contribute/SKILL.md",
64
+ ".codex/skills/create-skill/SKILL.md",
63
65
  ".codex/skills/dark-mode/SKILL.md",
64
66
  ".codex/skills/dashboard/SKILL.md",
65
67
  ".codex/skills/deep-reflect/SKILL.md",
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: create-skill
3
+ description: 'Create a skill your org owns — scaffolded in this Egregore, protected from framework updates, shared with teammates via /save.'
4
+ ---
5
+
6
+ <!-- generated-by: bin/codex-sync-skills.sh -->
7
+
8
+ # Egregore create-skill 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/create-skill/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.
@@ -29,7 +29,7 @@
29
29
  {
30
30
  "section": "On Launch — MANDATORY FIRST ACTION",
31
31
  "action": "replace",
32
- "sourceHash": "3def4421213a",
32
+ "sourceHash": "233d160f9ca8",
33
33
  "note": "Claude SessionStart hook does not run on Codex; the egregore launcher renders the card via bin/codex-session-start.sh before the session. Greeting-replay instruction dropped (card is already on screen)."
34
34
  },
35
35
  {
@@ -41,7 +41,7 @@
41
41
  {
42
42
  "section": "Config Files",
43
43
  "action": "keep",
44
- "sourceHash": "8d7f1bd0f2d9",
44
+ "sourceHash": "4ca75fe428ca",
45
45
  "note": "Kept verbatim — shell facts, runtime-neutral."
46
46
  },
47
47
  {
@@ -101,7 +101,7 @@
101
101
  {
102
102
  "section": "Command Awareness",
103
103
  "action": "keep",
104
- "sourceHash": "d6fe47a75c00",
104
+ "sourceHash": "905ad739e18c",
105
105
  "note": "Prepended the Codex command surface (skill tokens, native vs adapter split, $save abstraction); disambiguation map kept with /x -> $x token rendering. Tokens with no Codex skill (e.g. /loop, a Claude Code harness feature) are left as-is."
106
106
  },
107
107
  {
@@ -142,7 +142,7 @@ If the startup card output contains `onboarding_needed`, invoke the `/onboarding
142
142
 
143
143
  ## Config Files
144
144
 
145
- - **`egregore.json`** — committed. Non-secret org config: `org_name`, `github_org`, `memory_repo`, `slug`, `mode`. `api_url` is connected-mode only. Optional `boundary { posture, read[], locked }` sets the org's isolation posture (see Environment Isolation). **Never put secrets here.**
145
+ - **`egregore.json`** — committed. Non-secret org config: `org_name`, `github_org`, `memory_repo`, `slug`, `mode`. `api_url` is connected-mode only. Optional `boundary { posture, read[], locked }` sets the org's isolation posture (see Environment Isolation). Optional `owned_skills[]` names org-authored skills in `.claude/skills/` that `/update` must never overwrite (created via `/create-skill`). **Never put secrets here.**
146
146
  - **`.env`** — gitignored. Personal secrets. Local mode: `GITHUB_TOKEN` only. Connected mode: `GITHUB_TOKEN` + `EGREGORE_API_KEY`. **Never use `source .env`** — use `grep '^KEY=' .env | cut -d'=' -f2-`.
147
147
 
148
148
  In connected mode, infrastructure credentials (Neo4j, Telegram) live on the API server only — `bin/graph.sh` and `bin/notify.sh` route through the API gateway.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "generatedBy": "bin/pi-render-spec.mjs",
3
3
  "source": "AGENTS.md generated Codex spec",
4
- "sourceHash": "6247d8070669",
5
- "outputHash": "117a6f3cafc3",
4
+ "sourceHash": "02c4d2d275db",
5
+ "outputHash": "dc9d961b8ce2",
6
6
  "adaptations": [
7
7
  "Pi project trust and APPEND_SYSTEM delivery",
8
8
  "Pi tool_call branch gate",
@@ -216,7 +216,7 @@ If the startup card output contains `onboarding_needed`, invoke the `$onboarding
216
216
 
217
217
  ## Config Files
218
218
 
219
- - **`egregore.json`** — committed. Non-secret org config: `org_name`, `github_org`, `memory_repo`, `slug`, `mode`. `api_url` is connected-mode only. Optional `boundary { posture, read[], locked }` sets the org's isolation posture (see Environment Isolation). **Never put secrets here.**
219
+ - **`egregore.json`** — committed. Non-secret org config: `org_name`, `github_org`, `memory_repo`, `slug`, `mode`. `api_url` is connected-mode only. Optional `boundary { posture, read[], locked }` sets the org's isolation posture (see Environment Isolation). Optional `owned_skills[]` names org-authored skills in `.claude/skills/` that `$update` must never overwrite (created via `$create-skill`). **Never put secrets here.**
220
220
  - **`.env`** — gitignored. Personal secrets. Local mode: `GITHUB_TOKEN` only. Connected mode: `GITHUB_TOKEN` + `EGREGORE_API_KEY`. **Never use `source .env`** — use `grep '^KEY=' .env | cut -d'=' -f2-`.
221
221
 
222
222
  In connected mode, infrastructure credentials (Neo4j, Telegram) live on the API server only — `bin/graph.sh` and `bin/notify.sh` route through the API gateway.
@@ -395,9 +395,10 @@ Invoke commands from user intent — don't wait for the slash. Each command file
395
395
  **Knowledge** — `$search` `$deep-reflect` `$archive` `$note` `$add` `$meeting` `$ingest` `$scroll` `$mock` `$audit`
396
396
  **Identity** — `$me` (view profile or set display name)
397
397
  **Coordination** — `$ask` `$quest` `$issue` `$invite` `$delete-user` `$announce`
398
- **Connectors** — `$telegram-connect` (Telegram group setup) `$teams-connect` (Microsoft Teams channel setup)
398
+ **Connectors** — `$notion-connect` (Notion workspace) `$telegram-connect` (Telegram group setup) `$teams-connect` (Microsoft Teams channel setup)
399
399
  **Git** — `$branch` `$commit` `$push` `$pr` `$save` `$review-pr` `$contribute`
400
400
  **Spirits** — `$summon` (persistent agent processes)
401
+ **Skills** — `$create-skill` (org-owned skill: scaffold, protect from updates, share)
401
402
  **Infra** — `$setup` `$update` `$pull` `$env` `$infra` `$sync-repos` `$release` `$checkup`
402
403
 
403
404
  **Disambiguation:**
@@ -410,11 +411,12 @@ Invoke commands from user intent — don't wait for the slash. Each command file
410
411
  - Tasks: `$todo` (personal) · `$quest` (team exploration) · `$issue` (something broken)
411
412
  - Questions: `$ask [person]` (async) · just ask (agent answers from context)
412
413
  - Ingestion: `$ingest <file-or-folder>` (org-scoped corpus intake) · `$ingest meeting` · `$ingest user-interview` · `$ingest google` · ambiguous → ask which type
413
- - Connectors: `$telegram-connect` (Telegram group) · `$teams-connect` (MS Teams channel) · `$ingest` (bring content in)
414
+ - Connectors: `$notion-connect` (Notion workspace) · `$telegram-connect` (Telegram group) · `$teams-connect` (MS Teams channel) · `$ingest` (bring content in) · `$ingest notion` (promote Notion docs)
414
415
  - Identity: `$me` — "who am I", "call me oz"
415
416
  - People: `$invite` (add) · `$delete-user` (remove)
416
417
  - PRs: `$pr` (create) · `$review-pr` (review)
417
418
  - Contributing: `$contribute` (upstream framework) · `$save` (org repo) · `$issue` (report bug)
419
+ - Skills: `$create-skill` (new org-owned skill) · `$contribute` (change a framework skill for everyone)
418
420
  - Agents: `$summon` (design through questions) · `/loop` (quick recurring schedule)
419
421
  - Announcements: `$announce` (broadcast to group) · `$handoff` (structured to a person) · `bin/notify.sh send` (DM one person)
420
422
 
@@ -15,7 +15,7 @@ ROOT = Path(__file__).resolve().parent.parent
15
15
  CORPUS_SCHEMA = "egregore-ingest-corpus/v1"
16
16
  KNOWLEDGE_SCHEMA = "egregore-knowledge-projection/v1"
17
17
  PLAN_SCHEMA = "egregore-ingest-graph-plan/v2"
18
- SOURCE_KINDS = {"meeting", "interview", "google", "corpus", "document"}
18
+ SOURCE_KINDS = {"meeting", "interview", "google", "notion", "corpus", "document"}
19
19
  SOURCE_RELATIONS = {"INVOLVES", "CONDUCTED_BY"}
20
20
  ARTIFACT_RELATIONS = {"RELATES_TO", "SUPERSEDES"}
21
21
  ARTIFACT_LABELS = {
@@ -438,6 +438,8 @@ def source_shape(kind: str) -> tuple[str, str]:
438
438
  return "Interview:KnowledgeSource", "FROM_INTERVIEW"
439
439
  if kind == "google":
440
440
  return "Artifact:KnowledgeSource", "DERIVED_FROM"
441
+ if kind == "notion":
442
+ return "Artifact:KnowledgeSource", "DERIVED_FROM"
441
443
  if kind == "corpus":
442
444
  return "IngestSource:KnowledgeSource", "DERIVED_FROM"
443
445
  return "IngestDocument:Document:KnowledgeSource", "DERIVED_FROM"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "source": "egregore-pi-meta-harness",
3
3
  "policy": "Pi-native lifecycle layer over the available OSS Codex skill corpus",
4
- "skillCount": 41,
4
+ "skillCount": 42,
5
5
  "skills": [
6
6
  "activity",
7
7
  "announce",
@@ -10,6 +10,7 @@
10
10
  "checkup",
11
11
  "commit",
12
12
  "contribute",
13
+ "create-skill",
13
14
  "dark-mode",
14
15
  "dashboard",
15
16
  "deep-reflect",
@@ -59,6 +60,7 @@
59
60
  ".codex/skills/checkup/SKILL.md",
60
61
  ".codex/skills/commit/SKILL.md",
61
62
  ".codex/skills/contribute/SKILL.md",
63
+ ".codex/skills/create-skill/SKILL.md",
62
64
  ".codex/skills/dark-mode/SKILL.md",
63
65
  ".codex/skills/dashboard/SKILL.md",
64
66
  ".codex/skills/deep-reflect/SKILL.md",