guardian-framework 0.1.84 → 0.1.85

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
@@ -3197,7 +3197,7 @@ __export(exports_package, {
3197
3197
  bin: () => bin,
3198
3198
  author: () => author
3199
3199
  });
3200
- var name = "guardian-framework", version = "0.1.84", 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;
3200
+ var name = "guardian-framework", version = "0.1.85", 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;
3201
3201
  var init_package = __esm(() => {
3202
3202
  exports = {
3203
3203
  ".": {
package/dist/exports.js CHANGED
@@ -1982,7 +1982,7 @@ __export(exports_package, {
1982
1982
  bin: () => bin,
1983
1983
  author: () => author
1984
1984
  });
1985
- var name = "guardian-framework", version = "0.1.84", 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;
1985
+ var name = "guardian-framework", version = "0.1.85", 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;
1986
1986
  var init_package = __esm(() => {
1987
1987
  exports = {
1988
1988
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "guardian-framework",
3
- "version": "0.1.84",
3
+ "version": "0.1.85",
4
4
  "description": "Token-optimized agentic framework scaffolder with pi-first architecture",
5
5
  "type": "module",
6
6
  "main": "dist/exports.js",
@@ -18,8 +18,7 @@ function readModuleDoc(cwd: string, moduleId: string): string {
18
18
 
19
19
  /** Extract a named section's body (between ## heading and next ## / --- / EOF). */
20
20
  function extractSection(doc: string, heading: string): string {
21
- const re = new RegExp(`## ${heading}\n([\\s\\S]*?)(?=\n##|\n---|$)`);
22
- const m = re.exec(doc);
21
+ const m = doc.match(new RegExp(`## ${heading}\n([\\s\\S]*?)(?=\n##|\n---|$)`));
23
22
  return m ? m[1].trim() : "";
24
23
  }
25
24
 
@@ -252,11 +251,13 @@ ${yamlAcs}
252
251
  Read .pi/architecture/modules/${slice.module}.md BEFORE implementing.
253
252
  All Acceptance Criteria in that file must be satisfied before this issue is closed.
254
253
  Component focus: ${comp.name}.
254
+ CONCRETE IMPLEMENTATIONS MUST BE CREATED — interface stubs from the contract freeze
255
+ are not sufficient. Each domain service/aggregate needs a concrete .impl.${isJava ? "java" : "ts"} file.
255
256
 
256
257
  file_changes:
257
- - "modify: src/${moduleId}/domain/"
258
- - "modify: src/${moduleId}/application/"
259
- - "modify: src/${moduleId}/infrastructure/"
258
+ - "create: src/${moduleId}/domain/"
259
+ - "create: src/${moduleId}/application/"
260
+ - "create: src/${moduleId}/infrastructure/"
260
261
  - "modify: src/${moduleId}/interfaces/"
261
262
  - ${testLine}
262
263
  ---
@@ -306,9 +307,10 @@ ${stepsMarkdown}
306
307
  > **Agent instructions:**
307
308
  > 1. Open \`.pi/architecture/modules/${slice.module}.md\` — read the full Acceptance Criteria table
308
309
  > 2. Identify which rows are your responsibility for **${comp.name}**
309
- > 3. Implement all of them — entity, JPA entity, migration, adapter (all endpoints), mapper, use case
310
- > 4. Verify each AC row is satisfied in \`src/\` before marking done
311
- > 5. Run validators and create MR
310
+ > 3. Create concrete implementation files (\`.impl.${isJava ? "java" : "ts"}\`) in \`src/${moduleId}/\` — the interface stubs from the contract freeze are NOT enough
311
+ > 4. Each domain aggregate/service must have a working implementation with business logic
312
+ > 5. Verify each AC row is satisfied in \`src/\` before marking done
313
+ > 6. Run validators and create MR
312
314
 
313
315
  ### Steps
314
316
 
@@ -375,7 +377,6 @@ guardian_issue:
375
377
  Define the contract before any implementation. Every implementation issue
376
378
  depends on this contract being frozen first. The contract should include:
377
379
  interfaces, types, DTOs, event schemas, API paths, error formats.
378
- ${_codegenSkill ? `Follow: .pi/skills/agents/${_codegenSkill}.md` : ""}
379
380
 
380
381
  file_changes:
381
382
  - "create: src/${moduleId}/domain/"
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-07-16T13:08:13Z",
2
+ "timestamp": "2026-07-16T19:23:13Z",
3
3
  "mode": "all",
4
4
  "stages_run": [],
5
5
  "summary": {