create-egregore 0.20.2 → 0.21.0-runtime-mvp.2
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/assets/egregore-launcher.js +1013 -16
- package/bin/cli.js +11 -0
- package/lib/claude-runtime.js +192 -0
- package/lib/local.js +38 -31
- package/lib/pi-runtime.js +1 -0
- package/lib/prime-runtime.js +1 -0
- package/lib/runtime-identity.js +146 -0
- package/lib/setup.js +116 -17
- package/package.json +10 -6
- package/runtime/claude/.claude/context/commit-format.md +110 -0
- package/runtime/claude/.claude/context/git-language.md +46 -0
- package/runtime/claude/.claude/context/notification-consent.md +66 -0
- package/runtime/claude/.claude/context/pr-format.md +67 -0
- package/runtime/claude/.claude/context/telemetry.md +133 -0
- package/runtime/claude/.claude/hooks/boundary-check.sh +333 -0
- package/runtime/claude/.claude/hooks/branch-guard.sh +231 -0
- package/runtime/claude/.claude/hooks/card-context.sh +38 -0
- package/runtime/claude/.claude/hooks/emissary-detect.sh +53 -0
- package/runtime/claude/.claude/hooks/memory-refresh.sh +67 -0
- package/runtime/claude/.claude/hooks/onboarding-guard.sh +86 -0
- package/runtime/claude/.claude/hooks/retrieval-context.sh +43 -0
- package/runtime/claude/.claude/rules/voice-bedrock.md +73 -0
- package/runtime/claude/.claude/settings.json +131 -0
- package/runtime/claude/.claude/skills/activity/SKILL.md +68 -0
- package/runtime/claude/.claude/skills/announce/SKILL.md +54 -0
- package/runtime/claude/.claude/skills/archive/SKILL.md +71 -0
- package/runtime/claude/.claude/skills/branch/SKILL.md +147 -0
- package/runtime/claude/.claude/skills/checkup/SKILL.md +159 -0
- package/runtime/claude/.claude/skills/commit/SKILL.md +103 -0
- package/runtime/claude/.claude/skills/contribute/SKILL.md +343 -0
- package/runtime/claude/.claude/skills/create-skill/SKILL.md +135 -0
- package/runtime/claude/.claude/skills/dark-mode/SKILL.md +410 -0
- package/runtime/claude/.claude/skills/dashboard/SKILL.md +43 -0
- package/runtime/claude/.claude/skills/deep-reflect/REPORT.md +140 -0
- package/runtime/claude/.claude/skills/deep-reflect/RESEARCH.md +132 -0
- package/runtime/claude/.claude/skills/deep-reflect/ROLES.md +104 -0
- package/runtime/claude/.claude/skills/deep-reflect/SKILL.md +170 -0
- package/runtime/claude/.claude/skills/delete-user/SKILL.md +150 -0
- package/runtime/claude/.claude/skills/emissary/SKILL.md +220 -0
- package/runtime/claude/.claude/skills/handoff/SKILL.md +124 -0
- package/runtime/claude/.claude/skills/harvest/AUDIT.md +546 -0
- package/runtime/claude/.claude/skills/harvest/FORMAT.md +436 -0
- package/runtime/claude/.claude/skills/harvest/PROCESS.md +395 -0
- package/runtime/claude/.claude/skills/harvest/QUESTION_PALETTE.md +76 -0
- package/runtime/claude/.claude/skills/harvest/SKILL.md +100 -0
- package/runtime/claude/.claude/skills/ingest/SKILL.md +112 -0
- package/runtime/claude/.claude/skills/ingest-corpus/SKILL.md +187 -0
- package/runtime/claude/.claude/skills/ingest-notion/SKILL.md +214 -0
- package/runtime/claude/.claude/skills/ingest-user-interview/SKILL.md +65 -0
- package/runtime/claude/.claude/skills/ingest-user-interview/references/analysis-contract.md +125 -0
- package/runtime/claude/.claude/skills/invite/SKILL.md +111 -0
- package/runtime/claude/.claude/skills/issue/SKILL.md +104 -0
- package/runtime/claude/.claude/skills/me/SKILL.md +81 -0
- package/runtime/claude/.claude/skills/meeting/SKILL.md +76 -0
- package/runtime/claude/.claude/skills/meeting/references/analysis-contract.md +102 -0
- package/runtime/claude/.claude/skills/note/SKILL.md +71 -0
- package/runtime/claude/.claude/skills/notion-connect/SKILL.md +124 -0
- package/runtime/claude/.claude/skills/onboarding/SKILL.md +159 -0
- package/runtime/claude/.claude/skills/pr/SKILL.md +85 -0
- package/runtime/claude/.claude/skills/pull/SKILL.md +79 -0
- package/runtime/claude/.claude/skills/push/SKILL.md +47 -0
- package/runtime/claude/.claude/skills/quest/SKILL.md +121 -0
- package/runtime/claude/.claude/skills/reflect/SKILL.md +69 -0
- package/runtime/claude/.claude/skills/review-pr/SKILL.md +276 -0
- package/runtime/claude/.claude/skills/save/SKILL.md +92 -0
- package/runtime/claude/.claude/skills/slack-connect/SKILL.md +148 -0
- package/runtime/claude/.claude/skills/summon/SKILL.md +240 -0
- package/runtime/claude/.claude/skills/sync-repos/SKILL.md +82 -0
- package/runtime/claude/.claude/skills/teams-connect/SKILL.md +216 -0
- package/runtime/claude/.claude/skills/telegram-connect/SKILL.md +110 -0
- package/runtime/claude/.claude/skills/telemetry/SKILL.md +117 -0
- package/runtime/claude/.claude/skills/test/SKILL.md +87 -0
- package/runtime/claude/.claude/skills/the-spiral/SKILL.md +492 -0
- package/runtime/claude/.claude/skills/tui-design/SKILL.md +188 -0
- package/runtime/claude/.claude/skills/tutorial/SKILL.md +100 -0
- package/runtime/claude/.claude/skills/update/SKILL.md +265 -0
- package/runtime/claude/.claude/skills/view/SKILL.md +393 -0
- package/runtime/claude/.claude/skills/view/compose-scaffold.html +221 -0
- package/runtime/claude/.claude/skills/visual-explain/SKILL.md +132 -0
- package/runtime/claude/.claude/skills/wrap/SKILL.md +98 -0
- package/runtime/claude/CLAUDE.md +447 -0
- package/runtime/claude/bin/activity-action.sh +92 -0
- package/runtime/claude/bin/activity-data.sh +17 -0
- package/runtime/claude/bin/agent.sh +783 -0
- package/runtime/claude/bin/artifact-register.sh +164 -0
- package/runtime/claude/bin/artifact-writeback.sh +53 -0
- package/runtime/claude/bin/artifacts.sh +288 -0
- package/runtime/claude/bin/attendant.sh +707 -0
- package/runtime/claude/bin/autosave.sh +112 -0
- package/runtime/claude/bin/boundary.sh +253 -0
- package/runtime/claude/bin/build-sealed-dataroom.mjs +722 -0
- package/runtime/claude/bin/capture-reconcile.sh +69 -0
- package/runtime/claude/bin/capture-run.sh +357 -0
- package/runtime/claude/bin/codex-install-skills.sh +78 -0
- package/runtime/claude/bin/codex-render-spec.mjs +462 -0
- package/runtime/claude/bin/codex-session-start.sh +275 -0
- package/runtime/claude/bin/codex-skill-render.mjs +349 -0
- package/runtime/claude/bin/codex-sync-skills.sh +237 -0
- package/runtime/claude/bin/connect-refresh.sh +33 -0
- package/runtime/claude/bin/contribute-guard.sh +79 -0
- package/runtime/claude/bin/corpus_map.py +806 -0
- package/runtime/claude/bin/corpus_survey.py +304 -0
- package/runtime/claude/bin/dashboard-data.sh +18 -0
- package/runtime/claude/bin/github-auth.sh +121 -0
- package/runtime/claude/bin/graph-batch.sh +86 -0
- package/runtime/claude/bin/graph-op.sh +1106 -0
- package/runtime/claude/bin/graph-projection.sh +54 -0
- package/runtime/claude/bin/graph-wal.sh +242 -0
- package/runtime/claude/bin/graph.sh +267 -0
- package/runtime/claude/bin/handoff-lifecycle-job.sh +146 -0
- package/runtime/claude/bin/handoff-lifecycle.sh +280 -0
- package/runtime/claude/bin/handoff-pr-backfill.sh +86 -0
- package/runtime/claude/bin/handoff-preview.sh +169 -0
- package/runtime/claude/bin/handoff-run.sh +692 -0
- package/runtime/claude/bin/handoff-save-egregore.sh +224 -0
- package/runtime/claude/bin/index-handoff.sh +322 -0
- package/runtime/claude/bin/ingest-graph.sh +86 -0
- package/runtime/claude/bin/ingest-item.sh +10 -0
- package/runtime/claude/bin/ingest-surface.html +495 -0
- package/runtime/claude/bin/ingest.py +1011 -0
- package/runtime/claude/bin/ingest.sh +308 -0
- package/runtime/claude/bin/ingest_graph.py +856 -0
- package/runtime/claude/bin/ingest_surface.py +544 -0
- package/runtime/claude/bin/invite.sh +6 -0
- package/runtime/claude/bin/issue.sh +10 -0
- package/runtime/claude/bin/knowledge.sh +10 -0
- package/runtime/claude/bin/lib/artifact-id.sh +46 -0
- package/runtime/claude/bin/lib/config.sh +136 -0
- package/runtime/claude/bin/lib/context.sh +642 -0
- package/runtime/claude/bin/lib/dashboard-artifact.sh +242 -0
- package/runtime/claude/bin/lib/ensure-develop.sh +183 -0
- package/runtime/claude/bin/lib/git-message.sh +37 -0
- package/runtime/claude/bin/lib/git-sync.sh +494 -0
- package/runtime/claude/bin/lib/greeting.sh +548 -0
- package/runtime/claude/bin/lib/handoff-meta.sh +97 -0
- package/runtime/claude/bin/lib/hash.sh +13 -0
- package/runtime/claude/bin/lib/identity.sh +213 -0
- package/runtime/claude/bin/lib/metrics.sh +374 -0
- package/runtime/claude/bin/lib/noncode.sh +31 -0
- package/runtime/claude/bin/lib/permissions.sh +106 -0
- package/runtime/claude/bin/lib/time.sh +56 -0
- package/runtime/claude/bin/lib/worktree-links.sh +85 -0
- package/runtime/claude/bin/node-run.sh +42 -0
- package/runtime/claude/bin/notification.sh +6 -0
- package/runtime/claude/bin/notify.sh +636 -0
- package/runtime/claude/bin/observe-context.sh +14 -0
- package/runtime/claude/bin/onboarding.sh +6 -0
- package/runtime/claude/bin/person.py +634 -0
- package/runtime/claude/bin/person.sh +481 -0
- package/runtime/claude/bin/pi-render-spec.mjs +140 -0
- package/runtime/claude/bin/post-update.sh +37 -0
- package/runtime/claude/bin/prime-render-spec.mjs +147 -0
- package/runtime/claude/bin/publish-artifact.sh +324 -0
- package/runtime/claude/bin/publish-references.sh +144 -0
- package/runtime/claude/bin/quest.sh +9 -0
- package/runtime/claude/bin/question.sh +8 -0
- package/runtime/claude/bin/repo-state.sh +96 -0
- package/runtime/claude/bin/research-ingest.sh +7 -0
- package/runtime/claude/bin/restore-owned-skills.sh +67 -0
- package/runtime/claude/bin/retrieval_eval.py +385 -0
- package/runtime/claude/bin/runtime-identity.sh +70 -0
- package/runtime/claude/bin/runtime-upgrade.sh +43 -0
- package/runtime/claude/bin/scroll.sh +9 -0
- package/runtime/claude/bin/search.sh +318 -0
- package/runtime/claude/bin/session-autosave.sh +220 -0
- package/runtime/claude/bin/session-log.sh +199 -0
- package/runtime/claude/bin/session-start.sh +696 -0
- package/runtime/claude/bin/settings.sh +532 -0
- package/runtime/claude/bin/startup-check.sh +136 -0
- package/runtime/claude/bin/statusline.sh +41 -0
- package/runtime/claude/bin/telemetry.sh +666 -0
- package/runtime/claude/bin/test-changes.sh +344 -0
- package/runtime/claude/bin/thread.sh +9 -0
- package/runtime/claude/bin/todo.sh +9 -0
- package/runtime/claude/bin/view-render.sh +126 -0
- package/runtime/claude/bin/worktree-create.sh +145 -0
- package/runtime/claude/bin/worktree-remove.sh +50 -0
- package/runtime/claude/bin/worktree.sh +198 -0
- package/runtime/claude/egregore_runtime/__init__.py +228 -0
- package/runtime/claude/egregore_runtime/adapters/__init__.py +5 -0
- package/runtime/claude/egregore_runtime/adapters/invitation.py +237 -0
- package/runtime/claude/egregore_runtime/adapters/notification.py +59 -0
- package/runtime/claude/egregore_runtime/adapters/qmd.py +1701 -0
- package/runtime/claude/egregore_runtime/adapters/qmd_cli.py +210 -0
- package/runtime/claude/egregore_runtime/adapters/qmd_embed_worker.py +59 -0
- package/runtime/claude/egregore_runtime/admin_gate.py +102 -0
- package/runtime/claude/egregore_runtime/artifacts.py +523 -0
- package/runtime/claude/egregore_runtime/contracts.py +499 -0
- package/runtime/claude/egregore_runtime/entitlements.py +85 -0
- package/runtime/claude/egregore_runtime/errors.py +10 -0
- package/runtime/claude/egregore_runtime/graph.py +356 -0
- package/runtime/claude/egregore_runtime/handoff_lookup.py +196 -0
- package/runtime/claude/egregore_runtime/harness_cli.py +1221 -0
- package/runtime/claude/egregore_runtime/identity.py +734 -0
- package/runtime/claude/egregore_runtime/identity_cli.py +91 -0
- package/runtime/claude/egregore_runtime/ingest.py +575 -0
- package/runtime/claude/egregore_runtime/ingest_cli.py +254 -0
- package/runtime/claude/egregore_runtime/ingest_index_cli.py +147 -0
- package/runtime/claude/egregore_runtime/invitation_cli.py +51 -0
- package/runtime/claude/egregore_runtime/invitations.py +116 -0
- package/runtime/claude/egregore_runtime/issue_cli.py +305 -0
- package/runtime/claude/egregore_runtime/issues.py +359 -0
- package/runtime/claude/egregore_runtime/knowledge.py +376 -0
- package/runtime/claude/egregore_runtime/knowledge_cli.py +173 -0
- package/runtime/claude/egregore_runtime/lifecycle.py +888 -0
- package/runtime/claude/egregore_runtime/lifecycle_cli.py +269 -0
- package/runtime/claude/egregore_runtime/notification_cli.py +125 -0
- package/runtime/claude/egregore_runtime/notifications.py +230 -0
- package/runtime/claude/egregore_runtime/observe.py +342 -0
- package/runtime/claude/egregore_runtime/onboarding.py +290 -0
- package/runtime/claude/egregore_runtime/onboarding_cli.py +110 -0
- package/runtime/claude/egregore_runtime/policy.py +144 -0
- package/runtime/claude/egregore_runtime/profile.py +193 -0
- package/runtime/claude/egregore_runtime/quest_cli.py +216 -0
- package/runtime/claude/egregore_runtime/question_cli.py +180 -0
- package/runtime/claude/egregore_runtime/questions.py +304 -0
- package/runtime/claude/egregore_runtime/quests.py +419 -0
- package/runtime/claude/egregore_runtime/readiness.py +379 -0
- package/runtime/claude/egregore_runtime/research_ingest.py +256 -0
- package/runtime/claude/egregore_runtime/research_ingest_cli.py +44 -0
- package/runtime/claude/egregore_runtime/runtime.py +464 -0
- package/runtime/claude/egregore_runtime/scroll_cli.py +185 -0
- package/runtime/claude/egregore_runtime/scrolls.py +726 -0
- package/runtime/claude/egregore_runtime/status.py +412 -0
- package/runtime/claude/egregore_runtime/status_cli.py +174 -0
- package/runtime/claude/egregore_runtime/sync.py +218 -0
- package/runtime/claude/egregore_runtime/teamsync.py +139 -0
- package/runtime/claude/egregore_runtime/telemetry.py +640 -0
- package/runtime/claude/egregore_runtime/thread_cli.py +173 -0
- package/runtime/claude/egregore_runtime/threads.py +517 -0
- package/runtime/claude/egregore_runtime/todo_cli.py +142 -0
- package/runtime/claude/egregore_runtime/todos.py +244 -0
- package/runtime/claude/egregore_runtime/upgrade.py +770 -0
- package/runtime/claude/egregore_runtime/upgrade_worker.py +53 -0
- package/runtime/claude/egregore_runtime/writeback.py +391 -0
- package/runtime/claude/egregore_runtime/writeback_cli.py +114 -0
- package/runtime/claude/manifest.json +284 -0
- package/runtime/codex/.codex/hooks/search-hint.js +21 -52
- package/runtime/codex/.codex/hooks.json +3 -3
- package/runtime/codex/.codex/skills/activity/SKILL.md +23 -66
- package/runtime/codex/.codex/skills/announce/SKILL.md +27 -50
- package/runtime/codex/.codex/skills/archive/SKILL.md +21 -36
- package/runtime/codex/.codex/skills/checkup/SKILL.md +77 -36
- package/runtime/codex/.codex/skills/dark-mode/SKILL.md +1 -1
- package/runtime/codex/.codex/skills/dashboard/SKILL.md +17 -47
- package/runtime/codex/.codex/skills/handoff/SKILL.md +84 -133
- package/runtime/codex/.codex/skills/harvest/SKILL.md +32 -117
- package/runtime/codex/.codex/skills/ingest/SKILL.md +47 -25
- package/runtime/codex/.codex/skills/ingest-user-interview/SKILL.md +18 -36
- package/runtime/codex/.codex/skills/ingest-user-interview/references/analysis-contract.md +42 -0
- package/runtime/codex/.codex/skills/invite/SKILL.md +21 -35
- package/runtime/codex/.codex/skills/issue/SKILL.md +60 -41
- package/runtime/codex/.codex/skills/me/SKILL.md +1 -1
- package/runtime/codex/.codex/skills/meeting/SKILL.md +16 -36
- package/runtime/codex/.codex/skills/meeting/references/analysis-contract.md +48 -0
- package/runtime/codex/.codex/skills/note/SKILL.md +30 -25
- package/runtime/codex/.codex/skills/onboarding/SKILL.md +36 -41
- package/runtime/codex/.codex/skills/pull/SKILL.md +1 -1
- package/runtime/codex/.codex/skills/quest/SKILL.md +27 -66
- package/runtime/codex/.codex/skills/reflect/SKILL.md +22 -36
- package/runtime/codex/.codex/skills/save/SKILL.md +2 -2
- package/runtime/codex/.codex/skills/telemetry/SKILL.md +1 -1
- package/runtime/codex/.codex/skills/test/SKILL.md +1 -1
- package/runtime/codex/.codex/skills/tutorial/SKILL.md +40 -41
- package/runtime/codex/.codex/skills/view/SKILL.md +115 -111
- package/runtime/codex/.codex/skills/wrap/SKILL.md +45 -41
- package/runtime/codex/.codex/spec-manifest.json +9 -9
- package/runtime/codex/AGENTS.md +62 -58
- package/runtime/codex/bin/activity-action.sh +92 -0
- package/runtime/codex/bin/activity-data.sh +12 -233
- package/runtime/codex/bin/agent.sh +84 -100
- package/runtime/codex/bin/artifact-register.sh +164 -0
- package/runtime/codex/bin/artifact-writeback.sh +53 -0
- package/runtime/codex/bin/artifacts.sh +288 -0
- package/runtime/codex/bin/build-sealed-dataroom.mjs +722 -0
- package/runtime/codex/bin/capture-run.sh +18 -2
- package/runtime/codex/bin/codex-render-spec.mjs +41 -16
- package/runtime/codex/bin/codex-session-start.sh +14 -4
- package/runtime/codex/bin/codex-skill-render.mjs +9 -7
- package/runtime/codex/bin/corpus_map.py +806 -0
- package/runtime/codex/bin/corpus_survey.py +304 -0
- package/runtime/codex/bin/dashboard-data.sh +11 -171
- package/runtime/codex/bin/github-auth.sh +121 -0
- package/runtime/codex/bin/graph-batch.sh +7 -0
- package/runtime/codex/bin/graph-op.sh +4 -0
- package/runtime/codex/bin/graph-projection.sh +54 -0
- package/runtime/codex/bin/graph-wal.sh +13 -0
- package/runtime/codex/bin/graph.sh +44 -0
- package/runtime/codex/bin/handoff-lifecycle-job.sh +146 -0
- package/runtime/codex/bin/handoff-lifecycle.sh +280 -0
- package/runtime/codex/bin/handoff-preview.sh +169 -0
- package/runtime/codex/bin/handoff-run.sh +42 -26
- package/runtime/codex/bin/ingest-graph.sh +6 -0
- package/runtime/codex/bin/ingest-item.sh +10 -0
- package/runtime/codex/bin/ingest.sh +59 -30
- package/runtime/codex/bin/invite.sh +6 -0
- package/runtime/codex/bin/issue.sh +10 -0
- package/runtime/codex/bin/knowledge.sh +10 -0
- package/runtime/codex/bin/lib/config.sh +20 -0
- package/runtime/codex/bin/lib/context.sh +46 -25
- package/runtime/codex/bin/lib/git-sync.sh +70 -6
- package/runtime/codex/bin/lib/greeting.sh +34 -5
- package/runtime/codex/bin/lib/handoff-meta.sh +97 -0
- package/runtime/codex/bin/lib/worktree-links.sh +6 -0
- package/runtime/codex/bin/node-run.sh +42 -0
- package/runtime/codex/bin/notification.sh +6 -0
- package/runtime/codex/bin/observe-context.sh +14 -0
- package/runtime/codex/bin/onboarding.sh +6 -0
- package/runtime/codex/bin/person.py +4 -0
- package/runtime/codex/bin/person.sh +43 -10
- package/runtime/codex/bin/pi-render-spec.mjs +140 -0
- package/runtime/codex/bin/post-update.sh +37 -0
- package/runtime/codex/bin/prime-render-spec.mjs +147 -0
- package/runtime/codex/bin/publish-artifact.sh +55 -2
- package/runtime/codex/bin/quest.sh +9 -0
- package/runtime/codex/bin/question.sh +8 -0
- package/runtime/codex/bin/research-ingest.sh +7 -0
- package/runtime/codex/bin/restore-owned-skills.sh +67 -0
- package/runtime/codex/bin/retrieval_eval.py +385 -0
- package/runtime/codex/bin/runtime-identity.sh +70 -0
- package/runtime/codex/bin/runtime-upgrade.sh +43 -0
- package/runtime/codex/bin/scroll.sh +9 -0
- package/runtime/codex/bin/search.sh +231 -195
- package/runtime/codex/bin/settings.sh +174 -5
- package/runtime/codex/bin/startup-check.sh +136 -0
- package/runtime/codex/bin/telemetry.sh +522 -247
- package/runtime/codex/bin/test-changes.sh +344 -0
- package/runtime/codex/bin/thread.sh +9 -0
- package/runtime/codex/bin/todo.sh +9 -0
- package/runtime/codex/bin/view-render.sh +126 -0
- package/runtime/codex/bin/worktree-create.sh +19 -5
- package/runtime/codex/egregore_runtime/__init__.py +228 -0
- package/runtime/codex/egregore_runtime/adapters/__init__.py +5 -0
- package/runtime/codex/egregore_runtime/adapters/invitation.py +237 -0
- package/runtime/codex/egregore_runtime/adapters/notification.py +59 -0
- package/runtime/codex/egregore_runtime/adapters/qmd.py +1701 -0
- package/runtime/codex/egregore_runtime/adapters/qmd_cli.py +210 -0
- package/runtime/codex/egregore_runtime/adapters/qmd_embed_worker.py +59 -0
- package/runtime/codex/egregore_runtime/admin_gate.py +102 -0
- package/runtime/codex/egregore_runtime/artifacts.py +523 -0
- package/runtime/codex/egregore_runtime/contracts.py +499 -0
- package/runtime/codex/egregore_runtime/entitlements.py +85 -0
- package/runtime/codex/egregore_runtime/errors.py +10 -0
- package/runtime/codex/egregore_runtime/graph.py +356 -0
- package/runtime/codex/egregore_runtime/handoff_lookup.py +196 -0
- package/runtime/codex/egregore_runtime/harness_cli.py +1221 -0
- package/runtime/codex/egregore_runtime/identity.py +734 -0
- package/runtime/codex/egregore_runtime/identity_cli.py +91 -0
- package/runtime/codex/egregore_runtime/ingest.py +575 -0
- package/runtime/codex/egregore_runtime/ingest_cli.py +254 -0
- package/runtime/codex/egregore_runtime/ingest_index_cli.py +147 -0
- package/runtime/codex/egregore_runtime/invitation_cli.py +51 -0
- package/runtime/codex/egregore_runtime/invitations.py +116 -0
- package/runtime/codex/egregore_runtime/issue_cli.py +305 -0
- package/runtime/codex/egregore_runtime/issues.py +359 -0
- package/runtime/codex/egregore_runtime/knowledge.py +376 -0
- package/runtime/codex/egregore_runtime/knowledge_cli.py +173 -0
- package/runtime/codex/egregore_runtime/lifecycle.py +888 -0
- package/runtime/codex/egregore_runtime/lifecycle_cli.py +269 -0
- package/runtime/codex/egregore_runtime/notification_cli.py +125 -0
- package/runtime/codex/egregore_runtime/notifications.py +230 -0
- package/runtime/codex/egregore_runtime/observe.py +342 -0
- package/runtime/codex/egregore_runtime/onboarding.py +290 -0
- package/runtime/codex/egregore_runtime/onboarding_cli.py +110 -0
- package/runtime/codex/egregore_runtime/policy.py +144 -0
- package/runtime/codex/egregore_runtime/profile.py +193 -0
- package/runtime/codex/egregore_runtime/quest_cli.py +216 -0
- package/runtime/codex/egregore_runtime/question_cli.py +180 -0
- package/runtime/codex/egregore_runtime/questions.py +304 -0
- package/runtime/codex/egregore_runtime/quests.py +419 -0
- package/runtime/codex/egregore_runtime/readiness.py +379 -0
- package/runtime/codex/egregore_runtime/research_ingest.py +256 -0
- package/runtime/codex/egregore_runtime/research_ingest_cli.py +44 -0
- package/runtime/codex/egregore_runtime/runtime.py +464 -0
- package/runtime/codex/egregore_runtime/scroll_cli.py +185 -0
- package/runtime/codex/egregore_runtime/scrolls.py +726 -0
- package/runtime/codex/egregore_runtime/status.py +412 -0
- package/runtime/codex/egregore_runtime/status_cli.py +174 -0
- package/runtime/codex/egregore_runtime/sync.py +218 -0
- package/runtime/codex/egregore_runtime/teamsync.py +139 -0
- package/runtime/codex/egregore_runtime/telemetry.py +640 -0
- package/runtime/codex/egregore_runtime/thread_cli.py +173 -0
- package/runtime/codex/egregore_runtime/threads.py +517 -0
- package/runtime/codex/egregore_runtime/todo_cli.py +142 -0
- package/runtime/codex/egregore_runtime/todos.py +244 -0
- package/runtime/codex/egregore_runtime/upgrade.py +770 -0
- package/runtime/codex/egregore_runtime/upgrade_worker.py +53 -0
- package/runtime/codex/egregore_runtime/writeback.py +391 -0
- package/runtime/codex/egregore_runtime/writeback_cli.py +114 -0
- package/runtime/codex/manifest.json +98 -1
- package/runtime/pi/.codex/hooks/search-hint.js +21 -52
- package/runtime/pi/.codex/hooks.json +3 -3
- package/runtime/pi/.codex/skills/activity/SKILL.md +23 -66
- package/runtime/pi/.codex/skills/announce/SKILL.md +27 -50
- package/runtime/pi/.codex/skills/archive/SKILL.md +21 -36
- package/runtime/pi/.codex/skills/checkup/SKILL.md +77 -36
- package/runtime/pi/.codex/skills/dark-mode/SKILL.md +1 -1
- package/runtime/pi/.codex/skills/dashboard/SKILL.md +17 -47
- package/runtime/pi/.codex/skills/handoff/SKILL.md +84 -133
- package/runtime/pi/.codex/skills/harvest/SKILL.md +32 -117
- package/runtime/pi/.codex/skills/ingest/SKILL.md +47 -25
- package/runtime/pi/.codex/skills/ingest-user-interview/SKILL.md +18 -36
- package/runtime/pi/.codex/skills/ingest-user-interview/references/analysis-contract.md +42 -0
- package/runtime/pi/.codex/skills/invite/SKILL.md +21 -35
- package/runtime/pi/.codex/skills/issue/SKILL.md +60 -41
- package/runtime/pi/.codex/skills/me/SKILL.md +1 -1
- package/runtime/pi/.codex/skills/meeting/SKILL.md +16 -36
- package/runtime/pi/.codex/skills/meeting/references/analysis-contract.md +48 -0
- package/runtime/pi/.codex/skills/note/SKILL.md +30 -25
- package/runtime/pi/.codex/skills/onboarding/SKILL.md +36 -41
- package/runtime/pi/.codex/skills/pull/SKILL.md +1 -1
- package/runtime/pi/.codex/skills/quest/SKILL.md +27 -66
- package/runtime/pi/.codex/skills/reflect/SKILL.md +22 -36
- package/runtime/pi/.codex/skills/save/SKILL.md +2 -2
- package/runtime/pi/.codex/skills/telemetry/SKILL.md +1 -1
- package/runtime/pi/.codex/skills/test/SKILL.md +1 -1
- package/runtime/pi/.codex/skills/tutorial/SKILL.md +40 -41
- package/runtime/pi/.codex/skills/view/SKILL.md +115 -111
- package/runtime/pi/.codex/skills/wrap/SKILL.md +45 -41
- package/runtime/pi/.codex/spec-manifest.json +9 -9
- package/runtime/pi/.pi/APPEND_SYSTEM.md +57 -48
- package/runtime/pi/.pi/extensions/egregore.ts +7 -0
- package/runtime/pi/.pi/spec-manifest.json +2 -2
- package/runtime/pi/AGENTS.md +62 -58
- package/runtime/pi/bin/activity-action.sh +92 -0
- package/runtime/pi/bin/activity-data.sh +12 -233
- package/runtime/pi/bin/agent.sh +84 -100
- package/runtime/pi/bin/artifact-register.sh +164 -0
- package/runtime/pi/bin/artifact-writeback.sh +53 -0
- package/runtime/pi/bin/artifacts.sh +288 -0
- package/runtime/pi/bin/build-sealed-dataroom.mjs +722 -0
- package/runtime/pi/bin/capture-run.sh +18 -2
- package/runtime/pi/bin/codex-render-spec.mjs +41 -16
- package/runtime/pi/bin/codex-session-start.sh +14 -4
- package/runtime/pi/bin/codex-skill-render.mjs +9 -7
- package/runtime/pi/bin/corpus_map.py +806 -0
- package/runtime/pi/bin/corpus_survey.py +304 -0
- package/runtime/pi/bin/dashboard-data.sh +11 -171
- package/runtime/pi/bin/github-auth.sh +121 -0
- package/runtime/pi/bin/graph-batch.sh +7 -0
- package/runtime/pi/bin/graph-op.sh +4 -0
- package/runtime/pi/bin/graph-projection.sh +54 -0
- package/runtime/pi/bin/graph-wal.sh +13 -0
- package/runtime/pi/bin/graph.sh +44 -0
- package/runtime/pi/bin/handoff-lifecycle-job.sh +146 -0
- package/runtime/pi/bin/handoff-lifecycle.sh +280 -0
- package/runtime/pi/bin/handoff-preview.sh +169 -0
- package/runtime/pi/bin/handoff-run.sh +42 -26
- package/runtime/pi/bin/ingest-graph.sh +6 -0
- package/runtime/pi/bin/ingest-item.sh +10 -0
- package/runtime/pi/bin/ingest.sh +59 -30
- package/runtime/pi/bin/invite.sh +6 -0
- package/runtime/pi/bin/issue.sh +10 -0
- package/runtime/pi/bin/knowledge.sh +10 -0
- package/runtime/pi/bin/lib/config.sh +20 -0
- package/runtime/pi/bin/lib/context.sh +46 -25
- package/runtime/pi/bin/lib/git-sync.sh +70 -6
- package/runtime/pi/bin/lib/greeting.sh +34 -5
- package/runtime/pi/bin/lib/handoff-meta.sh +97 -0
- package/runtime/pi/bin/lib/worktree-links.sh +6 -0
- package/runtime/pi/bin/node-run.sh +42 -0
- package/runtime/pi/bin/notification.sh +6 -0
- package/runtime/pi/bin/observe-context.sh +14 -0
- package/runtime/pi/bin/onboarding.sh +6 -0
- package/runtime/pi/bin/person.py +4 -0
- package/runtime/pi/bin/person.sh +43 -10
- package/runtime/pi/bin/pi-observe-context.mjs +93 -0
- package/runtime/pi/bin/pi-product-workflows.mjs +1 -1
- package/runtime/pi/bin/pi-render-spec.mjs +1 -1
- package/runtime/pi/bin/post-update.sh +37 -0
- package/runtime/pi/bin/prime-render-spec.mjs +147 -0
- package/runtime/pi/bin/publish-artifact.sh +55 -2
- package/runtime/pi/bin/quest.sh +9 -0
- package/runtime/pi/bin/question.sh +8 -0
- package/runtime/pi/bin/research-ingest.sh +7 -0
- package/runtime/pi/bin/restore-owned-skills.sh +67 -0
- package/runtime/pi/bin/retrieval_eval.py +385 -0
- package/runtime/pi/bin/runtime-identity.sh +70 -0
- package/runtime/pi/bin/runtime-upgrade.sh +43 -0
- package/runtime/pi/bin/scroll.sh +9 -0
- package/runtime/pi/bin/search.sh +231 -195
- package/runtime/pi/bin/settings.sh +174 -5
- package/runtime/pi/bin/startup-check.sh +136 -0
- package/runtime/pi/bin/telemetry.sh +522 -247
- package/runtime/pi/bin/test-changes.sh +344 -0
- package/runtime/pi/bin/thread.sh +9 -0
- package/runtime/pi/bin/todo.sh +9 -0
- package/runtime/pi/bin/view-render.sh +126 -0
- package/runtime/pi/bin/worktree-create.sh +19 -5
- package/runtime/pi/egregore_runtime/__init__.py +228 -0
- package/runtime/pi/egregore_runtime/adapters/__init__.py +5 -0
- package/runtime/pi/egregore_runtime/adapters/invitation.py +237 -0
- package/runtime/pi/egregore_runtime/adapters/notification.py +59 -0
- package/runtime/pi/egregore_runtime/adapters/qmd.py +1701 -0
- package/runtime/pi/egregore_runtime/adapters/qmd_cli.py +210 -0
- package/runtime/pi/egregore_runtime/adapters/qmd_embed_worker.py +59 -0
- package/runtime/pi/egregore_runtime/admin_gate.py +102 -0
- package/runtime/pi/egregore_runtime/artifacts.py +523 -0
- package/runtime/pi/egregore_runtime/contracts.py +499 -0
- package/runtime/pi/egregore_runtime/entitlements.py +85 -0
- package/runtime/pi/egregore_runtime/errors.py +10 -0
- package/runtime/pi/egregore_runtime/graph.py +356 -0
- package/runtime/pi/egregore_runtime/handoff_lookup.py +196 -0
- package/runtime/pi/egregore_runtime/harness_cli.py +1221 -0
- package/runtime/pi/egregore_runtime/identity.py +734 -0
- package/runtime/pi/egregore_runtime/identity_cli.py +91 -0
- package/runtime/pi/egregore_runtime/ingest.py +575 -0
- package/runtime/pi/egregore_runtime/ingest_cli.py +254 -0
- package/runtime/pi/egregore_runtime/ingest_index_cli.py +147 -0
- package/runtime/pi/egregore_runtime/invitation_cli.py +51 -0
- package/runtime/pi/egregore_runtime/invitations.py +116 -0
- package/runtime/pi/egregore_runtime/issue_cli.py +305 -0
- package/runtime/pi/egregore_runtime/issues.py +359 -0
- package/runtime/pi/egregore_runtime/knowledge.py +376 -0
- package/runtime/pi/egregore_runtime/knowledge_cli.py +173 -0
- package/runtime/pi/egregore_runtime/lifecycle.py +888 -0
- package/runtime/pi/egregore_runtime/lifecycle_cli.py +269 -0
- package/runtime/pi/egregore_runtime/notification_cli.py +125 -0
- package/runtime/pi/egregore_runtime/notifications.py +230 -0
- package/runtime/pi/egregore_runtime/observe.py +342 -0
- package/runtime/pi/egregore_runtime/onboarding.py +290 -0
- package/runtime/pi/egregore_runtime/onboarding_cli.py +110 -0
- package/runtime/pi/egregore_runtime/policy.py +144 -0
- package/runtime/pi/egregore_runtime/profile.py +193 -0
- package/runtime/pi/egregore_runtime/quest_cli.py +216 -0
- package/runtime/pi/egregore_runtime/question_cli.py +180 -0
- package/runtime/pi/egregore_runtime/questions.py +304 -0
- package/runtime/pi/egregore_runtime/quests.py +419 -0
- package/runtime/pi/egregore_runtime/readiness.py +379 -0
- package/runtime/pi/egregore_runtime/research_ingest.py +256 -0
- package/runtime/pi/egregore_runtime/research_ingest_cli.py +44 -0
- package/runtime/pi/egregore_runtime/runtime.py +464 -0
- package/runtime/pi/egregore_runtime/scroll_cli.py +185 -0
- package/runtime/pi/egregore_runtime/scrolls.py +726 -0
- package/runtime/pi/egregore_runtime/status.py +412 -0
- package/runtime/pi/egregore_runtime/status_cli.py +174 -0
- package/runtime/pi/egregore_runtime/sync.py +218 -0
- package/runtime/pi/egregore_runtime/teamsync.py +139 -0
- package/runtime/pi/egregore_runtime/telemetry.py +640 -0
- package/runtime/pi/egregore_runtime/thread_cli.py +173 -0
- package/runtime/pi/egregore_runtime/threads.py +517 -0
- package/runtime/pi/egregore_runtime/todo_cli.py +142 -0
- package/runtime/pi/egregore_runtime/todos.py +244 -0
- package/runtime/pi/egregore_runtime/upgrade.py +770 -0
- package/runtime/pi/egregore_runtime/upgrade_worker.py +53 -0
- package/runtime/pi/egregore_runtime/writeback.py +391 -0
- package/runtime/pi/egregore_runtime/writeback_cli.py +114 -0
- package/runtime/pi/manifest.json +98 -1
- package/runtime/prime/.codex/hooks/search-hint.js +21 -52
- package/runtime/prime/.codex/hooks.json +3 -3
- package/runtime/prime/.codex/skills/activity/SKILL.md +23 -66
- package/runtime/prime/.codex/skills/announce/SKILL.md +27 -50
- package/runtime/prime/.codex/skills/archive/SKILL.md +21 -36
- package/runtime/prime/.codex/skills/checkup/SKILL.md +77 -36
- package/runtime/prime/.codex/skills/dark-mode/SKILL.md +1 -1
- package/runtime/prime/.codex/skills/dashboard/SKILL.md +17 -47
- package/runtime/prime/.codex/skills/handoff/SKILL.md +84 -133
- package/runtime/prime/.codex/skills/harvest/SKILL.md +32 -117
- package/runtime/prime/.codex/skills/ingest/SKILL.md +47 -25
- package/runtime/prime/.codex/skills/ingest-user-interview/SKILL.md +18 -36
- package/runtime/prime/.codex/skills/ingest-user-interview/references/analysis-contract.md +42 -0
- package/runtime/prime/.codex/skills/invite/SKILL.md +21 -35
- package/runtime/prime/.codex/skills/issue/SKILL.md +60 -41
- package/runtime/prime/.codex/skills/me/SKILL.md +1 -1
- package/runtime/prime/.codex/skills/meeting/SKILL.md +16 -36
- package/runtime/prime/.codex/skills/meeting/references/analysis-contract.md +48 -0
- package/runtime/prime/.codex/skills/note/SKILL.md +30 -25
- package/runtime/prime/.codex/skills/onboarding/SKILL.md +36 -41
- package/runtime/prime/.codex/skills/pull/SKILL.md +1 -1
- package/runtime/prime/.codex/skills/quest/SKILL.md +27 -66
- package/runtime/prime/.codex/skills/reflect/SKILL.md +22 -36
- package/runtime/prime/.codex/skills/save/SKILL.md +2 -2
- package/runtime/prime/.codex/skills/telemetry/SKILL.md +1 -1
- package/runtime/prime/.codex/skills/test/SKILL.md +1 -1
- package/runtime/prime/.codex/skills/tutorial/SKILL.md +40 -41
- package/runtime/prime/.codex/skills/view/SKILL.md +115 -111
- package/runtime/prime/.codex/skills/wrap/SKILL.md +45 -41
- package/runtime/prime/.codex/spec-manifest.json +9 -9
- package/runtime/prime/.prime/agent/APPEND_SYSTEM.md +57 -48
- package/runtime/prime/.prime/agent/extensions/egregore.ts +7 -0
- package/runtime/prime/.prime/agent/spec-manifest.json +2 -2
- package/runtime/prime/AGENTS.md +62 -58
- package/runtime/prime/bin/activity-action.sh +92 -0
- package/runtime/prime/bin/activity-data.sh +12 -233
- package/runtime/prime/bin/agent.sh +84 -100
- package/runtime/prime/bin/artifact-register.sh +164 -0
- package/runtime/prime/bin/artifact-writeback.sh +53 -0
- package/runtime/prime/bin/artifacts.sh +288 -0
- package/runtime/prime/bin/build-sealed-dataroom.mjs +722 -0
- package/runtime/prime/bin/capture-run.sh +18 -2
- package/runtime/prime/bin/codex-render-spec.mjs +41 -16
- package/runtime/prime/bin/codex-session-start.sh +14 -4
- package/runtime/prime/bin/codex-skill-render.mjs +9 -7
- package/runtime/prime/bin/corpus_map.py +806 -0
- package/runtime/prime/bin/corpus_survey.py +304 -0
- package/runtime/prime/bin/dashboard-data.sh +11 -171
- package/runtime/prime/bin/github-auth.sh +121 -0
- package/runtime/prime/bin/graph-batch.sh +7 -0
- package/runtime/prime/bin/graph-op.sh +4 -0
- package/runtime/prime/bin/graph-projection.sh +54 -0
- package/runtime/prime/bin/graph-wal.sh +13 -0
- package/runtime/prime/bin/graph.sh +44 -0
- package/runtime/prime/bin/handoff-lifecycle-job.sh +146 -0
- package/runtime/prime/bin/handoff-lifecycle.sh +280 -0
- package/runtime/prime/bin/handoff-preview.sh +169 -0
- package/runtime/prime/bin/handoff-run.sh +42 -26
- package/runtime/prime/bin/ingest-graph.sh +6 -0
- package/runtime/prime/bin/ingest-item.sh +10 -0
- package/runtime/prime/bin/ingest.sh +59 -30
- package/runtime/prime/bin/invite.sh +6 -0
- package/runtime/prime/bin/issue.sh +10 -0
- package/runtime/prime/bin/knowledge.sh +10 -0
- package/runtime/prime/bin/lib/config.sh +20 -0
- package/runtime/prime/bin/lib/context.sh +46 -25
- package/runtime/prime/bin/lib/git-sync.sh +70 -6
- package/runtime/prime/bin/lib/greeting.sh +34 -5
- package/runtime/prime/bin/lib/handoff-meta.sh +97 -0
- package/runtime/prime/bin/lib/worktree-links.sh +6 -0
- package/runtime/prime/bin/node-run.sh +42 -0
- package/runtime/prime/bin/notification.sh +6 -0
- package/runtime/prime/bin/observe-context.sh +14 -0
- package/runtime/prime/bin/onboarding.sh +6 -0
- package/runtime/prime/bin/person.py +4 -0
- package/runtime/prime/bin/person.sh +43 -10
- package/runtime/prime/bin/pi-observe-context.mjs +93 -0
- package/runtime/prime/bin/pi-product-workflows.mjs +1 -1
- package/runtime/prime/bin/pi-render-spec.mjs +140 -0
- package/runtime/prime/bin/post-update.sh +37 -0
- package/runtime/prime/bin/prime-render-spec.mjs +1 -1
- package/runtime/prime/bin/publish-artifact.sh +55 -2
- package/runtime/prime/bin/quest.sh +9 -0
- package/runtime/prime/bin/question.sh +8 -0
- package/runtime/prime/bin/research-ingest.sh +7 -0
- package/runtime/prime/bin/restore-owned-skills.sh +67 -0
- package/runtime/prime/bin/retrieval_eval.py +385 -0
- package/runtime/prime/bin/runtime-identity.sh +70 -0
- package/runtime/prime/bin/runtime-upgrade.sh +43 -0
- package/runtime/prime/bin/scroll.sh +9 -0
- package/runtime/prime/bin/search.sh +231 -195
- package/runtime/prime/bin/settings.sh +174 -5
- package/runtime/prime/bin/startup-check.sh +136 -0
- package/runtime/prime/bin/telemetry.sh +522 -247
- package/runtime/prime/bin/test-changes.sh +344 -0
- package/runtime/prime/bin/thread.sh +9 -0
- package/runtime/prime/bin/todo.sh +9 -0
- package/runtime/prime/bin/view-render.sh +126 -0
- package/runtime/prime/bin/worktree-create.sh +19 -5
- package/runtime/prime/egregore_runtime/__init__.py +228 -0
- package/runtime/prime/egregore_runtime/adapters/__init__.py +5 -0
- package/runtime/prime/egregore_runtime/adapters/invitation.py +237 -0
- package/runtime/prime/egregore_runtime/adapters/notification.py +59 -0
- package/runtime/prime/egregore_runtime/adapters/qmd.py +1701 -0
- package/runtime/prime/egregore_runtime/adapters/qmd_cli.py +210 -0
- package/runtime/prime/egregore_runtime/adapters/qmd_embed_worker.py +59 -0
- package/runtime/prime/egregore_runtime/admin_gate.py +102 -0
- package/runtime/prime/egregore_runtime/artifacts.py +523 -0
- package/runtime/prime/egregore_runtime/contracts.py +499 -0
- package/runtime/prime/egregore_runtime/entitlements.py +85 -0
- package/runtime/prime/egregore_runtime/errors.py +10 -0
- package/runtime/prime/egregore_runtime/graph.py +356 -0
- package/runtime/prime/egregore_runtime/handoff_lookup.py +196 -0
- package/runtime/prime/egregore_runtime/harness_cli.py +1221 -0
- package/runtime/prime/egregore_runtime/identity.py +734 -0
- package/runtime/prime/egregore_runtime/identity_cli.py +91 -0
- package/runtime/prime/egregore_runtime/ingest.py +575 -0
- package/runtime/prime/egregore_runtime/ingest_cli.py +254 -0
- package/runtime/prime/egregore_runtime/ingest_index_cli.py +147 -0
- package/runtime/prime/egregore_runtime/invitation_cli.py +51 -0
- package/runtime/prime/egregore_runtime/invitations.py +116 -0
- package/runtime/prime/egregore_runtime/issue_cli.py +305 -0
- package/runtime/prime/egregore_runtime/issues.py +359 -0
- package/runtime/prime/egregore_runtime/knowledge.py +376 -0
- package/runtime/prime/egregore_runtime/knowledge_cli.py +173 -0
- package/runtime/prime/egregore_runtime/lifecycle.py +888 -0
- package/runtime/prime/egregore_runtime/lifecycle_cli.py +269 -0
- package/runtime/prime/egregore_runtime/notification_cli.py +125 -0
- package/runtime/prime/egregore_runtime/notifications.py +230 -0
- package/runtime/prime/egregore_runtime/observe.py +342 -0
- package/runtime/prime/egregore_runtime/onboarding.py +290 -0
- package/runtime/prime/egregore_runtime/onboarding_cli.py +110 -0
- package/runtime/prime/egregore_runtime/policy.py +144 -0
- package/runtime/prime/egregore_runtime/profile.py +193 -0
- package/runtime/prime/egregore_runtime/quest_cli.py +216 -0
- package/runtime/prime/egregore_runtime/question_cli.py +180 -0
- package/runtime/prime/egregore_runtime/questions.py +304 -0
- package/runtime/prime/egregore_runtime/quests.py +419 -0
- package/runtime/prime/egregore_runtime/readiness.py +379 -0
- package/runtime/prime/egregore_runtime/research_ingest.py +256 -0
- package/runtime/prime/egregore_runtime/research_ingest_cli.py +44 -0
- package/runtime/prime/egregore_runtime/runtime.py +464 -0
- package/runtime/prime/egregore_runtime/scroll_cli.py +185 -0
- package/runtime/prime/egregore_runtime/scrolls.py +726 -0
- package/runtime/prime/egregore_runtime/status.py +412 -0
- package/runtime/prime/egregore_runtime/status_cli.py +174 -0
- package/runtime/prime/egregore_runtime/sync.py +218 -0
- package/runtime/prime/egregore_runtime/teamsync.py +139 -0
- package/runtime/prime/egregore_runtime/telemetry.py +640 -0
- package/runtime/prime/egregore_runtime/thread_cli.py +173 -0
- package/runtime/prime/egregore_runtime/threads.py +517 -0
- package/runtime/prime/egregore_runtime/todo_cli.py +142 -0
- package/runtime/prime/egregore_runtime/todos.py +244 -0
- package/runtime/prime/egregore_runtime/upgrade.py +770 -0
- package/runtime/prime/egregore_runtime/upgrade_worker.py +53 -0
- package/runtime/prime/egregore_runtime/writeback.py +391 -0
- package/runtime/prime/egregore_runtime/writeback_cli.py +114 -0
- package/runtime/prime/manifest.json +98 -1
|
@@ -1,156 +1,160 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: view
|
|
3
|
-
description: 'Render Egregore data and documents as branded browser artifacts. Use
|
|
3
|
+
description: 'Render Egregore data and documents as branded local browser artifacts. Use for $view, requests to show something visually, open it in a browser, make a document presentable, render a quest/handoff/activity/board/network, or synthesize a visual artifact from a topic. Publishing is a separate explicit SHARE action.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Egregore View
|
|
7
7
|
|
|
8
|
-
Native Codex Egregore skill.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
tooling, open it, and report the concrete output path. Run the workflow inline;
|
|
12
|
-
do not invoke Claude Code commands or delegate through Loom.
|
|
8
|
+
Native Codex Egregore skill. Resolve authorized content, render locally, open
|
|
9
|
+
the result, and report its concrete path. Run inline; Codex does not route
|
|
10
|
+
through Loom or minion.
|
|
13
11
|
|
|
14
12
|
## Structured UX parity
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
14
|
+
Preserve typed artifact templates, designed document composition, the exact
|
|
15
|
+
local file path, and an approved hosted URL when one was actually returned.
|
|
16
|
+
Never replace the browser artifact with prose or expose raw renderer output.
|
|
17
|
+
|
|
18
|
+
## Source boundary
|
|
19
|
+
|
|
20
|
+
Resolve deictic requests from the current conversation before organizational
|
|
21
|
+
retrieval. When `this`, `that`, `it`, or `the above` unambiguously refers to
|
|
22
|
+
the single artifact just created, accepted, or shown, reuse its full content
|
|
23
|
+
already in context and stage it verbatim. If that content is collapsed or the
|
|
24
|
+
prior receipt supplies only a canonical path, open that exact path once through
|
|
25
|
+
`bin/search.sh open`; do not run `bin/search.sh query` to rediscover a known
|
|
26
|
+
artifact.
|
|
27
|
+
|
|
28
|
+
Resolve organizational sources from the attached authorized
|
|
29
|
+
`EGREGORE_ORG_CONTEXT_V1` block first. Reuse its opened content and do not
|
|
30
|
+
repeat retrieval or reopen it merely for verification. Stage attached content
|
|
31
|
+
as a temporary render source.
|
|
32
|
+
|
|
33
|
+
When the requested organizational source is absent, run Runtime Observe once:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
bash bin/search.sh query "<artifact name and optional type>" -n 6
|
|
37
|
+
bash bin/search.sh open "<selected memory/... path>"
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Open only a selected returned canonical path and write it to a temporary render
|
|
41
|
+
source. Never scan `memory/`, call QMD or Graph, or pass a raw canonical path to
|
|
42
|
+
the renderer. A direct `memory/...` request still goes through
|
|
43
|
+
`bin/search.sh open`. An explicit non-memory path inside the current repository
|
|
44
|
+
may be rendered as a repository document, but is not organizational memory.
|
|
45
|
+
|
|
46
|
+
If several authorized results match, ask one concise choice question. If no
|
|
47
|
+
specific file exists and the request is a topic, synthesize only from the
|
|
48
|
+
attached context or one Observe result. Read repository code only when the user
|
|
49
|
+
explicitly requested codebase synthesis.
|
|
50
|
+
|
|
51
|
+
## Artifact types
|
|
52
|
+
|
|
53
|
+
- `quest` and `handoff` — infer from the authorized canonical path, render the
|
|
54
|
+
staged content with the matching typed template.
|
|
55
|
+
- `document` — any authorized markdown or explicit repository document.
|
|
56
|
+
- `activity`, `board`, and `network` — use the renderer's typed Runtime-backed
|
|
57
|
+
live surface without pre-scanning memory.
|
|
58
|
+
|
|
59
|
+
## Local renderer
|
|
60
|
+
|
|
61
|
+
Prefer the checked-out renderer and always run Node through Egregore's runtime
|
|
62
|
+
adapter. A source checkout must never fall through to a stale global renderer:
|
|
46
63
|
|
|
47
64
|
```bash
|
|
48
|
-
RENDER="npx egregore-artifacts@latest"
|
|
49
65
|
if [ -f packages/egregore-artifacts/bin/cli.js ] && \
|
|
50
66
|
[ -d packages/egregore-artifacts/node_modules/react ]; then
|
|
51
|
-
RENDER=
|
|
67
|
+
RENDER=(bash bin/node-run.sh packages/egregore-artifacts/bin/cli.js)
|
|
68
|
+
elif [ -f packages/egregore-artifacts/bin/cli.js ]; then
|
|
69
|
+
echo "The checked-out artifact renderer is missing its local dependencies." >&2
|
|
70
|
+
exit 1
|
|
71
|
+
elif command -v egregore-artifacts >/dev/null 2>&1; then
|
|
72
|
+
RENDER=(bash bin/node-run.sh "$(command -v egregore-artifacts)")
|
|
73
|
+
else
|
|
74
|
+
echo "The local artifact renderer is not installed for this instance." >&2
|
|
75
|
+
exit 1
|
|
52
76
|
fi
|
|
53
77
|
```
|
|
54
78
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
## Render typed artifacts
|
|
79
|
+
Do not run `npx`, install packages, or contact a package registry as a hidden
|
|
80
|
+
fallback. Do not probe alternate renderers with `--help`; invoke the selected
|
|
81
|
+
renderer exactly once and use its reported HTML path rather than guessing it.
|
|
59
82
|
|
|
60
83
|
Run the matching command:
|
|
61
84
|
|
|
62
85
|
```bash
|
|
63
|
-
$RENDER quest <
|
|
64
|
-
$RENDER handoff <
|
|
65
|
-
$RENDER
|
|
66
|
-
$RENDER
|
|
67
|
-
$RENDER
|
|
68
|
-
$RENDER
|
|
86
|
+
"${RENDER[@]}" quest <staged-source>
|
|
87
|
+
"${RENDER[@]}" handoff <staged-source>
|
|
88
|
+
"${RENDER[@]}" document <staged-source>
|
|
89
|
+
"${RENDER[@]}" activity
|
|
90
|
+
"${RENDER[@]}" board
|
|
91
|
+
"${RENDER[@]}" network
|
|
69
92
|
```
|
|
70
93
|
|
|
71
|
-
|
|
94
|
+
For documents, use the checked-out generative-UI synthesis graph when present:
|
|
95
|
+
select objective, audience, register, palette, and grammar from the content,
|
|
96
|
+
resolve a brief, and pass `--brief`. Never fetch the design layer; render
|
|
97
|
+
without a brief when it is unavailable.
|
|
72
98
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
with `--brief`. If that layer is unavailable, render without the brief.
|
|
99
|
+
The deterministic renderer already owns its light/dark theme contract. Do not
|
|
100
|
+
invoke or reread a separate visual-theme skill for an ordinary render. Apply
|
|
101
|
+
the Dark Mode contract only while authoring composed HTML or changing renderer
|
|
102
|
+
code.
|
|
78
103
|
|
|
79
|
-
##
|
|
104
|
+
## Explicit composition
|
|
80
105
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
typed artifacts, short utility documents, `--fast`, or `--floor`.
|
|
106
|
+
Compose inline only when the user explicitly asks for `--compose`, a
|
|
107
|
+
designed/flagship artifact, a client-facing treatment, or the design trace.
|
|
108
|
+
Otherwise use the deterministic renderer.
|
|
85
109
|
|
|
86
110
|
For composition:
|
|
87
111
|
|
|
88
|
-
1.
|
|
112
|
+
1. Use only the staged authorized source.
|
|
89
113
|
2. Copy `.codex/skills/view/assets/compose-scaffold.html` to
|
|
90
114
|
`/tmp/egregore-artifacts/composed-<slug>.html`.
|
|
91
|
-
3.
|
|
92
|
-
|
|
93
|
-
4.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
honest bottom line;
|
|
100
|
-
- create one anchored navigation item per composed section.
|
|
101
|
-
5. Keep every theme-sensitive color as `var(--token)`. Never emit inline hex
|
|
102
|
-
colors in composed content. Preserve the scaffold's no-flash theme restore,
|
|
103
|
-
`<html data-theme>`, and light/auto/dark behavior.
|
|
104
|
-
6. Verify no placeholders remain, open the HTML with the platform browser
|
|
105
|
-
opener, and report `Renderer: composed (band 5, inline)`.
|
|
106
|
-
|
|
107
|
-
## Publish the stable board
|
|
108
|
-
|
|
109
|
-
After `$RENDER board`, publish best-effort only when `egregore.json` declares a
|
|
110
|
-
connected configuration:
|
|
115
|
+
3. Choose editorial or technical register before writing. Preserve technical
|
|
116
|
+
claims and convert structure, not voice.
|
|
117
|
+
4. Fill every placeholder, choose components by meaning, and create one nav
|
|
118
|
+
anchor per section.
|
|
119
|
+
5. Keep theme-sensitive colors as `var(--token)` and verify every used token in
|
|
120
|
+
vellum and nocturne themes.
|
|
121
|
+
6. Open the completed HTML and report
|
|
122
|
+
`Renderer: composed (band 5, inline)`.
|
|
111
123
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
+
## SHARE is separate
|
|
125
|
+
|
|
126
|
+
Local render/open is the complete default action. Never publish, replace a
|
|
127
|
+
stable hosted view, or publish linked references because the user asked to
|
|
128
|
+
view something.
|
|
129
|
+
|
|
130
|
+
Only when the user explicitly requests publishing:
|
|
131
|
+
|
|
132
|
+
1. Authorize `SHARE` for the exact staged artifact.
|
|
133
|
+
2. Show a Publish / Cancel checkpoint containing organization, destination,
|
|
134
|
+
title, source, and whether a stable URL will be replaced.
|
|
135
|
+
3. After approval, invoke the Runtime publication adapter once. For the board,
|
|
136
|
+
the existing stable-id adapter may use `--id board`.
|
|
137
|
+
4. Report a hosted URL only when the adapter actually returns it.
|
|
124
138
|
|
|
125
|
-
|
|
126
|
-
|
|
139
|
+
Notification consent and SHARE consent are separate. A publish approval never
|
|
140
|
+
authorizes a message, and a notification approval never authorizes publishing.
|
|
127
141
|
|
|
128
142
|
## Report
|
|
129
143
|
|
|
130
|
-
|
|
144
|
+
After local open:
|
|
131
145
|
|
|
132
146
|
```text
|
|
133
147
|
✓ Artifact opened in browser
|
|
134
148
|
File: /tmp/egregore-artifacts/<rendered-file>.html
|
|
135
149
|
```
|
|
136
150
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
```text
|
|
140
|
-
◆ https://egregore.xyz/view/<org-slug>/board (stable — refresh for latest)
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
Emit telemetry best-effort after completion:
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
bash bin/telemetry.sh emit "command" '{"command":"view"}' 2>/dev/null &
|
|
147
|
-
```
|
|
151
|
+
Append a hosted URL only after an approved SHARE action succeeds. Emit
|
|
152
|
+
telemetry best-effort through `bin/telemetry.sh`; telemetry is not publication.
|
|
148
153
|
|
|
149
154
|
## Rules
|
|
150
155
|
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
- Never
|
|
156
|
+
- Reuse attached `EGREGORE_ORG_CONTEXT_V1`; Observe at most once if absent.
|
|
157
|
+
- Never bypass Runtime authorization with filesystem, QMD, Graph, or API reads.
|
|
158
|
+
- Never make a hidden network call or package installation.
|
|
159
|
+
- Never publish without a fresh explicit SHARE checkpoint.
|
|
155
160
|
- Never call the deprecated `egregore-handoff` CLI.
|
|
156
|
-
- Never claim publishing succeeded unless a URL was actually returned.
|
|
@@ -1,58 +1,62 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wrap
|
|
3
|
-
description: Wrap an Egregore session when the user invokes /wrap or $wrap, or says they are done, wrapping up, or at a stopping point
|
|
3
|
+
description: Wrap an Egregore session when the user invokes /wrap or $wrap, or says they are done, wrapping up, or at a stopping point. This creates personal canonical closure; route assigned continuation to $handoff and save-without-closing to $save.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Egregore
|
|
6
|
+
# Egregore wrap
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
Create one personal session record in `memory/wraps/`. A wrap records the
|
|
9
|
+
current actor's completed work, verification, and open threads. It is not a
|
|
10
|
+
handoff, publication, notification, or automatic completion of another
|
|
11
|
+
artifact.
|
|
12
|
+
|
|
13
|
+
Canonical Markdown and Git provenance are authoritative. The Egregore Runtime
|
|
14
|
+
owns authorization, ActorContext resolution, persistence, provenance,
|
|
15
|
+
retrieval refresh, background embedding, and content-free telemetry.
|
|
13
16
|
|
|
14
17
|
## Flow
|
|
15
18
|
|
|
16
|
-
1.
|
|
17
|
-
|
|
18
|
-
2.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
3.
|
|
22
|
-
|
|
23
|
-
4.
|
|
24
|
-
|
|
19
|
+
1. Reuse the conversation and relevant `EGREGORE_ORG_CONTEXT_V1` evidence. Do
|
|
20
|
+
not repeat organizational retrieval just to prepare a wrap.
|
|
21
|
+
2. Derive a short topic, a two-to-four sentence summary, completed outcomes,
|
|
22
|
+
verification, and concise open threads. Never present unverified work as
|
|
23
|
+
complete.
|
|
24
|
+
3. Confirm once only when the summary is materially ambiguous. Preserve exact
|
|
25
|
+
user-supplied wrap wording without another approval loop.
|
|
26
|
+
4. If project changes need delivery, invoke `$save` once before wrapping. Do
|
|
27
|
+
not implement Git mechanics here or save again after the wrap succeeds.
|
|
28
|
+
5. Write a temporary Markdown body with the relevant subset of `Summary`,
|
|
29
|
+
`Completed`, `Verification`, and `Open Threads`.
|
|
30
|
+
6. Call the Runtime-neutral adapter exactly once:
|
|
25
31
|
|
|
26
32
|
```bash
|
|
27
|
-
bin/agent.sh wrap
|
|
33
|
+
bash bin/agent.sh wrap \
|
|
34
|
+
--topic "$TOPIC" \
|
|
35
|
+
--summary "$SUMMARY" \
|
|
36
|
+
--body-file "$BODY_FILE"
|
|
28
37
|
```
|
|
29
38
|
|
|
30
|
-
|
|
39
|
+
The adapter performs one canonical transaction:
|
|
31
40
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
`authorize → persist Markdown → Git provenance → retrieval update → background embed → telemetry`
|
|
42
|
+
|
|
43
|
+
Do not call `artifact-writeback.sh`, `capture-run.sh`, Git, QMD, graph,
|
|
44
|
+
telemetry, publication, or notification mechanics directly. On failure, report
|
|
45
|
+
the concise error and stop; never bypass the Runtime boundary.
|
|
46
|
+
|
|
47
|
+
## Wrap is not handoff lifecycle
|
|
35
48
|
|
|
36
|
-
|
|
49
|
+
- Use `$handoff` when another person must receive or continue work.
|
|
50
|
+
- A wrap never silently completes, expires, or supersedes a handoff, quest,
|
|
51
|
+
todo, or thread. Age alone is never completion evidence.
|
|
52
|
+
- Its canonical receipt may be cited by a later, explicitly authorized
|
|
53
|
+
lifecycle transition, which must verify actor membership, target revision,
|
|
54
|
+
and typed evidence separately.
|
|
55
|
+
- Open threads remain in the wrap even if promoted through their own Runtime
|
|
56
|
+
quest/todo/thread action.
|
|
37
57
|
|
|
38
58
|
## Output
|
|
39
59
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
- Use a 72-column outer box with only the four standard line patterns:
|
|
44
|
-
top rule, separator rule, content line, bottom rule.
|
|
45
|
-
- Header: `WRAP`, author, and date.
|
|
46
|
-
- Body: topic, one compact summary, open threads or "No open threads", and
|
|
47
|
-
the `memory/wraps/...` path.
|
|
48
|
-
- Footer: saved/pushed status. If code changes were saved, show that. If the
|
|
49
|
-
wrap only touched memory, say so.
|
|
50
|
-
- Output the box directly, preferably in a `text` fenced block, with no
|
|
51
|
-
narration before it.
|
|
52
|
-
|
|
53
|
-
## Rules
|
|
54
|
-
|
|
55
|
-
- Do not use Claude Code commands.
|
|
56
|
-
- Do not invent finished work. Separate completed work, verification, and open
|
|
57
|
-
follow-ups.
|
|
58
|
-
- If save fails, report the failure and leave the local commits untouched.
|
|
60
|
+
Return a compact receipt with actor label, topic, summary, open-thread count,
|
|
61
|
+
the `memory/wraps/...` path, and project save/writeback status. Do not claim
|
|
62
|
+
graph, publish, notify, or share effects that did not happen.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{
|
|
6
6
|
"section": "(intro)",
|
|
7
7
|
"action": "replace",
|
|
8
|
-
"sourceHash": "
|
|
8
|
+
"sourceHash": "feebbe4543e2",
|
|
9
9
|
"note": "Reframed for Codex: names AGENTS.md as the delivery surface and the manifest; \"organizations using Claude Code\" generalized."
|
|
10
10
|
},
|
|
11
11
|
{
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
{
|
|
36
36
|
"section": "After Greeting — BRANCH ON FIRST RESPONSE",
|
|
37
37
|
"action": "replace",
|
|
38
|
-
"sourceHash": "
|
|
38
|
+
"sourceHash": "58978a357792",
|
|
39
39
|
"note": "EnterWorktree -> bin/agent.sh branch with git checkout fallback; AskUserQuestion -> numbered options in plain text; branch-guard mapped to .codex/hooks/branch-guard.js with instruction fallback; plan-mode note dropped (no plan mode on Codex); /branch + /onboarding -> skill tokens. Handoff claiming and repoState auto-checkout bash kept verbatim (pure git); surrounding prose compressed 2026-08 for the 32 KiB budget, every rule retained."
|
|
40
40
|
},
|
|
41
41
|
{
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"note": "Kept verbatim — shell facts, runtime-neutral."
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"section": "Knowledge Graph",
|
|
48
|
+
"section": "Optional Knowledge Graph Projection",
|
|
49
49
|
"action": "keep",
|
|
50
|
-
"sourceHash": "
|
|
51
|
-
"note": "Kept verbatim —
|
|
50
|
+
"sourceHash": "557b6fe48eca",
|
|
51
|
+
"note": "Kept verbatim — graph traversal remains an explicit optional adapter and canonical evidence wins."
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"section": "Egregore Retrieval Beat",
|
|
55
55
|
"action": "keep",
|
|
56
|
-
"sourceHash": "
|
|
56
|
+
"sourceHash": "6c5cbb0d1c9a",
|
|
57
57
|
"note": "Kept verbatim — product attribution applies across runtimes."
|
|
58
58
|
},
|
|
59
59
|
{
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
{
|
|
96
96
|
"section": "Working Conventions",
|
|
97
97
|
"action": "keep",
|
|
98
|
-
"sourceHash": "
|
|
98
|
+
"sourceHash": "5001a5c9e645",
|
|
99
99
|
"note": "Kept verbatim."
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"section": "Command Awareness",
|
|
103
103
|
"action": "keep",
|
|
104
|
-
"sourceHash": "
|
|
104
|
+
"sourceHash": "40ddb59f17b1",
|
|
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
|
{
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
{
|
|
120
120
|
"section": "Mode",
|
|
121
121
|
"action": "keep",
|
|
122
|
-
"sourceHash": "
|
|
122
|
+
"sourceHash": "8a821c2f41c0",
|
|
123
123
|
"note": "Kept; /env and /checkup rendered as $skill tokens."
|
|
124
124
|
},
|
|
125
125
|
{
|
|
@@ -86,7 +86,7 @@ Sequence: **intent → safe workspace → relevant context → consequential ass
|
|
|
86
86
|
When the user continues the current branch's work or asks to resume — sequence: **continuation intent → prior workspace → restored context → open threads → resumed execution**:
|
|
87
87
|
|
|
88
88
|
- Do not create a new workspace for the same topic. After confirming relevance, say: `I found your previous work on **{topic}** and restored its workspace and context.` Show `Workspace: {branch} (worktree).` secondarily.
|
|
89
|
-
-
|
|
89
|
+
- Interpret continuation from meaning, not fixed phrases. Reuse sufficient `EGREGORE_ORG_CONTEXT_V1`; otherwise make exactly one `bash bin/search.sh query "<concept>" -n 6 --compact` call. Keep the Retrieval Beat and `↳ Context restored:` receipt. Never infer context from a branch or substitute status dashboards, Git, Graph, or raw memory scans.
|
|
90
90
|
- Name only unresolved items that could change the next move, state the next outcome briefly, and continue without replaying setup.
|
|
91
91
|
|
|
92
92
|
### Handoff claiming
|
|
@@ -155,22 +155,20 @@ In connected mode, infrastructure credentials (Neo4j, Telegram) live on the API
|
|
|
155
155
|
|
|
156
156
|
---
|
|
157
157
|
|
|
158
|
-
## Knowledge Graph
|
|
158
|
+
## Optional Knowledge Graph Projection
|
|
159
159
|
|
|
160
|
-
**Connected mode only
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
**Connected mode only, explicit opt-in only, and never part of default
|
|
161
|
+
retrieval.** Egregore Runtime Observe backed by the instance-owned QMD adapter
|
|
162
|
+
is the default organizational retrieval path in every mode. Never infer graph
|
|
163
|
+
use from words such as handoff, question, meeting, status, current work, or
|
|
164
|
+
lineage. Those intents still enter Runtime/QMD unless the user explicitly asks
|
|
165
|
+
for graph relationships or a workflow explicitly requests optional Connected
|
|
166
|
+
enrichment.
|
|
163
167
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
A question about calls, meetings, transcripts, demos, or how a conversation
|
|
170
|
-
evolved is always `meeting-history` intent when it names a company, person, or
|
|
171
|
-
topic—even when it does not ask for "current" or "live" state. Pass the shortest
|
|
172
|
-
discriminative entity or topic (for example, `meeting-history "42CAP"`), not the
|
|
173
|
-
whole question.
|
|
168
|
+
For an explicit graph-projection request, use the smallest named read that
|
|
169
|
+
answers it: `open-handoffs`, `pending-questions`, `lineage`, or
|
|
170
|
+
`meeting-history`. Verify projection freshness/coverage and open its canonical
|
|
171
|
+
`evidencePath` before acting. Canonical Markdown wins on disagreement.
|
|
174
172
|
|
|
175
173
|
Run `catalog` only when the route is unclear. Named reads return bounded stable fields and exact canonical `evidencePath` pointers; open only the returned files needed to answer. When a read reports partial coverage, use `unprojectedPaths` rather than claiming those files are represented in the graph. Use `bin/graph.sh` for unsupported Neo4j queries and never construct curl calls directly. See DEVELOPMENT.md §1 for the schema. In local mode there is no graph; read `memory/` directly.
|
|
176
174
|
|
|
@@ -178,47 +176,52 @@ Run `catalog` only when the route is unclear. Named reads return bounded stable
|
|
|
178
176
|
|
|
179
177
|
## Egregore Retrieval Beat
|
|
180
178
|
|
|
181
|
-
|
|
182
|
-
agent tool use. For each user-directed lookup of organizational knowledge,
|
|
183
|
-
show exactly one visible attribution line:
|
|
179
|
+
For each user-directed organizational lookup, show exactly one visible line:
|
|
184
180
|
|
|
185
181
|
- memory-only retrieval:
|
|
186
182
|
`⌕ Egregore · searching your organization’s memory`
|
|
187
183
|
- retrieval that actually queries the connected graph:
|
|
188
184
|
`⌕ Egregore Connect · searching your organization’s memory and relationships`
|
|
189
185
|
|
|
190
|
-
|
|
186
|
+
Runtime owns retrieval; no agent feature flag does. `EGREGORE_ORG_CONTEXT_V1`
|
|
187
|
+
is only the schema label. When attached, authorized retrieval is complete:
|
|
188
|
+
never query again that turn, and state any evidence gap. `OPENED_BY_OBSERVE`
|
|
189
|
+
means the evidence is open. A later explicit search starts a new turn.
|
|
190
|
+
|
|
191
|
+
**Visibility is the contract.** Emit it verbatim as a
|
|
191
192
|
standalone assistant message before the first Bash, Grep, Glob, Read, or other
|
|
192
|
-
retrieval tool call.
|
|
193
|
-
|
|
194
|
-
replace it with generic narration such as “I’ll search org memory.”
|
|
193
|
+
retrieval tool call.
|
|
194
|
+
Shell/tool output does not satisfy this requirement. Do not paraphrase the line.
|
|
195
195
|
|
|
196
|
-
Use the memory form
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
or exploratory Cypher. Emit once for the whole retrieval episode, not once per
|
|
200
|
-
hop. The banner printed by `bin/search.sh` remains a direct-shell fallback and
|
|
201
|
-
does not replace the assistant-visible beat.
|
|
196
|
+
Use the memory form normally; use Connect only for an explicit graph traversal
|
|
197
|
+
that actually runs. Emit once per episode. A `bin/search.sh` banner is only a
|
|
198
|
+
shell fallback and does not replace this visible beat.
|
|
202
199
|
|
|
203
|
-
**Routing
|
|
204
|
-
|
|
205
|
-
|
|
200
|
+
**Routing:** Organizational recall always enters Egregore Runtime. The model is
|
|
201
|
+
the semantic intent authority, deciding from meaning rather than fixed phrases.
|
|
202
|
+
Observe is optional prefetch; a prefetch miss never means recall is unnecessary.
|
|
203
|
+
Without sufficient attached context, make exactly one Runtime/QMD call:
|
|
206
204
|
|
|
207
205
|
```bash
|
|
208
|
-
bash bin/search.sh query "<concept>" -n 6
|
|
206
|
+
bash bin/search.sh query "<concept>" -n 6 --compact
|
|
209
207
|
```
|
|
210
208
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
209
|
+
Search output is model-internal: show only the retrieval line and receipts —
|
|
210
|
+
never ranked blocks, file/rank/excerpt metadata, or raw JSON.
|
|
211
|
+
|
|
212
|
+
Do not resolve `memory/` to its sibling repo or start with raw `grep`/`ls`.
|
|
213
|
+
Search owns lexical/semantic selection and attaches no graph by default. Open a
|
|
214
|
+
source only when its excerpt cannot support a necessary claim. For current
|
|
215
|
+
team/person synthesis, retain known organization/member names and choose
|
|
216
|
+
`--recent-days` plus `--min-evidence`. Use native
|
|
217
|
+
Grep/Glob for code and exact errors. `/activity`, `/dashboard`, and `/project`
|
|
218
|
+
display bounded status surfaces only when named or directly requested as a
|
|
219
|
+
card. Questions asking for an explained synthesis of current organizational
|
|
220
|
+
work are Runtime/QMD recall, as is prior-work discovery. Do not run full
|
|
221
|
+
hybrid retrieval on unrelated prompts or infer graph from recall intent.
|
|
222
|
+
|
|
223
|
+
Do not emit the beat for code search, Git inspection, startup hydration, graph
|
|
224
|
+
writes, ingestion, background sync, maintenance, or internal queries.
|
|
222
225
|
Never name `Egregore Connect` unless a graph read will actually run.
|
|
223
226
|
|
|
224
227
|
---
|
|
@@ -318,7 +321,7 @@ Repos in `egregore.json` → `repos[]` are cloned as siblings (`../{repo}/`). Ea
|
|
|
318
321
|
|
|
319
322
|
## Working Conventions
|
|
320
323
|
|
|
321
|
-
-
|
|
324
|
+
- For unfamiliar org work, use Observe context; if absent, run `bash bin/search.sh query "topic" --compact`.
|
|
322
325
|
- Document significant decisions in `memory/knowledge/decisions/`
|
|
323
326
|
- After substantial sessions, log to `memory/handoffs/` and update `index.md`
|
|
324
327
|
|
|
@@ -344,10 +347,16 @@ Invoke commands from user intent — don't wait for the slash. Each command file
|
|
|
344
347
|
|
|
345
348
|
**Disambiguation:**
|
|
346
349
|
- Knowledge: `/reflect` (share-ready) · `/note` (half-baked) · `/deep-reflect` (deep research over memory — questions AND cross-referencing) · `/archive` (AI patterns) · `/audit` (evidence-mined forensic sweep of the org's own record — any target)
|
|
347
|
-
- Finding things — **organizational recall starts with
|
|
348
|
-
|
|
350
|
+
- Finding things — **organizational recall starts with automatic Observe**.
|
|
351
|
+
Never query twice in one prompt. Without its context block, use
|
|
352
|
+
`bash bin/search.sh query`. Use Grep/Glob for code and exact errors, not org
|
|
353
|
+
recall. Do not `cd` into the sibling memory repository.
|
|
354
|
+
- Finding **something you generated** (a scroll, handoff, emissary, decision, any hosted egregore.xyz link): `bash bin/artifacts.sh find <query>`. Every generative surface records into memory — hosted artifacts self-register into `memory/artifacts/` at publish (committed+pushed, findable from any session); handoffs in `memory/handoffs/`, emissaries in `memory/handoffs/outbound/`, decisions/findings/patterns in `memory/knowledge/`. The finder searches all of them by **content, not just name**, ranks title/topic matches above body mentions, tags hits by type (`[document]`/`[handoff]`/`[emissary]`/`[decision]`), and surfaces the shareable URL — grep-first in OSS, search + graph when available. *"bring me the artifact where I laid out our GTM plan"* → this.
|
|
349
355
|
- Artifacts with questions: `/scroll` (living paper + embedded harvest, updates in place) · `/view` (static render) · `/harvest` (elicitation, no published face) · `/mock` (pre-build walkthrough of decided design — gauge per stop, verdict copy-back)
|
|
350
|
-
-
|
|
356
|
+
- Explicit bounded status: `/dashboard` (personal) · `/activity` (org-wide) ·
|
|
357
|
+
`/project` (named project). These display cards when named or directly
|
|
358
|
+
requested. Analytical questions about organizational work and specific
|
|
359
|
+
prior-work continuation route through Runtime/QMD recall.
|
|
351
360
|
- Ending: `/wrap` (personal closure) · `/handoff` (notes for others) · `/save` (still working)
|
|
352
361
|
- Tasks: `/todo` (personal) · `/quest` (team exploration) · `/issue` (something broken)
|
|
353
362
|
- Questions: `/ask [person]` (async) · just ask (agent answers from context)
|
|
@@ -397,7 +406,7 @@ Egregore runs in one of two configurations, set by `mode` in `egregore.json`. De
|
|
|
397
406
|
- If a feature requires the hosted service and has no upsell gate, say so plainly ("this isn't available in this configuration") and stop.
|
|
398
407
|
- Calling `bin/graph.sh` or `bin/notify.sh` in local mode is harmless — they fail soft and return empty results — but there is no need to call them; prefer reading `memory/` directly.
|
|
399
408
|
|
|
400
|
-
**Connected mode** (`"mode": "connected"`, `api_url` set) — the hosted configuration, used by organizations on the hosted service.
|
|
409
|
+
**Connected mode** (`"mode": "connected"`, `api_url` set) — the hosted configuration, used by organizations on the hosted service. Shared control-plane services include accounts, organizations, memberships, invitations, and entitlements. Optional derived graph projection, notifications, and hosted surfaces remain explicit adapters. Local organizational content and retrieval stay local unless a future capability is explicitly enabled. Use `/env` to check API key and `/checkup` for diagnostics.
|
|
401
410
|
|
|
402
411
|
---
|
|
403
412
|
|