@structured-vibe-coding/core 0.7.0 → 0.8.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.
|
@@ -927,14 +927,15 @@ Also read: \`.sdd/active-context.md\`, \`.sdd/protocol.md\`, \`memory/constituti
|
|
|
927
927
|
return outPath;
|
|
928
928
|
}
|
|
929
929
|
function agentKickoffMessage(opts) {
|
|
930
|
+
const event = opts.event ?? "context updated";
|
|
930
931
|
return [
|
|
931
|
-
`SDD:
|
|
932
|
+
`SDD: ${event}.`,
|
|
932
933
|
`Title: ${opts.title}`,
|
|
933
934
|
`Change: ${opts.changeId}`,
|
|
934
935
|
`Stage: ${opts.stage}`,
|
|
935
936
|
`Read in order: .sdd/active-context.md, .sdd/handoff.md, .sdd/protocol.md, memory/constitution.md (if present).`,
|
|
936
|
-
`
|
|
937
|
-
`When the stage is done, tell the human to run: sdd next
|
|
937
|
+
`Do the work for the current stage only under changes/${opts.changeId}/. Do not expand scope.`,
|
|
938
|
+
`When the stage is done, tell the human to run: sdd next (or sdd verify / sdd complete as appropriate).`
|
|
938
939
|
].join(" ");
|
|
939
940
|
}
|
|
940
941
|
async function refreshActiveAgentContext(projectRoot) {
|
package/dist/index.d.ts
CHANGED
|
@@ -1276,6 +1276,8 @@ declare function agentKickoffMessage(opts: {
|
|
|
1276
1276
|
title: string;
|
|
1277
1277
|
stage: string;
|
|
1278
1278
|
changeId: string;
|
|
1279
|
+
/** What just happened, e.g. "new change", "advanced to implement" */
|
|
1280
|
+
event?: string;
|
|
1279
1281
|
}): string;
|
|
1280
1282
|
/** Write .sdd/active-context.md for the current change. */
|
|
1281
1283
|
declare function refreshActiveAgentContext(projectRoot: string): Promise<string | null>;
|
package/dist/index.js
CHANGED
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
writeAgentHandoff,
|
|
79
79
|
writeText,
|
|
80
80
|
writeYaml
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-AIFRZY2E.js";
|
|
82
82
|
|
|
83
83
|
// src/change.ts
|
|
84
84
|
import { join as join2 } from "pathe";
|
|
@@ -190,7 +190,7 @@ async function createChange(input) {
|
|
|
190
190
|
await materializeStageArtifacts(projectRoot, config, id, workflow, meta, firstStage);
|
|
191
191
|
await setActiveChange(projectRoot, config, id);
|
|
192
192
|
try {
|
|
193
|
-
const { refreshActiveAgentContext: refreshActiveAgentContext2 } = await import("./agents-
|
|
193
|
+
const { refreshActiveAgentContext: refreshActiveAgentContext2 } = await import("./agents-UCNZSN5M.js");
|
|
194
194
|
await refreshActiveAgentContext2(projectRoot);
|
|
195
195
|
} catch {
|
|
196
196
|
}
|
|
@@ -286,7 +286,7 @@ async function advanceStage(projectRoot, config, changeId, opts) {
|
|
|
286
286
|
stage
|
|
287
287
|
);
|
|
288
288
|
try {
|
|
289
|
-
const { refreshActiveAgentContext: refreshActiveAgentContext2 } = await import("./agents-
|
|
289
|
+
const { refreshActiveAgentContext: refreshActiveAgentContext2 } = await import("./agents-UCNZSN5M.js");
|
|
290
290
|
await refreshActiveAgentContext2(projectRoot);
|
|
291
291
|
} catch {
|
|
292
292
|
}
|