guardian-framework 0.1.149 → 0.1.150
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/dist/cli.js
CHANGED
|
@@ -3206,7 +3206,7 @@ __export(exports_package, {
|
|
|
3206
3206
|
bin: () => bin,
|
|
3207
3207
|
author: () => author
|
|
3208
3208
|
});
|
|
3209
|
-
var name = "guardian-framework", version = "0.1.
|
|
3209
|
+
var name = "guardian-framework", version = "0.1.150", description = "Token-optimized agentic framework scaffolder with pi-first architecture", type = "module", main = "dist/exports.js", exports, types = "dist/exports.d.ts", bin, files, engines, scripts, publishConfig, pi, repository, homepage = "https://github.com/arman-jalili/guardian-framework#readme", bugs, dependencies, devDependencies, keywords, author = "Arman Wolkensteiner-Jalili", license = "MIT", package_default;
|
|
3210
3210
|
var init_package = __esm(() => {
|
|
3211
3211
|
exports = {
|
|
3212
3212
|
".": {
|
package/dist/exports.js
CHANGED
|
@@ -1991,7 +1991,7 @@ __export(exports_package, {
|
|
|
1991
1991
|
bin: () => bin,
|
|
1992
1992
|
author: () => author
|
|
1993
1993
|
});
|
|
1994
|
-
var name = "guardian-framework", version = "0.1.
|
|
1994
|
+
var name = "guardian-framework", version = "0.1.150", description = "Token-optimized agentic framework scaffolder with pi-first architecture", type = "module", main = "dist/exports.js", exports, types = "dist/exports.d.ts", bin, files, engines, scripts, publishConfig, pi, repository, homepage = "https://github.com/arman-jalili/guardian-framework#readme", bugs, dependencies, devDependencies, keywords, author = "Arman Wolkensteiner-Jalili", license = "MIT", package_default;
|
|
1995
1995
|
var init_package = __esm(() => {
|
|
1996
1996
|
exports = {
|
|
1997
1997
|
".": {
|
package/package.json
CHANGED
|
@@ -157,5 +157,12 @@ export type EpicState = {
|
|
|
157
157
|
createdAt: string;
|
|
158
158
|
tdd: boolean;
|
|
159
159
|
tddTestFiles: string[];
|
|
160
|
+
// ── Orchestration (optional: added 0.1.150) ──────────────────────────
|
|
161
|
+
// These are written by /architect before the epic starts (--pr-per,
|
|
162
|
+
// --parallel/--worktree) and MUST survive startEpic's state save, which
|
|
163
|
+
// otherwise builds a fresh literal and drops them.
|
|
164
|
+
prStrategy?: "epic" | "issue";
|
|
165
|
+
parallel?: boolean;
|
|
166
|
+
worktree?: string;
|
|
160
167
|
};
|
|
161
168
|
|
|
@@ -434,7 +434,18 @@ class EpicManager {
|
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
+
// Carry over orchestration decided BEFORE the epic started (--pr-per,
|
|
438
|
+
// --parallel/--worktree). This literal is written over the file, so
|
|
439
|
+
// anything not carried here is silently lost — which is exactly what
|
|
440
|
+
// happened to prStrategy/parallel/worktree before 0.1.150.
|
|
441
|
+
const priorState = loadEpicState(this.cwd);
|
|
442
|
+
const carried: Pick<EpicState, "prStrategy" | "parallel" | "worktree"> = {};
|
|
443
|
+
if (priorState?.prStrategy) carried.prStrategy = priorState.prStrategy;
|
|
444
|
+
if (priorState?.parallel) carried.parallel = priorState.parallel;
|
|
445
|
+
if (priorState?.worktree) carried.worktree = priorState.worktree;
|
|
446
|
+
|
|
437
447
|
const state: EpicState = {
|
|
448
|
+
...carried,
|
|
438
449
|
name,
|
|
439
450
|
trackingIssueId: effectiveTrackingId,
|
|
440
451
|
epicId: effectiveEpicId,
|
|
@@ -879,13 +890,19 @@ export default function architectExtension(pi: ExtensionAPI) {
|
|
|
879
890
|
const tddEnabled = tokens.includes("--tdd");
|
|
880
891
|
|
|
881
892
|
if (!epicName) {
|
|
882
|
-
ctx.ui.notify(
|
|
893
|
+
ctx.ui.notify(
|
|
894
|
+
'Usage: /architect --epic "Epic Name" [--tracking-issue N] [--tdd] [--pr-per epic|issue] [--parallel|--worktree]',
|
|
895
|
+
"error",
|
|
896
|
+
);
|
|
883
897
|
return;
|
|
884
898
|
}
|
|
885
899
|
|
|
886
900
|
try {
|
|
887
901
|
if (!epicName || epicName.trim() === "") {
|
|
888
|
-
ctx.ui.notify(
|
|
902
|
+
ctx.ui.notify(
|
|
903
|
+
'Usage: /architect --epic "Epic Name" [--tracking-issue N] [--tdd] [--pr-per epic|issue] [--parallel|--worktree]',
|
|
904
|
+
"error",
|
|
905
|
+
);
|
|
889
906
|
return;
|
|
890
907
|
}
|
|
891
908
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-11-
|
|
2
|
+
"timestamp": "2026-11-13T15:22:46Z",
|
|
3
3
|
"mode": "all",
|
|
4
4
|
"stages_run": [],
|
|
5
5
|
"summary": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"failed": 1,
|
|
9
9
|
"skipped": 12
|
|
10
10
|
},
|
|
11
|
-
"duration_seconds":
|
|
11
|
+
"duration_seconds": 0,
|
|
12
12
|
"results": [
|
|
13
13
|
{
|
|
14
14
|
"name": "check_mr_traceability.sh",
|