guardian-framework 0.1.115 → 0.1.117

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
@@ -3202,7 +3202,7 @@ __export(exports_package, {
3202
3202
  bin: () => bin,
3203
3203
  author: () => author
3204
3204
  });
3205
- var name = "guardian-framework", version = "0.1.115", 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;
3205
+ var name = "guardian-framework", version = "0.1.117", 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;
3206
3206
  var init_package = __esm(() => {
3207
3207
  exports = {
3208
3208
  ".": {
package/dist/exports.js CHANGED
@@ -1987,7 +1987,7 @@ __export(exports_package, {
1987
1987
  bin: () => bin,
1988
1988
  author: () => author
1989
1989
  });
1990
- var name = "guardian-framework", version = "0.1.115", 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;
1990
+ var name = "guardian-framework", version = "0.1.117", 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;
1991
1991
  var init_package = __esm(() => {
1992
1992
  exports = {
1993
1993
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "guardian-framework",
3
- "version": "0.1.115",
3
+ "version": "0.1.117",
4
4
  "description": "Token-optimized agentic framework scaffolder with pi-first architecture",
5
5
  "type": "module",
6
6
  "main": "dist/exports.js",
@@ -104,7 +104,7 @@ type ExtensionAPI = {
104
104
  toolCallId: string,
105
105
  params: Record<string, unknown>,
106
106
  signal: AbortSignal,
107
- onUpdate: (update: { type: string; message: string }) => void,
107
+ onUpdate: (update: { type?: string; message?: string; content?: unknown }) => void,
108
108
  ctx: ExtensionContext,
109
109
  ): unknown | Promise<unknown>;
110
110
  }): void;
@@ -526,7 +526,7 @@ export default function (pi: ExtensionAPI) {
526
526
  }
527
527
  }
528
528
 
529
- onUpdate({ type: "update", message: "Domain exploration saved for session: " + sessionId });
529
+ onUpdate?.({ content: [{ type: "text", text: "Domain exploration saved for session: " + sessionId }] });
530
530
  return { content: [{ type: "text" as const, text: "Domain exploration saved for " + sessionId + ". Next: /domain --architect-scaffold " + sessionId + " or review .pi/domain/exploration.md" }] };
531
531
  },
532
532
  });
@@ -822,6 +822,19 @@ export default function (pi: ExtensionAPI) {
822
822
  "then call domain_save_result with { sessionId, responseJson: <that JSON> }. It merges;",
823
823
  "the file is saved for you. Do NOT also edit exploration.md by hand.",
824
824
  "",
825
+ "1b. REQUIREMENTS PASS (next message): reply with ONLY this JSON, then call domain_save_result",
826
+ "again (merge is by id — existing entries are untouched):",
827
+ '```json',
828
+ '{',
829
+ ' "functionalRequirements": [',
830
+ ' { "id": "FR-001", "requirement": "The system shall...", "priority": "critical|high|medium|low", "boundedContext": "ContextName" }',
831
+ ' ],',
832
+ ' "nonFunctionalRequirements": [',
833
+ ' { "id": "NFR-001", "requirement": "The system shall...", "category": "performance|security|scalability|availability|maintainability", "target": "measurable target" }',
834
+ ' ]',
835
+ '}',
836
+ '```',
837
+ "",
825
838
  "2. PER-CONTEXT PASS (repeat for EACH core/tactical bounded context, one context per message):",
826
839
  "reply with ONLY this JSON for one context, then call domain_save_result again:",
827
840
  '```json',
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-09-04T18:35:32Z",
2
+ "timestamp": "2026-09-04T19:06:51Z",
3
3
  "mode": "all",
4
4
  "stages_run": [],
5
5
  "summary": {
@@ -56,7 +56,7 @@
56
56
  "name": "cargo test --lib",
57
57
  "status": "fail",
58
58
  "message": "unit test failures",
59
- "duration": 0
59
+ "duration": 1
60
60
  },
61
61
  {
62
62
  "name": "integration",