cc-codeconductor 1.5.0 → 1.6.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/README.md +24 -11
- package/dist/core/runner/runner-target.d.ts +4 -4
- package/dist/domain/product/entities.d.ts +1 -1
- package/dist/index.js +1714 -795
- package/dist/library.js +62 -7
- package/dist/validation/schemas.d.ts +210 -43
- package/docs/generated/cli.md +8 -0
- package/package.json +1 -1
- package/presets/agy/skills/openspec/SKILL.md +39 -11
- package/presets/agy/workflows/cc-api-contract.md +4 -5
- package/presets/agy/workflows/cc-backlog.md +4 -5
- package/presets/agy/workflows/cc-clarify.md +4 -5
- package/presets/agy/workflows/cc-council.md +6 -7
- package/presets/agy/workflows/cc-db-migration.md +4 -5
- package/presets/agy/workflows/cc-explore.md +4 -5
- package/presets/agy/workflows/cc-feature.md +4 -5
- package/presets/agy/workflows/cc-fix.md +4 -5
- package/presets/agy/workflows/cc-handoff.md +8 -5
- package/presets/agy/workflows/cc-iterative.md +4 -5
- package/presets/agy/workflows/cc-odd.md +4 -3
- package/presets/agy/workflows/cc-openspec.md +5 -6
- package/presets/agy/workflows/cc-pagespeed.md +4 -5
- package/presets/agy/workflows/cc-prototype.md +4 -5
- package/presets/agy/workflows/cc-refactor.md +4 -5
- package/presets/agy/workflows/cc-review.md +4 -5
- package/presets/agy/workflows/cc-scorecard.md +4 -5
- package/presets/agy/workflows/cc-security.md +4 -5
- package/presets/agy/workflows/cc-spec-mutation.md +4 -5
- package/presets/agy/workflows/cc-tdd-cycle.md +4 -5
- package/presets/agy/workflows/cc-test-plan.md +4 -5
- package/presets/agy/workflows/cc-triage.md +4 -5
- package/presets/claude/CLAUDE.md +6 -5
- package/presets/claude/commands/cc/api-contract.md +4 -5
- package/presets/claude/commands/cc/backlog.md +4 -5
- package/presets/claude/commands/cc/clarify.md +4 -5
- package/presets/claude/commands/cc/council.md +6 -7
- package/presets/claude/commands/cc/db-migration.md +4 -5
- package/presets/claude/commands/cc/explore.md +4 -5
- package/presets/claude/commands/cc/feature.md +4 -5
- package/presets/claude/commands/cc/fix.md +4 -5
- package/presets/claude/commands/cc/handoff.md +8 -5
- package/presets/claude/commands/cc/iterative.md +4 -5
- package/presets/claude/commands/cc/odd.md +4 -3
- package/presets/claude/commands/cc/openspec.md +43 -8
- package/presets/claude/commands/cc/pagespeed.md +4 -5
- package/presets/claude/commands/cc/prototype.md +4 -5
- package/presets/claude/commands/cc/refactor.md +4 -5
- package/presets/claude/commands/cc/review.md +4 -5
- package/presets/claude/commands/cc/scorecard.md +4 -5
- package/presets/claude/commands/cc/security.md +4 -5
- package/presets/claude/commands/cc/spec-mutation.md +4 -5
- package/presets/claude/commands/cc/tdd-cycle.md +4 -5
- package/presets/claude/commands/cc/test-plan.md +4 -5
- package/presets/claude/commands/cc/triage.md +4 -5
- package/presets/claude/settings.json +32 -78
- package/presets/claude/skills/openspec/SKILL.md +39 -11
- package/presets/codex/config.toml +2 -0
- package/presets/codex/skills/cc-api-contract/SKILL.md +4 -5
- package/presets/codex/skills/cc-backlog/SKILL.md +4 -5
- package/presets/codex/skills/cc-clarify/SKILL.md +4 -5
- package/presets/codex/skills/cc-council/SKILL.md +12 -7
- package/presets/codex/skills/cc-db-migration/SKILL.md +4 -5
- package/presets/codex/skills/cc-explore/SKILL.md +4 -5
- package/presets/codex/skills/cc-feature/SKILL.md +4 -5
- package/presets/codex/skills/cc-fix/SKILL.md +4 -5
- package/presets/codex/skills/cc-handoff/SKILL.md +8 -5
- package/presets/codex/skills/cc-iterative/SKILL.md +4 -5
- package/presets/codex/skills/cc-odd/SKILL.md +4 -3
- package/presets/codex/skills/cc-openspec/SKILL.md +31 -7
- package/presets/codex/skills/cc-pagespeed/SKILL.md +4 -5
- package/presets/codex/skills/cc-prototype/SKILL.md +4 -5
- package/presets/codex/skills/cc-refactor/SKILL.md +4 -5
- package/presets/codex/skills/cc-review/SKILL.md +4 -5
- package/presets/codex/skills/cc-scorecard/SKILL.md +4 -5
- package/presets/codex/skills/cc-security/SKILL.md +4 -5
- package/presets/codex/skills/cc-spec-mutation/SKILL.md +4 -5
- package/presets/codex/skills/cc-tdd-cycle/SKILL.md +4 -5
- package/presets/codex/skills/cc-test-plan/SKILL.md +4 -5
- package/presets/codex/skills/cc-triage/SKILL.md +4 -5
- package/presets/codex/skills/openspec/SKILL.md +39 -11
- package/presets/cursor/commands/cc/api-contract.md +4 -5
- package/presets/cursor/commands/cc/backlog.md +4 -5
- package/presets/cursor/commands/cc/clarify.md +4 -5
- package/presets/cursor/commands/cc/council.md +6 -7
- package/presets/cursor/commands/cc/db-migration.md +4 -5
- package/presets/cursor/commands/cc/explore.md +4 -5
- package/presets/cursor/commands/cc/feature.md +4 -5
- package/presets/cursor/commands/cc/fix.md +4 -5
- package/presets/cursor/commands/cc/handoff.md +8 -5
- package/presets/cursor/commands/cc/iterative.md +4 -5
- package/presets/cursor/commands/cc/odd.md +4 -3
- package/presets/cursor/commands/cc/openspec.md +25 -7
- package/presets/cursor/commands/cc/pagespeed.md +4 -5
- package/presets/cursor/commands/cc/prototype.md +4 -5
- package/presets/cursor/commands/cc/refactor.md +4 -5
- package/presets/cursor/commands/cc/review.md +4 -5
- package/presets/cursor/commands/cc/scorecard.md +4 -5
- package/presets/cursor/commands/cc/security.md +4 -5
- package/presets/cursor/commands/cc/spec-mutation.md +4 -5
- package/presets/cursor/commands/cc/tdd-cycle.md +4 -5
- package/presets/cursor/commands/cc/test-plan.md +4 -5
- package/presets/cursor/commands/cc/triage.md +4 -5
- package/presets/cursor/skills/openspec/SKILL.md +39 -11
- package/presets/gemini/commands/cc/api-contract.toml +4 -5
- package/presets/gemini/commands/cc/backlog.toml +4 -5
- package/presets/gemini/commands/cc/clarify.toml +4 -5
- package/presets/gemini/commands/cc/council.toml +6 -7
- package/presets/gemini/commands/cc/db-migration.toml +4 -5
- package/presets/gemini/commands/cc/explore.toml +4 -5
- package/presets/gemini/commands/cc/feature.toml +4 -5
- package/presets/gemini/commands/cc/fix.toml +4 -5
- package/presets/gemini/commands/cc/handoff.toml +8 -5
- package/presets/gemini/commands/cc/iterative.toml +4 -5
- package/presets/gemini/commands/cc/odd.toml +4 -3
- package/presets/gemini/commands/cc/openspec.toml +25 -7
- package/presets/gemini/commands/cc/pagespeed.toml +4 -5
- package/presets/gemini/commands/cc/prototype.toml +4 -5
- package/presets/gemini/commands/cc/refactor.toml +4 -5
- package/presets/gemini/commands/cc/review.toml +4 -5
- package/presets/gemini/commands/cc/scorecard.toml +4 -5
- package/presets/gemini/commands/cc/security.toml +4 -5
- package/presets/gemini/commands/cc/spec-mutation.toml +4 -5
- package/presets/gemini/commands/cc/tdd-cycle.toml +4 -5
- package/presets/gemini/commands/cc/test-plan.toml +4 -5
- package/presets/gemini/commands/cc/triage.toml +4 -5
- package/presets/muse/AGENTS.md +46 -0
- package/presets/muse/hooks.json +30 -0
- package/presets/opencode/commands/cc-api-contract.md +4 -5
- package/presets/opencode/commands/cc-backlog.md +4 -5
- package/presets/opencode/commands/cc-clarify.md +4 -5
- package/presets/opencode/commands/cc-council.md +6 -7
- package/presets/opencode/commands/cc-db-migration.md +4 -5
- package/presets/opencode/commands/cc-explore.md +4 -5
- package/presets/opencode/commands/cc-feature.md +4 -5
- package/presets/opencode/commands/cc-fix.md +4 -5
- package/presets/opencode/commands/cc-handoff.md +8 -5
- package/presets/opencode/commands/cc-iterative.md +4 -5
- package/presets/opencode/commands/cc-odd.md +4 -3
- package/presets/opencode/commands/cc-openspec.md +10 -9
- package/presets/opencode/commands/cc-pagespeed.md +4 -5
- package/presets/opencode/commands/cc-prototype.md +4 -5
- package/presets/opencode/commands/cc-refactor.md +4 -5
- package/presets/opencode/commands/cc-review.md +4 -5
- package/presets/opencode/commands/cc-scorecard.md +4 -5
- package/presets/opencode/commands/cc-security.md +4 -5
- package/presets/opencode/commands/cc-spec-mutation.md +4 -5
- package/presets/opencode/commands/cc-tdd-cycle.md +4 -5
- package/presets/opencode/commands/cc-test-plan.md +4 -5
- package/presets/opencode/commands/cc-triage.md +4 -5
- package/presets/opencode/skills/openspec/SKILL.md +39 -11
- package/src/presets/manifests/codex.yml +3 -0
- package/src/presets/manifests/muse.yml +18 -0
- package/src/presets/models/muse.yml +4 -0
- package/src/presets/models/roles.yml +40 -28
- package/src/presets/targets/muse.yml +12 -0
package/dist/library.js
CHANGED
|
@@ -25,13 +25,20 @@ var init_runner_target = __esm(() => {
|
|
|
25
25
|
"cursor",
|
|
26
26
|
"agy",
|
|
27
27
|
"pi",
|
|
28
|
+
"muse",
|
|
28
29
|
"all"
|
|
29
30
|
];
|
|
30
|
-
INDIVIDUAL_TARGETS = ["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"];
|
|
31
|
+
INDIVIDUAL_TARGETS = ["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "muse"];
|
|
31
32
|
});
|
|
32
33
|
|
|
33
34
|
// src/validation/schemas.ts
|
|
35
|
+
import { isAbsolute } from "node:path";
|
|
34
36
|
import { z } from "zod";
|
|
37
|
+
function isContainedRelativePath(value) {
|
|
38
|
+
if (value === "" || isAbsolute(value))
|
|
39
|
+
return false;
|
|
40
|
+
return !value.replace(/\\/g, "/").split("/").includes("..");
|
|
41
|
+
}
|
|
35
42
|
function validateCouncilSpec(data) {
|
|
36
43
|
return CouncilSpecSchema.parse(data);
|
|
37
44
|
}
|
|
@@ -149,7 +156,7 @@ function validateProductEvent(data) {
|
|
|
149
156
|
function validateSkillsRegistry(data) {
|
|
150
157
|
return SkillsRegistrySchema.parse(data);
|
|
151
158
|
}
|
|
152
|
-
var CouncilAgentSpecSchema, CouncilSpecSchema, ProjectProfileSchema, CompileCheckConfigSchema, LoopConfigSchema, CodeConductorConfigSchema, RunnerTargetSchema, InstallStrategySchema, ManifestEntrySchema, InstallManifestSchema, ToolProviderNamesSchema, PermissionProviderNamesSchema, ModelConfigSchema, SkillFrontmatterSchema, CommandFrontmatterSchema, TargetCapabilitiesSchema, ContractTargetSchema, ContractFormatSchema, AgentContractSchema, CouncilFindingSchema, CouncilVerdictInputSchema, ConsensusConfigSchema, CouncilVerdictSchema, ClaudeAgentFileSchema, OpenCodeAgentFileSchema, SentryStackFrameSchema, SentryWebhookSchema, MemoryPointerSchema, MemoryIndexSchema, GoalTaskSchema, GoalGraphSchema, ConfidenceLevelSchema, ProductNodeTypeSchema, GraphRelationSchema, KnowledgeEntitySchema, DecisionSchema, EvidenceSchema, CanonicalTaskCardStatusSchema, CanonicalTaskCardSchema, ProductGraphNodeSchema, ProductGraphEdgeSchema, ProductGraphSchema, ProductMetaSchema, ProductEventTypeSchema, ProductEventSchema, OperationalStateSchema, StrategicMemorySchema, ImpactReportSchema, BusinessReviewOutputSchema, VerificationReportSchema, BacklogStatusSchema, BacklogTypeSchema, BacklogPrioritySchema, BacklogGlobalSchema, BacklogItemSchema, BacklogDocumentSchema, OpenspecTaskCardPhaseSchema, OpenspecTaskCardStatusSchema, OpenspecTaskCardSchema, OpenspecStateSchema, SpecAnalyzeFindingSchema, SpecAnalyzeReportSchema, WorkflowCommandSchema, CcepOutputFormatSchema, CommandEnvelopeSchema, WorkflowPhaseSchema, WorkflowRiskRuleSchema, WorkflowProfileSchema, ExecutionContextSchema, PlannerOutputSchema, AgentArtifactSchema, AgentOutputSchema, ImplementerTestsSchema, ImplementerOutputSchema, ReviewAxisSchema, ReviewFindingSchema, ReviewerOutputSchema, TechnicalPlanOutputSchema, ScorecardVerdictSchema, ScorecardCriterionIdSchema, ScorecardCriterionSchema, ScorecardRecordSchema, TaskOutcomeSourceSchema, TaskOutcomeStatusSchema, DeliveryRouteSchema, TokenUsageSchema, DeliveryTelemetrySchema, DeliveryLedgerTaskSchema, DeliveryLedgerSchema, DeliveryLedgerRequestSchema, TaskOutcomeSchema, HarnessComponentIdSchema, HarnessComponentLayerSchema, HarnessToggleKindSchema, HarnessCatalogEntrySchema, HarnessCatalogSchema, HarnessOverlaySchema, HarnessExperimentSchema, HarnessSuiteTaskSchema, HarnessSuiteSchema, EvaluationIndexSchema, ExecutionProfileNameSchema, ExecutionProfileSchema, SkillsRegistrySchema;
|
|
159
|
+
var CouncilAgentSpecSchema, CouncilSpecSchema, ProjectProfileSchema, CompileCheckConfigSchema, LoopConfigSchema, CodeConductorConfigSchema, RunnerTargetSchema, InstallStrategySchema, ContainedRelativePathSchema, ManifestEntrySchema, InstallManifestSchema, ToolProviderNamesSchema, PermissionProviderNamesSchema, ModelConfigSchema, SkillFrontmatterSchema, CommandFrontmatterSchema, TargetCapabilitiesSchema, ContractTargetSchema, ContractFormatSchema, AgentContractSchema, CouncilFindingSchema, CouncilVerdictInputSchema, ConsensusConfigSchema, CouncilVerdictSchema, ClaudeAgentFileSchema, OpenCodeAgentFileSchema, SentryStackFrameSchema, SentryWebhookSchema, MemoryPointerSchema, MemoryIndexSchema, GoalTaskSchema, GoalGraphSchema, ConfidenceLevelSchema, ProductNodeTypeSchema, GraphRelationSchema, KnowledgeEntitySchema, DecisionSchema, EvidenceSchema, CanonicalTaskCardStatusSchema, CanonicalTaskCardSchema, ProductGraphNodeSchema, ProductGraphEdgeSchema, ProductGraphSchema, ProductMetaSchema, ProductEventTypeSchema, ProductEventSchema, OperationalStateSchema, StrategicMemorySchema, ImpactReportSchema, BusinessReviewOutputSchema, VerificationReportSchema, BacklogStatusSchema, BacklogTypeSchema, BacklogPrioritySchema, BacklogGlobalSchema, BacklogItemSchema, BacklogDocumentSchema, OpenspecTaskCardPhaseSchema, OpenspecTaskCardStatusSchema, OpenspecTaskCardSchema, OpenspecStateSchema, SpecAnalyzeFindingSchema, SpecAnalyzeReportSchema, WorkflowCommandSchema, CcepOutputFormatSchema, CommandEnvelopeSchema, WorkflowPhaseSchema, WorkflowRiskRuleSchema, WorkflowProfileSchema, ExecutionContextSchema, PlannerOutputSchema, AgentArtifactSchema, AgentOutputSchema, ImplementerTestsSchema, ImplementerOutputSchema, ReviewAxisSchema, ReviewFindingSchema, ReviewerOutputSchema, TechnicalPlanOutputSchema, FixIntakeOutputSchema, ScorecardVerdictSchema, ScorecardCriterionIdSchema, ScorecardCriterionSchema, ScorecardRecordSchema, TaskOutcomeSourceSchema, TaskOutcomeStatusSchema, DeliveryRouteSchema, TokenUsageSchema, DeliveryTelemetrySchema, DeliveryLedgerTaskSchema, DeliveryLedgerSchema, HandoffEnvelopeSchema, RepoRelativePathSchema, DeliveryLedgerRequestSchema, TaskOutcomeSchema, HarnessComponentIdSchema, HarnessComponentLayerSchema, HarnessToggleKindSchema, HarnessCatalogEntrySchema, HarnessCatalogSchema, HarnessOverlaySchema, HarnessExperimentSchema, HarnessSuiteTaskSchema, HarnessSuiteSchema, EvaluationIndexSchema, ExecutionProfileNameSchema, ExecutionProfileSchema, SkillsRegistrySchema;
|
|
153
160
|
var init_schemas = __esm(() => {
|
|
154
161
|
init_runner_target();
|
|
155
162
|
CouncilAgentSpecSchema = z.object({
|
|
@@ -226,11 +233,15 @@ var init_schemas = __esm(() => {
|
|
|
226
233
|
"append",
|
|
227
234
|
"merge-json",
|
|
228
235
|
"merge-managed",
|
|
236
|
+
"create-only",
|
|
229
237
|
"skip"
|
|
230
238
|
]);
|
|
239
|
+
ContainedRelativePathSchema = z.string().refine(isContainedRelativePath, (value) => ({
|
|
240
|
+
message: `Path must be relative without ".." segments: ${value}`
|
|
241
|
+
}));
|
|
231
242
|
ManifestEntrySchema = z.object({
|
|
232
|
-
src:
|
|
233
|
-
dest:
|
|
243
|
+
src: ContainedRelativePathSchema,
|
|
244
|
+
dest: ContainedRelativePathSchema,
|
|
234
245
|
strategy: InstallStrategySchema,
|
|
235
246
|
globalStrategy: InstallStrategySchema.optional(),
|
|
236
247
|
template: z.boolean().optional()
|
|
@@ -251,7 +262,8 @@ var init_schemas = __esm(() => {
|
|
|
251
262
|
cursor: z.string().optional(),
|
|
252
263
|
agy: z.string().optional(),
|
|
253
264
|
pi: z.string().optional(),
|
|
254
|
-
grok: z.string().optional()
|
|
265
|
+
grok: z.string().optional(),
|
|
266
|
+
muse: z.string().optional()
|
|
255
267
|
})),
|
|
256
268
|
tools: z.record(z.string(), ToolProviderNamesSchema).optional(),
|
|
257
269
|
permissions: PermissionProviderNamesSchema.optional()
|
|
@@ -530,7 +542,8 @@ var init_schemas = __esm(() => {
|
|
|
530
542
|
"goal.updated",
|
|
531
543
|
"blocker.detected",
|
|
532
544
|
"verification.completed",
|
|
533
|
-
"feedback.processed"
|
|
545
|
+
"feedback.processed",
|
|
546
|
+
"context.compiled"
|
|
534
547
|
]);
|
|
535
548
|
ProductEventSchema = z.object({
|
|
536
549
|
id: z.string(),
|
|
@@ -875,6 +888,11 @@ var init_schemas = __esm(() => {
|
|
|
875
888
|
risks: z.array(z.string()).default([]),
|
|
876
889
|
openQuestions: z.array(z.string()).optional()
|
|
877
890
|
});
|
|
891
|
+
FixIntakeOutputSchema = z.object({
|
|
892
|
+
actualBehavior: z.string(),
|
|
893
|
+
expectedBehavior: z.string(),
|
|
894
|
+
reproductionSteps: z.array(z.string())
|
|
895
|
+
});
|
|
878
896
|
ScorecardVerdictSchema = z.enum(["PASS", "REVISE", "REJECT"]);
|
|
879
897
|
ScorecardCriterionIdSchema = z.enum([
|
|
880
898
|
"acceptance",
|
|
@@ -946,16 +964,51 @@ var init_schemas = __esm(() => {
|
|
|
946
964
|
nextStep: z.string().min(1),
|
|
947
965
|
memoryTopicKey: z.string().min(1),
|
|
948
966
|
workspace: z.record(z.string(), z.string()),
|
|
967
|
+
technicalPlanPath: z.string().min(1).optional(),
|
|
949
968
|
createdAt: z.string().datetime(),
|
|
950
969
|
updatedAt: z.string().datetime()
|
|
951
970
|
});
|
|
971
|
+
HandoffEnvelopeSchema = z.object({
|
|
972
|
+
version: z.literal(1),
|
|
973
|
+
task: z.object({
|
|
974
|
+
id: z.string().min(1),
|
|
975
|
+
objective: z.string().min(1),
|
|
976
|
+
acceptanceCriteria: z.array(z.string().min(1)),
|
|
977
|
+
status: CanonicalTaskCardStatusSchema
|
|
978
|
+
}),
|
|
979
|
+
decisions: z.object({
|
|
980
|
+
constraints: z.array(z.string()),
|
|
981
|
+
unresolved: z.array(z.string())
|
|
982
|
+
}),
|
|
983
|
+
scope: z.object({
|
|
984
|
+
relevantFiles: z.array(z.string()),
|
|
985
|
+
boundaries: z.array(z.string())
|
|
986
|
+
}),
|
|
987
|
+
verification: z.object({
|
|
988
|
+
evidence: z.array(z.string())
|
|
989
|
+
}),
|
|
990
|
+
change: z.object({
|
|
991
|
+
touchedFiles: z.array(z.string())
|
|
992
|
+
}),
|
|
993
|
+
next: z.object({
|
|
994
|
+
role: z.string().min(1),
|
|
995
|
+
objective: z.string().min(1)
|
|
996
|
+
}),
|
|
997
|
+
sources: z.object({
|
|
998
|
+
deliveryLedger: z.string().min(1),
|
|
999
|
+
memoryTopicKey: z.string().min(1),
|
|
1000
|
+
technicalPlanPath: z.string().min(1).optional()
|
|
1001
|
+
})
|
|
1002
|
+
});
|
|
1003
|
+
RepoRelativePathSchema = z.string().min(1).refine((path) => !/^([/\\]|[A-Za-z]:)/.test(path) && !path.split(/[/\\]/).includes(".."), 'Path must be relative to the repository and must not contain ".." segments');
|
|
952
1004
|
DeliveryLedgerRequestSchema = z.object({
|
|
953
1005
|
id: z.string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/),
|
|
954
1006
|
authorized: z.boolean(),
|
|
955
1007
|
route: DeliveryRouteSchema,
|
|
956
1008
|
taskCard: CanonicalTaskCardSchema,
|
|
957
1009
|
tasks: z.array(DeliveryLedgerTaskSchema).min(1),
|
|
958
|
-
nextStep: z.string().min(1)
|
|
1010
|
+
nextStep: z.string().min(1),
|
|
1011
|
+
technicalPlanPath: RepoRelativePathSchema.optional()
|
|
959
1012
|
});
|
|
960
1013
|
TaskOutcomeSchema = z.object({
|
|
961
1014
|
id: z.string(),
|
|
@@ -2970,9 +3023,11 @@ export {
|
|
|
2970
3023
|
ExecutionContextSchema,
|
|
2971
3024
|
ExecutionProfileNameSchema,
|
|
2972
3025
|
ExecutionProfileSchema,
|
|
3026
|
+
FixIntakeOutputSchema,
|
|
2973
3027
|
GoalGraphSchema,
|
|
2974
3028
|
GoalTaskSchema,
|
|
2975
3029
|
GraphRelationSchema,
|
|
3030
|
+
HandoffEnvelopeSchema,
|
|
2976
3031
|
HarnessCatalogEntrySchema,
|
|
2977
3032
|
HarnessCatalogSchema,
|
|
2978
3033
|
HarnessComponentIdSchema,
|
|
@@ -182,15 +182,15 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
|
|
|
182
182
|
profile?: string | undefined;
|
|
183
183
|
}>;
|
|
184
184
|
defaults: z.ZodObject<{
|
|
185
|
-
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
|
|
185
|
+
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "muse"]>;
|
|
186
186
|
overwrite: z.ZodBoolean;
|
|
187
187
|
locale: z.ZodDefault<z.ZodOptional<z.ZodEnum<["en", "es"]>>>;
|
|
188
188
|
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
189
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse";
|
|
190
190
|
overwrite: boolean;
|
|
191
191
|
locale: "en" | "es";
|
|
192
192
|
}, {
|
|
193
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
193
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse";
|
|
194
194
|
overwrite: boolean;
|
|
195
195
|
locale?: "en" | "es" | undefined;
|
|
196
196
|
}>;
|
|
@@ -287,7 +287,7 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
|
|
|
287
287
|
profile?: string | undefined;
|
|
288
288
|
};
|
|
289
289
|
defaults: {
|
|
290
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
290
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse";
|
|
291
291
|
overwrite: boolean;
|
|
292
292
|
locale: "en" | "es";
|
|
293
293
|
};
|
|
@@ -322,7 +322,7 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
|
|
|
322
322
|
profile?: string | undefined;
|
|
323
323
|
};
|
|
324
324
|
defaults: {
|
|
325
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
325
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse";
|
|
326
326
|
overwrite: boolean;
|
|
327
327
|
locale?: "en" | "es" | undefined;
|
|
328
328
|
};
|
|
@@ -354,69 +354,69 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
|
|
|
354
354
|
/**
|
|
355
355
|
* Runner target schema
|
|
356
356
|
*/
|
|
357
|
-
export declare const RunnerTargetSchema: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "all"]>;
|
|
357
|
+
export declare const RunnerTargetSchema: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "muse", "all"]>;
|
|
358
358
|
/**
|
|
359
359
|
* Install manifest schemas
|
|
360
360
|
*/
|
|
361
|
-
export declare const InstallStrategySchema: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "skip"]>;
|
|
361
|
+
export declare const InstallStrategySchema: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "create-only", "skip"]>;
|
|
362
362
|
export declare const ManifestEntrySchema: z.ZodObject<{
|
|
363
|
-
src: z.ZodString
|
|
364
|
-
dest: z.ZodString
|
|
365
|
-
strategy: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "skip"]>;
|
|
366
|
-
globalStrategy: z.ZodOptional<z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "skip"]>>;
|
|
363
|
+
src: z.ZodEffects<z.ZodString, string, string>;
|
|
364
|
+
dest: z.ZodEffects<z.ZodString, string, string>;
|
|
365
|
+
strategy: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "create-only", "skip"]>;
|
|
366
|
+
globalStrategy: z.ZodOptional<z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "create-only", "skip"]>>;
|
|
367
367
|
template: z.ZodOptional<z.ZodBoolean>;
|
|
368
368
|
}, "strip", z.ZodTypeAny, {
|
|
369
369
|
src: string;
|
|
370
370
|
dest: string;
|
|
371
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
372
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
371
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
372
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
373
373
|
template?: boolean | undefined;
|
|
374
374
|
}, {
|
|
375
375
|
src: string;
|
|
376
376
|
dest: string;
|
|
377
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
378
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
377
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
378
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
379
379
|
template?: boolean | undefined;
|
|
380
380
|
}>;
|
|
381
381
|
export declare const InstallManifestSchema: z.ZodObject<{
|
|
382
|
-
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
|
|
382
|
+
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "muse"]>;
|
|
383
383
|
entries: z.ZodArray<z.ZodObject<{
|
|
384
|
-
src: z.ZodString
|
|
385
|
-
dest: z.ZodString
|
|
386
|
-
strategy: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "skip"]>;
|
|
387
|
-
globalStrategy: z.ZodOptional<z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "skip"]>>;
|
|
384
|
+
src: z.ZodEffects<z.ZodString, string, string>;
|
|
385
|
+
dest: z.ZodEffects<z.ZodString, string, string>;
|
|
386
|
+
strategy: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "create-only", "skip"]>;
|
|
387
|
+
globalStrategy: z.ZodOptional<z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "create-only", "skip"]>>;
|
|
388
388
|
template: z.ZodOptional<z.ZodBoolean>;
|
|
389
389
|
}, "strip", z.ZodTypeAny, {
|
|
390
390
|
src: string;
|
|
391
391
|
dest: string;
|
|
392
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
393
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
392
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
393
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
394
394
|
template?: boolean | undefined;
|
|
395
395
|
}, {
|
|
396
396
|
src: string;
|
|
397
397
|
dest: string;
|
|
398
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
399
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
398
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
399
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
400
400
|
template?: boolean | undefined;
|
|
401
401
|
}>, "many">;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
403
|
entries: {
|
|
404
404
|
src: string;
|
|
405
405
|
dest: string;
|
|
406
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
407
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
406
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
407
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
408
408
|
template?: boolean | undefined;
|
|
409
409
|
}[];
|
|
410
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
410
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse";
|
|
411
411
|
}, {
|
|
412
412
|
entries: {
|
|
413
413
|
src: string;
|
|
414
414
|
dest: string;
|
|
415
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
416
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
415
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
416
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
417
417
|
template?: boolean | undefined;
|
|
418
418
|
}[];
|
|
419
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
419
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse";
|
|
420
420
|
}>;
|
|
421
421
|
/**
|
|
422
422
|
* Tool provider names schema — maps base tool names to provider-specific names
|
|
@@ -427,7 +427,7 @@ export declare const PermissionProviderNamesSchema: z.ZodRecord<z.ZodString, z.Z
|
|
|
427
427
|
* Model config schema — defines model names per provider per agent role
|
|
428
428
|
*/
|
|
429
429
|
export declare const ModelConfigSchema: z.ZodObject<{
|
|
430
|
-
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
|
|
430
|
+
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "muse"]>;
|
|
431
431
|
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
432
432
|
claude: z.ZodOptional<z.ZodString>;
|
|
433
433
|
opencode: z.ZodOptional<z.ZodString>;
|
|
@@ -437,6 +437,7 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
437
437
|
agy: z.ZodOptional<z.ZodString>;
|
|
438
438
|
pi: z.ZodOptional<z.ZodString>;
|
|
439
439
|
grok: z.ZodOptional<z.ZodString>;
|
|
440
|
+
muse: z.ZodOptional<z.ZodString>;
|
|
440
441
|
}, "strip", z.ZodTypeAny, {
|
|
441
442
|
opencode?: string | undefined;
|
|
442
443
|
claude?: string | undefined;
|
|
@@ -445,6 +446,7 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
445
446
|
cursor?: string | undefined;
|
|
446
447
|
agy?: string | undefined;
|
|
447
448
|
pi?: string | undefined;
|
|
449
|
+
muse?: string | undefined;
|
|
448
450
|
grok?: string | undefined;
|
|
449
451
|
}, {
|
|
450
452
|
opencode?: string | undefined;
|
|
@@ -454,6 +456,7 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
454
456
|
cursor?: string | undefined;
|
|
455
457
|
agy?: string | undefined;
|
|
456
458
|
pi?: string | undefined;
|
|
459
|
+
muse?: string | undefined;
|
|
457
460
|
grok?: string | undefined;
|
|
458
461
|
}>>;
|
|
459
462
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -467,9 +470,10 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
467
470
|
cursor?: string | undefined;
|
|
468
471
|
agy?: string | undefined;
|
|
469
472
|
pi?: string | undefined;
|
|
473
|
+
muse?: string | undefined;
|
|
470
474
|
grok?: string | undefined;
|
|
471
475
|
}>;
|
|
472
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
476
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse";
|
|
473
477
|
tools?: Record<string, Record<string, string>> | undefined;
|
|
474
478
|
permissions?: Record<string, string> | undefined;
|
|
475
479
|
}, {
|
|
@@ -481,9 +485,10 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
481
485
|
cursor?: string | undefined;
|
|
482
486
|
agy?: string | undefined;
|
|
483
487
|
pi?: string | undefined;
|
|
488
|
+
muse?: string | undefined;
|
|
484
489
|
grok?: string | undefined;
|
|
485
490
|
}>;
|
|
486
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
491
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse";
|
|
487
492
|
tools?: Record<string, Record<string, string>> | undefined;
|
|
488
493
|
permissions?: Record<string, string> | undefined;
|
|
489
494
|
}>;
|
|
@@ -550,7 +555,7 @@ export type CommandFrontmatter = z.infer<typeof CommandFrontmatterSchema>;
|
|
|
550
555
|
* preset doesn't ship an MCP config, so `mcp: false` here).
|
|
551
556
|
*/
|
|
552
557
|
export declare const TargetCapabilitiesSchema: z.ZodObject<{
|
|
553
|
-
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
|
|
558
|
+
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "muse"]>;
|
|
554
559
|
invocation: z.ZodEnum<["colon", "hyphen", "dollar"]>;
|
|
555
560
|
commandFormat: z.ZodEnum<["markdown", "toml", "skill"]>;
|
|
556
561
|
contextFile: z.ZodString;
|
|
@@ -580,7 +585,7 @@ export declare const TargetCapabilitiesSchema: z.ZodObject<{
|
|
|
580
585
|
mcp: boolean;
|
|
581
586
|
}>;
|
|
582
587
|
}, "strip", z.ZodTypeAny, {
|
|
583
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
588
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse";
|
|
584
589
|
invocation: "colon" | "hyphen" | "dollar";
|
|
585
590
|
commandFormat: "markdown" | "toml" | "skill";
|
|
586
591
|
contextFile: string;
|
|
@@ -592,7 +597,7 @@ export declare const TargetCapabilitiesSchema: z.ZodObject<{
|
|
|
592
597
|
};
|
|
593
598
|
subagentInvocationStyle?: "task-tool" | "adopt-role" | "invoke-with-context" | undefined;
|
|
594
599
|
}, {
|
|
595
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
600
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse";
|
|
596
601
|
invocation: "colon" | "hyphen" | "dollar";
|
|
597
602
|
commandFormat: "markdown" | "toml" | "skill";
|
|
598
603
|
contextFile: string;
|
|
@@ -1686,20 +1691,20 @@ export declare const ProductMetaSchema: z.ZodObject<{
|
|
|
1686
1691
|
lastIngestAt?: string | undefined;
|
|
1687
1692
|
sourceHashes?: Record<string, string> | undefined;
|
|
1688
1693
|
}>;
|
|
1689
|
-
export declare const ProductEventTypeSchema: z.ZodEnum<["task.started", "task.completed", "decision.recorded", "evidence.added", "ingest.completed", "goal.updated", "blocker.detected", "verification.completed", "feedback.processed"]>;
|
|
1694
|
+
export declare const ProductEventTypeSchema: z.ZodEnum<["task.started", "task.completed", "decision.recorded", "evidence.added", "ingest.completed", "goal.updated", "blocker.detected", "verification.completed", "feedback.processed", "context.compiled"]>;
|
|
1690
1695
|
export declare const ProductEventSchema: z.ZodObject<{
|
|
1691
1696
|
id: z.ZodString;
|
|
1692
|
-
type: z.ZodEnum<["task.started", "task.completed", "decision.recorded", "evidence.added", "ingest.completed", "goal.updated", "blocker.detected", "verification.completed", "feedback.processed"]>;
|
|
1697
|
+
type: z.ZodEnum<["task.started", "task.completed", "decision.recorded", "evidence.added", "ingest.completed", "goal.updated", "blocker.detected", "verification.completed", "feedback.processed", "context.compiled"]>;
|
|
1693
1698
|
timestamp: z.ZodString;
|
|
1694
1699
|
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1695
1700
|
}, "strip", z.ZodTypeAny, {
|
|
1696
1701
|
id: string;
|
|
1697
|
-
type: "task.started" | "task.completed" | "decision.recorded" | "evidence.added" | "ingest.completed" | "goal.updated" | "blocker.detected" | "verification.completed" | "feedback.processed";
|
|
1702
|
+
type: "task.started" | "task.completed" | "decision.recorded" | "evidence.added" | "ingest.completed" | "goal.updated" | "blocker.detected" | "verification.completed" | "feedback.processed" | "context.compiled";
|
|
1698
1703
|
timestamp: string;
|
|
1699
1704
|
payload: Record<string, unknown>;
|
|
1700
1705
|
}, {
|
|
1701
1706
|
id: string;
|
|
1702
|
-
type: "task.started" | "task.completed" | "decision.recorded" | "evidence.added" | "ingest.completed" | "goal.updated" | "blocker.detected" | "verification.completed" | "feedback.processed";
|
|
1707
|
+
type: "task.started" | "task.completed" | "decision.recorded" | "evidence.added" | "ingest.completed" | "goal.updated" | "blocker.detected" | "verification.completed" | "feedback.processed" | "context.compiled";
|
|
1703
1708
|
timestamp: string;
|
|
1704
1709
|
payload?: Record<string, unknown> | undefined;
|
|
1705
1710
|
}>;
|
|
@@ -3648,6 +3653,19 @@ export declare const TechnicalPlanOutputSchema: z.ZodObject<{
|
|
|
3648
3653
|
filesAffected?: string[] | undefined;
|
|
3649
3654
|
openQuestions?: string[] | undefined;
|
|
3650
3655
|
}>;
|
|
3656
|
+
export declare const FixIntakeOutputSchema: z.ZodObject<{
|
|
3657
|
+
actualBehavior: z.ZodString;
|
|
3658
|
+
expectedBehavior: z.ZodString;
|
|
3659
|
+
reproductionSteps: z.ZodArray<z.ZodString, "many">;
|
|
3660
|
+
}, "strip", z.ZodTypeAny, {
|
|
3661
|
+
actualBehavior: string;
|
|
3662
|
+
expectedBehavior: string;
|
|
3663
|
+
reproductionSteps: string[];
|
|
3664
|
+
}, {
|
|
3665
|
+
actualBehavior: string;
|
|
3666
|
+
expectedBehavior: string;
|
|
3667
|
+
reproductionSteps: string[];
|
|
3668
|
+
}>;
|
|
3651
3669
|
export declare const ScorecardVerdictSchema: z.ZodEnum<["PASS", "REVISE", "REJECT"]>;
|
|
3652
3670
|
export declare const ScorecardCriterionIdSchema: z.ZodEnum<["acceptance", "minimal_diff", "tests", "regressions", "conventions", "documentation", "context_discipline", "cc_gain"]>;
|
|
3653
3671
|
export declare const ScorecardCriterionSchema: z.ZodObject<{
|
|
@@ -3919,6 +3937,7 @@ export declare const DeliveryLedgerSchema: z.ZodObject<{
|
|
|
3919
3937
|
nextStep: z.ZodString;
|
|
3920
3938
|
memoryTopicKey: z.ZodString;
|
|
3921
3939
|
workspace: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3940
|
+
technicalPlanPath: z.ZodOptional<z.ZodString>;
|
|
3922
3941
|
createdAt: z.ZodString;
|
|
3923
3942
|
updatedAt: z.ZodString;
|
|
3924
3943
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3960,6 +3979,7 @@ export declare const DeliveryLedgerSchema: z.ZodObject<{
|
|
|
3960
3979
|
nextStep: string;
|
|
3961
3980
|
memoryTopicKey: string;
|
|
3962
3981
|
workspace: Record<string, string>;
|
|
3982
|
+
technicalPlanPath?: string | undefined;
|
|
3963
3983
|
}, {
|
|
3964
3984
|
id: string;
|
|
3965
3985
|
version: 1;
|
|
@@ -3999,6 +4019,149 @@ export declare const DeliveryLedgerSchema: z.ZodObject<{
|
|
|
3999
4019
|
nextStep: string;
|
|
4000
4020
|
memoryTopicKey: string;
|
|
4001
4021
|
workspace: Record<string, string>;
|
|
4022
|
+
technicalPlanPath?: string | undefined;
|
|
4023
|
+
}>;
|
|
4024
|
+
/**
|
|
4025
|
+
* A compact, derived view of a Delivery Ledger for a new agent or session.
|
|
4026
|
+
* It intentionally contains references and current evidence, never a transcript.
|
|
4027
|
+
*/
|
|
4028
|
+
export declare const HandoffEnvelopeSchema: z.ZodObject<{
|
|
4029
|
+
version: z.ZodLiteral<1>;
|
|
4030
|
+
task: z.ZodObject<{
|
|
4031
|
+
id: z.ZodString;
|
|
4032
|
+
objective: z.ZodString;
|
|
4033
|
+
acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
|
|
4034
|
+
status: z.ZodEnum<["draft", "ready", "in-progress", "review", "done", "blocked"]>;
|
|
4035
|
+
}, "strip", z.ZodTypeAny, {
|
|
4036
|
+
id: string;
|
|
4037
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4038
|
+
objective: string;
|
|
4039
|
+
acceptanceCriteria: string[];
|
|
4040
|
+
}, {
|
|
4041
|
+
id: string;
|
|
4042
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4043
|
+
objective: string;
|
|
4044
|
+
acceptanceCriteria: string[];
|
|
4045
|
+
}>;
|
|
4046
|
+
decisions: z.ZodObject<{
|
|
4047
|
+
constraints: z.ZodArray<z.ZodString, "many">;
|
|
4048
|
+
unresolved: z.ZodArray<z.ZodString, "many">;
|
|
4049
|
+
}, "strip", z.ZodTypeAny, {
|
|
4050
|
+
constraints: string[];
|
|
4051
|
+
unresolved: string[];
|
|
4052
|
+
}, {
|
|
4053
|
+
constraints: string[];
|
|
4054
|
+
unresolved: string[];
|
|
4055
|
+
}>;
|
|
4056
|
+
scope: z.ZodObject<{
|
|
4057
|
+
relevantFiles: z.ZodArray<z.ZodString, "many">;
|
|
4058
|
+
boundaries: z.ZodArray<z.ZodString, "many">;
|
|
4059
|
+
}, "strip", z.ZodTypeAny, {
|
|
4060
|
+
boundaries: string[];
|
|
4061
|
+
relevantFiles: string[];
|
|
4062
|
+
}, {
|
|
4063
|
+
boundaries: string[];
|
|
4064
|
+
relevantFiles: string[];
|
|
4065
|
+
}>;
|
|
4066
|
+
verification: z.ZodObject<{
|
|
4067
|
+
evidence: z.ZodArray<z.ZodString, "many">;
|
|
4068
|
+
}, "strip", z.ZodTypeAny, {
|
|
4069
|
+
evidence: string[];
|
|
4070
|
+
}, {
|
|
4071
|
+
evidence: string[];
|
|
4072
|
+
}>;
|
|
4073
|
+
change: z.ZodObject<{
|
|
4074
|
+
touchedFiles: z.ZodArray<z.ZodString, "many">;
|
|
4075
|
+
}, "strip", z.ZodTypeAny, {
|
|
4076
|
+
touchedFiles: string[];
|
|
4077
|
+
}, {
|
|
4078
|
+
touchedFiles: string[];
|
|
4079
|
+
}>;
|
|
4080
|
+
next: z.ZodObject<{
|
|
4081
|
+
role: z.ZodString;
|
|
4082
|
+
objective: z.ZodString;
|
|
4083
|
+
}, "strip", z.ZodTypeAny, {
|
|
4084
|
+
role: string;
|
|
4085
|
+
objective: string;
|
|
4086
|
+
}, {
|
|
4087
|
+
role: string;
|
|
4088
|
+
objective: string;
|
|
4089
|
+
}>;
|
|
4090
|
+
sources: z.ZodObject<{
|
|
4091
|
+
deliveryLedger: z.ZodString;
|
|
4092
|
+
memoryTopicKey: z.ZodString;
|
|
4093
|
+
technicalPlanPath: z.ZodOptional<z.ZodString>;
|
|
4094
|
+
}, "strip", z.ZodTypeAny, {
|
|
4095
|
+
memoryTopicKey: string;
|
|
4096
|
+
deliveryLedger: string;
|
|
4097
|
+
technicalPlanPath?: string | undefined;
|
|
4098
|
+
}, {
|
|
4099
|
+
memoryTopicKey: string;
|
|
4100
|
+
deliveryLedger: string;
|
|
4101
|
+
technicalPlanPath?: string | undefined;
|
|
4102
|
+
}>;
|
|
4103
|
+
}, "strip", z.ZodTypeAny, {
|
|
4104
|
+
version: 1;
|
|
4105
|
+
task: {
|
|
4106
|
+
id: string;
|
|
4107
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4108
|
+
objective: string;
|
|
4109
|
+
acceptanceCriteria: string[];
|
|
4110
|
+
};
|
|
4111
|
+
scope: {
|
|
4112
|
+
boundaries: string[];
|
|
4113
|
+
relevantFiles: string[];
|
|
4114
|
+
};
|
|
4115
|
+
decisions: {
|
|
4116
|
+
constraints: string[];
|
|
4117
|
+
unresolved: string[];
|
|
4118
|
+
};
|
|
4119
|
+
verification: {
|
|
4120
|
+
evidence: string[];
|
|
4121
|
+
};
|
|
4122
|
+
change: {
|
|
4123
|
+
touchedFiles: string[];
|
|
4124
|
+
};
|
|
4125
|
+
next: {
|
|
4126
|
+
role: string;
|
|
4127
|
+
objective: string;
|
|
4128
|
+
};
|
|
4129
|
+
sources: {
|
|
4130
|
+
memoryTopicKey: string;
|
|
4131
|
+
deliveryLedger: string;
|
|
4132
|
+
technicalPlanPath?: string | undefined;
|
|
4133
|
+
};
|
|
4134
|
+
}, {
|
|
4135
|
+
version: 1;
|
|
4136
|
+
task: {
|
|
4137
|
+
id: string;
|
|
4138
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4139
|
+
objective: string;
|
|
4140
|
+
acceptanceCriteria: string[];
|
|
4141
|
+
};
|
|
4142
|
+
scope: {
|
|
4143
|
+
boundaries: string[];
|
|
4144
|
+
relevantFiles: string[];
|
|
4145
|
+
};
|
|
4146
|
+
decisions: {
|
|
4147
|
+
constraints: string[];
|
|
4148
|
+
unresolved: string[];
|
|
4149
|
+
};
|
|
4150
|
+
verification: {
|
|
4151
|
+
evidence: string[];
|
|
4152
|
+
};
|
|
4153
|
+
change: {
|
|
4154
|
+
touchedFiles: string[];
|
|
4155
|
+
};
|
|
4156
|
+
next: {
|
|
4157
|
+
role: string;
|
|
4158
|
+
objective: string;
|
|
4159
|
+
};
|
|
4160
|
+
sources: {
|
|
4161
|
+
memoryTopicKey: string;
|
|
4162
|
+
deliveryLedger: string;
|
|
4163
|
+
technicalPlanPath?: string | undefined;
|
|
4164
|
+
};
|
|
4002
4165
|
}>;
|
|
4003
4166
|
export declare const DeliveryLedgerRequestSchema: z.ZodObject<{
|
|
4004
4167
|
id: z.ZodString;
|
|
@@ -4091,6 +4254,7 @@ export declare const DeliveryLedgerRequestSchema: z.ZodObject<{
|
|
|
4091
4254
|
title: string;
|
|
4092
4255
|
}>, "many">;
|
|
4093
4256
|
nextStep: z.ZodString;
|
|
4257
|
+
technicalPlanPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4094
4258
|
}, "strip", z.ZodTypeAny, {
|
|
4095
4259
|
id: string;
|
|
4096
4260
|
tasks: {
|
|
@@ -4126,6 +4290,7 @@ export declare const DeliveryLedgerRequestSchema: z.ZodObject<{
|
|
|
4126
4290
|
route: "openspec" | "read-only" | "small" | "tracked";
|
|
4127
4291
|
nextStep: string;
|
|
4128
4292
|
authorized: boolean;
|
|
4293
|
+
technicalPlanPath?: string | undefined;
|
|
4129
4294
|
}, {
|
|
4130
4295
|
id: string;
|
|
4131
4296
|
tasks: {
|
|
@@ -4161,6 +4326,7 @@ export declare const DeliveryLedgerRequestSchema: z.ZodObject<{
|
|
|
4161
4326
|
route: "openspec" | "read-only" | "small" | "tracked";
|
|
4162
4327
|
nextStep: string;
|
|
4163
4328
|
authorized: boolean;
|
|
4329
|
+
technicalPlanPath?: string | undefined;
|
|
4164
4330
|
}>;
|
|
4165
4331
|
export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
4166
4332
|
id: z.ZodString;
|
|
@@ -4553,7 +4719,7 @@ export declare const EvaluationIndexSchema: z.ZodObject<{
|
|
|
4553
4719
|
export declare const ExecutionProfileNameSchema: z.ZodEnum<["balanced", "quality", "economical"]>;
|
|
4554
4720
|
export declare const ExecutionProfileSchema: z.ZodObject<{
|
|
4555
4721
|
profile: z.ZodDefault<z.ZodEnum<["balanced", "quality", "economical"]>>;
|
|
4556
|
-
target: z.ZodOptional<z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>>;
|
|
4722
|
+
target: z.ZodOptional<z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "muse"]>>;
|
|
4557
4723
|
overrides: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4558
4724
|
subagentPolicy: z.ZodOptional<z.ZodObject<{
|
|
4559
4725
|
orchestrator: z.ZodOptional<z.ZodEnum<["primary", "delegate"]>>;
|
|
@@ -4568,14 +4734,14 @@ export declare const ExecutionProfileSchema: z.ZodObject<{
|
|
|
4568
4734
|
}, "strip", z.ZodTypeAny, {
|
|
4569
4735
|
profile: "balanced" | "quality" | "economical";
|
|
4570
4736
|
overrides: Record<string, string>;
|
|
4571
|
-
target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | undefined;
|
|
4737
|
+
target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse" | undefined;
|
|
4572
4738
|
subagentPolicy?: {
|
|
4573
4739
|
orchestrator?: "primary" | "delegate" | undefined;
|
|
4574
4740
|
testerReviewer?: "primary" | "delegate" | undefined;
|
|
4575
4741
|
} | undefined;
|
|
4576
4742
|
}, {
|
|
4577
4743
|
profile?: "balanced" | "quality" | "economical" | undefined;
|
|
4578
|
-
target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | undefined;
|
|
4744
|
+
target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | "muse" | undefined;
|
|
4579
4745
|
overrides?: Record<string, string> | undefined;
|
|
4580
4746
|
subagentPolicy?: {
|
|
4581
4747
|
orchestrator?: "primary" | "delegate" | undefined;
|
|
@@ -4633,6 +4799,7 @@ export type HarnessSuiteTaskInput = z.infer<typeof HarnessSuiteTaskSchema>;
|
|
|
4633
4799
|
export type HarnessSuiteInput = z.infer<typeof HarnessSuiteSchema>;
|
|
4634
4800
|
export type WorkflowCommandInput = z.infer<typeof WorkflowCommandSchema>;
|
|
4635
4801
|
export type DeliveryLedgerInput = z.infer<typeof DeliveryLedgerSchema>;
|
|
4802
|
+
export type HandoffEnvelopeInput = z.infer<typeof HandoffEnvelopeSchema>;
|
|
4636
4803
|
export type DeliveryLedgerRequestInput = z.infer<typeof DeliveryLedgerRequestSchema>;
|
|
4637
4804
|
export type CommandEnvelopeInput = z.infer<typeof CommandEnvelopeSchema>;
|
|
4638
4805
|
export type WorkflowProfileInput = z.infer<typeof WorkflowProfileSchema>;
|
package/docs/generated/cli.md
CHANGED
|
@@ -152,6 +152,14 @@ Run CCEP contract workflows.
|
|
|
152
152
|
cc-codeconductor ccep <subcommand>
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
+
## odd
|
|
156
|
+
|
|
157
|
+
Create, resume, and hand off tracked delivery work.
|
|
158
|
+
|
|
159
|
+
```text
|
|
160
|
+
cc-codeconductor odd <create|read|reconcile|handoff>
|
|
161
|
+
```
|
|
162
|
+
|
|
155
163
|
## openspec
|
|
156
164
|
|
|
157
165
|
Run the OpenSpec delivery loop.
|