guardian-framework 0.1.117 → 0.1.118

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.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;
3205
+ var name = "guardian-framework", version = "0.1.118", 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.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;
1990
+ var name = "guardian-framework", version = "0.1.118", 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.117",
3
+ "version": "0.1.118",
4
4
  "description": "Token-optimized agentic framework scaffolder with pi-first architecture",
5
5
  "type": "module",
6
6
  "main": "dist/exports.js",
@@ -606,6 +606,30 @@ export default function (pi: ExtensionAPI) {
606
606
  addCheck("Modeling depth rules (ADR-008) - skipped", true, "no session raw.json");
607
607
  }
608
608
 
609
+ // 3b. Completeness advisory: flag empty core sections + which protocol
610
+ // pass fills them (empty by construction must not look like success).
611
+ const rawPath = path.join(ctx.cwd, ".pi", "domain", "exploration", sessionId + ".raw.json");
612
+ if (fs.existsSync(rawPath)) {
613
+ try {
614
+ const raw = JSON.parse(fs.readFileSync(rawPath, "utf-8")) as Record<string, unknown>;
615
+ const sections: Array<[string, string, string]> = [
616
+ ["boundedContexts", "bounded contexts", "strategic pass (step 1)"],
617
+ ["functionalRequirements", "functional requirements", "requirements pass (step 1b)"],
618
+ ["nonFunctionalRequirements", "non-functional requirements", "requirements pass (step 1b)"],
619
+ ["entities", "entities", "per-context pass (step 2)"],
620
+ ["domainEvents", "domain events", "per-context pass (step 2)"],
621
+ ["ubiquitousLanguage", "ubiquitous-language terms", "per-context pass (step 2)"],
622
+ ];
623
+ const empty = sections.filter(([key]) => !Array.isArray(raw[key]) || (raw[key] as unknown[]).length === 0);
624
+ if (empty.length > 0) {
625
+ const hint = empty
626
+ .map(([, label, pass]) => `${label} (${pass})`)
627
+ .join("; ");
628
+ checks.push(" NOTE empty sections — run the matching pass: " + hint);
629
+ }
630
+ } catch { /* ignore */ }
631
+ }
632
+
609
633
  // 4. Source code drift
610
634
  const scriptPath = path.join(ctx.cwd, ".pi", "scripts", "validate-ubiquitous-language.sh");
611
635
  if (fs.existsSync(scriptPath)) {
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-09-04T19:06:51Z",
2
+ "timestamp": "2026-09-04T19:12:06Z",
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": 1,
11
+ "duration_seconds": 0,
12
12
  "results": [
13
13
  {
14
14
  "name": "check_mr_traceability.sh",
@@ -56,7 +56,7 @@
56
56
  "name": "cargo test --lib",
57
57
  "status": "fail",
58
58
  "message": "unit test failures",
59
- "duration": 1
59
+ "duration": 0
60
60
  },
61
61
  {
62
62
  "name": "integration",