@jeger-ai/opengantry 1.0.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/LICENSE +235 -0
- package/NOTICE +16 -0
- package/README.md +337 -0
- package/dist/cli/commands/arch.d.ts +19 -0
- package/dist/cli/commands/arch.d.ts.map +1 -0
- package/dist/cli/commands/arch.js +86 -0
- package/dist/cli/commands/arch.js.map +1 -0
- package/dist/cli/commands/check.d.ts +2 -0
- package/dist/cli/commands/check.d.ts.map +1 -0
- package/dist/cli/commands/check.js +16 -0
- package/dist/cli/commands/check.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +12 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +40 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/init.d.ts +18 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +185 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/legislate.d.ts +21 -0
- package/dist/cli/commands/legislate.d.ts.map +1 -0
- package/dist/cli/commands/legislate.js +143 -0
- package/dist/cli/commands/legislate.js.map +1 -0
- package/dist/cli/commands/mcp-serve.d.ts +2 -0
- package/dist/cli/commands/mcp-serve.d.ts.map +1 -0
- package/dist/cli/commands/mcp-serve.js +14 -0
- package/dist/cli/commands/mcp-serve.js.map +1 -0
- package/dist/cli/commands/metrics.d.ts +6 -0
- package/dist/cli/commands/metrics.d.ts.map +1 -0
- package/dist/cli/commands/metrics.js +20 -0
- package/dist/cli/commands/metrics.js.map +1 -0
- package/dist/cli/commands/mission.d.ts +3 -0
- package/dist/cli/commands/mission.d.ts.map +1 -0
- package/dist/cli/commands/mission.js +29 -0
- package/dist/cli/commands/mission.js.map +1 -0
- package/dist/cli/commands/onboarding.d.ts +2 -0
- package/dist/cli/commands/onboarding.d.ts.map +1 -0
- package/dist/cli/commands/onboarding.js +85 -0
- package/dist/cli/commands/onboarding.js.map +1 -0
- package/dist/cli/commands/runtime.d.ts +19 -0
- package/dist/cli/commands/runtime.d.ts.map +1 -0
- package/dist/cli/commands/runtime.js +101 -0
- package/dist/cli/commands/runtime.js.map +1 -0
- package/dist/cli/commands/start.d.ts +4 -0
- package/dist/cli/commands/start.d.ts.map +1 -0
- package/dist/cli/commands/start.js +3 -0
- package/dist/cli/commands/start.js.map +1 -0
- package/dist/cli/commands/status.d.ts +8 -0
- package/dist/cli/commands/status.d.ts.map +1 -0
- package/dist/cli/commands/status.js +65 -0
- package/dist/cli/commands/status.js.map +1 -0
- package/dist/cli/commands/teacher.d.ts +11 -0
- package/dist/cli/commands/teacher.d.ts.map +1 -0
- package/dist/cli/commands/teacher.js +48 -0
- package/dist/cli/commands/teacher.js.map +1 -0
- package/dist/cli/commands/triage.d.ts +10 -0
- package/dist/cli/commands/triage.d.ts.map +1 -0
- package/dist/cli/commands/triage.js +48 -0
- package/dist/cli/commands/triage.js.map +1 -0
- package/dist/cli/commands/upgrade.d.ts +10 -0
- package/dist/cli/commands/upgrade.d.ts.map +1 -0
- package/dist/cli/commands/upgrade.js +89 -0
- package/dist/cli/commands/upgrade.js.map +1 -0
- package/dist/cli/commands/verify.d.ts +6 -0
- package/dist/cli/commands/verify.d.ts.map +1 -0
- package/dist/cli/commands/verify.js +33 -0
- package/dist/cli/commands/verify.js.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +13 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/lib/agent-error.d.ts +20 -0
- package/dist/cli/lib/agent-error.d.ts.map +1 -0
- package/dist/cli/lib/agent-error.js +58 -0
- package/dist/cli/lib/agent-error.js.map +1 -0
- package/dist/cli/lib/architecture-credential.d.ts +22 -0
- package/dist/cli/lib/architecture-credential.d.ts.map +1 -0
- package/dist/cli/lib/architecture-credential.js +198 -0
- package/dist/cli/lib/architecture-credential.js.map +1 -0
- package/dist/cli/lib/architecture-pointer-discovery.d.ts +7 -0
- package/dist/cli/lib/architecture-pointer-discovery.d.ts.map +1 -0
- package/dist/cli/lib/architecture-pointer-discovery.js +60 -0
- package/dist/cli/lib/architecture-pointer-discovery.js.map +1 -0
- package/dist/cli/lib/architecture-pointer-doctor.d.ts +3 -0
- package/dist/cli/lib/architecture-pointer-doctor.d.ts.map +1 -0
- package/dist/cli/lib/architecture-pointer-doctor.js +114 -0
- package/dist/cli/lib/architecture-pointer-doctor.js.map +1 -0
- package/dist/cli/lib/architecture-pointer-schema.d.ts +5 -0
- package/dist/cli/lib/architecture-pointer-schema.d.ts.map +1 -0
- package/dist/cli/lib/architecture-pointer-schema.js +137 -0
- package/dist/cli/lib/architecture-pointer-schema.js.map +1 -0
- package/dist/cli/lib/architecture-pointer-types.d.ts +24 -0
- package/dist/cli/lib/architecture-pointer-types.d.ts.map +1 -0
- package/dist/cli/lib/architecture-pointer-types.js +7 -0
- package/dist/cli/lib/architecture-pointer-types.js.map +1 -0
- package/dist/cli/lib/architecture-pointer.d.ts +7 -0
- package/dist/cli/lib/architecture-pointer.d.ts.map +1 -0
- package/dist/cli/lib/architecture-pointer.js +10 -0
- package/dist/cli/lib/architecture-pointer.js.map +1 -0
- package/dist/cli/lib/atomic-fs.d.ts +9 -0
- package/dist/cli/lib/atomic-fs.d.ts.map +1 -0
- package/dist/cli/lib/atomic-fs.js +63 -0
- package/dist/cli/lib/atomic-fs.js.map +1 -0
- package/dist/cli/lib/audience-output.d.ts +18 -0
- package/dist/cli/lib/audience-output.d.ts.map +1 -0
- package/dist/cli/lib/audience-output.js +80 -0
- package/dist/cli/lib/audience-output.js.map +1 -0
- package/dist/cli/lib/break-glass.d.ts +25 -0
- package/dist/cli/lib/break-glass.d.ts.map +1 -0
- package/dist/cli/lib/break-glass.js +134 -0
- package/dist/cli/lib/break-glass.js.map +1 -0
- package/dist/cli/lib/cli-io.d.ts +9 -0
- package/dist/cli/lib/cli-io.d.ts.map +1 -0
- package/dist/cli/lib/cli-io.js +38 -0
- package/dist/cli/lib/cli-io.js.map +1 -0
- package/dist/cli/lib/cli-timeout.d.ts +9 -0
- package/dist/cli/lib/cli-timeout.d.ts.map +1 -0
- package/dist/cli/lib/cli-timeout.js +17 -0
- package/dist/cli/lib/cli-timeout.js.map +1 -0
- package/dist/cli/lib/constants.d.ts +26 -0
- package/dist/cli/lib/constants.d.ts.map +1 -0
- package/dist/cli/lib/constants.js +26 -0
- package/dist/cli/lib/constants.js.map +1 -0
- package/dist/cli/lib/dirty-missions.d.ts +8 -0
- package/dist/cli/lib/dirty-missions.d.ts.map +1 -0
- package/dist/cli/lib/dirty-missions.js +65 -0
- package/dist/cli/lib/dirty-missions.js.map +1 -0
- package/dist/cli/lib/doctor-checks.d.ts +16 -0
- package/dist/cli/lib/doctor-checks.d.ts.map +1 -0
- package/dist/cli/lib/doctor-checks.js +138 -0
- package/dist/cli/lib/doctor-checks.js.map +1 -0
- package/dist/cli/lib/doctor-integration-checks.d.ts +5 -0
- package/dist/cli/lib/doctor-integration-checks.d.ts.map +1 -0
- package/dist/cli/lib/doctor-integration-checks.js +88 -0
- package/dist/cli/lib/doctor-integration-checks.js.map +1 -0
- package/dist/cli/lib/doctor-orchestration.d.ts +10 -0
- package/dist/cli/lib/doctor-orchestration.d.ts.map +1 -0
- package/dist/cli/lib/doctor-orchestration.js +25 -0
- package/dist/cli/lib/doctor-orchestration.js.map +1 -0
- package/dist/cli/lib/draft-token.d.ts +37 -0
- package/dist/cli/lib/draft-token.d.ts.map +1 -0
- package/dist/cli/lib/draft-token.js +171 -0
- package/dist/cli/lib/draft-token.js.map +1 -0
- package/dist/cli/lib/fix-hints.d.ts +51 -0
- package/dist/cli/lib/fix-hints.d.ts.map +1 -0
- package/dist/cli/lib/fix-hints.js +197 -0
- package/dist/cli/lib/fix-hints.js.map +1 -0
- package/dist/cli/lib/forbidden-scan.d.ts +18 -0
- package/dist/cli/lib/forbidden-scan.d.ts.map +1 -0
- package/dist/cli/lib/forbidden-scan.js +96 -0
- package/dist/cli/lib/forbidden-scan.js.map +1 -0
- package/dist/cli/lib/gate.d.ts +10 -0
- package/dist/cli/lib/gate.d.ts.map +1 -0
- package/dist/cli/lib/gate.js +30 -0
- package/dist/cli/lib/gate.js.map +1 -0
- package/dist/cli/lib/git-metrics-missions.d.ts +3 -0
- package/dist/cli/lib/git-metrics-missions.d.ts.map +1 -0
- package/dist/cli/lib/git-metrics-missions.js +51 -0
- package/dist/cli/lib/git-metrics-missions.js.map +1 -0
- package/dist/cli/lib/git-metrics-stream.d.ts +24 -0
- package/dist/cli/lib/git-metrics-stream.d.ts.map +1 -0
- package/dist/cli/lib/git-metrics-stream.js +137 -0
- package/dist/cli/lib/git-metrics-stream.js.map +1 -0
- package/dist/cli/lib/git-metrics.d.ts +18 -0
- package/dist/cli/lib/git-metrics.d.ts.map +1 -0
- package/dist/cli/lib/git-metrics.js +39 -0
- package/dist/cli/lib/git-metrics.js.map +1 -0
- package/dist/cli/lib/git-proof-errors.d.ts +3 -0
- package/dist/cli/lib/git-proof-errors.d.ts.map +1 -0
- package/dist/cli/lib/git-proof-errors.js +7 -0
- package/dist/cli/lib/git-proof-errors.js.map +1 -0
- package/dist/cli/lib/git-proof.d.ts +37 -0
- package/dist/cli/lib/git-proof.d.ts.map +1 -0
- package/dist/cli/lib/git-proof.js +147 -0
- package/dist/cli/lib/git-proof.js.map +1 -0
- package/dist/cli/lib/git-repo.d.ts +17 -0
- package/dist/cli/lib/git-repo.d.ts.map +1 -0
- package/dist/cli/lib/git-repo.js +39 -0
- package/dist/cli/lib/git-repo.js.map +1 -0
- package/dist/cli/lib/git.d.ts +2 -0
- package/dist/cli/lib/git.d.ts.map +1 -0
- package/dist/cli/lib/git.js +19 -0
- package/dist/cli/lib/git.js.map +1 -0
- package/dist/cli/lib/gitignore-gxt.d.ts +2 -0
- package/dist/cli/lib/gitignore-gxt.d.ts.map +1 -0
- package/dist/cli/lib/gitignore-gxt.js +24 -0
- package/dist/cli/lib/gitignore-gxt.js.map +1 -0
- package/dist/cli/lib/gxt-error-codes.d.ts +19 -0
- package/dist/cli/lib/gxt-error-codes.d.ts.map +1 -0
- package/dist/cli/lib/gxt-error-codes.js +60 -0
- package/dist/cli/lib/gxt-error-codes.js.map +1 -0
- package/dist/cli/lib/init-asset-catalog.d.ts +15 -0
- package/dist/cli/lib/init-asset-catalog.d.ts.map +1 -0
- package/dist/cli/lib/init-asset-catalog.js +163 -0
- package/dist/cli/lib/init-asset-catalog.js.map +1 -0
- package/dist/cli/lib/init-assets.d.ts +8 -0
- package/dist/cli/lib/init-assets.d.ts.map +1 -0
- package/dist/cli/lib/init-assets.js +3 -0
- package/dist/cli/lib/init-assets.js.map +1 -0
- package/dist/cli/lib/init-compose-arch-pointer.d.ts +6 -0
- package/dist/cli/lib/init-compose-arch-pointer.d.ts.map +1 -0
- package/dist/cli/lib/init-compose-arch-pointer.js +64 -0
- package/dist/cli/lib/init-compose-arch-pointer.js.map +1 -0
- package/dist/cli/lib/init-compose-doc.d.ts +5 -0
- package/dist/cli/lib/init-compose-doc.d.ts.map +1 -0
- package/dist/cli/lib/init-compose-doc.js +37 -0
- package/dist/cli/lib/init-compose-doc.js.map +1 -0
- package/dist/cli/lib/init-interactive.d.ts +8 -0
- package/dist/cli/lib/init-interactive.d.ts.map +1 -0
- package/dist/cli/lib/init-interactive.js +195 -0
- package/dist/cli/lib/init-interactive.js.map +1 -0
- package/dist/cli/lib/init-plan.d.ts +20 -0
- package/dist/cli/lib/init-plan.d.ts.map +1 -0
- package/dist/cli/lib/init-plan.js +92 -0
- package/dist/cli/lib/init-plan.js.map +1 -0
- package/dist/cli/lib/init-profile.d.ts +39 -0
- package/dist/cli/lib/init-profile.d.ts.map +1 -0
- package/dist/cli/lib/init-profile.js +93 -0
- package/dist/cli/lib/init-profile.js.map +1 -0
- package/dist/cli/lib/init-tutorial.d.ts +2 -0
- package/dist/cli/lib/init-tutorial.d.ts.map +1 -0
- package/dist/cli/lib/init-tutorial.js +156 -0
- package/dist/cli/lib/init-tutorial.js.map +1 -0
- package/dist/cli/lib/integration-compat.d.ts +24 -0
- package/dist/cli/lib/integration-compat.d.ts.map +1 -0
- package/dist/cli/lib/integration-compat.js +50 -0
- package/dist/cli/lib/integration-compat.js.map +1 -0
- package/dist/cli/lib/legislate-skill.d.ts +20 -0
- package/dist/cli/lib/legislate-skill.d.ts.map +1 -0
- package/dist/cli/lib/legislate-skill.js +30 -0
- package/dist/cli/lib/legislate-skill.js.map +1 -0
- package/dist/cli/lib/manifest.d.ts +6 -0
- package/dist/cli/lib/manifest.d.ts.map +1 -0
- package/dist/cli/lib/manifest.js +53 -0
- package/dist/cli/lib/manifest.js.map +1 -0
- package/dist/cli/lib/mcp-legislation.d.ts +82 -0
- package/dist/cli/lib/mcp-legislation.d.ts.map +1 -0
- package/dist/cli/lib/mcp-legislation.js +181 -0
- package/dist/cli/lib/mcp-legislation.js.map +1 -0
- package/dist/cli/lib/mcp-orchestration.d.ts +12 -0
- package/dist/cli/lib/mcp-orchestration.d.ts.map +1 -0
- package/dist/cli/lib/mcp-orchestration.js +54 -0
- package/dist/cli/lib/mcp-orchestration.js.map +1 -0
- package/dist/cli/lib/mcp-runtime.d.ts +60 -0
- package/dist/cli/lib/mcp-runtime.d.ts.map +1 -0
- package/dist/cli/lib/mcp-runtime.js +133 -0
- package/dist/cli/lib/mcp-runtime.js.map +1 -0
- package/dist/cli/lib/mcp-tools-register.d.ts +4 -0
- package/dist/cli/lib/mcp-tools-register.d.ts.map +1 -0
- package/dist/cli/lib/mcp-tools-register.js +78 -0
- package/dist/cli/lib/mcp-tools-register.js.map +1 -0
- package/dist/cli/lib/mcp-upgrade.d.ts +7 -0
- package/dist/cli/lib/mcp-upgrade.d.ts.map +1 -0
- package/dist/cli/lib/mcp-upgrade.js +38 -0
- package/dist/cli/lib/mcp-upgrade.js.map +1 -0
- package/dist/cli/lib/mission-emit.d.ts +7 -0
- package/dist/cli/lib/mission-emit.d.ts.map +1 -0
- package/dist/cli/lib/mission-emit.js +23 -0
- package/dist/cli/lib/mission-emit.js.map +1 -0
- package/dist/cli/lib/mission-legislative-stub.d.ts +9 -0
- package/dist/cli/lib/mission-legislative-stub.d.ts.map +1 -0
- package/dist/cli/lib/mission-legislative-stub.js +36 -0
- package/dist/cli/lib/mission-legislative-stub.js.map +1 -0
- package/dist/cli/lib/mission-markdown.d.ts +6 -0
- package/dist/cli/lib/mission-markdown.d.ts.map +1 -0
- package/dist/cli/lib/mission-markdown.js +84 -0
- package/dist/cli/lib/mission-markdown.js.map +1 -0
- package/dist/cli/lib/mission-msn.d.ts +10 -0
- package/dist/cli/lib/mission-msn.d.ts.map +1 -0
- package/dist/cli/lib/mission-msn.js +85 -0
- package/dist/cli/lib/mission-msn.js.map +1 -0
- package/dist/cli/lib/mission-parser.d.ts +6 -0
- package/dist/cli/lib/mission-parser.d.ts.map +1 -0
- package/dist/cli/lib/mission-parser.js +29 -0
- package/dist/cli/lib/mission-parser.js.map +1 -0
- package/dist/cli/lib/mission-path.d.ts +4 -0
- package/dist/cli/lib/mission-path.d.ts.map +1 -0
- package/dist/cli/lib/mission-path.js +28 -0
- package/dist/cli/lib/mission-path.js.map +1 -0
- package/dist/cli/lib/mission-resolution.d.ts +14 -0
- package/dist/cli/lib/mission-resolution.d.ts.map +1 -0
- package/dist/cli/lib/mission-resolution.js +60 -0
- package/dist/cli/lib/mission-resolution.js.map +1 -0
- package/dist/cli/lib/mission-yaml.d.ts +12 -0
- package/dist/cli/lib/mission-yaml.d.ts.map +1 -0
- package/dist/cli/lib/mission-yaml.js +96 -0
- package/dist/cli/lib/mission-yaml.js.map +1 -0
- package/dist/cli/lib/msn-allocate.d.ts +13 -0
- package/dist/cli/lib/msn-allocate.d.ts.map +1 -0
- package/dist/cli/lib/msn-allocate.js +98 -0
- package/dist/cli/lib/msn-allocate.js.map +1 -0
- package/dist/cli/lib/msn.d.ts +2 -0
- package/dist/cli/lib/msn.d.ts.map +1 -0
- package/dist/cli/lib/msn.js +5 -0
- package/dist/cli/lib/msn.js.map +1 -0
- package/dist/cli/lib/onboarding-flow.d.ts +11 -0
- package/dist/cli/lib/onboarding-flow.d.ts.map +1 -0
- package/dist/cli/lib/onboarding-flow.js +25 -0
- package/dist/cli/lib/onboarding-flow.js.map +1 -0
- package/dist/cli/lib/out-of-scope-hint.d.ts +7 -0
- package/dist/cli/lib/out-of-scope-hint.d.ts.map +1 -0
- package/dist/cli/lib/out-of-scope-hint.js +79 -0
- package/dist/cli/lib/out-of-scope-hint.js.map +1 -0
- package/dist/cli/lib/output-context.d.ts +22 -0
- package/dist/cli/lib/output-context.d.ts.map +1 -0
- package/dist/cli/lib/output-context.js +55 -0
- package/dist/cli/lib/output-context.js.map +1 -0
- package/dist/cli/lib/program-audience-hook.d.ts +4 -0
- package/dist/cli/lib/program-audience-hook.d.ts.map +1 -0
- package/dist/cli/lib/program-audience-hook.js +35 -0
- package/dist/cli/lib/program-audience-hook.js.map +1 -0
- package/dist/cli/lib/runtime-env.d.ts +23 -0
- package/dist/cli/lib/runtime-env.d.ts.map +1 -0
- package/dist/cli/lib/runtime-env.js +64 -0
- package/dist/cli/lib/runtime-env.js.map +1 -0
- package/dist/cli/lib/runtime-exec-orchestrator.d.ts +14 -0
- package/dist/cli/lib/runtime-exec-orchestrator.d.ts.map +1 -0
- package/dist/cli/lib/runtime-exec-orchestrator.js +131 -0
- package/dist/cli/lib/runtime-exec-orchestrator.js.map +1 -0
- package/dist/cli/lib/runtime-exec-process.d.ts +23 -0
- package/dist/cli/lib/runtime-exec-process.d.ts.map +1 -0
- package/dist/cli/lib/runtime-exec-process.js +55 -0
- package/dist/cli/lib/runtime-exec-process.js.map +1 -0
- package/dist/cli/lib/runtime-exec-result.d.ts +21 -0
- package/dist/cli/lib/runtime-exec-result.d.ts.map +1 -0
- package/dist/cli/lib/runtime-exec-result.js +42 -0
- package/dist/cli/lib/runtime-exec-result.js.map +1 -0
- package/dist/cli/lib/runtime-exec-worker.d.ts +18 -0
- package/dist/cli/lib/runtime-exec-worker.d.ts.map +1 -0
- package/dist/cli/lib/runtime-exec-worker.js +49 -0
- package/dist/cli/lib/runtime-exec-worker.js.map +1 -0
- package/dist/cli/lib/runtime-exec.d.ts +5 -0
- package/dist/cli/lib/runtime-exec.d.ts.map +1 -0
- package/dist/cli/lib/runtime-exec.js +5 -0
- package/dist/cli/lib/runtime-exec.js.map +1 -0
- package/dist/cli/lib/skill-sync.d.ts +11 -0
- package/dist/cli/lib/skill-sync.d.ts.map +1 -0
- package/dist/cli/lib/skill-sync.js +39 -0
- package/dist/cli/lib/skill-sync.js.map +1 -0
- package/dist/cli/lib/start-orchestration.d.ts +29 -0
- package/dist/cli/lib/start-orchestration.d.ts.map +1 -0
- package/dist/cli/lib/start-orchestration.js +176 -0
- package/dist/cli/lib/start-orchestration.js.map +1 -0
- package/dist/cli/lib/start-state.d.ts +12 -0
- package/dist/cli/lib/start-state.d.ts.map +1 -0
- package/dist/cli/lib/start-state.js +86 -0
- package/dist/cli/lib/start-state.js.map +1 -0
- package/dist/cli/lib/status-report.d.ts +21 -0
- package/dist/cli/lib/status-report.d.ts.map +1 -0
- package/dist/cli/lib/status-report.js +77 -0
- package/dist/cli/lib/status-report.js.map +1 -0
- package/dist/cli/lib/substrate-version.d.ts +22 -0
- package/dist/cli/lib/substrate-version.d.ts.map +1 -0
- package/dist/cli/lib/substrate-version.js +97 -0
- package/dist/cli/lib/substrate-version.js.map +1 -0
- package/dist/cli/lib/teacher-identity.d.ts +24 -0
- package/dist/cli/lib/teacher-identity.d.ts.map +1 -0
- package/dist/cli/lib/teacher-identity.js +123 -0
- package/dist/cli/lib/teacher-identity.js.map +1 -0
- package/dist/cli/lib/telemetry-log.d.ts +22 -0
- package/dist/cli/lib/telemetry-log.d.ts.map +1 -0
- package/dist/cli/lib/telemetry-log.js +50 -0
- package/dist/cli/lib/telemetry-log.js.map +1 -0
- package/dist/cli/lib/trace-failure-kind.d.ts +4 -0
- package/dist/cli/lib/trace-failure-kind.d.ts.map +1 -0
- package/dist/cli/lib/trace-failure-kind.js +23 -0
- package/dist/cli/lib/trace-failure-kind.js.map +1 -0
- package/dist/cli/lib/trace.d.ts +25 -0
- package/dist/cli/lib/trace.d.ts.map +1 -0
- package/dist/cli/lib/trace.js +121 -0
- package/dist/cli/lib/trace.js.map +1 -0
- package/dist/cli/lib/triage-logic.d.ts +10 -0
- package/dist/cli/lib/triage-logic.d.ts.map +1 -0
- package/dist/cli/lib/triage-logic.js +105 -0
- package/dist/cli/lib/triage-logic.js.map +1 -0
- package/dist/cli/lib/types.d.ts +62 -0
- package/dist/cli/lib/types.d.ts.map +1 -0
- package/dist/cli/lib/types.js +2 -0
- package/dist/cli/lib/types.js.map +1 -0
- package/dist/cli/lib/upgrade-apply.d.ts +15 -0
- package/dist/cli/lib/upgrade-apply.d.ts.map +1 -0
- package/dist/cli/lib/upgrade-apply.js +122 -0
- package/dist/cli/lib/upgrade-apply.js.map +1 -0
- package/dist/cli/lib/upgrade-eligible-assets.d.ts +5 -0
- package/dist/cli/lib/upgrade-eligible-assets.d.ts.map +1 -0
- package/dist/cli/lib/upgrade-eligible-assets.js +9 -0
- package/dist/cli/lib/upgrade-eligible-assets.js.map +1 -0
- package/dist/cli/lib/upgrade-plan.d.ts +43 -0
- package/dist/cli/lib/upgrade-plan.d.ts.map +1 -0
- package/dist/cli/lib/upgrade-plan.js +220 -0
- package/dist/cli/lib/upgrade-plan.js.map +1 -0
- package/dist/cli/lib/upgrade-profile.d.ts +4 -0
- package/dist/cli/lib/upgrade-profile.d.ts.map +1 -0
- package/dist/cli/lib/upgrade-profile.js +27 -0
- package/dist/cli/lib/upgrade-profile.js.map +1 -0
- package/dist/cli/lib/user-error.d.ts +20 -0
- package/dist/cli/lib/user-error.d.ts.map +1 -0
- package/dist/cli/lib/user-error.js +64 -0
- package/dist/cli/lib/user-error.js.map +1 -0
- package/dist/cli/lib/verify-engine.d.ts +33 -0
- package/dist/cli/lib/verify-engine.d.ts.map +1 -0
- package/dist/cli/lib/verify-engine.js +104 -0
- package/dist/cli/lib/verify-engine.js.map +1 -0
- package/dist/cli/lib/verify-failure-presentation.d.ts +31 -0
- package/dist/cli/lib/verify-failure-presentation.d.ts.map +1 -0
- package/dist/cli/lib/verify-failure-presentation.js +93 -0
- package/dist/cli/lib/verify-failure-presentation.js.map +1 -0
- package/dist/cli/lib/verify-flow.d.ts +21 -0
- package/dist/cli/lib/verify-flow.d.ts.map +1 -0
- package/dist/cli/lib/verify-flow.js +103 -0
- package/dist/cli/lib/verify-flow.js.map +1 -0
- package/dist/cli/lib/verify-repair.d.ts +4 -0
- package/dist/cli/lib/verify-repair.d.ts.map +1 -0
- package/dist/cli/lib/verify-repair.js +61 -0
- package/dist/cli/lib/verify-repair.js.map +1 -0
- package/dist/cli/lib/verify-types.d.ts +21 -0
- package/dist/cli/lib/verify-types.d.ts.map +1 -0
- package/dist/cli/lib/verify-types.js +2 -0
- package/dist/cli/lib/verify-types.js.map +1 -0
- package/dist/cli/lib/version.gen.d.ts +4 -0
- package/dist/cli/lib/version.gen.d.ts.map +1 -0
- package/dist/cli/lib/version.gen.js +4 -0
- package/dist/cli/lib/version.gen.js.map +1 -0
- package/dist/cli/lib/worker-log-line-map.d.ts +12 -0
- package/dist/cli/lib/worker-log-line-map.d.ts.map +1 -0
- package/dist/cli/lib/worker-log-line-map.js +29 -0
- package/dist/cli/lib/worker-log-line-map.js.map +1 -0
- package/dist/cli/lib/workspace.d.ts +11 -0
- package/dist/cli/lib/workspace.d.ts.map +1 -0
- package/dist/cli/lib/workspace.js +14 -0
- package/dist/cli/lib/workspace.js.map +1 -0
- package/dist/cli/program-arch.d.ts +3 -0
- package/dist/cli/program-arch.d.ts.map +1 -0
- package/dist/cli/program-arch.js +45 -0
- package/dist/cli/program-arch.js.map +1 -0
- package/dist/cli/program-core.d.ts +3 -0
- package/dist/cli/program-core.d.ts.map +1 -0
- package/dist/cli/program-core.js +154 -0
- package/dist/cli/program-core.js.map +1 -0
- package/dist/cli/program-mcp.d.ts +3 -0
- package/dist/cli/program-mcp.d.ts.map +1 -0
- package/dist/cli/program-mcp.js +12 -0
- package/dist/cli/program-mcp.js.map +1 -0
- package/dist/cli/program-mission.d.ts +3 -0
- package/dist/cli/program-mission.d.ts.map +1 -0
- package/dist/cli/program-mission.js +77 -0
- package/dist/cli/program-mission.js.map +1 -0
- package/dist/cli/program-teacher.d.ts +3 -0
- package/dist/cli/program-teacher.d.ts.map +1 -0
- package/dist/cli/program-teacher.js +19 -0
- package/dist/cli/program-teacher.js.map +1 -0
- package/dist/cli/program-workflow.d.ts +3 -0
- package/dist/cli/program-workflow.d.ts.map +1 -0
- package/dist/cli/program-workflow.js +81 -0
- package/dist/cli/program-workflow.js.map +1 -0
- package/dist/cli/program.d.ts +4 -0
- package/dist/cli/program.d.ts.map +1 -0
- package/dist/cli/program.js +25 -0
- package/dist/cli/program.js.map +1 -0
- package/package.json +66 -0
- package/templates/.cursor/hooks/gxt-before-shell.sh +63 -0
- package/templates/.cursor/hooks/gxt-session-start.sh +68 -0
- package/templates/.cursor/hooks.json +15 -0
- package/templates/.cursor/mcp.json +8 -0
- package/templates/.cursor/rules/opengantry-gxt-substrate.mdc +43 -0
- package/templates/.gitagent/ARCHITECTURE.pointer.external.example.json +13 -0
- package/templates/.gitagent/ARCHITECTURE.pointer.json +9 -0
- package/templates/.gitagent/foreman/BYPASS.sha256 +2 -0
- package/templates/.gitagent/foreman/MANIFEST.json +37 -0
- package/templates/.gitagent/foreman/SUBSTRATE.version.json +6 -0
- package/templates/.gitagent/foreman/TEACHER.allowlist.example +4 -0
- package/templates/.gitagent/missions/README.md +18 -0
- package/templates/.gitagent/teacher/ARCHITECTURE-ACCESS.md +85 -0
- package/templates/.gitagent/teacher/ARCHITECTURE-DISCOVERY.md +40 -0
- package/templates/.gitagent/teacher/MISSION-ARCHITECT.md +93 -0
- package/templates/.gitagent/teacher/MISSION.schema.yaml +80 -0
- package/templates/.gitagent/teacher/RULES.md +36 -0
- package/templates/.gitagent/teacher/WORKER_LOG.template.md +2 -0
- package/templates/.githooks/post-checkout +26 -0
- package/templates/.githooks/pre-push +53 -0
- package/templates/.github/workflows/gxt-validate.yml +129 -0
- package/templates/.gitignore.gxt +8 -0
- package/templates/AGENTS.md +24 -0
- package/templates/docs/ARCHITECTURE.md +23 -0
- package/templates/integrations/aider/.aider.conf.yml +4 -0
- package/templates/integrations/antigravity/.agent/rules/gxt.md +11 -0
- package/templates/integrations/claude-code/CLAUDE.md +9 -0
- package/templates/integrations/cline/.clinerules/gxt.md +7 -0
- package/templates/integrations/codex-cli/.codex/config.toml +3 -0
- package/templates/integrations/compatibility.json +92 -0
- package/templates/integrations/junie/.junie/guidelines.md +11 -0
- package/templates/integrations/opencode/opencode.json +3 -0
- package/templates/integrations/openhands/.openhands/microagents/gxt.md +11 -0
- package/templates/integrations/recipes/_footer.md +20 -0
- package/templates/integrations/recipes/_preamble.md +46 -0
- package/templates/integrations/recipes/aider.md +13 -0
- package/templates/integrations/recipes/antigravity.md +8 -0
- package/templates/integrations/recipes/claude-code.md +14 -0
- package/templates/integrations/recipes/cline.md +8 -0
- package/templates/integrations/recipes/codex-cli.md +16 -0
- package/templates/integrations/recipes/cursor.md +19 -0
- package/templates/integrations/recipes/junie.md +8 -0
- package/templates/integrations/recipes/opencode.md +8 -0
- package/templates/integrations/recipes/openhands.md +8 -0
- package/templates/scripts/dev-validate.sh +24 -0
- package/templates/scripts/gxt-cursor-env.sh +5 -0
- package/templates/scripts/gxt-manifest-lib.mjs +139 -0
- package/templates/scripts/gxt-pin-mission.sh +31 -0
- package/templates/scripts/gxt-resolve-mission.sh +47 -0
- package/templates/scripts/gxt-runtime-env.sh +32 -0
- package/templates/scripts/validate-gxt.sh +184 -0
- package/templates/skills/gapman.md +5 -0
- package/templates/skills/logic.md +3 -0
- package/templates/skills/substrate.md +3 -0
- package/templates/skills/ui.md +3 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Validates OpenGantry substrate: Foreman MANIFEST + path-scoped [MSN-NNNN] on PRs.
|
|
2
|
+
#
|
|
3
|
+
# MSN policy (pull_request only): commits touching MSN-enforced paths must have
|
|
4
|
+
# subject [MSN-NNNN] (four digits) or a valid gxt-bypass git note.
|
|
5
|
+
# Paths = fixed substrate (.gitagent/, WORKER_LOG.md, .githooks/, gxt-validate.yml)
|
|
6
|
+
# + all MANIFEST skills[].tmvc_roots (Node via scripts/gxt-manifest-lib.mjs).
|
|
7
|
+
# Logic: scripts/validate-gxt.sh — keep workflow header and script in sync.
|
|
8
|
+
|
|
9
|
+
name: GXT validate
|
|
10
|
+
|
|
11
|
+
on:
|
|
12
|
+
push:
|
|
13
|
+
branches: ["**"]
|
|
14
|
+
pull_request:
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
manifest:
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v6
|
|
24
|
+
|
|
25
|
+
- uses: actions/setup-node@v6
|
|
26
|
+
with:
|
|
27
|
+
node-version: "24"
|
|
28
|
+
cache: "npm"
|
|
29
|
+
|
|
30
|
+
- name: Install Node deps
|
|
31
|
+
run: npm ci
|
|
32
|
+
|
|
33
|
+
- name: Build gapman
|
|
34
|
+
run: npm run build
|
|
35
|
+
|
|
36
|
+
- name: gapman check (MANIFEST + Rule 4.4 skills sync)
|
|
37
|
+
run: node dist/cli/index.js check
|
|
38
|
+
|
|
39
|
+
- name: Validate Foreman MANIFEST.json (Node parity)
|
|
40
|
+
run: ./scripts/validate-gxt.sh manifest
|
|
41
|
+
|
|
42
|
+
- name: gapman unit tests
|
|
43
|
+
run: node --test dist/cli/tests/*.test.js
|
|
44
|
+
|
|
45
|
+
- name: gapman doctor (readiness)
|
|
46
|
+
run: node dist/cli/index.js doctor
|
|
47
|
+
|
|
48
|
+
code_quality:
|
|
49
|
+
if: github.event_name == 'pull_request'
|
|
50
|
+
runs-on: ubuntu-latest
|
|
51
|
+
steps:
|
|
52
|
+
- uses: actions/checkout@v6
|
|
53
|
+
with:
|
|
54
|
+
fetch-depth: 0
|
|
55
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
56
|
+
|
|
57
|
+
- uses: actions/setup-node@v6
|
|
58
|
+
with:
|
|
59
|
+
node-version: "24"
|
|
60
|
+
cache: "npm"
|
|
61
|
+
|
|
62
|
+
- name: Install Node deps
|
|
63
|
+
run: npm ci
|
|
64
|
+
|
|
65
|
+
- name: Changed-code quality gates (complexity + import layers)
|
|
66
|
+
env:
|
|
67
|
+
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
|
68
|
+
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
|
69
|
+
run: ./scripts/check-changed-code.sh "$BASE_SHA" "$HEAD_SHA"
|
|
70
|
+
|
|
71
|
+
npm_pack:
|
|
72
|
+
runs-on: ubuntu-latest
|
|
73
|
+
steps:
|
|
74
|
+
- uses: actions/checkout@v6
|
|
75
|
+
|
|
76
|
+
- uses: actions/setup-node@v6
|
|
77
|
+
with:
|
|
78
|
+
node-version: "24"
|
|
79
|
+
cache: npm
|
|
80
|
+
|
|
81
|
+
- name: Install Node deps
|
|
82
|
+
run: npm ci
|
|
83
|
+
|
|
84
|
+
- name: npm pack check
|
|
85
|
+
run: ./scripts/npm-pack-check.sh
|
|
86
|
+
|
|
87
|
+
msn_commits:
|
|
88
|
+
if: github.event_name == 'pull_request'
|
|
89
|
+
runs-on: ubuntu-latest
|
|
90
|
+
steps:
|
|
91
|
+
- uses: actions/checkout@v6
|
|
92
|
+
with:
|
|
93
|
+
fetch-depth: 0
|
|
94
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
95
|
+
|
|
96
|
+
- name: Fetch gxt-bypass git notes
|
|
97
|
+
run: git fetch origin 'refs/notes/*:refs/notes/*' || true
|
|
98
|
+
|
|
99
|
+
- name: Path-scoped MSN commit subjects
|
|
100
|
+
env:
|
|
101
|
+
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
|
102
|
+
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
|
103
|
+
run: ./scripts/validate-gxt.sh msn "$BASE_SHA" "$HEAD_SHA"
|
|
104
|
+
|
|
105
|
+
mission_verify:
|
|
106
|
+
if: github.event_name == 'pull_request'
|
|
107
|
+
runs-on: ubuntu-latest
|
|
108
|
+
steps:
|
|
109
|
+
- uses: actions/checkout@v6
|
|
110
|
+
with:
|
|
111
|
+
fetch-depth: 0
|
|
112
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
113
|
+
|
|
114
|
+
- uses: actions/setup-node@v6
|
|
115
|
+
with:
|
|
116
|
+
node-version: "24"
|
|
117
|
+
cache: npm
|
|
118
|
+
|
|
119
|
+
- name: Install Node deps
|
|
120
|
+
run: npm ci
|
|
121
|
+
|
|
122
|
+
- name: Build gapman
|
|
123
|
+
run: npm run build
|
|
124
|
+
|
|
125
|
+
- name: Full verify on PR-changed missions
|
|
126
|
+
env:
|
|
127
|
+
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
|
128
|
+
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
|
129
|
+
run: ./scripts/verify-pr-missions.sh
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# OpenGantry local forensic paths (merged by gapman init)
|
|
2
|
+
.gitagent/.upgrade-tmp/
|
|
3
|
+
.gitagent/foreman/TEACHER.allowlist.local
|
|
4
|
+
.gitagent/history/
|
|
5
|
+
.gitagent/history/credentials/
|
|
6
|
+
.gitagent/history/.ignored-last-error.json
|
|
7
|
+
.gitagent/history/.draft-token-replay.json
|
|
8
|
+
.gitagent/foreman/DRAFT_TOKEN.key
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Agent instructions (OpenGantry)
|
|
2
|
+
|
|
3
|
+
Before planning, editing code, or running substantive commands in this repository:
|
|
4
|
+
|
|
5
|
+
1. Read **`.gitagent/teacher/RULES.md`** — governance (SOD, trace mapping, risk tiers, dynamic TMVC, Rule 4.4).
|
|
6
|
+
2. Read **`.gitagent/foreman/MANIFEST.json`** — Foreman map (`schema_version`, per-skill `trust_threshold`, `tmvc_roots`, `forbidden_zones`, `path_risks`, `risk_keywords`).
|
|
7
|
+
|
|
8
|
+
Treat these as the **law + routing contract** for agent work. Before editing application code, read **`.gitagent/ARCHITECTURE.pointer.json`**. If **`kind` is `unset`**, or docs are stub/missing, read **`.gitagent/teacher/ARCHITECTURE-DISCOVERY.md`** and ask the user — do not invent architecture. When `access.required` is true, read **`.gitagent/teacher/ARCHITECTURE-ACCESS.md`**. For GXT workflow orientation, see **`.gitagent/README.md`**.
|
|
9
|
+
|
|
10
|
+
## Mission Architect (IDE chat)
|
|
11
|
+
|
|
12
|
+
**Activation macro:**
|
|
13
|
+
|
|
14
|
+
- If a user prompt starts with `/gantry`, treat that as an explicit Mission Architect activation request. Do not use `/plan` — Cursor reserves it for native Plan Mode.
|
|
15
|
+
- On activation, follow **`.gitagent/teacher/MISSION-ARCHITECT.md`** and complete the legislate handoff flow.
|
|
16
|
+
|
|
17
|
+
**Implicit interception:**
|
|
18
|
+
|
|
19
|
+
When the user **explicitly** asks to write, edit, refactor, or implement code and **no mission is pinned**, read **`.gitagent/teacher/MISSION-ARCHITECT.md`** and follow it.
|
|
20
|
+
|
|
21
|
+
- **Do NOT** trigger for questions, explanations, or code discovery — answer normally.
|
|
22
|
+
- **Fast-path** trivial single-file work; **full interview** for heavy/risky scope.
|
|
23
|
+
- **Cursor MCP handoff (preferred):** `gxt_draft_legislation` → human chat approval → `gxt_execute_legislation` → Teacher commit → `gxt_check_signature` → `gxt_pin_mission`.
|
|
24
|
+
- **CLI fallback:** one copy-paste `gapman legislate …` command — never raw YAML blocks.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Code architecture
|
|
2
|
+
|
|
3
|
+
Document repository layout, module boundaries, and dependency direction for agents working in this codebase.
|
|
4
|
+
|
|
5
|
+
This file is the **default** architecture source when [`.gitagent/ARCHITECTURE.pointer.json`](../.gitagent/ARCHITECTURE.pointer.json) has `"kind": "file"`. You may instead point the pointer at:
|
|
6
|
+
|
|
7
|
+
- **`directory`** — e.g. `docs/architecture/` (read `README.md` or index first, then layer notes)
|
|
8
|
+
- **`external`** — e.g. a wiki URL or MCP-backed doc system (follow `read_hint` in the pointer)
|
|
9
|
+
|
|
10
|
+
Agents discover how to read architecture via the pointer on first substantive work — do not hardcode alternate paths in IDE rules.
|
|
11
|
+
|
|
12
|
+
**If the pointer has `kind: unset`**, or pointed docs are still the init stub, read **`.gitagent/teacher/ARCHITECTURE-DISCOVERY.md`** and ask the user structured questions before implementing — never invent the full architecture yourself.
|
|
13
|
+
|
|
14
|
+
## GXT governance (always read first)
|
|
15
|
+
|
|
16
|
+
1. **`.gitagent/teacher/RULES.md`** — law (SOD, trace, TMVC, Rule 4.4).
|
|
17
|
+
2. **`.gitagent/foreman/MANIFEST.json`** — skill routing, `tmvc_roots`, forbidden zones.
|
|
18
|
+
|
|
19
|
+
Workflow orientation: **`.gitagent/README.md`**.
|
|
20
|
+
|
|
21
|
+
## Your architecture notes
|
|
22
|
+
|
|
23
|
+
Replace this section with your project structure — layers, import rules, and where new code belongs. Keep TMVC roots in MANIFEST aligned with paths described here.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
always_on: true
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# GXT substrate (Google Antigravity)
|
|
6
|
+
|
|
7
|
+
Read **`AGENTS.md`**, **`.gitagent/teacher/RULES.md`**, and **`.gitagent/foreman/MANIFEST.json`** before acting.
|
|
8
|
+
|
|
9
|
+
Bootstrap: `source scripts/gxt-runtime-env.sh .gitagent/missions/<file>.yaml`
|
|
10
|
+
|
|
11
|
+
See `.gitagent/ARCHITECTURE.pointer.json` for code layout (follow `read_hint`). GXT workflow: `.gitagent/README.md`.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Claude Code — GXT context (keep under ~200 lines)
|
|
2
|
+
|
|
3
|
+
Before planning, editing code, or running substantive commands:
|
|
4
|
+
|
|
5
|
+
1. Read **`AGENTS.md`** — cross-tool entry.
|
|
6
|
+
2. Read **`.gitagent/teacher/RULES.md`** — governance law.
|
|
7
|
+
3. Read **`.gitagent/foreman/MANIFEST.json`** — routing map (TMVC roots, forbidden zones).
|
|
8
|
+
|
|
9
|
+
Do not duplicate full RULES here. For code architecture read `.gitagent/ARCHITECTURE.pointer.json` first (follow `read_hint`). For GXT workflow see `.gitagent/README.md`.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# GXT policy for Cline
|
|
2
|
+
|
|
3
|
+
Before substantive work, read `AGENTS.md`, `.gitagent/teacher/RULES.md`, and `.gitagent/foreman/MANIFEST.json`.
|
|
4
|
+
|
|
5
|
+
Terminal bootstrap: `source scripts/gxt-runtime-env.sh .gitagent/missions/<file>.yaml`
|
|
6
|
+
|
|
7
|
+
Code layout: read `.gitagent/ARCHITECTURE.pointer.json` first (file, folder, or external per `kind`). GXT workflow: `.gitagent/README.md`.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1",
|
|
3
|
+
"opengantry_version": "1.0.0",
|
|
4
|
+
"integrations": {
|
|
5
|
+
"cursor": {
|
|
6
|
+
"display_name": "Cursor",
|
|
7
|
+
"verified_date": "2026-05-19",
|
|
8
|
+
"docs_url": "https://cursor.com/docs/agent/hooks",
|
|
9
|
+
"recipe_file": "cursor.md",
|
|
10
|
+
"canonical_paths": [
|
|
11
|
+
".cursor/rules/opengantry-gxt-substrate.mdc",
|
|
12
|
+
".cursor/hooks.json"
|
|
13
|
+
],
|
|
14
|
+
"deprecated_paths": [".cursorrules"],
|
|
15
|
+
"hooks_schema_version": 1,
|
|
16
|
+
"cli_probe": ["cursor", "--version"]
|
|
17
|
+
},
|
|
18
|
+
"claude-code": {
|
|
19
|
+
"display_name": "Claude Code",
|
|
20
|
+
"verified_date": "2026-05-19",
|
|
21
|
+
"docs_url": "https://docs.anthropic.com/en/docs/claude-code",
|
|
22
|
+
"recipe_file": "claude-code.md",
|
|
23
|
+
"canonical_paths": ["CLAUDE.md"],
|
|
24
|
+
"deprecated_paths": [],
|
|
25
|
+
"cli_probe": ["claude", "--version"]
|
|
26
|
+
},
|
|
27
|
+
"codex-cli": {
|
|
28
|
+
"display_name": "OpenAI Codex CLI",
|
|
29
|
+
"verified_date": "2026-05-19",
|
|
30
|
+
"docs_url": "https://developers.openai.com/codex/config-basic",
|
|
31
|
+
"disambiguation": "OpenAI Codex API (2021-2023) is NOT this product",
|
|
32
|
+
"recipe_file": "codex-cli.md",
|
|
33
|
+
"canonical_paths": ["AGENTS.md", ".codex/config.toml"],
|
|
34
|
+
"deprecated_paths": [],
|
|
35
|
+
"cli_probe": ["codex", "--version"]
|
|
36
|
+
},
|
|
37
|
+
"opencode": {
|
|
38
|
+
"display_name": "OpenCode",
|
|
39
|
+
"verified_date": "2026-05-19",
|
|
40
|
+
"docs_url": "https://opencode.ai/docs",
|
|
41
|
+
"recipe_file": "opencode.md",
|
|
42
|
+
"canonical_paths": ["opencode.json"],
|
|
43
|
+
"deprecated_paths": [],
|
|
44
|
+
"cli_probe": ["opencode", "--version"]
|
|
45
|
+
},
|
|
46
|
+
"junie": {
|
|
47
|
+
"display_name": "JetBrains Junie",
|
|
48
|
+
"verified_date": "2026-05-19",
|
|
49
|
+
"docs_url": "https://www.jetbrains.com/junie/",
|
|
50
|
+
"recipe_file": "junie.md",
|
|
51
|
+
"canonical_paths": [".junie/guidelines.md"],
|
|
52
|
+
"deprecated_paths": [],
|
|
53
|
+
"cli_probe": null
|
|
54
|
+
},
|
|
55
|
+
"antigravity": {
|
|
56
|
+
"display_name": "Google Antigravity",
|
|
57
|
+
"verified_date": "2026-05-19",
|
|
58
|
+
"docs_url": "https://antigravity.google/",
|
|
59
|
+
"recipe_file": "antigravity.md",
|
|
60
|
+
"canonical_paths": [".agent/rules/gxt.md"],
|
|
61
|
+
"deprecated_paths": [],
|
|
62
|
+
"cli_probe": null
|
|
63
|
+
},
|
|
64
|
+
"cline": {
|
|
65
|
+
"display_name": "Cline",
|
|
66
|
+
"verified_date": "2026-05-19",
|
|
67
|
+
"docs_url": "https://docs.cline.bot/",
|
|
68
|
+
"recipe_file": "cline.md",
|
|
69
|
+
"canonical_paths": [".clinerules/gxt.md"],
|
|
70
|
+
"deprecated_paths": [".cursorrules"],
|
|
71
|
+
"cli_probe": null
|
|
72
|
+
},
|
|
73
|
+
"aider": {
|
|
74
|
+
"display_name": "Aider",
|
|
75
|
+
"verified_date": "2026-05-19",
|
|
76
|
+
"docs_url": "https://aider.chat/docs/",
|
|
77
|
+
"recipe_file": "aider.md",
|
|
78
|
+
"canonical_paths": [".aider.conf.yml"],
|
|
79
|
+
"deprecated_paths": [],
|
|
80
|
+
"cli_probe": ["aider", "--version"]
|
|
81
|
+
},
|
|
82
|
+
"openhands": {
|
|
83
|
+
"display_name": "OpenHands",
|
|
84
|
+
"verified_date": "2026-05-19",
|
|
85
|
+
"docs_url": "https://docs.all-hands.dev/",
|
|
86
|
+
"recipe_file": "openhands.md",
|
|
87
|
+
"canonical_paths": [".openhands/microagents/gxt.md"],
|
|
88
|
+
"deprecated_paths": [],
|
|
89
|
+
"cli_probe": null
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# JetBrains Junie — GXT guidelines
|
|
2
|
+
|
|
3
|
+
Before planning, editing code, or running substantive commands:
|
|
4
|
+
|
|
5
|
+
1. Read **`AGENTS.md`**
|
|
6
|
+
2. Read **`.gitagent/teacher/RULES.md`**
|
|
7
|
+
3. Read **`.gitagent/foreman/MANIFEST.json`**
|
|
8
|
+
|
|
9
|
+
Bootstrap: `source scripts/gxt-runtime-env.sh .gitagent/missions/<file>.yaml`
|
|
10
|
+
|
|
11
|
+
See `.gitagent/ARCHITECTURE.pointer.json` for code layout (follow `read_hint`). GXT workflow: `.gitagent/README.md`.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# OpenHands microagent — GXT substrate
|
|
2
|
+
|
|
3
|
+
Before planning or editing code, read:
|
|
4
|
+
|
|
5
|
+
- `AGENTS.md`
|
|
6
|
+
- `.gitagent/teacher/RULES.md`
|
|
7
|
+
- `.gitagent/foreman/MANIFEST.json`
|
|
8
|
+
|
|
9
|
+
Bootstrap: `source scripts/gxt-runtime-env.sh .gitagent/missions/<file>.yaml`
|
|
10
|
+
|
|
11
|
+
See `.gitagent/ARCHITECTURE.pointer.json` for code layout (follow `read_hint`). GXT workflow: `.gitagent/README.md`.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
|
|
3
|
+
## Closed-loop checklist
|
|
4
|
+
|
|
5
|
+
1. `gapman init` + `export GAPMAN_TEACHER_EMAILS="$(git config user.email)"` + `gapman doctor`
|
|
6
|
+
2. `gapman legislate "<intent>" --msn MSN-NNNN --skill-key <key>` → Teacher `[MSN-NNNN]` commit
|
|
7
|
+
3. Bootstrap: `source scripts/gxt-runtime-env.sh .gitagent/missions/<file>.yaml`
|
|
8
|
+
4. Worker executes; append PASS quotes to `WORKER_LOG.md`
|
|
9
|
+
5. `gapman verify --mission .gitagent/missions/<file>.yaml`
|
|
10
|
+
6. `git push` (pre-push uses `--pre-push` handoff semantics)
|
|
11
|
+
|
|
12
|
+
## Troubleshooting
|
|
13
|
+
|
|
14
|
+
| Symptom | Fix |
|
|
15
|
+
|---------|-----|
|
|
16
|
+
| `NO_MSN_COMMITS` on push | Teacher `[MSN-NNNN]` commit modifying the mission file; set `GAPMAN_TEACHER_EMAILS` |
|
|
17
|
+
| Pre-push OK, full verify fails trace | Fill `WORKER_LOG.md`; align `trace_rows`; re-run full verify |
|
|
18
|
+
| `TEACHER_IDENTITY_UNCONFIGURED` | `export GAPMAN_TEACHER_EMAILS="$(git config user.email)"` |
|
|
19
|
+
|
|
20
|
+
Integration compat verified by OpenGantry release — run `gapman doctor` for detected wiring and stale paths.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Agent Integrations (GXT wrapper)
|
|
2
|
+
|
|
3
|
+
OpenGantry is **tool-agnostic**. Any agent that can run shell commands can participate in the GXT loop.
|
|
4
|
+
|
|
5
|
+
## Universal rule
|
|
6
|
+
|
|
7
|
+
1. Teacher legislates a mission under `.gitagent/missions/` (IDE chat: [`.gitagent/teacher/MISSION-ARCHITECT.md`](.gitagent/teacher/MISSION-ARCHITECT.md) — one copy-paste `gapman legislate` command).
|
|
8
|
+
2. Bootstrap mission-scoped runtime env before worker execution.
|
|
9
|
+
3. Append trace evidence to `WORKER_LOG.md`.
|
|
10
|
+
4. Finish with `gapman verify --mission <path>` (full verify before merge / claiming done).
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
gapman runtime exec --mission .gitagent/missions/MSN-0001.<slug>.yaml -- <your-agent-command>
|
|
14
|
+
source scripts/gxt-runtime-env.sh .gitagent/missions/MSN-0001.<slug>.yaml
|
|
15
|
+
gapman runtime env --mission .gitagent/missions/MSN-0001.<slug>.yaml --json
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Enforcement boundary
|
|
19
|
+
|
|
20
|
+
| Tier | Mechanism | What it actually traps |
|
|
21
|
+
|------|-----------|------------------------|
|
|
22
|
+
| **Process-boundary** | `gapman runtime exec` | TMVC roots + forbidden zones for subprocess workers |
|
|
23
|
+
| **Deterministic hook** | Tool hooks (Cursor `beforeShellExecution` on law/manifest paths) | Shell writes to `.gitagent/foreman/`, `.gitagent/teacher/RULES.md` |
|
|
24
|
+
| **Advisory** | Rules / `AGENTS.md` / tool memory | IDE Agent Write/Edit — LLM compliance, not kernel enforcement |
|
|
25
|
+
|
|
26
|
+
IDE agent file edits are not TMVC-trapped unless the tool runs inside `runtime exec`.
|
|
27
|
+
|
|
28
|
+
## Canonical context files
|
|
29
|
+
|
|
30
|
+
| File | Role |
|
|
31
|
+
|------|------|
|
|
32
|
+
| `AGENTS.md` | Cross-tool entry: read RULES + MANIFEST before acting |
|
|
33
|
+
| `.gitagent/teacher/RULES.md` | Governance law |
|
|
34
|
+
| `.gitagent/foreman/MANIFEST.json` | Routing map (TMVC roots, forbidden zones) |
|
|
35
|
+
|
|
36
|
+
## Shared session variables
|
|
37
|
+
|
|
38
|
+
| Variable | Purpose |
|
|
39
|
+
|----------|---------|
|
|
40
|
+
| `GAPMAN_TEACHER_EMAILS` | Comma-separated Git author emails allowed to legislate |
|
|
41
|
+
| `GAPMAN_MISSION` | Optional mission path for `gxt-runtime-env.sh` |
|
|
42
|
+
| `GXT_*` | Emitted by `gapman runtime env` |
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Per-tool closed loop
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
### Aider
|
|
2
|
+
|
|
3
|
+
- **Context injection:** `.aider.conf.yml` with `read:` list for canonical GXT files.
|
|
4
|
+
- **Session bootstrap:**
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
gapman runtime exec --mission .gitagent/missions/MSN-0001.<slug>.yaml -- aider --message "<task>"
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
- **Enforcement:** Process-boundary when wrapped — strongest TMVC trap among IDE-adjacent tools.
|
|
11
|
+
- **Gotcha:** Run from repo root; `read:` paths resolve from CWD.
|
|
12
|
+
|
|
13
|
+
Vendor docs: https://aider.chat/docs/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
### Google Antigravity
|
|
2
|
+
|
|
3
|
+
- **Context injection:** Root `AGENTS.md`; `.agent/rules/gxt.md` with `always_on` pointing at canonical files.
|
|
4
|
+
- **Session bootstrap:** `source scripts/gxt-runtime-env.sh <mission>` or `gapman runtime exec … -- <command>`.
|
|
5
|
+
- **Enforcement:** Advisory for Editor/Manager views; process-boundary for wrapped CLI runs.
|
|
6
|
+
- **Gotcha:** Rules load order includes `GEMINI.md` → `AGENTS.md` → `.agent/rules/` — keep GXT pointers in `AGENTS.md`.
|
|
7
|
+
|
|
8
|
+
Vendor docs: https://antigravity.google/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
### Claude Code
|
|
2
|
+
|
|
3
|
+
- **Context injection:** Minimal `CLAUDE.md` pointing at `AGENTS.md`, `.gitagent/teacher/RULES.md`, `.gitagent/foreman/MANIFEST.json`.
|
|
4
|
+
- **Session bootstrap:**
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
source scripts/gxt-runtime-env.sh .gitagent/missions/MSN-0001.<slug>.yaml
|
|
8
|
+
gapman runtime exec --mission .gitagent/missions/MSN-0001.<slug>.yaml -- claude "<task>"
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
- **Enforcement:** Advisory in interactive session; process-boundary when wrapped with `runtime exec`.
|
|
12
|
+
- **Gotcha:** Link canonical files — do not copy full RULES into `CLAUDE.md`.
|
|
13
|
+
|
|
14
|
+
Vendor docs: https://docs.anthropic.com/en/docs/claude-code
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
### Cline
|
|
2
|
+
|
|
3
|
+
- **Context injection:** `.clinerules/gxt.md`; root `AGENTS.md` appears in Rules panel.
|
|
4
|
+
- **Session bootstrap:** VS Code terminal → `source scripts/gxt-runtime-env.sh <mission>`.
|
|
5
|
+
- **Enforcement:** Advisory; toggle rules in Cline panel without deleting files.
|
|
6
|
+
- **Gotcha:** Prefer `.clinerules/gxt.md` over legacy `.cursorrules` for GXT policy.
|
|
7
|
+
|
|
8
|
+
Vendor docs: https://docs.cline.bot/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
### OpenAI Codex CLI
|
|
2
|
+
|
|
3
|
+
> **Not** the deprecated OpenAI Codex API (2021–2023). This covers [OpenAI Codex CLI](https://github.com/openai/codex) (2025+ terminal/IDE agent).
|
|
4
|
+
|
|
5
|
+
- **Context injection:** Root `AGENTS.md` (native after `gapman init`); optional `.codex/config.toml` for project defaults.
|
|
6
|
+
- **Session bootstrap:**
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
source scripts/gxt-runtime-env.sh .gitagent/missions/MSN-0001.<slug>.yaml
|
|
10
|
+
gapman runtime exec --mission .gitagent/missions/MSN-0001.<slug>.yaml -- codex exec "<task>"
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
- **Enforcement:** Advisory in interactive TUI/IDE extension; process-boundary when wrapped with `runtime exec`.
|
|
14
|
+
- **Gotcha:** Codex sandbox settings govern Codex — not GXT forbidden zones. Use `runtime exec` for manifest-enforced boundaries.
|
|
15
|
+
|
|
16
|
+
Vendor docs: https://developers.openai.com/codex/config-basic
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
### Cursor
|
|
2
|
+
|
|
3
|
+
- **Context injection:** `.cursor/rules/opengantry-gxt-substrate.mdc` (`alwaysApply: true`); `.cursor/hooks.json` — `sessionStart` mission scope + `beforeShellExecution` fallback guard; `.cursor/mcp.json` — `gapman mcp serve`.
|
|
4
|
+
- **Mission Architect:** `/gantry` macro (do not use `/plan` — Cursor native Plan Mode); implicit activation when user asks to **write/edit code** with no pinned mission. Follow `.gitagent/teacher/MISSION-ARCHITECT.md`.
|
|
5
|
+
- **MCP legislation:** `gxt_draft_legislation` → semantic chat approval → `gxt_execute_legislation` → Teacher commit → `gxt_check_signature` → `gxt_pin_mission`. Or **`gxt_start_orchestration`** for goal-first CLI parity.
|
|
6
|
+
- **Verify remediation:** `gxt_verify` returns `error_code`, `fix_hints`, `next_actions` on failure; CLI equivalent: `gapman verify --mission … --fix`.
|
|
7
|
+
- **Session bootstrap:**
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
scripts/gxt-pin-mission.sh .gitagent/missions/MSN-0001.<slug>.yaml
|
|
11
|
+
source scripts/gxt-runtime-env.sh
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
- **Enforcement:** Advisory for Agent edits; MCP two-step gate for legislation; shell hook fallback for non-MCP paths; use `runtime exec` for headless CLI/SDK runs.
|
|
15
|
+
- **Gotcha:** Enable hooks **and** MCP in Cursor Settings; restart if they do not load (**Output → Hooks**).
|
|
16
|
+
|
|
17
|
+
Headless: `gapman runtime exec --mission .gitagent/missions/MSN-0001.<slug>.yaml -- cursor agent "<task>"`
|
|
18
|
+
|
|
19
|
+
Vendor docs: https://cursor.com/docs/agent/hooks
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
### JetBrains Junie
|
|
2
|
+
|
|
3
|
+
- **Context injection:** `.junie/guidelines.md` (same bullets as root `AGENTS.md`).
|
|
4
|
+
- **Session bootstrap:** IDE terminal → `source scripts/gxt-runtime-env.sh <mission>`.
|
|
5
|
+
- **Enforcement:** Advisory (guidelines); no process trap for in-IDE edits.
|
|
6
|
+
- **Gotcha:** Use `.junie/guidelines.md`, not generic AI Assistant project rules.
|
|
7
|
+
|
|
8
|
+
Vendor docs: https://www.jetbrains.com/junie/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
### OpenCode
|
|
2
|
+
|
|
3
|
+
- **Context injection:** Repo-root `AGENTS.md` (native); optional `opencode.json` `instructions` array.
|
|
4
|
+
- **Session bootstrap:** `source scripts/gxt-runtime-env.sh <mission>` then OpenCode in same terminal.
|
|
5
|
+
- **Enforcement:** Advisory; OpenCode permissions are separate from GXT TMVC.
|
|
6
|
+
- **Gotcha:** OpenCode prefers `AGENTS.md` over `CLAUDE.md` when both exist.
|
|
7
|
+
|
|
8
|
+
Vendor docs: https://opencode.ai/docs
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
### OpenHands
|
|
2
|
+
|
|
3
|
+
- **Context injection:** `.openhands/microagents/gxt.md` pointing at `AGENTS.md`, RULES, and MANIFEST.
|
|
4
|
+
- **Session bootstrap:** `source scripts/gxt-runtime-env.sh <mission>` then run OpenHands against the repo.
|
|
5
|
+
- **Enforcement:** Advisory for in-IDE edits; process-boundary when wrapped with `runtime exec`.
|
|
6
|
+
- **Gotcha:** Keep microagent prose minimal — link canonical GXT files, do not duplicate RULES.
|
|
7
|
+
|
|
8
|
+
Vendor docs: https://docs.all-hands.dev/
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# OpenGantry dogfood: run the full local GXT + gapman stack before push/PR.
|
|
3
|
+
# Usage: ./scripts/dev-validate.sh [base-ref] [head-ref]
|
|
4
|
+
# base-ref defaults to origin/main (falls back to HEAD~1)
|
|
5
|
+
# head-ref defaults to HEAD
|
|
6
|
+
set -euo pipefail
|
|
7
|
+
|
|
8
|
+
ROOT="$(git rev-parse --show-toplevel 2>/dev/null)" || {
|
|
9
|
+
echo "dev-validate: not inside a git repository" >&2
|
|
10
|
+
exit 1
|
|
11
|
+
}
|
|
12
|
+
cd "$ROOT"
|
|
13
|
+
|
|
14
|
+
BASE_REF="${1:-origin/main}"
|
|
15
|
+
HEAD_REF="${2:-HEAD}"
|
|
16
|
+
|
|
17
|
+
./scripts/dev-validate-core.sh "${BASE_REF}" "${HEAD_REF}"
|
|
18
|
+
|
|
19
|
+
if git rev-parse --verify "${BASE_REF}^{commit}" >/dev/null 2>&1; then
|
|
20
|
+
echo "dev-validate: PR mission verify (${BASE_REF}...${HEAD_REF})"
|
|
21
|
+
./scripts/verify-pr-missions.sh "${BASE_REF}" "${HEAD_REF}"
|
|
22
|
+
fi
|
|
23
|
+
|
|
24
|
+
echo "dev-validate OK — stack: check, manifest, tests, doctor, changed-code, MSN, mission-verify"
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Deprecated: use scripts/gxt-runtime-env.sh (tool-agnostic GXT bootstrap).
|
|
3
|
+
echo "gxt-cursor-env.sh is deprecated — use scripts/gxt-runtime-env.sh" >&2
|
|
4
|
+
# shellcheck source=scripts/gxt-runtime-env.sh
|
|
5
|
+
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/gxt-runtime-env.sh" "$@"
|