@lotagate/cli 0.1.24 → 0.1.26
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/README.md +75 -7
- package/SECURITY.md +2 -0
- package/bin/lotagate.mjs +50 -8
- package/dist/application/agent/agent-constants.d.ts +6 -0
- package/dist/application/agent/agent-constants.js +1 -0
- package/dist/application/agent/agent-history.d.ts +3 -0
- package/dist/application/agent/agent-history.js +5 -0
- package/dist/application/agent/agent-input-context.d.ts +12 -0
- package/dist/application/agent/agent-input-context.js +5 -0
- package/dist/application/agent/agent-limit.d.ts +3 -0
- package/dist/application/agent/agent-limit.js +1 -0
- package/dist/application/agent/agent-run-tracker.d.ts +30 -0
- package/dist/application/agent/agent-run-tracker.js +1 -0
- package/dist/application/agent/agent-runtime-context.d.ts +22 -0
- package/dist/application/agent/agent-runtime-context.js +1 -0
- package/dist/application/agent/agent-session-store-registry.d.ts +16 -0
- package/dist/application/agent/agent-session-store-registry.js +1 -0
- package/dist/application/agent/agent-session-store.d.ts +23 -0
- package/dist/application/agent/agent-session-store.js +6 -0
- package/dist/application/agent/capability-profile.d.ts +17 -0
- package/dist/application/agent/capability-profile.js +0 -0
- package/dist/application/agent/cli-agent-execution-service.d.ts +120 -0
- package/dist/application/agent/cli-agent-execution-service.js +1 -0
- package/dist/application/agent/cli-agent-preparation-cache.d.ts +39 -0
- package/dist/application/agent/cli-agent-preparation-cache.js +1 -0
- package/dist/application/agent/cli-agent-run-request.d.ts +12 -0
- package/dist/application/agent/cli-agent-run-request.js +0 -0
- package/dist/application/agent/context-compaction-persistence.d.ts +8 -0
- package/dist/application/agent/context-compaction-persistence.js +1 -0
- package/dist/application/agent/context-compaction.d.ts +22 -0
- package/dist/application/agent/context-compaction.js +8 -0
- package/dist/application/agent/context-token-cache.d.ts +21 -0
- package/dist/application/agent/context-token-cache.js +4 -0
- package/dist/application/agent/context-usage-service.d.ts +52 -0
- package/dist/application/agent/context-usage-service.js +1 -0
- package/dist/application/agent/continuation-checkpoint.d.ts +15 -0
- package/dist/application/agent/continuation-checkpoint.js +2 -0
- package/dist/application/agent/interactive-agent-guidance.d.ts +5 -0
- package/dist/application/agent/interactive-agent-guidance.js +2 -0
- package/dist/application/agent/prompt-data-safety.d.ts +14 -0
- package/dist/application/agent/prompt-data-safety.js +4 -0
- package/dist/application/agent/scoped-tool-executor.d.ts +13 -0
- package/dist/application/agent/scoped-tool-executor.js +1 -0
- package/dist/application/agent/tool-catalog.d.ts +14 -0
- package/dist/application/agent/tool-catalog.js +1 -0
- package/dist/application/agent/tool-display.d.ts +7 -0
- package/dist/application/agent/tool-display.js +1 -0
- package/dist/application/agent/tool-hook-lifecycle.d.ts +19 -0
- package/dist/application/agent/tool-hook-lifecycle.js +1 -0
- package/dist/application/auth/authentication-service.d.ts +20 -0
- package/dist/application/auth/authentication-service.js +1 -0
- package/dist/application/chat/chat-service.d.ts +12 -0
- package/dist/application/chat/chat-service.js +1 -0
- package/dist/application/chat/pending-attachment-store.d.ts +15 -0
- package/dist/application/chat/pending-attachment-store.js +1 -0
- package/dist/application/commands/application-command-executor.d.ts +23 -0
- package/dist/application/commands/application-command-executor.js +3 -0
- package/dist/application/commands/cli-args.d.ts +6 -0
- package/dist/application/commands/cli-args.js +1 -0
- package/dist/application/commands/cli-command-services.d.ts +17 -0
- package/dist/application/commands/cli-command-services.js +33 -0
- package/dist/application/commands/command-cancellation.d.ts +6 -0
- package/dist/application/commands/command-cancellation.js +1 -0
- package/dist/application/commands/command-catalog.d.ts +6 -0
- package/dist/application/commands/command-catalog.js +1 -0
- package/dist/application/commands/command-contract.d.ts +60 -0
- package/dist/application/commands/command-contract.js +0 -0
- package/dist/application/commands/command-hints.d.ts +9 -0
- package/dist/application/commands/command-hints.js +1 -0
- package/dist/application/commands/command-output.d.ts +4 -0
- package/dist/application/commands/command-output.js +0 -0
- package/dist/application/commands/command-parser.d.ts +10 -0
- package/dist/application/commands/command-parser.js +1 -0
- package/dist/application/commands/command-presentation.d.ts +7 -0
- package/dist/application/commands/command-presentation.js +3 -0
- package/dist/application/commands/command-registry.d.ts +11 -0
- package/dist/application/commands/command-registry.js +1 -0
- package/dist/application/commands/command-runtime.d.ts +2 -0
- package/dist/application/commands/command-runtime.js +1 -0
- package/dist/application/commands/goal-command-handlers.d.ts +3 -0
- package/dist/application/commands/goal-command-handlers.js +7 -0
- package/dist/application/commands/media-command-handlers.d.ts +9 -0
- package/dist/application/commands/media-command-handlers.js +9 -0
- package/dist/application/commands/media-command-output.d.ts +11 -0
- package/dist/application/commands/media-command-output.js +1 -0
- package/dist/application/commands/memory-command-handler.d.ts +29 -0
- package/dist/application/commands/memory-command-handler.js +12 -0
- package/dist/application/commands/runtime-command-handlers.d.ts +7 -0
- package/dist/application/commands/runtime-command-handlers.js +14 -0
- package/dist/application/commands/stream-output.d.ts +4 -0
- package/dist/application/commands/stream-output.js +1 -0
- package/dist/application/commands/utility-commands.d.ts +6 -0
- package/dist/application/commands/utility-commands.js +10 -0
- package/dist/application/config/execution-config.d.ts +4 -0
- package/dist/application/config/execution-config.js +1 -0
- package/dist/application/extensions/extension-list-contract.d.ts +18 -0
- package/dist/application/extensions/extension-list-contract.js +0 -0
- package/dist/application/extensions/extension-list-formatters.d.ts +38 -0
- package/dist/application/extensions/extension-list-formatters.js +1 -0
- package/dist/application/extensions/extension-list-output.d.ts +3 -0
- package/dist/application/extensions/extension-list-output.js +3 -0
- package/dist/application/extensions/plugin-contribution-registry.d.ts +31 -0
- package/dist/application/extensions/plugin-contribution-registry.js +1 -0
- package/dist/application/extensions/plugin-detail-contract.d.ts +25 -0
- package/dist/application/extensions/plugin-detail-contract.js +0 -0
- package/dist/application/extensions/plugin-detail-service.d.ts +3 -0
- package/dist/application/extensions/plugin-detail-service.js +1 -0
- package/dist/application/extensions/skill-scope-store.d.ts +23 -0
- package/dist/application/extensions/skill-scope-store.js +1 -0
- package/dist/application/formatting/compact-number.d.ts +2 -0
- package/dist/application/formatting/compact-number.js +1 -0
- package/dist/application/formatting/compact-table.d.ts +22 -0
- package/dist/application/formatting/compact-table.js +2 -0
- package/dist/application/intent/completion-gate.d.ts +3 -0
- package/dist/application/intent/completion-gate.js +1 -0
- package/dist/application/intent/evidence-ledger.d.ts +22 -0
- package/dist/application/intent/evidence-ledger.js +1 -0
- package/dist/application/intent/evidence-recording-tool-executor.d.ts +16 -0
- package/dist/application/intent/evidence-recording-tool-executor.js +1 -0
- package/dist/application/intent/intent-compiler.d.ts +11 -0
- package/dist/application/intent/intent-compiler.js +2 -0
- package/dist/application/intent/intent-execution-gate.d.ts +11 -0
- package/dist/application/intent/intent-execution-gate.js +1 -0
- package/dist/application/intent/intent-host-context.d.ts +6 -0
- package/dist/application/intent/intent-host-context.js +1 -0
- package/dist/application/intent/intent-run-controller.d.ts +56 -0
- package/dist/application/intent/intent-run-controller.js +3 -0
- package/dist/application/intent/project-policy.d.ts +16 -0
- package/dist/application/intent/project-policy.js +1 -0
- package/dist/application/media/video-operation-poller.d.ts +5 -0
- package/dist/application/media/video-operation-poller.js +1 -0
- package/dist/application/memory/memory-capture-policy.d.ts +10 -0
- package/dist/application/memory/memory-capture-policy.js +1 -0
- package/dist/application/memory/memory-consolidation-service.d.ts +12 -0
- package/dist/application/memory/memory-consolidation-service.js +1 -0
- package/dist/application/memory/memory-context-assembler.d.ts +24 -0
- package/dist/application/memory/memory-context-assembler.js +1 -0
- package/dist/application/memory/memory-extractor.d.ts +21 -0
- package/dist/application/memory/memory-extractor.js +2 -0
- package/dist/application/memory/memory-service.d.ts +34 -0
- package/dist/application/memory/memory-service.js +1 -0
- package/dist/application/model/cached-model-catalog.d.ts +19 -0
- package/dist/application/model/cached-model-catalog.js +1 -0
- package/dist/application/model/initial-model-selection.d.ts +10 -0
- package/dist/application/model/initial-model-selection.js +1 -0
- package/dist/application/model/model-catalog-service.d.ts +6 -0
- package/dist/application/model/model-catalog-service.js +1 -0
- package/dist/application/model/model-context-window.d.ts +3 -0
- package/dist/application/model/model-context-window.js +1 -0
- package/dist/application/model/model-response-retry.d.ts +15 -0
- package/dist/application/model/model-response-retry.js +1 -0
- package/dist/application/orchestration/abortable-wait.d.ts +2 -0
- package/dist/application/orchestration/abortable-wait.js +1 -0
- package/dist/application/orchestration/cli-subagent-service.d.ts +77 -0
- package/dist/application/orchestration/cli-subagent-service.js +13 -0
- package/dist/application/orchestration/cli-turn-event-projector.d.ts +15 -0
- package/dist/application/orchestration/cli-turn-event-projector.js +1 -0
- package/dist/application/orchestration/cli-turn-events.d.ts +76 -0
- package/dist/application/orchestration/cli-turn-events.js +1 -0
- package/dist/application/orchestration/cli-turn-persistence.d.ts +6 -0
- package/dist/application/orchestration/cli-turn-persistence.js +1 -0
- package/dist/application/orchestration/goal-evaluator.d.ts +18 -0
- package/dist/application/orchestration/goal-evaluator.js +3 -0
- package/dist/application/orchestration/goal-input.d.ts +3 -0
- package/dist/application/orchestration/goal-input.js +1 -0
- package/dist/application/orchestration/goal-output.d.ts +2 -0
- package/dist/application/orchestration/goal-output.js +2 -0
- package/dist/application/orchestration/goal-runner.d.ts +22 -0
- package/dist/application/orchestration/goal-runner.js +10 -0
- package/dist/application/orchestration/goal-usage.d.ts +9 -0
- package/dist/application/orchestration/goal-usage.js +1 -0
- package/dist/application/orchestration/headless-agent-turn.d.ts +36 -0
- package/dist/application/orchestration/headless-agent-turn.js +4 -0
- package/dist/application/orchestration/orchestration-constants.d.ts +3 -0
- package/dist/application/orchestration/orchestration-constants.js +1 -0
- package/dist/application/orchestration/subagent-coordinator.d.ts +41 -0
- package/dist/application/orchestration/subagent-coordinator.js +1 -0
- package/dist/application/orchestration/subagent-handoff.d.ts +3 -0
- package/dist/application/orchestration/subagent-handoff.js +3 -0
- package/dist/application/orchestration/subagent-tool-executor.d.ts +12 -0
- package/dist/application/orchestration/subagent-tool-executor.js +1 -0
- package/dist/application/orchestration/task-graph.d.ts +13 -0
- package/dist/application/orchestration/task-graph.js +1 -0
- package/dist/application/orchestration/task-scheduler.d.ts +18 -0
- package/dist/application/orchestration/task-scheduler.js +1 -0
- package/dist/application/project/project-trust-service.d.ts +13 -0
- package/dist/application/project/project-trust-service.js +1 -0
- package/dist/application/project-intelligence/project-intelligence-constants.d.ts +56 -0
- package/dist/application/project-intelligence/project-intelligence-constants.js +1 -0
- package/dist/application/project-intelligence/project-intelligence-service.d.ts +14 -0
- package/dist/application/project-intelligence/project-intelligence-service.js +1 -0
- package/dist/application/protocol/browser-host-tool-executor.d.ts +51 -0
- package/dist/application/protocol/browser-host-tool-executor.js +2 -0
- package/dist/application/protocol/computer-host-tool-executor.d.ts +45 -0
- package/dist/application/protocol/computer-host-tool-executor.js +2 -0
- package/dist/application/protocol/desktop-agent-command.d.ts +9 -0
- package/dist/application/protocol/desktop-agent-command.js +3 -0
- package/dist/application/protocol/desktop-agent-contracts.d.ts +34 -0
- package/dist/application/protocol/desktop-agent-contracts.js +1 -0
- package/dist/application/protocol/desktop-agent-helpers.d.ts +5 -0
- package/dist/application/protocol/desktop-agent-helpers.js +1 -0
- package/dist/application/protocol/desktop-agent-request-parser.d.ts +211 -0
- package/dist/application/protocol/desktop-agent-request-parser.js +1 -0
- package/dist/application/protocol/desktop-approval-broker.d.ts +26 -0
- package/dist/application/protocol/desktop-approval-broker.js +1 -0
- package/dist/application/protocol/desktop-attachment-store.d.ts +33 -0
- package/dist/application/protocol/desktop-attachment-store.js +1 -0
- package/dist/application/protocol/desktop-command-catalog.d.ts +2 -0
- package/dist/application/protocol/desktop-command-catalog.js +1 -0
- package/dist/application/protocol/desktop-command-contract.d.ts +26 -0
- package/dist/application/protocol/desktop-command-contract.js +1 -0
- package/dist/application/protocol/desktop-command-executor.d.ts +17 -0
- package/dist/application/protocol/desktop-command-executor.js +1 -0
- package/dist/application/protocol/desktop-command-output.d.ts +15 -0
- package/dist/application/protocol/desktop-command-output.js +1 -0
- package/dist/application/protocol/desktop-execution-policy.d.ts +19 -0
- package/dist/application/protocol/desktop-execution-policy.js +1 -0
- package/dist/application/protocol/desktop-extension-request-handler.d.ts +14 -0
- package/dist/application/protocol/desktop-extension-request-handler.js +1 -0
- package/dist/application/protocol/desktop-extension-service.d.ts +44 -0
- package/dist/application/protocol/desktop-extension-service.js +3 -0
- package/dist/application/protocol/desktop-host-bridge.d.ts +33 -0
- package/dist/application/protocol/desktop-host-bridge.js +1 -0
- package/dist/application/protocol/desktop-host-capabilities.d.ts +12 -0
- package/dist/application/protocol/desktop-host-capabilities.js +1 -0
- package/dist/application/protocol/desktop-host-tool-executor.d.ts +76 -0
- package/dist/application/protocol/desktop-host-tool-executor.js +2 -0
- package/dist/application/protocol/desktop-intent-event-writer.d.ts +20 -0
- package/dist/application/protocol/desktop-intent-event-writer.js +1 -0
- package/dist/application/protocol/desktop-mcp-events.d.ts +10 -0
- package/dist/application/protocol/desktop-mcp-events.js +1 -0
- package/dist/application/protocol/desktop-orchestration-events.d.ts +2 -0
- package/dist/application/protocol/desktop-orchestration-events.js +2 -0
- package/dist/application/protocol/desktop-protocol-helpers.d.ts +13 -0
- package/dist/application/protocol/desktop-protocol-helpers.js +1 -0
- package/dist/application/protocol/json-line-writer.d.ts +31 -0
- package/dist/application/protocol/json-line-writer.js +2 -0
- package/dist/application/protocol/jsonl-agent-command.d.ts +3 -0
- package/dist/application/protocol/jsonl-agent-command.js +3 -0
- package/dist/application/protocol/jsonl-protocol.d.ts +82 -0
- package/dist/application/protocol/jsonl-protocol.js +2 -0
- package/dist/application/protocol/tool-image-content.d.ts +4 -0
- package/dist/application/protocol/tool-image-content.js +1 -0
- package/dist/application/security/delegated-worker-policy.d.ts +3 -0
- package/dist/application/security/delegated-worker-policy.js +1 -0
- package/dist/application/security/desktop-tool-scope-policy.d.ts +4 -0
- package/dist/application/security/desktop-tool-scope-policy.js +1 -0
- package/dist/application/security/tool-action-risk-analyzer.d.ts +13 -0
- package/dist/application/security/tool-action-risk-analyzer.js +1 -0
- package/dist/application/security/tool-approval-service.d.ts +43 -0
- package/dist/application/security/tool-approval-service.js +1 -0
- package/dist/application/security/tool-policy-registry.d.ts +20 -0
- package/dist/application/security/tool-policy-registry.js +1 -0
- package/dist/application/security/tool-risk-classifier.d.ts +19 -0
- package/dist/application/security/tool-risk-classifier.js +1 -0
- package/dist/application/security/workspace-permission-policy.d.ts +10 -0
- package/dist/application/security/workspace-permission-policy.js +1 -0
- package/dist/application/session/project-session-access.d.ts +8 -0
- package/dist/application/session/project-session-access.js +1 -0
- package/dist/application/session/session-compaction-service.d.ts +10 -0
- package/dist/application/session/session-compaction-service.js +1 -0
- package/dist/application/session/session-turn-lifecycle.d.ts +5 -0
- package/dist/application/session/session-turn-lifecycle.js +1 -0
- package/dist/application/workspace/session-execution-workspace.d.ts +59 -0
- package/dist/application/workspace/session-execution-workspace.js +3 -0
- package/dist/application/workspace/workspace-constants.d.ts +17 -0
- package/dist/application/workspace/workspace-constants.js +1 -0
- package/dist/application/workspace/workspace-file-index.d.ts +14 -0
- package/dist/application/workspace/workspace-file-index.js +1 -0
- package/dist/application/workspace/workspace-file-reference-resolver.d.ts +20 -0
- package/dist/application/workspace/workspace-file-reference-resolver.js +17 -0
- package/dist/application/workspace/workspace-instruction-loader.d.ts +8 -0
- package/dist/application/workspace/workspace-instruction-loader.js +1 -0
- package/dist/bootstrap/composition-root.d.ts +7 -0
- package/dist/bootstrap/composition-root.js +1 -0
- package/dist/bootstrap/global-cli-options.d.ts +6 -0
- package/dist/bootstrap/global-cli-options.js +1 -0
- package/dist/bootstrap/native-devtools-stub.d.ts +10 -0
- package/dist/bootstrap/native-devtools-stub.js +1 -0
- package/dist/bootstrap/native-entry.d.ts +1 -0
- package/dist/bootstrap/native-entry.js +2 -0
- package/dist/bootstrap/native-tiktoken.d.ts +4 -0
- package/dist/bootstrap/native-tiktoken.js +1 -0
- package/dist/bootstrap/runtime-factory.d.ts +46 -0
- package/dist/bootstrap/runtime-factory.js +1 -0
- package/dist/bootstrap/shutdown-manager.d.ts +11 -0
- package/dist/bootstrap/shutdown-manager.js +1 -0
- package/dist/bootstrap/startup-sequence.d.ts +5 -0
- package/dist/bootstrap/startup-sequence.js +1 -0
- package/dist/domain/auth/auth-profile.d.ts +14 -0
- package/dist/domain/auth/auth-profile.js +1 -0
- package/dist/domain/config/config-schema.d.ts +24 -0
- package/dist/domain/config/config-schema.js +1 -0
- package/dist/domain/errors/cli-command-hint.d.ts +5 -0
- package/dist/domain/errors/cli-command-hint.js +0 -0
- package/dist/domain/errors/cli-error.d.ts +35 -0
- package/dist/domain/errors/cli-error.js +1 -0
- package/dist/domain/errors/error-codes.d.ts +51 -0
- package/dist/domain/errors/error-codes.js +1 -0
- package/dist/domain/extensions/extension-constants.d.ts +1 -0
- package/dist/domain/extensions/extension-constants.js +1 -0
- package/dist/domain/extensions/extension-scope.d.ts +3 -0
- package/dist/domain/extensions/extension-scope.js +1 -0
- package/dist/domain/extensions/extension-state.d.ts +5 -0
- package/dist/domain/extensions/extension-state.js +1 -0
- package/dist/domain/extensions/hook-manifest.d.ts +13 -0
- package/dist/domain/extensions/hook-manifest.js +1 -0
- package/dist/domain/extensions/host-tool-plugin-ids.d.ts +5 -0
- package/dist/domain/extensions/host-tool-plugin-ids.js +1 -0
- package/dist/domain/extensions/mcp-config.d.ts +35 -0
- package/dist/domain/extensions/mcp-config.js +1 -0
- package/dist/domain/extensions/plugin-agent-manifest.d.ts +8 -0
- package/dist/domain/extensions/plugin-agent-manifest.js +1 -0
- package/dist/domain/extensions/plugin-manifest.d.ts +23 -0
- package/dist/domain/extensions/plugin-manifest.js +1 -0
- package/dist/domain/extensions/skill-manifest.d.ts +10 -0
- package/dist/domain/extensions/skill-manifest.js +3 -0
- package/dist/domain/extensions/yaml-subset.d.ts +9 -0
- package/dist/domain/extensions/yaml-subset.js +2 -0
- package/dist/domain/filesystem/file-change-diff.d.ts +21 -0
- package/dist/domain/filesystem/file-change-diff.js +3 -0
- package/dist/domain/intent/intent-contract.d.ts +33 -0
- package/dist/domain/intent/intent-contract.js +1 -0
- package/dist/domain/media/gateway-media-contract.d.ts +23 -0
- package/dist/domain/media/gateway-media-contract.js +1 -0
- package/dist/domain/media/media-constants.d.ts +3 -0
- package/dist/domain/media/media-constants.js +1 -0
- package/dist/domain/media/media-contract.d.ts +28 -0
- package/dist/domain/media/media-contract.js +0 -0
- package/dist/domain/media/media-execution-policy.d.ts +9 -0
- package/dist/domain/media/media-execution-policy.js +1 -0
- package/dist/domain/memory/memory-constants.d.ts +3 -0
- package/dist/domain/memory/memory-constants.js +1 -0
- package/dist/domain/memory/memory-kinds.d.ts +15 -0
- package/dist/domain/memory/memory-kinds.js +1 -0
- package/dist/domain/memory/memory-retrieval-policy.d.ts +3 -0
- package/dist/domain/memory/memory-retrieval-policy.js +1 -0
- package/dist/domain/memory/memory-search.d.ts +33 -0
- package/dist/domain/memory/memory-search.js +2 -0
- package/dist/domain/memory/memory.d.ts +48 -0
- package/dist/domain/memory/memory.js +1 -0
- package/dist/domain/orchestration/goal.d.ts +57 -0
- package/dist/domain/orchestration/goal.js +1 -0
- package/dist/domain/orchestration/subagent-identity.d.ts +2 -0
- package/dist/domain/orchestration/subagent-identity.js +1 -0
- package/dist/domain/orchestration/subagent.d.ts +33 -0
- package/dist/domain/orchestration/subagent.js +0 -0
- package/dist/domain/orchestration/work-plan.d.ts +15 -0
- package/dist/domain/orchestration/work-plan.js +0 -0
- package/dist/domain/project/project-identity.d.ts +6 -0
- package/dist/domain/project/project-identity.js +1 -0
- package/dist/domain/runtime/assistant-delta-normalizer.d.ts +11 -0
- package/dist/domain/runtime/assistant-delta-normalizer.js +1 -0
- package/dist/domain/runtime/assistant-stream-text.d.ts +11 -0
- package/dist/domain/runtime/assistant-stream-text.js +1 -0
- package/dist/domain/runtime/gateway-request-budget.d.ts +19 -0
- package/dist/domain/runtime/gateway-request-budget.js +1 -0
- package/dist/domain/runtime/resource-limits.d.ts +92 -0
- package/dist/domain/runtime/resource-limits.js +1 -0
- package/dist/domain/session/attachment.d.ts +15 -0
- package/dist/domain/session/attachment.js +0 -0
- package/dist/domain/session/session-schema.d.ts +6 -0
- package/dist/domain/session/session-schema.js +1 -0
- package/dist/domain/session/session.d.ts +27 -0
- package/dist/domain/session/session.js +0 -0
- package/dist/domain/settings/settings-document.d.ts +8 -0
- package/dist/domain/settings/settings-document.js +1 -0
- package/dist/domain/validation/record-schema.d.ts +4 -0
- package/dist/domain/validation/record-schema.js +1 -0
- package/dist/domain/workspace/workspace-settings.d.ts +14 -0
- package/dist/domain/workspace/workspace-settings.js +1 -0
- package/dist/infrastructure/agent-sdk/agent-instance-factory.d.ts +22 -0
- package/dist/infrastructure/agent-sdk/agent-instance-factory.js +1 -0
- package/dist/infrastructure/agent-sdk/model-response-metrics.d.ts +7 -0
- package/dist/infrastructure/agent-sdk/model-response-metrics.js +1 -0
- package/dist/infrastructure/agent-sdk/model-tool-name-mapper.d.ts +13 -0
- package/dist/infrastructure/agent-sdk/model-tool-name-mapper.js +1 -0
- package/dist/infrastructure/agent-sdk/sdk-constants.d.ts +2 -0
- package/dist/infrastructure/agent-sdk/sdk-constants.js +1 -0
- package/dist/infrastructure/agent-sdk/tool-calling-completion-client.d.ts +4 -0
- package/dist/infrastructure/agent-sdk/tool-calling-completion-client.js +1 -0
- package/dist/infrastructure/agent-sdk/tool-calling-model-client.d.ts +11 -0
- package/dist/infrastructure/agent-sdk/tool-calling-model-client.js +1 -0
- package/dist/infrastructure/cache/cache-policy.d.ts +9 -0
- package/dist/infrastructure/cache/cache-policy.js +1 -0
- package/dist/infrastructure/cache/file-cache-store.d.ts +25 -0
- package/dist/infrastructure/cache/file-cache-store.js +2 -0
- package/dist/infrastructure/clipboard/clipboard-adapter-factory.d.ts +11 -0
- package/dist/infrastructure/clipboard/clipboard-adapter-factory.js +1 -0
- package/dist/infrastructure/clipboard/clipboard-constants.d.ts +1 -0
- package/dist/infrastructure/clipboard/clipboard-constants.js +1 -0
- package/dist/infrastructure/clipboard/clipboard-policy.d.ts +8 -0
- package/dist/infrastructure/clipboard/clipboard-policy.js +1 -0
- package/dist/infrastructure/clipboard/clipboard-text-adapter-factory.d.ts +10 -0
- package/dist/infrastructure/clipboard/clipboard-text-adapter-factory.js +1 -0
- package/dist/infrastructure/clipboard/image-normalizer.d.ts +12 -0
- package/dist/infrastructure/clipboard/image-normalizer.js +1 -0
- package/dist/infrastructure/clipboard/windows-clipboard-adapter.d.ts +7 -0
- package/dist/infrastructure/clipboard/windows-clipboard-adapter.js +1 -0
- package/dist/infrastructure/clipboard/windows-clipboard-text-adapter.d.ts +7 -0
- package/dist/infrastructure/clipboard/windows-clipboard-text-adapter.js +1 -0
- package/dist/infrastructure/config/config-loader.d.ts +19 -0
- package/dist/infrastructure/config/config-loader.js +2 -0
- package/dist/infrastructure/config/environment-values.d.ts +2 -0
- package/dist/infrastructure/config/environment-values.js +1 -0
- package/dist/infrastructure/credentials/composite-credential-store.d.ts +11 -0
- package/dist/infrastructure/credentials/composite-credential-store.js +1 -0
- package/dist/infrastructure/credentials/encrypted-file-credential-store.d.ts +17 -0
- package/dist/infrastructure/credentials/encrypted-file-credential-store.js +3 -0
- package/dist/infrastructure/credentials/environment-credential-store.d.ts +11 -0
- package/dist/infrastructure/credentials/environment-credential-store.js +1 -0
- package/dist/infrastructure/credentials/secret-input.d.ts +7 -0
- package/dist/infrastructure/credentials/secret-input.js +3 -0
- package/dist/infrastructure/extensions/composite-mcp-config-store.d.ts +9 -0
- package/dist/infrastructure/extensions/composite-mcp-config-store.js +1 -0
- package/dist/infrastructure/extensions/extension-directory-reader.d.ts +2 -0
- package/dist/infrastructure/extensions/extension-directory-reader.js +1 -0
- package/dist/infrastructure/extensions/extension-integrity.d.ts +7 -0
- package/dist/infrastructure/extensions/extension-integrity.js +1 -0
- package/dist/infrastructure/extensions/extension-source-resolver.d.ts +6 -0
- package/dist/infrastructure/extensions/extension-source-resolver.js +1 -0
- package/dist/infrastructure/extensions/extensions-constants.d.ts +6 -0
- package/dist/infrastructure/extensions/extensions-constants.js +1 -0
- package/dist/infrastructure/extensions/file-mcp-config-store.d.ts +15 -0
- package/dist/infrastructure/extensions/file-mcp-config-store.js +2 -0
- package/dist/infrastructure/extensions/hook-runtime.d.ts +18 -0
- package/dist/infrastructure/extensions/hook-runtime.js +1 -0
- package/dist/infrastructure/extensions/mcp-runtime.d.ts +58 -0
- package/dist/infrastructure/extensions/mcp-runtime.js +1 -0
- package/dist/infrastructure/extensions/plugin-agent-discovery.d.ts +4 -0
- package/dist/infrastructure/extensions/plugin-agent-discovery.js +1 -0
- package/dist/infrastructure/extensions/plugin-discovery.d.ts +5 -0
- package/dist/infrastructure/extensions/plugin-discovery.js +1 -0
- package/dist/infrastructure/extensions/plugin-manager.d.ts +23 -0
- package/dist/infrastructure/extensions/plugin-manager.js +2 -0
- package/dist/infrastructure/extensions/skill-discovery.d.ts +4 -0
- package/dist/infrastructure/extensions/skill-discovery.js +1 -0
- package/dist/infrastructure/extensions/skill-installer.d.ts +9 -0
- package/dist/infrastructure/extensions/skill-installer.js +1 -0
- package/dist/infrastructure/extensions/skill-manager.d.ts +22 -0
- package/dist/infrastructure/extensions/skill-manager.js +2 -0
- package/dist/infrastructure/extensions/skill-roots.d.ts +19 -0
- package/dist/infrastructure/extensions/skill-roots.js +1 -0
- package/dist/infrastructure/extensions/skill-tool-executor.d.ts +20 -0
- package/dist/infrastructure/extensions/skill-tool-executor.js +2 -0
- package/dist/infrastructure/filesystem/atomic-file-store.d.ts +28 -0
- package/dist/infrastructure/filesystem/atomic-file-store.js +1 -0
- package/dist/infrastructure/filesystem/bounded-file-reader.d.ts +6 -0
- package/dist/infrastructure/filesystem/bounded-file-reader.js +1 -0
- package/dist/infrastructure/filesystem/bounded-json-reader.d.ts +1 -0
- package/dist/infrastructure/filesystem/bounded-json-reader.js +1 -0
- package/dist/infrastructure/filesystem/filesystem-constants.d.ts +8 -0
- package/dist/infrastructure/filesystem/filesystem-constants.js +1 -0
- package/dist/infrastructure/filesystem/fs-errors.d.ts +2 -0
- package/dist/infrastructure/filesystem/fs-errors.js +1 -0
- package/dist/infrastructure/filesystem/gateway-media-input-reader.d.ts +12 -0
- package/dist/infrastructure/filesystem/gateway-media-input-reader.js +1 -0
- package/dist/infrastructure/filesystem/local-filesystem-tool-executor.d.ts +25 -0
- package/dist/infrastructure/filesystem/local-filesystem-tool-executor.js +3 -0
- package/dist/infrastructure/filesystem/path-resolver.d.ts +20 -0
- package/dist/infrastructure/filesystem/path-resolver.js +1 -0
- package/dist/infrastructure/filesystem/workspace-media-artifact-store.d.ts +13 -0
- package/dist/infrastructure/filesystem/workspace-media-artifact-store.js +1 -0
- package/dist/infrastructure/logging/daily-rotating-file-writer.d.ts +26 -0
- package/dist/infrastructure/logging/daily-rotating-file-writer.js +2 -0
- package/dist/infrastructure/logging/log-redactor.d.ts +2 -0
- package/dist/infrastructure/logging/log-redactor.js +1 -0
- package/dist/infrastructure/logging/logging-constants.d.ts +3 -0
- package/dist/infrastructure/logging/logging-constants.js +1 -0
- package/dist/infrastructure/logging/logging-policy.d.ts +6 -0
- package/dist/infrastructure/logging/logging-policy.js +1 -0
- package/dist/infrastructure/logging/structured-logger.d.ts +24 -0
- package/dist/infrastructure/logging/structured-logger.js +4 -0
- package/dist/infrastructure/memory/file-memory-store.d.ts +37 -0
- package/dist/infrastructure/memory/file-memory-store.js +11 -0
- package/dist/infrastructure/network/safe-media-downloader.d.ts +23 -0
- package/dist/infrastructure/network/safe-media-downloader.js +1 -0
- package/dist/infrastructure/observability/tool-execution-logger.d.ts +11 -0
- package/dist/infrastructure/observability/tool-execution-logger.js +1 -0
- package/dist/infrastructure/platform/host-platform.d.ts +16 -0
- package/dist/infrastructure/platform/host-platform.js +1 -0
- package/dist/infrastructure/platform/host-process.d.ts +31 -0
- package/dist/infrastructure/platform/host-process.js +1 -0
- package/dist/infrastructure/platform/platform-constants.d.ts +4 -0
- package/dist/infrastructure/platform/platform-constants.js +1 -0
- package/dist/infrastructure/platform/platform-paths.d.ts +25 -0
- package/dist/infrastructure/platform/platform-paths.js +1 -0
- package/dist/infrastructure/platform/process-identity.d.ts +8 -0
- package/dist/infrastructure/platform/process-identity.js +1 -0
- package/dist/infrastructure/platform/process-termination.d.ts +4 -0
- package/dist/infrastructure/platform/process-termination.js +1 -0
- package/dist/infrastructure/platform/read-only-executable.d.ts +4 -0
- package/dist/infrastructure/platform/read-only-executable.js +1 -0
- package/dist/infrastructure/project/file-project-trust-store.d.ts +12 -0
- package/dist/infrastructure/project/file-project-trust-store.js +2 -0
- package/dist/infrastructure/sdk/chat-completion-adapter.d.ts +8 -0
- package/dist/infrastructure/sdk/chat-completion-adapter.js +1 -0
- package/dist/infrastructure/sdk/lotagate-client-factory.d.ts +3 -0
- package/dist/infrastructure/sdk/lotagate-client-factory.js +1 -0
- package/dist/infrastructure/sdk/model-catalog-adapter.d.ts +19 -0
- package/dist/infrastructure/sdk/model-catalog-adapter.js +1 -0
- package/dist/infrastructure/sdk/sdk-media-gateway-client.d.ts +24 -0
- package/dist/infrastructure/sdk/sdk-media-gateway-client.js +1 -0
- package/dist/infrastructure/sessions/file-goal-store.d.ts +21 -0
- package/dist/infrastructure/sessions/file-goal-store.js +1 -0
- package/dist/infrastructure/sessions/file-session-store.d.ts +50 -0
- package/dist/infrastructure/sessions/file-session-store.js +4 -0
- package/dist/infrastructure/sessions/project-session-paths.d.ts +17 -0
- package/dist/infrastructure/sessions/project-session-paths.js +1 -0
- package/dist/infrastructure/sessions/session-constants.d.ts +3 -0
- package/dist/infrastructure/sessions/session-constants.js +1 -0
- package/dist/infrastructure/sessions/session-index.d.ts +16 -0
- package/dist/infrastructure/sessions/session-index.js +3 -0
- package/dist/infrastructure/sessions/session-journal-health.d.ts +7 -0
- package/dist/infrastructure/sessions/session-journal-health.js +1 -0
- package/dist/infrastructure/sessions/session-journal.d.ts +22 -0
- package/dist/infrastructure/sessions/session-journal.js +6 -0
- package/dist/infrastructure/sessions/subagent-journal-store.d.ts +28 -0
- package/dist/infrastructure/sessions/subagent-journal-store.js +2 -0
- package/dist/infrastructure/shell/shell-tool-executor.d.ts +21 -0
- package/dist/infrastructure/shell/shell-tool-executor.js +2 -0
- package/dist/infrastructure/tokens/tiktoken-token-estimator.d.ts +18 -0
- package/dist/infrastructure/tokens/tiktoken-token-estimator.js +1 -0
- package/dist/infrastructure/tokens/token-constants.d.ts +1 -0
- package/dist/infrastructure/tokens/token-constants.js +1 -0
- package/dist/infrastructure/workspace/workspace-settings-store.d.ts +10 -0
- package/dist/infrastructure/workspace/workspace-settings-store.js +4 -0
- package/dist/main.d.ts +7 -0
- package/dist/main.js +3 -0
- package/dist/ports/cache-store.d.ts +10 -0
- package/dist/ports/cache-store.js +0 -0
- package/dist/ports/chat-model.d.ts +30 -0
- package/dist/ports/chat-model.js +0 -0
- package/dist/ports/clipboard-adapter.d.ts +7 -0
- package/dist/ports/clipboard-adapter.js +0 -0
- package/dist/ports/clipboard-text-adapter.d.ts +3 -0
- package/dist/ports/clipboard-text-adapter.js +0 -0
- package/dist/ports/credential-store.d.ts +7 -0
- package/dist/ports/credential-store.js +0 -0
- package/dist/ports/goal-store.d.ts +12 -0
- package/dist/ports/goal-store.js +0 -0
- package/dist/ports/logger.d.ts +8 -0
- package/dist/ports/logger.js +0 -0
- package/dist/ports/media-gateway-client.d.ts +60 -0
- package/dist/ports/media-gateway-client.js +0 -0
- package/dist/ports/memory-store.d.ts +26 -0
- package/dist/ports/memory-store.js +0 -0
- package/dist/ports/model-completion-client.d.ts +8 -0
- package/dist/ports/model-completion-client.js +0 -0
- package/dist/ports/model-diagnostics.d.ts +17 -0
- package/dist/ports/model-diagnostics.js +0 -0
- package/dist/ports/project-trust-store.d.ts +12 -0
- package/dist/ports/project-trust-store.js +0 -0
- package/dist/ports/session-store.d.ts +59 -0
- package/dist/ports/session-store.js +0 -0
- package/dist/ports/subagent-lifecycle.d.ts +31 -0
- package/dist/ports/subagent-lifecycle.js +0 -0
- package/dist/ports/tool-activity.d.ts +13 -0
- package/dist/ports/tool-activity.js +0 -0
- package/dist/presentation/themes/theme.d.ts +19 -0
- package/dist/presentation/themes/theme.js +1 -0
- package/dist/presentation/tui/agent-initialization-renderer.d.ts +4 -0
- package/dist/presentation/tui/agent-initialization-renderer.js +1 -0
- package/dist/presentation/tui/context-display.d.ts +21 -0
- package/dist/presentation/tui/context-display.js +2 -0
- package/dist/presentation/tui/formatters.d.ts +6 -0
- package/dist/presentation/tui/formatters.js +1 -0
- package/dist/presentation/tui/ink/choice-window.d.ts +5 -0
- package/dist/presentation/tui/ink/choice-window.js +1 -0
- package/dist/presentation/tui/ink/components/activity-animation.d.ts +3 -0
- package/dist/presentation/tui/ink/components/activity-animation.js +1 -0
- package/dist/presentation/tui/ink/components/activity-entry.d.ts +6 -0
- package/dist/presentation/tui/ink/components/activity-entry.js +1 -0
- package/dist/presentation/tui/ink/components/activity-status.d.ts +10 -0
- package/dist/presentation/tui/ink/components/activity-status.js +1 -0
- package/dist/presentation/tui/ink/components/choice-modal.d.ts +11 -0
- package/dist/presentation/tui/ink/components/choice-modal.js +1 -0
- package/dist/presentation/tui/ink/components/composer.d.ts +40 -0
- package/dist/presentation/tui/ink/components/composer.js +8 -0
- package/dist/presentation/tui/ink/components/file-diff.d.ts +6 -0
- package/dist/presentation/tui/ink/components/file-diff.js +1 -0
- package/dist/presentation/tui/ink/components/modal.d.ts +8 -0
- package/dist/presentation/tui/ink/components/modal.js +2 -0
- package/dist/presentation/tui/ink/components/shimmer-text.d.ts +8 -0
- package/dist/presentation/tui/ink/components/shimmer-text.js +1 -0
- package/dist/presentation/tui/ink/components/subagent-activity.d.ts +11 -0
- package/dist/presentation/tui/ink/components/subagent-activity.js +1 -0
- package/dist/presentation/tui/ink/components/transcript.d.ts +40 -0
- package/dist/presentation/tui/ink/components/transcript.js +5 -0
- package/dist/presentation/tui/ink/components/welcome-panel.d.ts +6 -0
- package/dist/presentation/tui/ink/components/welcome-panel.js +1 -0
- package/dist/presentation/tui/ink/lotagate-tui.d.ts +6 -0
- package/dist/presentation/tui/ink/lotagate-tui.js +2 -0
- package/dist/presentation/tui/ink/markdown-inline-renderer.d.ts +4 -0
- package/dist/presentation/tui/ink/markdown-inline-renderer.js +1 -0
- package/dist/presentation/tui/ink/markdown-inline.d.ts +13 -0
- package/dist/presentation/tui/ink/markdown-inline.js +1 -0
- package/dist/presentation/tui/ink/markdown-message.d.ts +6 -0
- package/dist/presentation/tui/ink/markdown-message.js +2 -0
- package/dist/presentation/tui/ink/markdown-table.d.ts +16 -0
- package/dist/presentation/tui/ink/markdown-table.js +1 -0
- package/dist/presentation/tui/ink/tui-bridge.d.ts +193 -0
- package/dist/presentation/tui/ink/tui-bridge.js +1 -0
- package/dist/presentation/tui/terminal-capabilities.d.ts +15 -0
- package/dist/presentation/tui/terminal-capabilities.js +1 -0
- package/dist/presentation/tui/terminal-mouse.d.ts +5 -0
- package/dist/presentation/tui/terminal-mouse.js +1 -0
- package/dist/presentation/tui/terminal-screen.d.ts +10 -0
- package/dist/presentation/tui/terminal-screen.js +1 -0
- package/dist/presentation/tui/tui-agent-event-runner.d.ts +29 -0
- package/dist/presentation/tui/tui-agent-event-runner.js +1 -0
- package/dist/presentation/tui/tui-agent-turn-controller.d.ts +45 -0
- package/dist/presentation/tui/tui-agent-turn-controller.js +1 -0
- package/dist/presentation/tui/tui-application-contract.d.ts +11 -0
- package/dist/presentation/tui/tui-application-contract.js +1 -0
- package/dist/presentation/tui/tui-application.d.ts +61 -0
- package/dist/presentation/tui/tui-application.js +3 -0
- package/dist/presentation/tui/tui-clipboard-paste-handlers.d.ts +11 -0
- package/dist/presentation/tui/tui-clipboard-paste-handlers.js +1 -0
- package/dist/presentation/tui/tui-command-context.d.ts +3 -0
- package/dist/presentation/tui/tui-command-context.js +0 -0
- package/dist/presentation/tui/tui-command-executor.d.ts +38 -0
- package/dist/presentation/tui/tui-command-executor.js +4 -0
- package/dist/presentation/tui/tui-command-host-factory.d.ts +40 -0
- package/dist/presentation/tui/tui-command-host-factory.js +1 -0
- package/dist/presentation/tui/tui-context-compaction.d.ts +8 -0
- package/dist/presentation/tui/tui-context-compaction.js +1 -0
- package/dist/presentation/tui/tui-context-service.d.ts +2 -0
- package/dist/presentation/tui/tui-context-service.js +1 -0
- package/dist/presentation/tui/tui-extension-loader.d.ts +21 -0
- package/dist/presentation/tui/tui-extension-loader.js +1 -0
- package/dist/presentation/tui/tui-file-suggestions.d.ts +3 -0
- package/dist/presentation/tui/tui-file-suggestions.js +1 -0
- package/dist/presentation/tui/tui-goal-controller.d.ts +14 -0
- package/dist/presentation/tui/tui-goal-controller.js +1 -0
- package/dist/presentation/tui/tui-initial-model.d.ts +3 -0
- package/dist/presentation/tui/tui-initial-model.js +1 -0
- package/dist/presentation/tui/tui-lifecycle-actions.d.ts +13 -0
- package/dist/presentation/tui/tui-lifecycle-actions.js +1 -0
- package/dist/presentation/tui/tui-manual-compaction.d.ts +18 -0
- package/dist/presentation/tui/tui-manual-compaction.js +1 -0
- package/dist/presentation/tui/tui-media-model-selection.d.ts +12 -0
- package/dist/presentation/tui/tui-media-model-selection.js +1 -0
- package/dist/presentation/tui/tui-prompt-dispatcher.d.ts +16 -0
- package/dist/presentation/tui/tui-prompt-dispatcher.js +1 -0
- package/dist/presentation/tui/tui-skill-controller.d.ts +11 -0
- package/dist/presentation/tui/tui-skill-controller.js +3 -0
- package/dist/presentation/tui/tui-tool-approval.d.ts +22 -0
- package/dist/presentation/tui/tui-tool-approval.js +1 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +1 -0
- package/native-targets.mjs +1 -1
- package/package.json +13 -12
- package/scripts/install-native.mjs +5 -13
- package/skills/architecture-review/SKILL.md +41 -14
- package/skills/code-review/SKILL.md +41 -12
- package/skills/debugging/SKILL.md +49 -12
- package/skills/documentation/SKILL.md +43 -9
- package/skills/feature-implementation/SKILL.md +58 -19
- package/bin/lotagate.exe +0 -1
- package/skills/api-contract-review/SKILL.md +0 -17
- package/skills/database-review/SKILL.md +0 -17
- package/skills/dependency-review/SKILL.md +0 -16
- package/skills/frontend-review/SKILL.md +0 -18
- package/skills/incident-response/SKILL.md +0 -18
- package/skills/performance-review/SKILL.md +0 -17
- package/skills/refactor/SKILL.md +0 -23
- package/skills/release-readiness/SKILL.md +0 -16
- package/skills/security-review/SKILL.md +0 -16
- package/skills/test-plan/SKILL.md +0 -22
- package/skills/verify/SKILL.md +0 -13
|
@@ -10,8 +10,11 @@ const target = targetForRuntime(process.platform, process.arch);
|
|
|
10
10
|
|
|
11
11
|
if (existsSync(resolve(packageRoot, '.git'))) process.exit(0);
|
|
12
12
|
|
|
13
|
-
if (target === undefined)
|
|
14
|
-
|
|
13
|
+
if (target === undefined) {
|
|
14
|
+
if (process.platform === 'win32' || process.platform === 'cygwin') fail(`No native LotaGate CLI artifact is available for ${process.platform}/${process.arch}.`);
|
|
15
|
+
} else {
|
|
16
|
+
await installNativeTarget(target);
|
|
17
|
+
}
|
|
15
18
|
|
|
16
19
|
function findInstalledNativePackageRoot(packageName) {
|
|
17
20
|
const segments = packageName.split('/');
|
|
@@ -45,17 +48,6 @@ async function installNativeTarget(nativeTarget) {
|
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
50
|
|
|
48
|
-
async function installNodeFallback() {
|
|
49
|
-
if (process.platform === 'win32' || process.platform === 'cygwin') fail(`No native LotaGate CLI artifact is available for ${process.platform}/${process.arch}.`);
|
|
50
|
-
const destination = resolve(packageRoot, 'bin', 'lotagate.exe');
|
|
51
|
-
try {
|
|
52
|
-
await installExecutable(resolve(packageRoot, 'bin', 'lotagate.mjs'), destination);
|
|
53
|
-
} catch (error) {
|
|
54
|
-
await rm(destination, { force: true }).catch(() => undefined);
|
|
55
|
-
fail(`Node launcher installation failed: ${error instanceof Error ? error.message : String(error)}`);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
51
|
async function installExecutable(source, destination) {
|
|
60
52
|
const temporary = `${destination}.install-${process.pid}-${Date.now()}`;
|
|
61
53
|
await mkdir(dirname(destination), { recursive: true });
|
|
@@ -1,22 +1,49 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: architecture-review
|
|
3
|
-
description: Trace a feature end to end and assess ownership, boundaries and extensibility.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
3
|
+
description: Trace a feature or subsystem end to end and assess ownership, dependency boundaries, contracts, risks and extensibility before implementation.
|
|
6
4
|
allowed-tools: [filesystem.read, filesystem.list]
|
|
7
5
|
---
|
|
8
6
|
# Architecture review
|
|
9
7
|
|
|
10
|
-
|
|
8
|
+
Assess the requested feature or subsystem using repository evidence before
|
|
9
|
+
implementation. This skill produces an architecture decision, not a rewrite.
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
2. Trace the flow through validation, application logic, ports, infrastructure
|
|
14
|
-
adapters and presentation boundaries.
|
|
15
|
-
3. Reuse existing abstractions before proposing new files or dependencies.
|
|
16
|
-
4. Check for duplicated business rules, leaky infrastructure details and
|
|
17
|
-
unclear ownership.
|
|
18
|
-
5. Propose the smallest complete design that preserves contracts and supports
|
|
19
|
-
testing, operations and future extension; do not defer required behavior.
|
|
11
|
+
## Trace the current system
|
|
20
12
|
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
1. Read applicable guidance, package boundaries, entry points, manifests,
|
|
14
|
+
configuration and tests.
|
|
15
|
+
2. Map the real flow:
|
|
16
|
+
`entry point -> validation -> authorization/trust -> application/domain ->
|
|
17
|
+
port -> infrastructure adapter -> persistence/external service -> mapper ->
|
|
18
|
+
response/rendering`.
|
|
19
|
+
3. Identify the owner of each rule, allowed dependency direction, public
|
|
20
|
+
contract, runtime schema, lifecycle and failure boundary.
|
|
21
|
+
4. Search for existing components, services, repositories, clients, policies,
|
|
22
|
+
constants, error types and test helpers before proposing new abstractions.
|
|
23
|
+
5. Note duplicated rules, circular dependencies, leaky infrastructure types,
|
|
24
|
+
UI-owned authorization, hidden side effects and unclear transaction or
|
|
25
|
+
resource boundaries.
|
|
26
|
+
|
|
27
|
+
## Evaluate the requested design
|
|
28
|
+
|
|
29
|
+
Assess:
|
|
30
|
+
|
|
31
|
+
- business behavior and contract preservation;
|
|
32
|
+
- authentication, authorization, project trust and tenant/resource ownership;
|
|
33
|
+
- validation, error semantics, observability and operational support;
|
|
34
|
+
- cancellation, timeout, retries, bounded concurrency and cleanup;
|
|
35
|
+
- persistence, cache consistency and migration/rollback needs;
|
|
36
|
+
- test boundaries and realistic failure/empty states;
|
|
37
|
+
- future extension cost without premature generic abstraction.
|
|
38
|
+
|
|
39
|
+
Compare the smallest complete option with viable alternatives. Recommend a new
|
|
40
|
+
file, dependency or layer only when the existing owner cannot support the
|
|
41
|
+
behavior cleanly. Do not defer required correctness or hide a migration risk.
|
|
42
|
+
|
|
43
|
+
## Report
|
|
44
|
+
|
|
45
|
+
Separate confirmed repository facts, inferred risks, recommendations and items
|
|
46
|
+
requiring runtime verification. Include the affected flow, ownership map,
|
|
47
|
+
contract impact, proposed module boundaries, reuse decisions, alternatives,
|
|
48
|
+
trade-offs, change risk and a staged verification plan. Do not modify files
|
|
49
|
+
unless the user explicitly requests implementation.
|
|
@@ -1,20 +1,49 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-review
|
|
3
|
-
description: Review
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
3
|
+
description: Review an implementation or diff for correctness, security, architecture, maintainability and regression risk with evidence-backed findings.
|
|
6
4
|
allowed-tools: [filesystem.read, filesystem.list]
|
|
7
5
|
---
|
|
8
6
|
# Code review
|
|
9
7
|
|
|
10
|
-
Review the requested
|
|
8
|
+
Review the requested scope as a production change. This is an audit skill:
|
|
9
|
+
do not edit files unless the user explicitly asks to implement a finding.
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
2. Inspect the relevant callers, callees, contracts, validation and tests.
|
|
14
|
-
3. Report confirmed defects before style preferences.
|
|
15
|
-
4. For every finding, include severity, confidence, file/location, evidence,
|
|
16
|
-
impact and a focused remediation.
|
|
17
|
-
5. Check security boundaries, error paths, cancellation, resource cleanup and
|
|
18
|
-
regression coverage.
|
|
11
|
+
## Review procedure
|
|
19
12
|
|
|
20
|
-
|
|
13
|
+
1. Read applicable guidance and inspect the complete diff, not only the changed
|
|
14
|
+
lines. Identify generated or unrelated changes.
|
|
15
|
+
2. Trace each changed path from entry point through validation, authorization,
|
|
16
|
+
business logic, persistence/external adapters and user-visible output.
|
|
17
|
+
3. Inspect callers, callees, DTOs/types, runtime schemas, configuration,
|
|
18
|
+
migrations, error handling, logging, tests and deployment assumptions.
|
|
19
|
+
4. Check correctness and data integrity first, then security, reliability,
|
|
20
|
+
concurrency, resource cleanup, maintainability and performance.
|
|
21
|
+
5. Exercise the reasoning against empty, malformed, duplicate, concurrent,
|
|
22
|
+
cancelled, timed-out, unauthorized and partially failed cases.
|
|
23
|
+
6. Prefer confirmed defects over style preferences. Do not infer a bug from a
|
|
24
|
+
name or estimate performance without measurements.
|
|
25
|
+
|
|
26
|
+
## Required finding format
|
|
27
|
+
|
|
28
|
+
For every actionable finding, report:
|
|
29
|
+
|
|
30
|
+
- stable ID and category;
|
|
31
|
+
- severity: Critical, High, Medium or Low;
|
|
32
|
+
- confidence: Confirmed, High Confidence, Medium Confidence or Needs Verification;
|
|
33
|
+
- file and exact symbol/location;
|
|
34
|
+
- affected flow and trigger condition;
|
|
35
|
+
- problem, repository evidence, root cause and concrete impact;
|
|
36
|
+
- smallest safe recommendation and existing pattern to follow;
|
|
37
|
+
- alternatives/trade-offs, change risk and verification method.
|
|
38
|
+
|
|
39
|
+
Group symptoms with the same root cause. State explicitly when a behavior is
|
|
40
|
+
correct, when an issue is only a design trade-off, and when runtime/load
|
|
41
|
+
verification is still required. Never expose secrets or reproduce sensitive
|
|
42
|
+
payloads in findings.
|
|
43
|
+
|
|
44
|
+
## Review conclusion
|
|
45
|
+
|
|
46
|
+
Summarize coverage and limitations, finding count and severity distribution,
|
|
47
|
+
highest-risk issues, systemic causes, quick wins and unverified items. If the
|
|
48
|
+
user requests implementation afterward, convert only confirmed findings into a
|
|
49
|
+
focused patch and preserve the review evidence.
|
|
@@ -1,20 +1,57 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: debugging
|
|
3
|
-
description: Diagnose a reproducible failure from
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
3
|
+
description: Diagnose a reproducible software failure from repository and runtime evidence, then implement a minimal verified fix when requested.
|
|
6
4
|
allowed-tools: [filesystem.read, filesystem.list, shell.exec]
|
|
7
5
|
---
|
|
8
6
|
# Debugging
|
|
9
7
|
|
|
10
|
-
|
|
8
|
+
Find the root cause of the reported failure without guessing or masking the
|
|
9
|
+
symptom. If the user asks for diagnosis only, do not modify source files.
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
2. Trace the input from its boundary to the failing operation.
|
|
14
|
-
3. Compare the runtime behavior with the declared types, validation and
|
|
15
|
-
configuration.
|
|
16
|
-
4. Identify the root cause, affected cases and regression risk.
|
|
17
|
-
5. Add or update a focused regression test before implementing a fix.
|
|
18
|
-
6. Run the narrow test first, then the relevant project checks.
|
|
11
|
+
## Establish evidence
|
|
19
12
|
|
|
20
|
-
|
|
13
|
+
1. Read applicable repository guidance and inspect the current diff before
|
|
14
|
+
changing anything.
|
|
15
|
+
2. Capture the exact trigger, input shape, environment, command, expected
|
|
16
|
+
result and observed result. Keep credentials and sensitive payloads out of
|
|
17
|
+
notes and logs.
|
|
18
|
+
3. Reproduce with the narrowest safe test or command. If reproduction is not
|
|
19
|
+
possible, state `Needs runtime verification` and isolate the closest
|
|
20
|
+
deterministic boundary instead of inventing behavior.
|
|
21
|
+
4. Search callers and callees, then trace the value through parsing,
|
|
22
|
+
validation, state transitions, persistence, external adapters and rendering.
|
|
23
|
+
5. Compare implementation behavior with types, schemas, configuration,
|
|
24
|
+
authorization/trust rules and documented contracts.
|
|
25
|
+
|
|
26
|
+
## Classify the cause
|
|
27
|
+
|
|
28
|
+
Separate:
|
|
29
|
+
|
|
30
|
+
- confirmed root cause;
|
|
31
|
+
- contributing condition;
|
|
32
|
+
- affected and unaffected cases;
|
|
33
|
+
- data-integrity, security, concurrency or resource-lifecycle risk;
|
|
34
|
+
- pre-existing failure or environment limitation.
|
|
35
|
+
|
|
36
|
+
Check malformed input, empty state, retries, timeout/cancellation, concurrent
|
|
37
|
+
requests, stale UI responses, permission denial, partial writes and cleanup.
|
|
38
|
+
Do not call a style preference a bug and do not claim a security issue without
|
|
39
|
+
tracing user-controlled data to the sensitive sink.
|
|
40
|
+
|
|
41
|
+
## Fix only when authorized
|
|
42
|
+
|
|
43
|
+
When implementation is requested:
|
|
44
|
+
|
|
45
|
+
1. Add a focused regression test that fails for the reported behavior and
|
|
46
|
+
protects the business invariant.
|
|
47
|
+
2. Apply the smallest fix in the module that owns the behavior. Reuse existing
|
|
48
|
+
validators, error contracts, state machines and utilities.
|
|
49
|
+
3. Preserve unrelated behavior, public contracts, authorization and
|
|
50
|
+
observability. Do not weaken validation, broaden permissions or swallow
|
|
51
|
+
exceptions to make the test pass.
|
|
52
|
+
4. Run the focused test first, then typecheck/lint/build and the relevant
|
|
53
|
+
integration or regression suite.
|
|
54
|
+
|
|
55
|
+
Report the trigger, evidence, root cause, fix, tests and any remaining runtime
|
|
56
|
+
verification. Never report a reproduction or test as successful unless it was
|
|
57
|
+
actually run.
|
|
@@ -1,16 +1,50 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: documentation
|
|
3
|
-
description: Produce accurate
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
3
|
+
description: Produce and maintain accurate engineering documentation from verified repository behavior, contracts and operational workflows.
|
|
6
4
|
allowed-tools: [filesystem.read, filesystem.list, filesystem.write]
|
|
7
5
|
---
|
|
8
6
|
# Documentation
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
Create documentation that helps its intended reader make the correct decision
|
|
9
|
+
or complete the supported workflow. Documentation is part of the product
|
|
10
|
+
contract: never document an assumption as a feature.
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
## Discover the source of truth
|
|
13
|
+
|
|
14
|
+
1. Read applicable guidance, the nearest README/design document, package
|
|
15
|
+
metadata and the complete implementation path.
|
|
16
|
+
2. Verify public commands, routes, IPC/API payloads, configuration keys,
|
|
17
|
+
defaults, scopes, permissions, error behavior, lifecycle and supported
|
|
18
|
+
platforms from code, schemas and tests.
|
|
19
|
+
3. Search for existing documentation and update the nearest authoritative
|
|
20
|
+
source. Do not create duplicate instructions or conflicting quick starts.
|
|
21
|
+
4. Identify the audience and task: user guide, API reference, architecture
|
|
22
|
+
decision, operations runbook, troubleshooting guide or changelog.
|
|
23
|
+
|
|
24
|
+
## Write the useful contract
|
|
25
|
+
|
|
26
|
+
Include only verified and task-relevant information:
|
|
27
|
+
|
|
28
|
+
- purpose, scope and explicit non-goals;
|
|
29
|
+
- prerequisites, installation and configuration;
|
|
30
|
+
- normal workflow with copyable, safe examples;
|
|
31
|
+
- inputs, outputs, defaults, limits, scopes and permissions;
|
|
32
|
+
- loading, empty, error, timeout, cancellation and recovery behavior;
|
|
33
|
+
- security boundaries, trust requirements and sensitive-data rules;
|
|
34
|
+
- compatibility, platform limitations, migrations and rollback;
|
|
35
|
+
- documented verification commands and expected outcomes.
|
|
36
|
+
|
|
37
|
+
Use the project voice and stable terminology. Keep titles specific, put the
|
|
38
|
+
most important behavior first, avoid unsupported promises and never include
|
|
39
|
+
credentials, private paths, raw tokens or unbounded sensitive payloads.
|
|
40
|
+
|
|
41
|
+
## Validate before handoff
|
|
42
|
+
|
|
43
|
+
Cross-check examples against command catalogs, types and schemas. Run the
|
|
44
|
+
narrowest relevant documentation/example test or validation command when one
|
|
45
|
+
exists. Re-read links, code snippets, paths, version values and negative cases.
|
|
46
|
+
If implementation evidence is incomplete, label the statement `Needs
|
|
47
|
+
Verification` instead of guessing.
|
|
48
|
+
|
|
49
|
+
Report the authoritative files updated, verified sources, commands run, known
|
|
50
|
+
limitations and any remaining documentation drift risk.
|
|
@@ -1,25 +1,64 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: feature-implementation
|
|
3
|
-
description: Implement
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
3
|
+
description: Implement an explicitly requested product or engineering feature end to end while preserving architecture, contracts, security and operational safety.
|
|
6
4
|
allowed-tools: [filesystem.read, filesystem.list, filesystem.exists, filesystem.write, shell.exec]
|
|
7
5
|
---
|
|
8
6
|
# Feature implementation
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
8
|
+
Deliver the explicitly requested behavior as a complete, reviewable change.
|
|
9
|
+
Do not silently broaden the product scope, redesign an unrelated subsystem, or
|
|
10
|
+
turn a one-off example into a new platform abstraction.
|
|
11
|
+
|
|
12
|
+
## Before editing
|
|
13
|
+
|
|
14
|
+
1. Read the applicable `AGENTS.md`, package manifest, README, architecture
|
|
15
|
+
notes, build configuration, test configuration and environment examples.
|
|
16
|
+
2. Inspect the current working tree and preserve unrelated user changes.
|
|
17
|
+
3. Trace the affected flow end to end:
|
|
18
|
+
- UI: route -> page -> components -> state/hooks -> API/IPC -> response -> render.
|
|
19
|
+
- Backend/CLI: command or route -> validation -> application service -> port -> adapter -> persistence/external system -> response.
|
|
20
|
+
4. Identify the owning module, dependency direction, public contracts, runtime
|
|
21
|
+
schemas, authorization/trust boundary and existing reusable abstractions.
|
|
22
|
+
5. Search for equivalent components, services, validators, mappers, constants,
|
|
23
|
+
error types and test utilities before creating anything new.
|
|
24
|
+
|
|
25
|
+
## Design the smallest complete change
|
|
26
|
+
|
|
27
|
+
Define the behavior before implementation:
|
|
28
|
+
|
|
29
|
+
- normal, loading, empty, malformed-input and failure states;
|
|
30
|
+
- validation at every trust boundary and stable error semantics;
|
|
31
|
+
- authorization, project trust, scope and approval behavior;
|
|
32
|
+
- cancellation, timeout, retry and resource cleanup where I/O is involved;
|
|
33
|
+
- persistence, cache invalidation, ordering and concurrency behavior;
|
|
34
|
+
- accessibility and user-visible feedback for UI changes;
|
|
35
|
+
- migration, compatibility and rollback implications when a contract changes.
|
|
36
|
+
|
|
37
|
+
Keep business rules in their owning domain/application layer. Keep controllers,
|
|
38
|
+
IPC handlers and UI components as orchestration boundaries rather than sources
|
|
39
|
+
of truth. Prefer extending a cohesive existing abstraction over duplicating a
|
|
40
|
+
rule or introducing a generic shared helper with unclear ownership.
|
|
41
|
+
|
|
42
|
+
## Implement incrementally
|
|
43
|
+
|
|
44
|
+
1. Make the smallest cohesive edit and keep the diff focused.
|
|
45
|
+
2. Preserve existing inputs, outputs, error codes, side effects and ordering
|
|
46
|
+
unless the request explicitly changes them.
|
|
47
|
+
3. Use runtime validation for external data even when TypeScript types exist.
|
|
48
|
+
4. Bound concurrency, payload size, recursion, retries and memory where the
|
|
49
|
+
feature can process user-controlled or remote data.
|
|
50
|
+
5. Never log credentials, tokens, raw secrets, unbounded tool input or sensitive
|
|
51
|
+
file contents. Do not edit generated files or lockfiles without a reason.
|
|
52
|
+
6. Add focused tests for business invariants, failure paths and authorization
|
|
53
|
+
boundaries before combining broader changes.
|
|
54
|
+
|
|
55
|
+
## Verify and hand off
|
|
56
|
+
|
|
57
|
+
Run the narrowest documented typecheck, lint, unit or integration test after
|
|
58
|
+
each safe unit, then run the relevant package build and regression checks. If a
|
|
59
|
+
check fails, report the exact command and distinguish an introduced failure
|
|
60
|
+
from a pre-existing or environment failure; never hide it.
|
|
61
|
+
|
|
62
|
+
The final report must state what changed, why, files touched, contracts and
|
|
63
|
+
business behavior preserved or intentionally changed, commands and results,
|
|
64
|
+
known limitations, remaining risks and any manual runtime verification needed.
|
package/bin/lotagate.exe
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Native executable installation did not complete. Reinstall @lotagate/cli without --ignore-scripts or --omit=optional.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: api-contract-review
|
|
3
|
-
description: Review an API contract, adapter or protocol flow for compatibility, validation and failure behavior.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
6
|
-
allowed-tools: [filesystem.read, filesystem.list]
|
|
7
|
-
---
|
|
8
|
-
# API contract review
|
|
9
|
-
|
|
10
|
-
Trace the request and response from the public boundary through validation,
|
|
11
|
-
application logic, adapters and mapping.
|
|
12
|
-
|
|
13
|
-
Check input and output schemas, optionality, backward compatibility, error
|
|
14
|
-
codes, authentication, authorization, timeouts, retries, cancellation,
|
|
15
|
-
pagination, idempotency and sensitive data exposure. Compare the contract with
|
|
16
|
-
callers and tests. Report evidence-backed findings and distinguish runtime
|
|
17
|
-
verification requirements from confirmed behavior.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: database-review
|
|
3
|
-
description: Review database access for correctness, integrity, query behavior and concurrency safety.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
6
|
-
allowed-tools: [filesystem.read, filesystem.list]
|
|
7
|
-
---
|
|
8
|
-
# Database review
|
|
9
|
-
|
|
10
|
-
Trace repositories, queries, transactions and constraints through their
|
|
11
|
-
callers. Inspect filtering, tenant isolation, soft deletion, pagination,
|
|
12
|
-
indexes, joins, read-modify-write races, unique constraints, lock behavior and
|
|
13
|
-
external calls inside transactions.
|
|
14
|
-
|
|
15
|
-
Do not recommend an index or schema change without query shape, data-volume and
|
|
16
|
-
write-amplification evidence. Label runtime plans and load behavior as needing
|
|
17
|
-
verification when no measurements are available.
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: dependency-review
|
|
3
|
-
description: Evaluate a dependency change for necessity, security, compatibility and operational cost.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
6
|
-
allowed-tools: [filesystem.read, filesystem.list, shell.exec]
|
|
7
|
-
---
|
|
8
|
-
# Dependency review
|
|
9
|
-
|
|
10
|
-
Check whether an existing abstraction, direct dependency, native API or
|
|
11
|
-
framework capability already solves the problem. If a new package is still
|
|
12
|
-
justified, assess maintenance, license, advisories, transitive dependencies,
|
|
13
|
-
runtime cost, compatibility, migration risk and rollback.
|
|
14
|
-
|
|
15
|
-
Do not modify manifests or lockfiles unless the user explicitly requests the
|
|
16
|
-
dependency change and the evidence supports it.
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: frontend-review
|
|
3
|
-
description: Review a frontend flow for state ownership, rendering behavior, accessibility and resilient user states.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
6
|
-
allowed-tools: [filesystem.read, filesystem.list]
|
|
7
|
-
---
|
|
8
|
-
# Frontend review
|
|
9
|
-
|
|
10
|
-
Trace route, page, component, state, request and render behavior. Check state
|
|
11
|
-
ownership, derived state, effect chains, stale responses, cancellation,
|
|
12
|
-
loading/error/empty states, keyboard access, focus, semantics, large lists and
|
|
13
|
-
user-visible failure recovery.
|
|
14
|
-
|
|
15
|
-
Recommend memoization or component extraction only when the affected subtree,
|
|
16
|
-
trigger and measurable benefit are clear. Preserve the established frontend
|
|
17
|
-
architecture and avoid presentation code becoming the source of truth for
|
|
18
|
-
authorization.
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: incident-response
|
|
3
|
-
description: Investigate an operational failure using a bounded evidence-first response workflow.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: false
|
|
6
|
-
allowed-tools: [filesystem.read, filesystem.list, shell.exec]
|
|
7
|
-
---
|
|
8
|
-
# Incident response
|
|
9
|
-
|
|
10
|
-
Establish the impact, timeline, affected component and current safety boundary
|
|
11
|
-
before changing anything. Preserve evidence and secrets, inspect logs and
|
|
12
|
-
configuration through approved paths, and separate confirmed facts from
|
|
13
|
-
hypotheses.
|
|
14
|
-
|
|
15
|
-
Prioritize containment, reversible mitigation, data integrity and clear
|
|
16
|
-
rollback. Record commands, observations, decision points and verification. Do
|
|
17
|
-
not delete evidence, rotate credentials, alter production state or apply a
|
|
18
|
-
destructive fix without explicit authorization.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: performance-review
|
|
3
|
-
description: Find evidence-backed performance bottlenecks and define a measurable safe optimization.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
6
|
-
allowed-tools: [filesystem.read, filesystem.list, shell.exec]
|
|
7
|
-
---
|
|
8
|
-
# Performance review
|
|
9
|
-
|
|
10
|
-
Inspect the complete flow and existing measurements before proposing an
|
|
11
|
-
optimization. Prioritize database and external I/O, duplicate requests,
|
|
12
|
-
blocking CPU work, unbounded concurrency, memory growth and large payloads.
|
|
13
|
-
|
|
14
|
-
For every finding state the evidence, workload, bottleneck, correctness risks,
|
|
15
|
-
measurement command and acceptance criterion. Do not invent percentage gains or
|
|
16
|
-
recommend caching, memoization, larger pools or infrastructure without an
|
|
17
|
-
invalidation and capacity analysis.
|
package/skills/refactor/SKILL.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: refactor
|
|
3
|
-
description: Restructure existing code to improve ownership, reuse and testability without changing behavior.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
6
|
-
allowed-tools: [filesystem.read, filesystem.list, filesystem.exists, filesystem.write, shell.exec]
|
|
7
|
-
---
|
|
8
|
-
# Refactor
|
|
9
|
-
|
|
10
|
-
Refactor only when the requested scope has a concrete maintainability or
|
|
11
|
-
correctness benefit.
|
|
12
|
-
|
|
13
|
-
1. Trace all callers, exports, contracts and tests before moving code.
|
|
14
|
-
2. Separate responsibilities by ownership and dependency direction, not by
|
|
15
|
-
arbitrary file size.
|
|
16
|
-
3. Reuse existing utilities and preserve public behavior, errors, ordering and
|
|
17
|
-
side effects.
|
|
18
|
-
4. Keep each extracted unit cohesive and independently testable.
|
|
19
|
-
5. Use a focused diff and verify after each safe extraction, then run the
|
|
20
|
-
broader regression checks.
|
|
21
|
-
|
|
22
|
-
Do not combine unrelated cleanup, introduce premature generic abstractions or
|
|
23
|
-
hide behavior changes inside a refactor.
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: release-readiness
|
|
3
|
-
description: Assess whether a requested change is ready for release across behavior, security, operations and verification.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: false
|
|
6
|
-
allowed-tools: [filesystem.read, filesystem.list, filesystem.exists, shell.exec]
|
|
7
|
-
---
|
|
8
|
-
# Release readiness
|
|
9
|
-
|
|
10
|
-
Inspect the diff, package metadata, build and test configuration, public
|
|
11
|
-
contracts, migrations, configuration, documentation and deployment assumptions.
|
|
12
|
-
|
|
13
|
-
Check backward compatibility, secret handling, authorization, error and
|
|
14
|
-
rollback behavior, observability, resource cleanup, versioning and file-size
|
|
15
|
-
constraints. Run only documented checks and report blockers, evidence,
|
|
16
|
-
pre-existing failures and unverified runtime risks separately.
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: security-review
|
|
3
|
-
description: Review the current workspace for security risks with evidence and safe remediation guidance.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: false
|
|
6
|
-
allowed-tools: [filesystem.exists, filesystem.read, filesystem.list]
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
Review the current workspace for security issues. Trace each relevant input to
|
|
10
|
-
its sensitive sink before reporting it. Prioritize authentication,
|
|
11
|
-
authorization, path traversal, command injection, secret handling, unsafe
|
|
12
|
-
deserialization, and dependency boundaries.
|
|
13
|
-
|
|
14
|
-
Report only evidence-backed findings. For each finding, include the affected
|
|
15
|
-
file and flow, trigger condition, impact, confidence, and the smallest safe
|
|
16
|
-
remediation. Do not modify files unless the user explicitly asks for a fix.
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: test-plan
|
|
3
|
-
description: Design a focused test plan covering behavior, errors, security and integration boundaries.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: true
|
|
6
|
-
allowed-tools: [filesystem.read, filesystem.list]
|
|
7
|
-
---
|
|
8
|
-
# Test plan
|
|
9
|
-
|
|
10
|
-
Create an implementation-ready test plan for the requested change.
|
|
11
|
-
|
|
12
|
-
Cover:
|
|
13
|
-
|
|
14
|
-
- happy paths and important edge cases;
|
|
15
|
-
- runtime validation and stable error behavior;
|
|
16
|
-
- authentication, authorization and trust boundaries;
|
|
17
|
-
- cancellation, timeout and bounded-concurrency behavior;
|
|
18
|
-
- persistence, external adapters and malformed input;
|
|
19
|
-
- the narrow unit test, integration test and final regression command.
|
|
20
|
-
|
|
21
|
-
For each test, state the setup, action, expected result and why it protects a
|
|
22
|
-
business invariant. Prefer behavior assertions over implementation details.
|
package/skills/verify/SKILL.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: verify
|
|
3
|
-
description: Identify and run the narrowest relevant verification for the requested workspace change.
|
|
4
|
-
user-invocable: true
|
|
5
|
-
model-invocable: false
|
|
6
|
-
allowed-tools: [filesystem.exists, filesystem.read, filesystem.list, shell.exec]
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
Inspect the workspace documentation and package configuration to determine the
|
|
10
|
-
narrowest relevant verification for the requested scope. Run only commands
|
|
11
|
-
that are documented by the project. Report each command and its result,
|
|
12
|
-
separating pre-existing failures from failures introduced by the requested
|
|
13
|
-
change. Do not edit source files as part of verification.
|