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,45 +1,86 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: checkup
|
|
3
|
-
description: 'Run diagnostics on
|
|
3
|
+
description: 'Run diagnostics on an Egregore environment and render a health report, repairing safe local Runtime problems when possible. Use for $checkup, a health check, or when something is broken and the root cause is unclear.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# Egregore checkup
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Native Codex Egregore skill. Diagnose canonical Egregore Runtime health before
|
|
9
|
+
optional integrations. Do not invoke Claude commands or read QMD internals.
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
ported to a hand-written Codex-native skill yet.
|
|
11
|
+
## Structured UX parity
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
Render the same compact `⊕ CHECKUP` box as the Claude surface: `CONFIG`,
|
|
14
|
+
`RUNTIME`, optional `CONNECTED INTEGRATIONS`, then `WORKSPACE`. Preserve the
|
|
15
|
+
separate Runtime and integration verdicts; never expose raw JSON or probe
|
|
16
|
+
output.
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## Procedure
|
|
19
|
+
|
|
20
|
+
Detect mode from `egregore.json`. Treat an explicit local mode or absent
|
|
21
|
+
`api_url` as local. Run three sequential batches so network timeouts cannot
|
|
22
|
+
obscure local health.
|
|
23
|
+
|
|
24
|
+
### 1. Canonical Runtime
|
|
25
|
+
|
|
26
|
+
Read the typed Runtime health surface once:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
EGREGORE_ROOT="$PWD" PYTHONPATH="$PWD${PYTHONPATH:+:$PYTHONPATH}" \
|
|
30
|
+
python3 -m egregore_runtime.harness_cli status --json
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Interpret only the returned contract:
|
|
34
|
+
|
|
35
|
+
- `canonical_state_ready` is foundational.
|
|
36
|
+
- `adapter=qmd-local`, `collection`, and `index_path` identify the
|
|
37
|
+
instance-owned Local Retriever.
|
|
38
|
+
- `runtime_state`, `runtime_pid`, and `runtime_endpoint` report owned worker
|
|
39
|
+
readiness.
|
|
40
|
+
- `bm25_ready`, `semantic_ready`, and `embedding_state` distinguish ready,
|
|
41
|
+
lexical fallback, and warming states.
|
|
42
|
+
- `index_spec_version`, `index_revision`, and `source_revision` report
|
|
43
|
+
freshness.
|
|
44
|
+
|
|
45
|
+
Never invoke `qmd`, inspect process tables, guess a port, or inspect another
|
|
46
|
+
instance's runtime directory. If canonical memory is ready but the owned worker
|
|
47
|
+
or index is unavailable, run `bash bin/search.sh start` once and re-read the
|
|
48
|
+
same Runtime health surface once. Semantic warming is a warning, not data loss.
|
|
49
|
+
|
|
50
|
+
Validate `egregore.json`, the `memory` link/repository, and only the required
|
|
51
|
+
key names in `.env`; never print secret values.
|
|
52
|
+
|
|
53
|
+
### 2. Connected integrations
|
|
54
|
+
|
|
55
|
+
Skip entirely in local mode. In connected mode, run graph/control-plane and
|
|
56
|
+
notification probes with ten-second timeouts:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
timeout 10 bash bin/graph-projection.sh verify --enable 2>&1; echo "EXIT:$?"
|
|
60
|
+
timeout 10 bash bin/notification.sh status 2>&1; echo "EXIT:$?"
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Classify graph/control-plane failures as Connected integration warnings;
|
|
64
|
+
canonical Markdown remains authoritative. Read the notification Runtime's
|
|
65
|
+
sanitized JSON `status` field:
|
|
66
|
+
`ok` (connected) or `configured` (local) is healthy. Never replace API keys,
|
|
67
|
+
repair projections, send notifications, or publish from checkup.
|
|
68
|
+
|
|
69
|
+
### 3. Workspace
|
|
70
|
+
|
|
71
|
+
Check the configured base branch, current worktree, memory repository, local
|
|
72
|
+
framework version, and any configured launcher. Do not fetch, pull, commit,
|
|
73
|
+
push, publish, or mutate canonical memory. Offer `$pull`, `$update`, or `$setup`
|
|
74
|
+
as Egregore next actions when needed.
|
|
75
|
+
|
|
76
|
+
## Report
|
|
77
|
+
|
|
78
|
+
Use `✓`, `⚠`, and `✗`. In local mode omit `CONNECTED INTEGRATIONS`. End with:
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
Runtime {ready|degraded|unavailable} · {N} warnings · integrations {state}
|
|
82
|
+
```
|
|
19
83
|
|
|
20
|
-
|
|
21
|
-
|
|
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/checkup/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.
|
|
84
|
+
Derive Runtime readiness from canonical/Local Retriever state, never from
|
|
85
|
+
Graph, control-plane, or Telegram health. Emit telemetry only through the
|
|
86
|
+
normal command wrapper, best-effort.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dark-mode
|
|
3
|
-
description: 'Use when
|
|
3
|
+
description: 'Use when authoring or modifying browser-rendered visual output: HTML, CSS, React SSR, artifact templates, markdown renderers, design tokens, themes, or composed pages. Do not invoke for an ordinary /view render—the checked-in renderer already owns its theme contract. The load-bearing rule is that theme-sensitive colors must be emitted as `var(--token)`, never resolved inline hex.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
<!-- generated-by: bin/codex-sync-skills.sh -->
|
|
@@ -1,59 +1,29 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dashboard
|
|
3
|
-
description:
|
|
3
|
+
description: Explicit personal-status surface for /dashboard, $dashboard, or a direct request for the whole personal overview. Do not use it to find or resume one specific prior handoff, project, or work thread; that is semantic organizational recall through Runtime/QMD.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Egregore Dashboard
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Use this bounded status card only when the user explicitly asks for Dashboard
|
|
9
|
+
or the whole personal overview. A request to return to one earlier piece of
|
|
10
|
+
work must use attached `EGREGORE_ORG_CONTEXT_V1` evidence or exactly one Search
|
|
11
|
+
workflow query when that evidence is absent. Never use Dashboard as discovery
|
|
12
|
+
fallback.
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Map user range words to ISO-ish ranges:
|
|
14
|
-
- empty or `week` -> `P7D`
|
|
15
|
-
- `today` -> `P1D`
|
|
16
|
-
- `month` -> `P30D`
|
|
17
|
-
- `all` -> `P365D`
|
|
18
|
-
2. Run `bash bin/dashboard-data.sh "" "$TIME_RANGE"` with network escalation
|
|
19
|
-
and capture stdout as JSON. This command performs the graph API call
|
|
20
|
-
internally; a normal sandboxed Codex shell can make a healthy graph look
|
|
21
|
-
unreachable.
|
|
22
|
-
3. Classify graph status:
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
node bin/codex-skill-render.mjs classify-graph --mode connected
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
If the network-enabled command still returns `retry` because the reason is
|
|
29
|
-
`unreachable`, render the filesystem fallback and mention that the graph service
|
|
30
|
-
was unreachable after a network-enabled attempt. If network escalation is denied
|
|
31
|
-
or unavailable, run the command without escalation, render the fallback, and
|
|
32
|
-
say Codex graph network access was not granted; do not claim the graph itself
|
|
33
|
-
was unreachable.
|
|
34
|
-
|
|
35
|
-
4. Render:
|
|
14
|
+
Map the range to `P1D`, `P7D`, `P30D`, or `P365D`, then fetch and render one
|
|
15
|
+
authorized Runtime snapshot:
|
|
36
16
|
|
|
37
17
|
```bash
|
|
38
|
-
|
|
18
|
+
bash bin/dashboard-data.sh "$TIME_RANGE" 2>/dev/null \
|
|
19
|
+
| bash bin/node-run.sh bin/codex-skill-render.mjs dashboard-card -
|
|
39
20
|
```
|
|
40
21
|
|
|
41
|
-
Paste the
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
5. End with a compact next-action prompt. Use structured Codex question
|
|
46
|
-
tooling when available; otherwise render numbered choices plus `Other:`.
|
|
47
|
-
|
|
48
|
-
## Rules
|
|
22
|
+
Paste the card exactly and stop. Never expose raw JSON, sync repositories, or
|
|
23
|
+
call QMD, graph, GitHub, Supabase, or a control-plane API. Canonical Markdown
|
|
24
|
+
and Runtime lifecycle state are authoritative.
|
|
49
25
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
no preamble, no prose-only replacement, and no raw collector output.
|
|
55
|
-
- Do not call `bin/graph.sh` directly; `bin/dashboard-data.sh` is the data
|
|
56
|
-
boundary.
|
|
57
|
-
- In local mode, do not mention graph setup; memory files are the source of
|
|
58
|
-
truth.
|
|
59
|
-
- Do not use Claude Code commands.
|
|
26
|
+
Connected enrichment is optional and explicit: set
|
|
27
|
+
`EGREGORE_STATUS_CONNECTED_ENRICH=1` only when the user asks for projected
|
|
28
|
+
Connected status. It is capability/permission gated and cannot override the
|
|
29
|
+
canonical snapshot.
|
|
@@ -1,166 +1,117 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: handoff
|
|
3
|
-
description: Create an internal Egregore team handoff when the user invokes /handoff or $handoff, asks to
|
|
3
|
+
description: Create an internal Egregore team handoff when the user invokes /handoff or $handoff, asks to pass work or context, or wants an operational continuation record for a teammate or future self. Route external or executable capsules to $emissary.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Egregore
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
6
|
+
# Egregore handoff
|
|
7
|
+
|
|
8
|
+
Create one typed handoff in `memory/handoffs/`. Canonical Markdown and Git
|
|
9
|
+
provenance are authoritative. Runtime owns authorization, stable identity,
|
|
10
|
+
persistence, provenance, retrieval refresh, background embedding, and
|
|
11
|
+
content-free telemetry.
|
|
12
|
+
|
|
13
|
+
Use this only for internal handoffs. Route external capsules to `$emissary`,
|
|
14
|
+
pending-work triage to `$activity`, and personal closure to `$wrap`.
|
|
15
|
+
|
|
16
|
+
## Bounded capture
|
|
17
|
+
|
|
18
|
+
A handoff records known context; it is not a research, audit, planning, or
|
|
19
|
+
verification ritual.
|
|
20
|
+
|
|
21
|
+
- Use the user's prompt, current conversation, and attached
|
|
22
|
+
`EGREGORE_ORG_CONTEXT_V1`. When that context is attached, do not repeat
|
|
23
|
+
organizational retrieval.
|
|
24
|
+
- If no organizational context is attached and the requested handoff
|
|
25
|
+
semantically depends on prior organizational work that is absent from the
|
|
26
|
+
conversation, follow the actor context's one Runtime/QMD recall instruction.
|
|
27
|
+
This is the only allowed retrieval: use its returned evidence without a
|
|
28
|
+
second query or opening more sources.
|
|
29
|
+
- Do not otherwise search, inspect Git, read repository files, query
|
|
30
|
+
migration/skill manifests, run status/tests, or spawn agents to improve the
|
|
31
|
+
handoff.
|
|
32
|
+
- Include branches, files, decisions, tests, and remaining work only when
|
|
33
|
+
already known from those inputs. Label uncertainty briefly; if the handoff
|
|
34
|
+
cannot be drafted responsibly, ask one focused question instead of exploring.
|
|
35
|
+
- “To myself” resolves to `Actor display name` in the attached
|
|
36
|
+
`EGREGORE_ACTOR_CONTEXT_V1`. Never infer it from the OS username, Git, or
|
|
37
|
+
GitHub. If that block is unavailable, ask for the handle rather than
|
|
38
|
+
guessing. Do not perform a people-directory lookup. Ask once only for a
|
|
39
|
+
genuinely ambiguous teammate.
|
|
40
|
+
- Infer `intent`: `action`, `feedback`, or `fyi`.
|
|
41
|
+
|
|
42
|
+
Before approval, use at most one optional Runtime/QMD recall command, followed
|
|
43
|
+
by the preview command below.
|
|
44
|
+
After approval, use exactly one shell command: writeback plus card rendering.
|
|
45
|
+
Do not perform notification or publication work unless separately requested.
|
|
46
|
+
|
|
47
|
+
## Canonical Markdown
|
|
48
|
+
|
|
49
|
+
Use this envelope:
|
|
40
50
|
|
|
41
51
|
```markdown
|
|
42
52
|
---
|
|
43
53
|
capture_schema: egregore-capture/v1
|
|
44
54
|
capture_mode: addressed
|
|
45
55
|
kind: addressed
|
|
46
|
-
from: <
|
|
47
|
-
addressed_to: <recipient, if
|
|
56
|
+
from: <actor handle>
|
|
57
|
+
addressed_to: <recipient, if known>
|
|
48
58
|
date: YYYY-MM-DD
|
|
49
59
|
topic: <topic>
|
|
50
60
|
intent: <action | feedback | fyi>
|
|
51
61
|
content_mode: <supplied | generated>
|
|
52
|
-
claim: <one-line
|
|
62
|
+
claim: <one-line current state>
|
|
53
63
|
ask: <what the receiver should do>
|
|
54
64
|
---
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
5. Build the preview. For supplied content, render the Markdown directly
|
|
58
|
-
through the native handoff renderer and verify fidelity:
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
node packages/egregore-artifacts/bin/cli.js handoff "$BODY_FILE" \
|
|
62
|
-
--verify-fidelity
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
For generated content, compose the HTML view from that record. Markdown is
|
|
66
|
-
canonical; the JSON is
|
|
67
|
-
only a presentation map. Give every JSON section a stable `id` and add a
|
|
68
|
-
top-level `sourceMap` from every authored `##` heading to the section that
|
|
69
|
-
contains its complete text:
|
|
70
|
-
|
|
71
|
-
```json
|
|
72
|
-
{
|
|
73
|
-
"kind": "handoff",
|
|
74
|
-
"kicker": "Handoff",
|
|
75
|
-
"topic": "<topic>",
|
|
76
|
-
"claim": "<one-line claim>",
|
|
77
|
-
"sourceMap": {
|
|
78
|
-
"Briefing": "briefing",
|
|
79
|
-
"Key Decisions": "decisions",
|
|
80
|
-
"Current State": "current-state",
|
|
81
|
-
"Open Threads": "open-threads",
|
|
82
|
-
"Next Steps": "next-steps",
|
|
83
|
-
"Entry Points": "entry-points"
|
|
84
|
-
},
|
|
85
|
-
"sections": [
|
|
86
|
-
{"id":"briefing","label":"Briefing","component":"prose","body":"<complete Briefing text>"}
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
```
|
|
90
65
|
|
|
91
|
-
|
|
92
|
-
the mapped destination. Never independently summarize the Markdown into the
|
|
93
|
-
JSON. For command-heavy sections, keep command headings, explanatory text,
|
|
94
|
-
fenced commands, and expected output verbatim.
|
|
95
|
-
|
|
96
|
-
Render generated content with semantic coverage enabled:
|
|
97
|
-
|
|
98
|
-
```bash
|
|
99
|
-
node packages/egregore-artifacts/bin/cli.js composed "$COMPOSED_FILE" \
|
|
100
|
-
--source "$BODY_FILE" --verify-fidelity
|
|
66
|
+
<canonical handoff body>
|
|
101
67
|
```
|
|
102
68
|
|
|
103
|
-
|
|
104
|
-
|
|
69
|
+
Preserve supplied wording, order, headings, lists, code, and links. For
|
|
70
|
+
generated content, use only the useful subset of Briefing, Current State, Open
|
|
71
|
+
Threads, and Next Steps. Keep it operational and concise.
|
|
105
72
|
|
|
106
|
-
|
|
107
|
-
the mapping/content and render again. Skip confirmation only when the user
|
|
108
|
-
explicitly said to send without preview.
|
|
73
|
+
## One-command preview
|
|
109
74
|
|
|
110
|
-
|
|
75
|
+
Pipe the exact canonical Markdown once to the private preview bridge. It stores
|
|
76
|
+
the approved bytes in an OS-private, short-lived record and returns an opaque
|
|
77
|
+
`HANDOFF_PREVIEW_TOKEN`. Retain that token for the approval turn. Do not create
|
|
78
|
+
checkout or draft files yourself. The bridge renders with `--verify-fidelity`.
|
|
79
|
+
If the renderer reports that its local dependencies are missing, stop and
|
|
80
|
+
report that prerequisite. Never install packages or repeat the full preview
|
|
81
|
+
command inside the handoff workflow.
|
|
111
82
|
|
|
112
83
|
```bash
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
--
|
|
116
|
-
|
|
84
|
+
bash bin/handoff-preview.sh preview \
|
|
85
|
+
--author "$AUTHOR" --recipient "$RECIPIENT" --topic "$TOPIC" \
|
|
86
|
+
--intent "$INTENT" --content-mode "$CONTENT_MODE" <<'EGREGORE_HANDOFF'
|
|
87
|
+
<exact canonical Markdown>
|
|
88
|
+
EGREGORE_HANDOFF
|
|
117
89
|
```
|
|
118
90
|
|
|
119
|
-
|
|
91
|
+
Show the browser preview and wait for approval unless explicitly waived.
|
|
92
|
+
Preview is not canonical writeback. Preview approval is not sharing consent.
|
|
120
93
|
|
|
121
|
-
|
|
122
|
-
recipient is known. Do not pass `--no-publish` unless the user explicitly
|
|
123
|
-
asked for a dry run. The runner may plan a notification, but never dispatches.
|
|
94
|
+
## One-command approval
|
|
124
95
|
|
|
125
|
-
|
|
96
|
+
After approval, submit only the opaque token returned by preview. Never replay,
|
|
97
|
+
regenerate, or include the canonical Markdown in the approval command. The
|
|
98
|
+
bridge consumes the exact previewed bytes, performs one Runtime transaction,
|
|
99
|
+
and renders the deterministic result card in the same invocation:
|
|
126
100
|
|
|
127
101
|
```bash
|
|
128
|
-
|
|
102
|
+
bash bin/handoff-preview.sh approve "<HANDOFF_PREVIEW_TOKEN>"
|
|
129
103
|
```
|
|
130
104
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
9. If the result has `notifyStatus: "approval_required"`, follow
|
|
136
|
-
`.claude/context/notification-consent.md`. In a separate checkpoint, show
|
|
137
|
-
the exact organization, recipient/group, every channel/delivery, and exact
|
|
138
|
-
message from `notifyPlan`; offer Send / Edit / Cancel and wait. Only a Send
|
|
139
|
-
response to that preview permits one `approve` + `dispatch`. A local direct
|
|
140
|
-
message never falls back to a group.
|
|
105
|
+
The token is private, expires after six hours, and is consumed after a
|
|
106
|
+
successful canonical write. Do not add a cleanup trap or recursive deletion to
|
|
107
|
+
the approved command; the bridge manages only its exact private records.
|
|
141
108
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
109
|
+
Omit `--recipient` from the preview command only for an unaddressed
|
|
110
|
+
continuation. Runtime performs authorize → canonical persist → Git provenance
|
|
111
|
+
→ retrieval update → background embed → telemetry. Return the card verbatim
|
|
112
|
+
and canonical `memory/...` path. Do not print raw JSON. Do not run a second save
|
|
113
|
+
or manage Git, QMD, graph, publication, or notification.
|
|
147
114
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
## Rules
|
|
152
|
-
|
|
153
|
-
- Do not call `egregore-handoff` for project handoffs.
|
|
154
|
-
- Do not use Claude Code commands.
|
|
155
|
-
- Keep the briefing concise and operational; include exact files, branches,
|
|
156
|
-
commands, open questions, and verification state when relevant.
|
|
157
|
-
- Supplied content is authoritative. Do not replace it with a session summary,
|
|
158
|
-
presentation JSON, related artifacts, or repo state.
|
|
159
|
-
- The artifact is a view of the handoff, never a summary of it. Publishing
|
|
160
|
-
must fail when any non-empty authored section is unmapped or loses content.
|
|
161
|
-
- Structured UX parity is required: the rendered card is the acknowledgment.
|
|
162
|
-
Do not add a preamble such as "Handoff created successfully." Preserve the
|
|
163
|
-
72-column TUI/card shape, status footer, links below the box, and warning
|
|
164
|
-
placement used by the Egregore handoff workflow.
|
|
165
|
-
- Creating or approving the handoff is not notification consent. Never approve
|
|
166
|
-
or dispatch from detached work.
|
|
115
|
+
If writeback fails, report the concise error and stop. External sharing is a
|
|
116
|
+
separate `SHARE` action requiring an explicit user request and exact
|
|
117
|
+
destination/payload approval.
|
|
@@ -1,131 +1,46 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: harvest
|
|
3
|
-
description: Run an adaptive Egregore harvest
|
|
3
|
+
description: "Run an adaptive Egregore harvest with $harvest to elicit tacit context, preferences, positions, constraints, or team judgment and preserve an attributed synthesis. Use for structured interviews and alignment scans, not casual questions or fixed surveys."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# Harvest
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Read `PROCESS.md` and `FORMAT.md` completely from the Claude harvest skill
|
|
9
|
+
directory before questioning. Read `QUESTION_PALETTE.md` completely. Use `AUDIT.md` §14 only for
|
|
10
|
+
a pasted decision-surface return; its legacy persistence recipes are not the
|
|
11
|
+
Runtime path.
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
Parse topic plus optional respondents, seed, resume id, and disclosure mode.
|
|
14
|
+
Reuse attached `EGREGORE_ORG_CONTEXT_V1`. Search once only for a named gap and
|
|
15
|
+
open exact evidence through `bin/search.sh`; never query infrastructure.
|
|
12
16
|
|
|
13
|
-
|
|
17
|
+
Follow the adaptive seed → generate → evaluate → checkpoint → cascade →
|
|
18
|
+
synthesize rhythm. Ask one interaction at a time, preserve freeform escape,
|
|
19
|
+
record question intent, attribute evidence, and never force convergence. Blind
|
|
20
|
+
mode prevents another respondent's content from shaping questions. Dispatch
|
|
21
|
+
the frozen question set unchanged for a blind shared-artifact round. After the declared
|
|
22
|
+
completion condition seals evidence, corrections start a new round;
|
|
23
|
+
there is no automatic second pass.
|
|
14
24
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- `--mode blind|disclosed|comparative`
|
|
25
|
+
For an absent respondent, create one canonical pending question using
|
|
26
|
+
`bash bin/question.sh create` with harvest id, session id, turn, intent, and
|
|
27
|
+
context mode. This is not notification consent.
|
|
19
28
|
|
|
20
|
-
|
|
21
|
-
`
|
|
22
|
-
|
|
29
|
+
For decision-shaped rounds, render locally with the existing safe Meridian
|
|
30
|
+
surface. Never publish or deliver implicitly. Returned `UNDECIDED` answers stay
|
|
31
|
+
open; do not write graph or event-log projections directly.
|
|
23
32
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
Markdown is canonical. Persist under:
|
|
27
|
-
|
|
28
|
-
```text
|
|
29
|
-
memory/knowledge/harvests/{date}-{slug}/
|
|
30
|
-
manifest.md
|
|
31
|
-
sessions/{handle}.md
|
|
32
|
-
synthesis.md
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Single-respondent harvests may use one flat markdown file when that is simpler.
|
|
36
|
-
Every manifest records topic, intent, initiator, respondents, disclosure mode,
|
|
37
|
-
status, seed paths, and role-sheet assumptions.
|
|
38
|
-
|
|
39
|
-
Connected mode may also call `bin/graph-op.sh` helpers, but graph writes are
|
|
40
|
-
best-effort and must never block markdown state.
|
|
41
|
-
|
|
42
|
-
## Process
|
|
43
|
-
|
|
44
|
-
1. Sync memory with `bin/agent.sh sync`.
|
|
45
|
-
2. If `--resume` is present, reload the manifest, sessions, and prior
|
|
46
|
-
evaluations before asking anything new.
|
|
47
|
-
3. Build a role sheet for each respondent from `memory/people/*.md`, recent
|
|
48
|
-
handoffs, wraps, quests, and optionally graph context.
|
|
49
|
-
4. Clarify the harvest intent when topic, respondents, dimensions, or
|
|
50
|
-
disclosure mode are under-specified. Use structured Codex question tooling
|
|
51
|
-
when available; otherwise ask one numbered question at a time with `Other:`.
|
|
52
|
-
5. Read `QUESTION_PALETTE.md` completely. Ask situated questions with an
|
|
53
|
-
explicit `question_intent`, an answer shape that fits it, and grounding in
|
|
54
|
-
the role sheet, seed, the respondent's own prior answers, or attributed
|
|
55
|
-
positions allowed by the disclosure setting. Blind mode must not use
|
|
56
|
-
another respondent's answer content, even invisibly. Record a one-sentence
|
|
57
|
-
reason when departing from the palette's closest intent row.
|
|
58
|
-
6. Persist every turn immediately with turn number, question, intent, answer,
|
|
59
|
-
and evaluation. Apply the palette's satisficing and sycophancy guards when
|
|
60
|
-
evaluating. For absent respondents, create async questions with:
|
|
33
|
+
Show the attributed synthesis for acceptance, render its complete Markdown to
|
|
34
|
+
a temporary file, then call exactly once:
|
|
61
35
|
|
|
62
36
|
```bash
|
|
63
|
-
bin/
|
|
37
|
+
bash bin/knowledge.sh create --type finding --subtype harvest-synthesis \
|
|
38
|
+
--title "{topic} — harvest synthesis" --input "$TMP_SYNTHESIS" \
|
|
39
|
+
--topic harvest --topic "{topic}" --workstream "{workstream}"
|
|
64
40
|
```
|
|
65
41
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
8. Continue until present respondents reach diminishing returns and async
|
|
72
|
-
respondents are either answered, pending, or explicitly skipped.
|
|
73
|
-
|
|
74
|
-
## Multi-respondent rounds
|
|
75
|
-
|
|
76
|
-
Preference, estimate, and position intents default to `blind`. When everyone
|
|
77
|
-
should answer the same inquiry, freeze one source version and question set
|
|
78
|
-
before collection and send the identical artifact to each respondent.
|
|
79
|
-
|
|
80
|
-
While collection is open, a respondent may correct their own response. Append
|
|
81
|
-
the correction, use their latest finalized response as canonical, and count
|
|
82
|
-
distinct finalized respondents rather than submissions. After the declared
|
|
83
|
-
completion condition seals the evidence, it is immutable; a changed position
|
|
84
|
-
starts a new round. There is no automatic second pass after disclosure.
|
|
85
|
-
|
|
86
|
-
Attribute disclosed positions and preserve their reasoning. Never turn them
|
|
87
|
-
into an anonymous aggregate such as "most of the team thinks." A majority may
|
|
88
|
-
be named with its respondents, but it is not collective alignment.
|
|
89
|
-
|
|
90
|
-
## Synthesis
|
|
91
|
-
|
|
92
|
-
Write `synthesis.md` with:
|
|
93
|
-
|
|
94
|
-
- L0: compact portrait of the harvest.
|
|
95
|
-
- L1: useful patterns, preferences, constraints, and positions.
|
|
96
|
-
- L2: respondent or theme slices, chosen based on the material.
|
|
97
|
-
- L3: decisions, open questions, follow-ups, and reusable context.
|
|
98
|
-
|
|
99
|
-
Evidence should be attributed. Quotes support synthesized positions; they do
|
|
100
|
-
not replace them.
|
|
101
|
-
|
|
102
|
-
After synthesis, mark the manifest complete, commit and push memory:
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
git -C memory add knowledge/harvests
|
|
106
|
-
git -C memory commit -m "harvest: $TOPIC" --quiet
|
|
107
|
-
git -C memory push origin main --quiet
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
Emit telemetry best-effort in the background.
|
|
111
|
-
|
|
112
|
-
## Output
|
|
113
|
-
|
|
114
|
-
Structured UX parity is required. When a harvest completes or checkpoints,
|
|
115
|
-
render the Egregore harvest TUI instead of a prose-only recap:
|
|
116
|
-
|
|
117
|
-
- Use a 72-column outer box with standard top/separator/content/bottom lines.
|
|
118
|
-
- Header: `HARVEST`, initiator, and date.
|
|
119
|
-
- Body: topic, respondents, disclosure mode, synthesis path, and a one-line
|
|
120
|
-
layer summary when available.
|
|
121
|
-
- Footer: harvested/synthesized/saved/pushed state and `Visible in /activity.`
|
|
122
|
-
- If graph writes are skipped or unavailable, reflect that in the footer
|
|
123
|
-
without saying the harvest failed when markdown was saved.
|
|
124
|
-
|
|
125
|
-
## Rules
|
|
126
|
-
|
|
127
|
-
- Ask one question at a time for present respondents.
|
|
128
|
-
- Never impose an answer-shape quota or preset question flow.
|
|
129
|
-
- Make low-confidence role assumptions visible when they shape questions.
|
|
130
|
-
- Local mode skips graph and notification calls.
|
|
131
|
-
- Do not use Claude Code commands.
|
|
42
|
+
Runtime owns authorization, stable provenance, canonical Markdown/Git,
|
|
43
|
+
retrieval refresh, background embedding, and telemetry. Do not call Git, QMD,
|
|
44
|
+
graph, control-plane storage, telemetry, publishing, sharing, or notification
|
|
45
|
+
mechanics directly. External delivery requires separate permission and exact
|
|
46
|
+
explicit consent. Report the canonical path and writeback status in the harvest TUI.
|