@azure-id/orc 0.55.0
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/CHANGELOG.md +2017 -0
- package/README-id.md +521 -0
- package/README.md +485 -0
- package/bin/build-agents.js +86 -0
- package/bin/cli.js +29050 -0
- package/bin/mockrun-catalog.js +267 -0
- package/bin/onboarding-content.js +172 -0
- package/bin/pricing.json +200 -0
- package/bin/providers.json +437 -0
- package/bin/ui.js +95 -0
- package/bin/verify-contracts.js +3277 -0
- package/bin/verify-package.js +498 -0
- package/bin/webui/api.js +1163 -0
- package/bin/webui/app.html +198 -0
- package/bin/webui/css/00-tokens.css +92 -0
- package/bin/webui/css/01-base.css +42 -0
- package/bin/webui/css/02-shell.css +103 -0
- package/bin/webui/css/03-components.css +462 -0
- package/bin/webui/css/04-motion.css +91 -0
- package/bin/webui/css/05-tour.css +100 -0
- package/bin/webui/css/06-responsive.css +108 -0
- package/bin/webui/css/panels/boundary.css +26 -0
- package/bin/webui/css/panels/challenge.css +151 -0
- package/bin/webui/css/panels/crosslink.css +194 -0
- package/bin/webui/css/panels/docs.css +254 -0
- package/bin/webui/css/panels/experiment.css +23 -0
- package/bin/webui/css/panels/extra.css +536 -0
- package/bin/webui/css/panels/flow.css +177 -0
- package/bin/webui/css/panels/handoff.css +67 -0
- package/bin/webui/css/panels/knowledge.css +86 -0
- package/bin/webui/css/panels/learn.css +154 -0
- package/bin/webui/css/panels/maintenance.css +55 -0
- package/bin/webui/css/panels/mockrun.css +268 -0
- package/bin/webui/css/panels/overview.css +100 -0
- package/bin/webui/css/panels/pact.css +43 -0
- package/bin/webui/css/panels/runs.css +105 -0
- package/bin/webui/css/panels/settings.css +227 -0
- package/bin/webui/css/panels/stats.css +87 -0
- package/bin/webui/fixtures/boundary.js +92 -0
- package/bin/webui/fixtures/challenge.js +825 -0
- package/bin/webui/fixtures/crosslink.js +31 -0
- package/bin/webui/fixtures/docs.js +982 -0
- package/bin/webui/fixtures/extra.js +1934 -0
- package/bin/webui/fixtures/flow.js +81 -0
- package/bin/webui/fixtures/handoff.js +35 -0
- package/bin/webui/fixtures/index.js +486 -0
- package/bin/webui/fixtures/knowledge.js +291 -0
- package/bin/webui/fixtures/maintenance.js +42 -0
- package/bin/webui/fixtures/mockrun.js +36 -0
- package/bin/webui/fixtures/pact.js +111 -0
- package/bin/webui/fixtures/runs.js +109 -0
- package/bin/webui/fixtures/settings.js +78 -0
- package/bin/webui/fixtures/shell.js +48 -0
- package/bin/webui/fixtures/stats.js +104 -0
- package/bin/webui/i18n/TERMS.md +134 -0
- package/bin/webui/i18n/en/banner.json +29 -0
- package/bin/webui/i18n/en/boundary.json +20 -0
- package/bin/webui/i18n/en/challenge.json +106 -0
- package/bin/webui/i18n/en/common.json +69 -0
- package/bin/webui/i18n/en/crosslink.json +69 -0
- package/bin/webui/i18n/en/docs.json +175 -0
- package/bin/webui/i18n/en/experiment.json +17 -0
- package/bin/webui/i18n/en/extra.json +313 -0
- package/bin/webui/i18n/en/flow.json +30 -0
- package/bin/webui/i18n/en/handoff.json +37 -0
- package/bin/webui/i18n/en/knowledge.json +141 -0
- package/bin/webui/i18n/en/learn.json +16 -0
- package/bin/webui/i18n/en/maintenance.json +52 -0
- package/bin/webui/i18n/en/mockrun.json +19 -0
- package/bin/webui/i18n/en/nav.json +19 -0
- package/bin/webui/i18n/en/overview.json +89 -0
- package/bin/webui/i18n/en/pact.json +36 -0
- package/bin/webui/i18n/en/runs.json +51 -0
- package/bin/webui/i18n/en/settings.json +49 -0
- package/bin/webui/i18n/en/stats.json +69 -0
- package/bin/webui/i18n/en/tour.json +33 -0
- package/bin/webui/i18n/id/banner.json +29 -0
- package/bin/webui/i18n/id/boundary.json +20 -0
- package/bin/webui/i18n/id/challenge.json +106 -0
- package/bin/webui/i18n/id/common.json +70 -0
- package/bin/webui/i18n/id/crosslink.json +69 -0
- package/bin/webui/i18n/id/docs.json +175 -0
- package/bin/webui/i18n/id/experiment.json +17 -0
- package/bin/webui/i18n/id/extra.json +313 -0
- package/bin/webui/i18n/id/flow.json +30 -0
- package/bin/webui/i18n/id/handoff.json +37 -0
- package/bin/webui/i18n/id/knowledge.json +141 -0
- package/bin/webui/i18n/id/learn.json +16 -0
- package/bin/webui/i18n/id/maintenance.json +52 -0
- package/bin/webui/i18n/id/mockrun.json +19 -0
- package/bin/webui/i18n/id/nav.json +19 -0
- package/bin/webui/i18n/id/overview.json +89 -0
- package/bin/webui/i18n/id/pact.json +36 -0
- package/bin/webui/i18n/id/runs.json +51 -0
- package/bin/webui/i18n/id/settings.json +49 -0
- package/bin/webui/i18n/id/stats.json +69 -0
- package/bin/webui/i18n/id/tour.json +33 -0
- package/bin/webui/js/00-core.js +115 -0
- package/bin/webui/js/01-i18n.js +149 -0
- package/bin/webui/js/02-ui.js +211 -0
- package/bin/webui/js/03-md.js +286 -0
- package/bin/webui/js/04-router.js +51 -0
- package/bin/webui/js/05-banners.js +172 -0
- package/bin/webui/js/06-edit.js +183 -0
- package/bin/webui/js/90-tour.js +488 -0
- package/bin/webui/js/91-shortcuts.js +126 -0
- package/bin/webui/js/99-boot.js +118 -0
- package/bin/webui/js/panels/boundary.js +104 -0
- package/bin/webui/js/panels/challenge.js +781 -0
- package/bin/webui/js/panels/crosslink.js +654 -0
- package/bin/webui/js/panels/docs.js +1338 -0
- package/bin/webui/js/panels/experiment.js +98 -0
- package/bin/webui/js/panels/extra.js +3011 -0
- package/bin/webui/js/panels/flow.js +297 -0
- package/bin/webui/js/panels/handoff.js +169 -0
- package/bin/webui/js/panels/knowledge.js +890 -0
- package/bin/webui/js/panels/learn.js +220 -0
- package/bin/webui/js/panels/maintenance.js +235 -0
- package/bin/webui/js/panels/mockrun.js +227 -0
- package/bin/webui/js/panels/overview.js +447 -0
- package/bin/webui/js/panels/pact.js +189 -0
- package/bin/webui/js/panels/runs.js +416 -0
- package/bin/webui/js/panels/settings.js +573 -0
- package/bin/webui/js/panels/stats.js +378 -0
- package/bin/webui/serve.js +557 -0
- package/mock-run/INDEX.md +106 -0
- package/mock-run/a-normal-day.md +587 -0
- package/mock-run/context-combiner.md +100 -0
- package/mock-run/extra-recovery.md +330 -0
- package/mock-run/extra-slots.md +177 -0
- package/mock-run/media/README.md +43 -0
- package/mock-run/orc-aftermath.md +392 -0
- package/mock-run/orc-boundary.md +356 -0
- package/mock-run/orc-brainstorm.md +177 -0
- package/mock-run/orc-budget.md +534 -0
- package/mock-run/orc-challenge-council.md +262 -0
- package/mock-run/orc-challenge.md +416 -0
- package/mock-run/orc-cli.md +200 -0
- package/mock-run/orc-diy.md +129 -0
- package/mock-run/orc-doc.md +448 -0
- package/mock-run/orc-explain.md +86 -0
- package/mock-run/orc-export.md +423 -0
- package/mock-run/orc-extra.md +392 -0
- package/mock-run/orc-fast.md +106 -0
- package/mock-run/orc-grill.md +151 -0
- package/mock-run/orc-handoff.md +480 -0
- package/mock-run/orc-pact.md +421 -0
- package/mock-run/orc-pattern.md +112 -0
- package/mock-run/orc-plan.md +108 -0
- package/mock-run/orc-pr-setup.md +126 -0
- package/mock-run/orc-quick.md +113 -0
- package/mock-run/orc-route.md +93 -0
- package/mock-run/orc-ui.md +125 -0
- package/mock-run/orc-ultra.md +103 -0
- package/mock-run/orc.md +157 -0
- package/mock-run/the-example-project.md +55 -0
- package/package.json +39 -0
- package/templates/agents/MODEL-MAPPING.md +168 -0
- package/templates/agents/orc-advisor-fable-5.md +50 -0
- package/templates/agents/orc-advisor-opus-5-xhigh.md +56 -0
- package/templates/agents/orc-analyst-fable-5.md +115 -0
- package/templates/agents/orc-analyze-mini-opus-5-med.md +60 -0
- package/templates/agents/orc-analyze-mini-sonnet-5-high.md +58 -0
- package/templates/agents/orc-challenge-advisor-opus-5-med.md +75 -0
- package/templates/agents/orc-challenge-contrarian-opus-5-high.md +110 -0
- package/templates/agents/orc-challenge-executor-opus-5-med.md +114 -0
- package/templates/agents/orc-challenge-expansionist-opus-5-med.md +112 -0
- package/templates/agents/orc-challenge-judge-opus-5-high.md +132 -0
- package/templates/agents/orc-challenge-outsider-opus-5-low.md +109 -0
- package/templates/agents/orc-challenge-principles-opus-5-high.md +109 -0
- package/templates/agents/orc-challenge-reader-opus-5-low.md +90 -0
- package/templates/agents/orc-claude-writer-opus-4-8-high.md +53 -0
- package/templates/agents/orc-claude-writer-opus-5-med.md +55 -0
- package/templates/agents/orc-context-combiner-opus-5-high.md +88 -0
- package/templates/agents/orc-doc-checker-opus-5-low.md +108 -0
- package/templates/agents/orc-doc-writer-opus-5-med.md +134 -0
- package/templates/agents/orc-executor-haiku-4-5.md +113 -0
- package/templates/agents/orc-executor-opus-4-7-high.md +114 -0
- package/templates/agents/orc-executor-opus-4-7-med.md +114 -0
- package/templates/agents/orc-executor-opus-4-8-high.md +114 -0
- package/templates/agents/orc-executor-opus-5-high.md +114 -0
- package/templates/agents/orc-executor-opus-5-low.md +114 -0
- package/templates/agents/orc-executor-opus-5-med.md +114 -0
- package/templates/agents/orc-executor-sonnet-4-6-high.md +114 -0
- package/templates/agents/orc-executor-sonnet-4-6-med.md +114 -0
- package/templates/agents/orc-executor-sonnet-5-high.md +114 -0
- package/templates/agents/orc-judge-fable-5.md +79 -0
- package/templates/agents/orc-judge-opus-5-xhigh.md +85 -0
- package/templates/agents/orc-learn-writer-opus-5-low.md +73 -0
- package/templates/agents/orc-pattern-codifier-opus-5-med.md +65 -0
- package/templates/agents/orc-pattern-codifier-sonnet-5-high.md +63 -0
- package/templates/agents/orc-planner-fable-5.md +152 -0
- package/templates/agents/orc-planner-mini-opus-5-med.md +69 -0
- package/templates/agents/orc-planner-mini-sonnet-5-high.md +67 -0
- package/templates/agents/orc-planner-opus-5-med.md +160 -0
- package/templates/agents/orc-retro-opus-5-med.md +73 -0
- package/templates/agents/orc-retro-sonnet-5-high.md +72 -0
- package/templates/agents/orc-reviewer-fable-5.md +57 -0
- package/templates/agents/orc-reviewer-opus-5-med.md +60 -0
- package/templates/agents/orc-scout-opus-5-low.md +40 -0
- package/templates/agents/orc-scout-sonnet-4-6-high.md +39 -0
- package/templates/agents/orc-system-analyst-opus-5-high.md +120 -0
- package/templates/agents/orc-test-author-opus-5-med.md +71 -0
- package/templates/agents/orc-trace-writer-haiku-4-5.md +107 -0
- package/templates/agents/orc-verifier-opus-5-med.md +69 -0
- package/templates/agents/orc-wiki-scanner-opus-4-8-high.md +79 -0
- package/templates/agents/orc-wiki-scanner-opus-5-med.md +81 -0
- package/templates/agents/orc-wiki-scanner-sonnet-5-high.md +106 -0
- package/templates/commands/orc-aftermath.md +49 -0
- package/templates/commands/orc-analyze.md +21 -0
- package/templates/commands/orc-boundary.md +46 -0
- package/templates/commands/orc-brainstorm.md +51 -0
- package/templates/commands/orc-budget.md +54 -0
- package/templates/commands/orc-challenge.md +58 -0
- package/templates/commands/orc-claude.md +14 -0
- package/templates/commands/orc-diy.md +13 -0
- package/templates/commands/orc-doc.md +128 -0
- package/templates/commands/orc-explain.md +20 -0
- package/templates/commands/orc-export.md +46 -0
- package/templates/commands/orc-fast.md +15 -0
- package/templates/commands/orc-grill.md +40 -0
- package/templates/commands/orc-handoff.md +52 -0
- package/templates/commands/orc-learn.md +17 -0
- package/templates/commands/orc-mini.md +12 -0
- package/templates/commands/orc-pact.md +44 -0
- package/templates/commands/orc-pattern.md +15 -0
- package/templates/commands/orc-plan.md +22 -0
- package/templates/commands/orc-poly.md +21 -0
- package/templates/commands/orc-pr-driver.md +30 -0
- package/templates/commands/orc-pr-setup.md +31 -0
- package/templates/commands/orc-quick.md +33 -0
- package/templates/commands/orc-retro.md +17 -0
- package/templates/commands/orc-route.md +41 -0
- package/templates/commands/orc-ultra.md +17 -0
- package/templates/commands/orc-verify.md +11 -0
- package/templates/commands/orc-wiki.md +42 -0
- package/templates/commands/orc.md +16 -0
- package/templates/hooks/orc-effort-guard.js +178 -0
- package/templates/hooks/orc-statusline.js +305 -0
- package/templates/hooks/orc-trace.js +471 -0
- package/templates/hooks/orc-update-lib.js +125 -0
- package/templates/skills/_shared/README.md +50 -0
- package/templates/skills/_shared/detecting-artifacts.md +90 -0
- package/templates/skills/_shared/drift-recovery.md +98 -0
- package/templates/skills/_shared/extra-dispatch.md +1051 -0
- package/templates/skills/_shared/fable5-override.md +56 -0
- package/templates/skills/_shared/fallback-handoff.md +42 -0
- package/templates/skills/_shared/gh-stack-commands.md +65 -0
- package/templates/skills/_shared/gotchas.md +177 -0
- package/templates/skills/_shared/interview.md +144 -0
- package/templates/skills/_shared/lane-suspend.md +82 -0
- package/templates/skills/_shared/opus5-only.md +131 -0
- package/templates/skills/_shared/pr-templates.md +106 -0
- package/templates/skills/_shared/read-ladder.md +54 -0
- package/templates/skills/_shared/return-validation.md +145 -0
- package/templates/skills/_shared/smoke-gate.md +28 -0
- package/templates/skills/_shared/stack-plan.md +135 -0
- package/templates/skills/_shared/untrusted-input.md +63 -0
- package/templates/skills/context-combiner/SKILL.md +187 -0
- package/templates/skills/context-combiner/schemas/combined-report.md +78 -0
- package/templates/skills/context-combiner/schemas/combined-requirement-spec.md +87 -0
- package/templates/skills/orc/README.md +150 -0
- package/templates/skills/orc/SKILL.md +526 -0
- package/templates/skills/orc/config.md +389 -0
- package/templates/skills/orc/examples/full-run-mock.md +73 -0
- package/templates/skills/orc/references/analyst-gates.md +124 -0
- package/templates/skills/orc/references/effort-and-mode.md +224 -0
- package/templates/skills/orc/references/house-rules.md +20 -0
- package/templates/skills/orc/references/intake.md +120 -0
- package/templates/skills/orc/references/log-protocol.md +39 -0
- package/templates/skills/orc/references/pattern-gate.md +89 -0
- package/templates/skills/orc/references/plan-handoff.md +84 -0
- package/templates/skills/orc/references/preflight-report.md +220 -0
- package/templates/skills/orc/references/security-checklist.md +39 -0
- package/templates/skills/orc/references/stop-and-resume.md +160 -0
- package/templates/skills/orc/references/trace-protocol.md +314 -0
- package/templates/skills/orc/references/ultra-mode.md +123 -0
- package/templates/skills/orc/references/wave-grouping.md +121 -0
- package/templates/skills/orc/references/wiki-consult.md +177 -0
- package/templates/skills/orc/schemas/checkpoint.md +122 -0
- package/templates/skills/orc/schemas/intent-spec.md +42 -0
- package/templates/skills/orc/schemas/planning-output.md +279 -0
- package/templates/skills/orc/subskills/orc-checkpoint/SKILL.md +55 -0
- package/templates/skills/orc/subskills/orc-execution/SKILL.md +72 -0
- package/templates/skills/orc/subskills/orc-execution/core.md +151 -0
- package/templates/skills/orc/subskills/orc-execution/subagent.md +13 -0
- package/templates/skills/orc/subskills/orc-planner/SKILL.md +264 -0
- package/templates/skills/orc/subskills/orc-planner-mini/SKILL.md +121 -0
- package/templates/skills/orc/subskills/orc-pr/SKILL.md +51 -0
- package/templates/skills/orc/subskills/orc-pr/pr.md +22 -0
- package/templates/skills/orc/subskills/orc-pr/stack-gate.md +108 -0
- package/templates/skills/orc/subskills/orc-review-verify/SKILL.md +76 -0
- package/templates/skills/orc/subskills/orc-review-verify/core.md +135 -0
- package/templates/skills/orc/subskills/orc-review-verify/subagent.md +7 -0
- package/templates/skills/orc/subskills/orc-testgen/SKILL.md +45 -0
- package/templates/skills/orc/subskills/orc-testgen/core.md +59 -0
- package/templates/skills/orc/subskills/orc-testgen/subagent.md +7 -0
- package/templates/skills/orc-advisor/SKILL.md +60 -0
- package/templates/skills/orc-aftermath/SKILL.md +136 -0
- package/templates/skills/orc-aftermath/references/report.md +95 -0
- package/templates/skills/orc-analyze/SKILL.md +220 -0
- package/templates/skills/orc-analyze/examples/analyze-mock.md +42 -0
- package/templates/skills/orc-analyze/references/branching.md +51 -0
- package/templates/skills/orc-analyze/references/deep-mode.md +27 -0
- package/templates/skills/orc-analyze/references/thin-input.md +77 -0
- package/templates/skills/orc-analyze/schemas/report-audit.md +83 -0
- package/templates/skills/orc-analyze/schemas/report-prose.md +63 -0
- package/templates/skills/orc-analyze/schemas/report-requirement.md +78 -0
- package/templates/skills/orc-analyze/schemas/requirement-spec.md +77 -0
- package/templates/skills/orc-analyze-mini/SKILL.md +112 -0
- package/templates/skills/orc-analyze-mini/examples/quick-analysis-mock.md +31 -0
- package/templates/skills/orc-boundary/SKILL.md +208 -0
- package/templates/skills/orc-boundary/references/card.md +78 -0
- package/templates/skills/orc-boundary/references/gate.md +113 -0
- package/templates/skills/orc-brainstorm/SKILL.md +339 -0
- package/templates/skills/orc-brainstorm/references/brainstorm-doc.md +133 -0
- package/templates/skills/orc-brainstorm/references/lenses.md +152 -0
- package/templates/skills/orc-budget/SKILL.md +225 -0
- package/templates/skills/orc-budget/references/corpus.md +87 -0
- package/templates/skills/orc-challenge/README.md +142 -0
- package/templates/skills/orc-challenge/SKILL.md +255 -0
- package/templates/skills/orc-challenge/examples/code-module.md +110 -0
- package/templates/skills/orc-challenge/examples/council-full-roster.md +273 -0
- package/templates/skills/orc-challenge/examples/tsd-two-iterations.md +213 -0
- package/templates/skills/orc-challenge/references/conservation.md +107 -0
- package/templates/skills/orc-challenge/references/council.md +315 -0
- package/templates/skills/orc-challenge/references/cycle-state.md +185 -0
- package/templates/skills/orc-challenge/references/dimensions.md +121 -0
- package/templates/skills/orc-challenge/references/fix-brief.md +130 -0
- package/templates/skills/orc-challenge/references/intake.md +171 -0
- package/templates/skills/orc-challenge/references/kinds.md +44 -0
- package/templates/skills/orc-challenge/references/plain-english.md +98 -0
- package/templates/skills/orc-challenge/references/rubric.md +109 -0
- package/templates/skills/orc-challenge/references/sealed-slice.md +97 -0
- package/templates/skills/orc-challenge/references/verdict-doc.md +154 -0
- package/templates/skills/orc-claude/SKILL.md +199 -0
- package/templates/skills/orc-claude/examples/claude-run-mock.md +65 -0
- package/templates/skills/orc-claude/references/refresh.md +76 -0
- package/templates/skills/orc-claude/references/template.md +109 -0
- package/templates/skills/orc-diy/README.md +142 -0
- package/templates/skills/orc-diy/SKILL.md +70 -0
- package/templates/skills/orc-diy/references/blocks/analyze.md +24 -0
- package/templates/skills/orc-diy/references/blocks/execution.md +42 -0
- package/templates/skills/orc-diy/references/blocks/extra.md +55 -0
- package/templates/skills/orc-diy/references/blocks/header.md +55 -0
- package/templates/skills/orc-diy/references/blocks/mock-example.md +22 -0
- package/templates/skills/orc-diy/references/blocks/pattern.md +18 -0
- package/templates/skills/orc-diy/references/blocks/planning.md +34 -0
- package/templates/skills/orc-diy/references/blocks/review.md +18 -0
- package/templates/skills/orc-diy/references/blocks/scoring.md +16 -0
- package/templates/skills/orc-diy/references/blocks/security.md +25 -0
- package/templates/skills/orc-diy/references/blocks/ship.md +25 -0
- package/templates/skills/orc-diy/references/blocks/summary.md +18 -0
- package/templates/skills/orc-diy/references/blocks/testgen.md +17 -0
- package/templates/skills/orc-diy/references/blocks/trace.md +28 -0
- package/templates/skills/orc-diy/references/blocks/verify.md +25 -0
- package/templates/skills/orc-diy/references/blocks/wiki.md +26 -0
- package/templates/skills/orc-diy/references/compile.md +59 -0
- package/templates/skills/orc-diy/references/flow-schema.md +100 -0
- package/templates/skills/orc-diy/references/locked-blocks.md +37 -0
- package/templates/skills/orc-doc/README.md +229 -0
- package/templates/skills/orc-doc/SKILL.md +444 -0
- package/templates/skills/orc-doc/examples/orc-doc-prd-run.md +325 -0
- package/templates/skills/orc-doc/references/chunking.md +527 -0
- package/templates/skills/orc-doc/references/gates.md +311 -0
- package/templates/skills/orc-doc/references/generation-rules.md +122 -0
- package/templates/skills/orc-doc/references/house-rules.md +170 -0
- package/templates/skills/orc-doc/references/import-targets.md +40 -0
- package/templates/skills/orc-doc/references/plain-language.md +66 -0
- package/templates/skills/orc-doc/references/portable-markdown.md +74 -0
- package/templates/skills/orc-doc/references/resume-protocol.md +228 -0
- package/templates/skills/orc-doc/references/templates/collaboration.md +118 -0
- package/templates/skills/orc-doc/references/templates/prd.md +133 -0
- package/templates/skills/orc-doc/references/templates/report.md +102 -0
- package/templates/skills/orc-doc/references/templates/tsd.md +122 -0
- package/templates/skills/orc-doc/references/templates/workflow.md +112 -0
- package/templates/skills/orc-explain/SKILL.md +57 -0
- package/templates/skills/orc-export/SKILL.md +154 -0
- package/templates/skills/orc-fast/SKILL.md +188 -0
- package/templates/skills/orc-grill/SKILL.md +207 -0
- package/templates/skills/orc-grill/references/grill-doc.md +105 -0
- package/templates/skills/orc-handoff/SKILL.md +204 -0
- package/templates/skills/orc-handoff/references/handoff-log.md +67 -0
- package/templates/skills/orc-handoff/references/surfaces.md +88 -0
- package/templates/skills/orc-judge/SKILL.md +82 -0
- package/templates/skills/orc-learn/SKILL.md +156 -0
- package/templates/skills/orc-learn/examples/learn-run-mock.md +61 -0
- package/templates/skills/orc-learn/references/deepen.md +70 -0
- package/templates/skills/orc-learn/references/refresh.md +65 -0
- package/templates/skills/orc-learn/references/template-knowledge.md +83 -0
- package/templates/skills/orc-learn/references/template-learning.md +67 -0
- package/templates/skills/orc-mini/SKILL.md +226 -0
- package/templates/skills/orc-mini/examples/mini-run-mock.md +50 -0
- package/templates/skills/orc-pact/SKILL.md +218 -0
- package/templates/skills/orc-pact/references/gate.md +70 -0
- package/templates/skills/orc-pact/references/ledger.md +99 -0
- package/templates/skills/orc-pattern/SKILL.md +124 -0
- package/templates/skills/orc-pattern/references/INDEX.md +73 -0
- package/templates/skills/orc-pattern/references/be-django.md +80 -0
- package/templates/skills/orc-pattern/references/be-express.md +82 -0
- package/templates/skills/orc-pattern/references/be-fastapi.md +107 -0
- package/templates/skills/orc-pattern/references/be-go.md +96 -0
- package/templates/skills/orc-pattern/references/be-nestjs.md +86 -0
- package/templates/skills/orc-pattern/references/be-postgres.md +98 -0
- package/templates/skills/orc-pattern/references/fe-a11y.md +36 -0
- package/templates/skills/orc-pattern/references/fe-angular.md +87 -0
- package/templates/skills/orc-pattern/references/fe-nextjs.md +65 -0
- package/templates/skills/orc-pattern/references/fe-perf.md +39 -0
- package/templates/skills/orc-pattern/references/fe-react.md +83 -0
- package/templates/skills/orc-pattern/references/fe-vue.md +75 -0
- package/templates/skills/orc-pattern/schemas/pattern-doc.md +62 -0
- package/templates/skills/orc-poly/SKILL.md +216 -0
- package/templates/skills/orc-poly/examples/poly-run-mock.md +51 -0
- package/templates/skills/orc-poly/references/gather.md +70 -0
- package/templates/skills/orc-poly/references/poly-spec.md +84 -0
- package/templates/skills/orc-pr-driver/README.md +349 -0
- package/templates/skills/orc-pr-driver/SKILL.md +167 -0
- package/templates/skills/orc-pr-driver/references/conflict-playbook.md +78 -0
- package/templates/skills/orc-pr-driver/references/green-gate.md +105 -0
- package/templates/skills/orc-pr-driver/references/orc-run-split.md +99 -0
- package/templates/skills/orc-pr-setup/README.md +436 -0
- package/templates/skills/orc-pr-setup/SKILL.md +184 -0
- package/templates/skills/orc-pr-setup/references/certainty-gate.md +66 -0
- package/templates/skills/orc-pr-setup/references/layer-taxonomy.md +67 -0
- package/templates/skills/orc-quick/README.md +423 -0
- package/templates/skills/orc-quick/SKILL.md +306 -0
- package/templates/skills/orc-quick/references/context-doc.md +114 -0
- package/templates/skills/orc-quick/references/dispatch-gate.md +163 -0
- package/templates/skills/orc-quick/references/gh-mode.md +127 -0
- package/templates/skills/orc-retro/SKILL.md +222 -0
- package/templates/skills/orc-retro/examples/retro-mock.md +171 -0
- package/templates/skills/orc-route/SKILL.md +165 -0
- package/templates/skills/orc-verify/SKILL.md +86 -0
- package/templates/skills/orc-verify/examples/verify-mock.md +33 -0
- package/templates/skills/orc-wiki/README.md +325 -0
- package/templates/skills/orc-wiki/SKILL.md +322 -0
- package/templates/skills/orc-wiki/examples/wiki-run-mock.md +37 -0
- package/templates/skills/orc-wiki/references/claude-md-injection.md +61 -0
- package/templates/skills/orc-wiki/references/crosslink-compile.md +39 -0
- package/templates/skills/orc-wiki/references/crosslink-kinds.md +57 -0
- package/templates/skills/orc-wiki/references/crosslink.md +284 -0
- package/templates/skills/orc-wiki/references/extra.md +79 -0
- package/templates/skills/orc-wiki/references/integrity-check.md +86 -0
- package/templates/skills/orc-wiki/references/orientation.md +51 -0
- package/templates/skills/orc-wiki/references/partial-refresh.md +203 -0
- package/templates/skills/orc-wiki/references/pattern-prewarm.md +19 -0
- package/templates/skills/orc-wiki/references/staleness.md +288 -0
- package/templates/skills/orc-wiki/schemas/crosslink-tag.md +166 -0
- package/templates/skills/orc-wiki/schemas/wiki-doc.md +120 -0
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
# Mock run — `orc extra`
|
|
2
|
+
|
|
3
|
+
> Run some of ORC's work on a different AI model, and still know exactly what
|
|
4
|
+
> left your machine. DeepSeek, GLM, Kimi, a model on your own laptop, or any
|
|
5
|
+
> endpoint you name.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 1. What it does
|
|
10
|
+
|
|
11
|
+
ORC gives every task a score, from 0 to 100, for how hard it is. Then it picks
|
|
12
|
+
the cheapest Claude model that can still do it. A tiny rename does not need the
|
|
13
|
+
biggest model.
|
|
14
|
+
|
|
15
|
+
`orc extra` adds one step. You can say: **"this part of the ladder should run
|
|
16
|
+
somewhere else."**
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
score 0 ──────── 30 ──────── 55 ──────── 100
|
|
20
|
+
└ DeepSeek ┘└─────── Claude ───────┘
|
|
21
|
+
(yours) (unchanged)
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Three things stay true, always:
|
|
25
|
+
|
|
26
|
+
| | |
|
|
27
|
+
|---|---|
|
|
28
|
+
| **ORC itself never moves** | Only the task is sent away. The planning, the reviewing and the checking stay where they are. |
|
|
29
|
+
| **Nothing happens until you say so** | It is off by default, and a connection you have not tested can never be used. |
|
|
30
|
+
| **You are always told** | Every run that will send work away prints a line saying so, **before** the work starts. |
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 2. Setting one up
|
|
35
|
+
|
|
36
|
+
Six commands. The comments say why each one exists.
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
$ orc extra providers
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
> ```
|
|
43
|
+
> ORC · extra — 14 providers (catalog dated 2026-08-22)
|
|
44
|
+
>
|
|
45
|
+
> deepseek DeepSeek api · claude-shim
|
|
46
|
+
> zai Z.ai (GLM) api · claude-shim
|
|
47
|
+
> moonshot Moonshot (Kimi) [cn] api · claude-shim
|
|
48
|
+
> ollama Ollama (local) api · claude-shim
|
|
49
|
+
> opencode OpenCode cli
|
|
50
|
+
> codex Codex cli
|
|
51
|
+
> custom Custom endpoint api · claude-shim · cli
|
|
52
|
+
>
|
|
53
|
+
> Model ids are NOT shipped — they rot within a quarter.
|
|
54
|
+
> ```
|
|
55
|
+
|
|
56
|
+
**Why no model names?** A model name that ships in a package is wrong within a
|
|
57
|
+
few months, and wrong quietly. It would break in the middle of your work. ORC
|
|
58
|
+
asks the provider for the real list instead, in a moment.
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
$ orc extra add cheap --provider deepseek --engine api --env-key DEEPSEEK_API_KEY
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
> ```
|
|
65
|
+
> Added profile cheap → .claude/orc/extra.json
|
|
66
|
+
>
|
|
67
|
+
> provider deepseek DeepSeek
|
|
68
|
+
> engine api
|
|
69
|
+
> base url https://api.deepseek.com
|
|
70
|
+
> credential env DEEPSEEK_API_KEY
|
|
71
|
+
> verified no — nothing routes to an unverified profile
|
|
72
|
+
>
|
|
73
|
+
> Next: orc extra ping cheap
|
|
74
|
+
>
|
|
75
|
+
> A profile does nothing until a route points at it. Nothing has changed
|
|
76
|
+
> about how this repo builds yet.
|
|
77
|
+
> ```
|
|
78
|
+
|
|
79
|
+
**Note what it stored: the NAME of an environment variable, not your key.** ORC
|
|
80
|
+
never asks for the key itself here, and it refuses a `--key` flag on purpose —
|
|
81
|
+
anything you type on a command line is visible to other programs and is saved in
|
|
82
|
+
your shell history.
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
$ orc extra ping cheap
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
> ```
|
|
89
|
+
> ✅ cheap verified via models 412ms
|
|
90
|
+
> https://api.deepseek.com
|
|
91
|
+
>
|
|
92
|
+
> 2 models: deepseek-chat, deepseek-reasoner
|
|
93
|
+
> ```
|
|
94
|
+
|
|
95
|
+
This is **the gate**. Nothing can be routed to a connection that has never
|
|
96
|
+
answered. It also costs nothing: asking a provider for its list of models is a
|
|
97
|
+
free request, and no model runs. Only if that list is unavailable does ORC send
|
|
98
|
+
one tiny request instead — and it tells you which of the two actually answered.
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
$ orc extra route set 0-30 cheap/deepseek-chat
|
|
102
|
+
$ orc config set extra_enabled true
|
|
103
|
+
$ orc extra route
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
> ```
|
|
107
|
+
> ORC · extra — the routing table
|
|
108
|
+
>
|
|
109
|
+
> [0,30) cheap/deepseek-chat api · VERIFIED
|
|
110
|
+
> [30,40) orc-executor-sonnet-4-6-med claude
|
|
111
|
+
> [40,55) orc-executor-sonnet-4-6-high claude
|
|
112
|
+
> [55,65) orc-executor-sonnet-5-high claude
|
|
113
|
+
> [65,70) orc-executor-opus-4-7-med claude
|
|
114
|
+
> [70,80) orc-executor-opus-4-7-high claude
|
|
115
|
+
> [80,90) orc-executor-opus-4-8-high claude
|
|
116
|
+
> [90,100] orc-executor-opus-5-high claude
|
|
117
|
+
>
|
|
118
|
+
> A gap is not a hole — it is Claude, and it is printed so "I left the top band
|
|
119
|
+
> on Opus on purpose" and "there is no top band" can never look the same.
|
|
120
|
+
> ```
|
|
121
|
+
|
|
122
|
+
**Read that last line twice.** Everything you did not route is still shown, with
|
|
123
|
+
the exact model it will use. You never have to remember what you left alone.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 2b. When the provider is a program on your computer
|
|
128
|
+
|
|
129
|
+
Two of these are not websites. They are tools you install, and a tool can simply
|
|
130
|
+
not be there — so ORC checks first, every time, and never remembers the answer.
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
$ orc extra tools
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
> ```
|
|
137
|
+
> ORC · extra — local tools (catalog dated 2026-08-22)
|
|
138
|
+
>
|
|
139
|
+
> opencode ✔ ready
|
|
140
|
+
> binary /usr/local/bin/opencode
|
|
141
|
+
> version 1.17.4
|
|
142
|
+
> floor 1.10.0
|
|
143
|
+
> signed in yes
|
|
144
|
+
> models 19
|
|
145
|
+
>
|
|
146
|
+
> codex ✖ absent
|
|
147
|
+
> `codex` is not on PATH. Install it with:
|
|
148
|
+
> npm i -g @openai/codex (npm)
|
|
149
|
+
> brew install --cask codex (brew)
|
|
150
|
+
> or run: orc extra install codex — opens a terminal and runs it there
|
|
151
|
+
> there is no install-free alternative for this one — the install is the only route.
|
|
152
|
+
> ```
|
|
153
|
+
|
|
154
|
+
**Two things worth noticing.** The exact install command comes from ORC's dated
|
|
155
|
+
catalog, not from memory — the common mistake here installs a completely
|
|
156
|
+
unrelated package that has been sitting on npm since 2012. And the last line is
|
|
157
|
+
not padding: one of these two tools *can* be used without installing anything,
|
|
158
|
+
and this one cannot. ORC says which, rather than leaving you looking.
|
|
159
|
+
|
|
160
|
+
If you try to connect anyway, it stops you before you have a broken connection
|
|
161
|
+
rather than after:
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
$ orc extra add cx --provider codex --engine cli --env-key OPENAI_API_KEY
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
> ```
|
|
168
|
+
> ❌ "codex" is a program that runs on this machine, and `codex` is not on PATH.
|
|
169
|
+
> Install it: npm i -g @openai/codex
|
|
170
|
+
> or run: orc extra install codex (opens a terminal and runs it there)
|
|
171
|
+
> There is no install-free alternative for this one; the install is the only route.
|
|
172
|
+
> ```
|
|
173
|
+
|
|
174
|
+
### Letting ORC install it
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
$ orc extra install codex
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
> ```
|
|
181
|
+
> ┌──────────────────────────────────────────────┐
|
|
182
|
+
> │ ORC will run this in YOUR terminal: │
|
|
183
|
+
> │ │
|
|
184
|
+
> │ npm i -g @openai/codex │
|
|
185
|
+
> │ │
|
|
186
|
+
> │ then check it with: codex --version │
|
|
187
|
+
> └──────────────────────────────────────────────┘
|
|
188
|
+
>
|
|
189
|
+
> ✔ a terminal window opened — come back and press Re-check when it finishes
|
|
190
|
+
> ```
|
|
191
|
+
|
|
192
|
+
A window opens with the command printed in it before it runs. You can read it,
|
|
193
|
+
scroll it, and stop it with Ctrl-C. **ORC never asks for administrator rights** —
|
|
194
|
+
if the install needs them you will see it ask, in your own window, and that is
|
|
195
|
+
yours to decide. If no window can be opened at all, you get the command to paste
|
|
196
|
+
and nothing pretends it worked.
|
|
197
|
+
|
|
198
|
+
### Testing it properly
|
|
199
|
+
|
|
200
|
+
A connection to a program is not one question, it is five, and ORC keeps them
|
|
201
|
+
apart:
|
|
202
|
+
|
|
203
|
+
```bash
|
|
204
|
+
$ orc extra ping oc
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
> ```
|
|
208
|
+
> ✔ oc verified via cli-models
|
|
209
|
+
> /usr/local/bin/opencode
|
|
210
|
+
>
|
|
211
|
+
> 19 models: opencode/big-pickle, opencode-go/glm-5, opencode-go/kimi-k2.6, …
|
|
212
|
+
>
|
|
213
|
+
> ⚠ a model being LISTED is not a model that WORKS — a listed id can be dead
|
|
214
|
+
> upstream. `orc extra models oc --test <id>` is the only thing that tells
|
|
215
|
+
> those two apart.
|
|
216
|
+
> ```
|
|
217
|
+
|
|
218
|
+
That warning is not boilerplate. A model can be on the provider's own list and
|
|
219
|
+
still fail the moment you call it:
|
|
220
|
+
|
|
221
|
+
```bash
|
|
222
|
+
$ orc extra models oc --test opencode/deepseek-v4-flash-free
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
> ```
|
|
226
|
+
> ✖ opencode/deepseek-v4-flash-free — model_not_found
|
|
227
|
+
> Upstream request failed: Model is unavailable. (400)
|
|
228
|
+
> ```
|
|
229
|
+
|
|
230
|
+
And when one does work, you see what came back and what it cost:
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
$ orc extra ping oc --live
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
> ```
|
|
237
|
+
> ✔ oc verified via cli-live 14733ms
|
|
238
|
+
>
|
|
239
|
+
> reply: OK
|
|
240
|
+
> new input 131 · written to cache 0 · read from cache 15616 · output 14
|
|
241
|
+
>
|
|
242
|
+
> ⚠ this tool does not say which model answered, so if it quietly used a
|
|
243
|
+
> different one there is no way to tell from here.
|
|
244
|
+
> ```
|
|
245
|
+
|
|
246
|
+
**Read the cache number again.** A one-line message cost fifteen thousand words
|
|
247
|
+
of input, because the tool loads its own instructions before it sends anything.
|
|
248
|
+
That is why sending a real message is a separate button with its own warning,
|
|
249
|
+
and why the free checks above are the ones that run by default.
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## 3. A run, with it on
|
|
254
|
+
|
|
255
|
+
```
|
|
256
|
+
> /orc build the CSV export
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
> ```
|
|
260
|
+
> ── ORC · preflight ───────────────────────────────────────────
|
|
261
|
+
> wiki: FRESH (3 commits behind)
|
|
262
|
+
> pattern: javascript — cached
|
|
263
|
+
> extra: ON — 2 of 6 tasks foreign · cheap/deepseek-chat via api [0,30)
|
|
264
|
+
> ──────────────────────────────────────────────────────────────
|
|
265
|
+
> ```
|
|
266
|
+
|
|
267
|
+
That `extra:` line is printed **before any work starts**, on every run where the
|
|
268
|
+
feature is on. It is not optional and it has no quiet version. Two of the six
|
|
269
|
+
tasks will leave this machine; the other four will not.
|
|
270
|
+
|
|
271
|
+
Then the plan, with one extra column:
|
|
272
|
+
|
|
273
|
+
> ```
|
|
274
|
+
> wave 1
|
|
275
|
+
> T01 add the CSV column headers score 18 via extra cheap/deepseek-chat
|
|
276
|
+
> T02 wire the download button score 24 via extra cheap/deepseek-chat
|
|
277
|
+
> T03 stream the rows without buffering score 61 via claude orc-executor-sonnet-5-high
|
|
278
|
+
>
|
|
279
|
+
> wave 2
|
|
280
|
+
> T04 refund totals in the export score 46 via claude orc-executor-sonnet-4-6-high
|
|
281
|
+
> ⛔ held on Claude — cited risk: money
|
|
282
|
+
> ```
|
|
283
|
+
|
|
284
|
+
**T04 scored 46, which is not in your foreign band anyway — but even if it had
|
|
285
|
+
been, it would have stayed.** A task whose plan cites a risk like money, auth,
|
|
286
|
+
security or data loss never leaves Claude. Nor does work in an area you have
|
|
287
|
+
marked as one the AI should not attempt.
|
|
288
|
+
|
|
289
|
+
---
|
|
290
|
+
|
|
291
|
+
## 4. When it does not work
|
|
292
|
+
|
|
293
|
+
Say the endpoint is down mid-run:
|
|
294
|
+
|
|
295
|
+
> ```
|
|
296
|
+
> ⚠ T02 foreign dispatch failed (timeout after 900s) — falling back to Claude
|
|
297
|
+
> orc-executor-haiku-4-5 will finish this task. The run continues.
|
|
298
|
+
> ```
|
|
299
|
+
|
|
300
|
+
**A failed foreign dispatch is never a dead run.** It is announced, it falls back
|
|
301
|
+
to the Claude model that task would have had, and the wave carries on. If you
|
|
302
|
+
would rather stop than quietly start paying full rates, set `extra_on_failure` to
|
|
303
|
+
`stop` — but you have to choose that; ORC will not choose it for you.
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## 5. What it cost
|
|
308
|
+
|
|
309
|
+
```bash
|
|
310
|
+
$ orc extra stats
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
> ```
|
|
314
|
+
> ORC · extra stats — .claude/orc/logs
|
|
315
|
+
>
|
|
316
|
+
> 15 foreign dispatches across 6 traces
|
|
317
|
+
>
|
|
318
|
+
> cheap [0,30) 15 done:13 partial:1 fallback:1 api
|
|
319
|
+
> in 214k · cache-w 38k · cache-r 1.9M · out 61k
|
|
320
|
+
> usd 0.41
|
|
321
|
+
>
|
|
322
|
+
> glm [30,55) 8 done:5 failed:1 fallback:1 claude-shim
|
|
323
|
+
> in 96k · cache-w 0 · cache-r 0 · out 29k
|
|
324
|
+
> ⚠ from 6/8 dispatches — 2 reported no counts
|
|
325
|
+
> usd — (no rate for zai in the price table; a figure ORC did not price is never printed)
|
|
326
|
+
> ```
|
|
327
|
+
|
|
328
|
+
Three honest things in that small table:
|
|
329
|
+
|
|
330
|
+
1. **The four kinds of token are never added together.** Cache reads are usually
|
|
331
|
+
the biggest number and cost about a tenth as much. One blended figure would
|
|
332
|
+
mislead you about which band is actually expensive.
|
|
333
|
+
2. **"From 6 of 8 dispatches"** — two of them reported nothing, so the total is
|
|
334
|
+
incomplete and it says so. Averaging the gap away would make an unknown cost
|
|
335
|
+
look like a small one.
|
|
336
|
+
3. **`usd —`, not `usd 0.00`.** ORC ships no prices for these providers. Some
|
|
337
|
+
charge different rates at different times of day; one sells a subscription
|
|
338
|
+
instead of tokens. A price that is wrong by double is worse than no price,
|
|
339
|
+
because people believe it. `orc extra rates` prints the exact lines to paste
|
|
340
|
+
once you know your own rate.
|
|
341
|
+
|
|
342
|
+
---
|
|
343
|
+
|
|
344
|
+
## 6. The panel
|
|
345
|
+
|
|
346
|
+
`orc ui` ▸ **Extra** shows the same thing as a picture: one bar from 0 to 100,
|
|
347
|
+
green where your own connection runs the work and blue where Claude does. The
|
|
348
|
+
ranges you did not route keep their place on the bar, so it never looks like the
|
|
349
|
+
top of the ladder disappeared.
|
|
350
|
+
|
|
351
|
+
You can add a connection and test it there too — the button runs the same
|
|
352
|
+
command you would type, and the panel itself never talks to a model.
|
|
353
|
+
|
|
354
|
+
At the top of that page, always visible, never hidden behind a click:
|
|
355
|
+
|
|
356
|
+
> **What leaves this machine:** your request, the contents of the files that task
|
|
357
|
+
> names, the tool results the worker asks for, and the code it writes back.
|
|
358
|
+
>
|
|
359
|
+
> **Who receives it:** the provider you configured, at the address on its
|
|
360
|
+
> profile. Nobody else is in the path.
|
|
361
|
+
>
|
|
362
|
+
> **What ORC cannot promise:** how long that provider keeps your prompt, whether
|
|
363
|
+
> it trains on it, or where in the world it runs. Those are their terms, not
|
|
364
|
+
> ORC's — the catalog links them, and reading them is your call to make.
|
|
365
|
+
|
|
366
|
+
---
|
|
367
|
+
|
|
368
|
+
## 7. What to notice
|
|
369
|
+
|
|
370
|
+
- **Off by default, and untested connections are unusable.** Two locks, not one.
|
|
371
|
+
- **You are told before, not after.** The `extra:` line is printed at the start
|
|
372
|
+
of the run, not in the summary.
|
|
373
|
+
- **A gap is Claude, and it is drawn.** Nothing about your ladder is invisible.
|
|
374
|
+
- **Risky work stays.** Money, auth, security, data loss — and anything in an
|
|
375
|
+
area you marked as off-limits for the AI.
|
|
376
|
+
- **A failure falls back and says so.** The run does not die and the cost change
|
|
377
|
+
is not silent.
|
|
378
|
+
- **No shipped model names and no shipped prices.** Both go stale, and a stale
|
|
379
|
+
one gets believed.
|
|
380
|
+
- **Your key is never on a command line.** It is either an environment variable
|
|
381
|
+
your computer already protects, or it is encrypted here with a passphrase ORC
|
|
382
|
+
does not keep and cannot recover.
|
|
383
|
+
|
|
384
|
+
---
|
|
385
|
+
|
|
386
|
+
## 8. Related
|
|
387
|
+
|
|
388
|
+
- [`/orc`](orc.md) — the full lane this plugs into
|
|
389
|
+
- [`/orc-budget`](orc-budget.md) — what a run will cost before you run it
|
|
390
|
+
- [`/orc-boundary`](orc-boundary.md) — the areas the AI should not attempt, which
|
|
391
|
+
are also the areas that never go to another model
|
|
392
|
+
- `guides/extra-models.md` — the setup detail for every provider
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# Mock run — `/orc-fast`
|
|
2
|
+
|
|
3
|
+
> The fastest lane. It skips the analyst and the planner completely — because
|
|
4
|
+
> the knowledge they would produce is already on disk.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. What it does
|
|
9
|
+
|
|
10
|
+
`/orc-fast` has **two hard requirements** before it will run:
|
|
11
|
+
|
|
12
|
+
1. a project **wiki** that is FRESH or AGING (`/orc-wiki` built it), and
|
|
13
|
+
2. a cached **code pattern** for the language of your request (`/orc-pattern`).
|
|
14
|
+
|
|
15
|
+
If both are there, ORC already knows your codebase and your house style, so it
|
|
16
|
+
does not need to pay an analyst and a planner to work them out again. One
|
|
17
|
+
executor does the job.
|
|
18
|
+
|
|
19
|
+
If either is missing, ORC does **not** stop the chat and does not scold you. It
|
|
20
|
+
hands the request to `/orc-mini` and keeps going.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 2. The run — both gates green
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
> /orc-fast add GET /orders/count
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
Preflight
|
|
32
|
+
wiki FRESH (4 commits since the scan; edge is 10) ✓
|
|
33
|
+
pattern express — cached 12 days ago ✓
|
|
34
|
+
Both gates pass. No analyst, no planner.
|
|
35
|
+
|
|
36
|
+
Fit gate + one question
|
|
37
|
+
This looks like one task, one file group, no risk flags.
|
|
38
|
+
Anything I should NOT touch?
|
|
39
|
+
|
|
40
|
+
> nothing, follow api/orders/
|
|
41
|
+
|
|
42
|
+
Dispatch orc-executor-sonnet-4-6-high
|
|
43
|
+
slice carries:
|
|
44
|
+
· wiki pointers wiki/orc-feature-orders.md (the route table)
|
|
45
|
+
· the express pattern, copied in literally
|
|
46
|
+
· your one constraint
|
|
47
|
+
returned as: claude-sonnet-4-6 / high ✓
|
|
48
|
+
|
|
49
|
+
Smoke gate
|
|
50
|
+
build ✓
|
|
51
|
+
tests ✓ 41 passed
|
|
52
|
+
(a red build would get ONE repair round, then stop)
|
|
53
|
+
|
|
54
|
+
Ship? > yes
|
|
55
|
+
Committed on feat/orders-count.
|
|
56
|
+
|
|
57
|
+
~9 minutes · 1 subagent · 0 repair rounds
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 3. The run — a gate is red
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
> /orc-fast add GET /orders/count
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Preflight
|
|
70
|
+
wiki STALE (61 commits since the scan; STALE starts after 30) ✗
|
|
71
|
+
pattern express — cached ✓
|
|
72
|
+
|
|
73
|
+
One gate failed, so this lane cannot be honest about your codebase.
|
|
74
|
+
Handing over to /orc-mini with your request carried over.
|
|
75
|
+
|
|
76
|
+
FALLBACK-FROM: orc-fast
|
|
77
|
+
reason wiki STALE
|
|
78
|
+
carried "add GET /orders/count"
|
|
79
|
+
re-derived intake questions (mini asks its own)
|
|
80
|
+
|
|
81
|
+
/orc-mini starting …
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Nothing was lost, and you were not asked to do anything first. If you want the
|
|
85
|
+
fast lane back, run `/orc-wiki refresh` — but that is your choice, later.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## 4. What to notice
|
|
90
|
+
|
|
91
|
+
- **The gates print, always.** A fresh wiki and a cached pattern are never
|
|
92
|
+
silently assumed. You see the tier and the age every time.
|
|
93
|
+
- **Freshness is worked out when it is read**, from the wiki manifest. It is
|
|
94
|
+
never stored as a word in a file, because a stored word goes out of date.
|
|
95
|
+
- **This lane is the payoff for `/orc-wiki` and `/orc-pattern`.** That is the
|
|
96
|
+
deal: pay once for the knowledge, then run cheap.
|
|
97
|
+
- **The main chat can run at Sonnet medium here.** There is no scoring and no
|
|
98
|
+
planning judgment to protect, so the effort guard does not apply to this lane.
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## 5. Related
|
|
103
|
+
|
|
104
|
+
- Build the wiki first: [`/orc-wiki`](../templates/skills/orc-wiki/examples/wiki-run-mock.md)
|
|
105
|
+
- Cache the pattern first: [`/orc-pattern`](orc-pattern.md)
|
|
106
|
+
- Where it falls back to: [`/orc-mini`](../templates/skills/orc-mini/examples/mini-run-mock.md)
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# Mock run — `/orc-grill`
|
|
2
|
+
|
|
3
|
+
> You have one idea, but it is still vague. This lane asks you questions until
|
|
4
|
+
> the idea is sharp — and it never answers its own question.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. What it does
|
|
9
|
+
|
|
10
|
+
You start with one fuzzy sentence. ORC builds a tree of open questions, then
|
|
11
|
+
asks you **every question that is ready** in the same round. A question that
|
|
12
|
+
depends on another question waits its turn.
|
|
13
|
+
|
|
14
|
+
The split that matters:
|
|
15
|
+
|
|
16
|
+
| Kind of thing | Who finds it |
|
|
17
|
+
|---|---|
|
|
18
|
+
| **Facts** — "where are refunds written?", "do we have a queue?" | **ORC**. It looks it up: wiki, code pattern, gotchas, then a read-only look at the code as a last step. |
|
|
19
|
+
| **Decisions** — "should this be instant or nightly?" | **You**. ORC waits. |
|
|
20
|
+
|
|
21
|
+
It writes no code, makes no plan, and creates no run folder.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 2. The run
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
> /orc-grill I want refunds to feel faster
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
Preflight (silent): wiki AGING · pattern express cached · 3 gotchas on refunds
|
|
33
|
+
|
|
34
|
+
Round 1 — 3 questions
|
|
35
|
+
|
|
36
|
+
❓ Q1 — What is slow: the money, or the screen?
|
|
37
|
+
The refund API answers in 180ms (I checked: api/refunds/create.ts). The
|
|
38
|
+
money itself takes 3–5 days at the bank. Those need different fixes.
|
|
39
|
+
➡️ I would guess you mean the screen still says "pending" for days.
|
|
40
|
+
|
|
41
|
+
❓ Q2 — Who is complaining — customers, or support?
|
|
42
|
+
➡️ Support, if this came from a ticket.
|
|
43
|
+
|
|
44
|
+
❓ Q3 — Is a refund allowed to fail after we said "done"?
|
|
45
|
+
➡️ Recommend: no. Once we say done, we own it.
|
|
46
|
+
|
|
47
|
+
> Q1 yes the screen. Q2 both actually. Q3 no, agreed.
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
Round 2 — 2 questions (these were waiting on Q1)
|
|
52
|
+
|
|
53
|
+
❓ Q4 — Where does "done" come from today?
|
|
54
|
+
fact: I found it. The bank webhook writes refunds.status —
|
|
55
|
+
api/refunds/webhook.ts:52. Nothing writes it before that.
|
|
56
|
+
So today the screen cannot say anything else. This is a real gap.
|
|
57
|
+
|
|
58
|
+
❓ Q5 — Do you want a new middle state, or a better message?
|
|
59
|
+
a) new state `sent_to_bank`, shown as "on its way, 3–5 days"
|
|
60
|
+
b) same states, better wording on the pending screen
|
|
61
|
+
c) your own answer
|
|
62
|
+
➡️ (a). (b) is cheaper but you will ask for (a) in a month.
|
|
63
|
+
|
|
64
|
+
> a. and support should see the same state in the admin list.
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
Round 3 — 1 question
|
|
69
|
+
|
|
70
|
+
❓ Q6 — Old refunds already in `pending` — what happens to them?
|
|
71
|
+
➡️ Recommend: leave them. A backfill on money records needs a reason.
|
|
72
|
+
|
|
73
|
+
> leave them, agreed
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
The frontier is empty. Let me play it back.
|
|
78
|
+
|
|
79
|
+
You want a new refund state between "requested" and "done": sent_to_bank.
|
|
80
|
+
The customer screen and the support list both show it. Nothing changes at
|
|
81
|
+
the bank. Old refunds are not touched.
|
|
82
|
+
|
|
83
|
+
intent customers and support see a truthful middle state
|
|
84
|
+
constraint refund state is only ever written by the webhook handler
|
|
85
|
+
constraint no backfill of existing refund rows
|
|
86
|
+
|
|
87
|
+
Does that match what you meant?
|
|
88
|
+
|
|
89
|
+
> yes
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
The idea is sharp now. What next?
|
|
94
|
+
|
|
95
|
+
1 Stop here — save it → orc-grill/refund-visibility/grill-context.md
|
|
96
|
+
2 Continue into /orc-analyze → check it against the real code
|
|
97
|
+
3 Drop it → nothing is written
|
|
98
|
+
|
|
99
|
+
> 1
|
|
100
|
+
|
|
101
|
+
Written: orc-grill/refund-visibility/grill-context.md
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 3. What it wrote
|
|
107
|
+
|
|
108
|
+
```markdown
|
|
109
|
+
# Grill — refund visibility
|
|
110
|
+
|
|
111
|
+
## The idea, in one paragraph
|
|
112
|
+
A refund gets a new state, `sent_to_bank` …
|
|
113
|
+
|
|
114
|
+
## Settled decisions
|
|
115
|
+
| # | Decision | Tag |
|
|
116
|
+
|---|---|---|
|
|
117
|
+
| 1 | New state between requested and done | intent |
|
|
118
|
+
| 2 | Only the webhook handler writes refund state | constraint |
|
|
119
|
+
| 3 | No backfill of existing rows | constraint |
|
|
120
|
+
|
|
121
|
+
## Still open (with the right tool named)
|
|
122
|
+
| Question | Where it belongs |
|
|
123
|
+
|---|---|
|
|
124
|
+
| Does the copy read well to a customer? | ORC's mock_example phase |
|
|
125
|
+
|
|
126
|
+
## Facts ORC looked up (not asked)
|
|
127
|
+
| Fact | Where |
|
|
128
|
+
|---|---|
|
|
129
|
+
| Only the webhook writes refunds.status | api/refunds/webhook.ts:52 |
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## 4. What to notice
|
|
135
|
+
|
|
136
|
+
- **Constraints become promises.** The two `constraint` rows are exactly what
|
|
137
|
+
[`/orc-pact`](orc-pact.md) harvests later, and what a plan carries as
|
|
138
|
+
`spec_invariants[]`. That is what makes the conversation load-bearing.
|
|
139
|
+
- **There is no question limit.** Some ideas settle in three questions, some
|
|
140
|
+
need fifty. You stop it by saying "stop asking, just save it".
|
|
141
|
+
- **"I do not know the options" is a different lane.** If a round comes back
|
|
142
|
+
that way, ORC offers [`/orc-brainstorm`](orc-brainstorm.md), and comes back
|
|
143
|
+
here afterwards with what you picked.
|
|
144
|
+
- **Only your "yes" ends it.** An empty question list does not.
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## 5. Related
|
|
149
|
+
|
|
150
|
+
- No idea yet at all? [`/orc-brainstorm`](orc-brainstorm.md)
|
|
151
|
+
- Check the idea against real code: [`/orc-analyze`](../templates/skills/orc-analyze/examples/analyze-mock.md)
|