guardian-framework 0.1.19 → 0.1.21

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
@@ -1335,7 +1335,7 @@ __export(exports_package, {
1335
1335
  bin: () => bin,
1336
1336
  author: () => author
1337
1337
  });
1338
- var name = "guardian-framework", version = "0.1.19", 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;
1338
+ var name = "guardian-framework", version = "0.1.21", 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;
1339
1339
  var init_package = __esm(() => {
1340
1340
  exports = {
1341
1341
  ".": {
package/dist/exports.js CHANGED
@@ -995,7 +995,7 @@ __export(exports_package, {
995
995
  bin: () => bin,
996
996
  author: () => author
997
997
  });
998
- var name = "guardian-framework", version = "0.1.19", 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;
998
+ var name = "guardian-framework", version = "0.1.21", 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;
999
999
  var init_package = __esm(() => {
1000
1000
  exports = {
1001
1001
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "guardian-framework",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "Token-optimized agentic framework scaffolder with pi-first architecture",
5
5
  "type": "module",
6
6
  "main": "dist/exports.js",
@@ -7,7 +7,6 @@ export function generateIssueMarkdown(
7
7
  slice: ArchitectureSlice,
8
8
  issueIndex: number,
9
9
  totalIssues: number,
10
- codegenSkill?: string,
11
10
  ): string {
12
11
  const moduleId = slice.module.replace(/^module-/, "");
13
12
  const componentName = component.name.toLowerCase().replace(/\s+/g, "-");
@@ -65,10 +64,12 @@ ${component.dependencies.map((d) => ` - "${d}"`).join("\n")}
65
64
 
66
65
  implementation_notes: |
67
66
  ${component.description || "Implement this component according to the architecture module."}
68
- ${codegenSkill ? `Follow: .pi/skills/agents/${codegenSkill}.md` : ""}
69
67
 
70
68
  file_changes:
71
- - "create: src/${moduleId}/${componentName}/"
69
+ - "modify: src/${moduleId}/domain/"
70
+ - "modify: src/${moduleId}/application/"
71
+ - "modify: src/${moduleId}/infrastructure/"
72
+ - "modify: src/${moduleId}/interfaces/"
72
73
  - "create: tests/unit/${moduleId}/${componentName}/"
73
74
  - "create: tests/integration/${moduleId}/${componentName}/"
74
75
  ---
@@ -156,6 +157,7 @@ ${component.dependencies.map((d) => ` └── ${d}`).join("\n") || " └─
156
157
  export function generateContractFreezeMarkdown(
157
158
  slice: ArchitectureSlice,
158
159
  epicName: string,
160
+ codegenSkill?: string,
159
161
  ): string {
160
162
  const moduleId = slice.module.replace(/^module-/, "");
161
163
 
@@ -206,6 +208,7 @@ guardian_issue:
206
208
  Define the contract before any implementation. Every implementation issue
207
209
  depends on this contract being frozen first. The contract should include:
208
210
  interfaces, types, DTOs, event schemas, API paths, error formats.
211
+ ${codegenSkill ? `Follow: .pi/skills/agents/${codegenSkill}.md` : ""}
209
212
 
210
213
  file_changes:
211
214
  - "create: src/${moduleId}/domain/"
@@ -777,7 +777,10 @@ ${component.dependencies.map((d) => ` - "${d}"`).join("\n")}
777
777
  ${codegenSkill ? `Follow: .pi/skills/agents/${codegenSkill}.md` : ""}
778
778
 
779
779
  file_changes:
780
- - "create: src/${moduleId}/${componentName}/"
780
+ - "modify: src/${moduleId}/domain/"
781
+ - "modify: src/${moduleId}/application/"
782
+ - "modify: src/${moduleId}/infrastructure/"
783
+ - "modify: src/${moduleId}/interfaces/"
781
784
  - "create: tests/unit/${moduleId}/${componentName}/"
782
785
  - "create: tests/integration/${moduleId}/${componentName}/"
783
786
  ---
@@ -865,6 +868,7 @@ ${component.dependencies.map((d) => ` └── ${d}`).join("\n") || " └─
865
868
  function generateContractFreezeMarkdown(
866
869
  slice: ArchitectureSlice,
867
870
  epicName: string,
871
+ codegenSkill?: string,
868
872
  ): string {
869
873
  const moduleId = slice.module.replace(/^module-/, "");
870
874
 
@@ -915,6 +919,7 @@ guardian_issue:
915
919
  Define the contract before any implementation. Every implementation issue
916
920
  depends on this contract being frozen first. The contract should include:
917
921
  interfaces, types, DTOs, event schemas, API paths, error formats.
922
+ ${codegenSkill ? `Follow: .pi/skills/agents/${codegenSkill}.md` : ""}
918
923
 
919
924
  file_changes:
920
925
  - "create: src/${moduleId}/domain/"
@@ -1417,7 +1422,7 @@ class EpicManager {
1417
1422
  status: "planned",
1418
1423
  remoteIssueId: null as string | null,
1419
1424
  };
1420
- const freezeMarkdown = generateContractFreezeMarkdown(slice, name);
1425
+ const freezeMarkdown = generateContractFreezeMarkdown(slice, name, skillName);
1421
1426
  writeFileSync(join(issuesDir, `${freezeId}.md`), freezeMarkdown);
1422
1427
  if (hasRemote && remoteRepo) {
1423
1428
  const result = createRemoteIssue(this.cwd, freezeEntry.title, join(issuesDir, `${freezeId}.md`), "epic,contract", remoteRepo);
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-07-03T07:05:05Z",
2
+ "timestamp": "2026-07-03T07:15:09Z",
3
3
  "mode": "all",
4
4
  "stages_run": [],
5
5
  "summary": {