guardian-framework 0.1.20 → 0.1.22

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.20", 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.22", 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.20", 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.22", 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.20",
3
+ "version": "0.1.22",
4
4
  "description": "Token-optimized agentic framework scaffolder with pi-first architecture",
5
5
  "type": "module",
6
6
  "main": "dist/exports.js",
@@ -2,6 +2,7 @@
2
2
 
3
3
  > **Purpose:** Reusable Rust patterns for Guardian projects.
4
4
  > **Source:** Extracted from Rigorix framework.
5
+ > **Edition:** All Cargo.toml files MUST use `edition = "2024"`.
5
6
 
6
7
  ---
7
8
 
@@ -157,6 +157,7 @@ ${component.dependencies.map((d) => ` └── ${d}`).join("\n") || " └─
157
157
  export function generateContractFreezeMarkdown(
158
158
  slice: ArchitectureSlice,
159
159
  epicName: string,
160
+ codegenSkill?: string,
160
161
  ): string {
161
162
  const moduleId = slice.module.replace(/^module-/, "");
162
163
 
@@ -207,6 +208,7 @@ guardian_issue:
207
208
  Define the contract before any implementation. Every implementation issue
208
209
  depends on this contract being frozen first. The contract should include:
209
210
  interfaces, types, DTOs, event schemas, API paths, error formats.
211
+ ${codegenSkill ? `Follow: .pi/skills/agents/${codegenSkill}.md` : ""}
210
212
 
211
213
  file_changes:
212
214
  - "create: src/${moduleId}/domain/"
@@ -868,6 +868,7 @@ ${component.dependencies.map((d) => ` └── ${d}`).join("\n") || " └─
868
868
  function generateContractFreezeMarkdown(
869
869
  slice: ArchitectureSlice,
870
870
  epicName: string,
871
+ codegenSkill?: string,
871
872
  ): string {
872
873
  const moduleId = slice.module.replace(/^module-/, "");
873
874
 
@@ -918,6 +919,7 @@ guardian_issue:
918
919
  Define the contract before any implementation. Every implementation issue
919
920
  depends on this contract being frozen first. The contract should include:
920
921
  interfaces, types, DTOs, event schemas, API paths, error formats.
922
+ ${codegenSkill ? `Follow: .pi/skills/agents/${codegenSkill}.md` : ""}
921
923
 
922
924
  file_changes:
923
925
  - "create: src/${moduleId}/domain/"
@@ -1420,7 +1422,7 @@ class EpicManager {
1420
1422
  status: "planned",
1421
1423
  remoteIssueId: null as string | null,
1422
1424
  };
1423
- const freezeMarkdown = generateContractFreezeMarkdown(slice, name);
1425
+ const freezeMarkdown = generateContractFreezeMarkdown(slice, name, skillName);
1424
1426
  writeFileSync(join(issuesDir, `${freezeId}.md`), freezeMarkdown);
1425
1427
  if (hasRemote && remoteRepo) {
1426
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:12:27Z",
2
+ "timestamp": "2026-07-03T07:30:24Z",
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",
@@ -0,0 +1,27 @@
1
+ [package]
2
+ name = "{{PROJECTNAME}}"
3
+ version = "{{VERSION}}"
4
+ edition = "2024"
5
+ description = "{{DESCRIPTION}}"
6
+
7
+ [dependencies]
8
+ serde = { version = "1", features = ["derive"] }
9
+ serde_json = "1"
10
+ thiserror = "2"
11
+ tokio = { version = "1", features = ["full"] }
12
+ uuid = { version = "1", features = ["v4", "serde"] }
13
+ chrono = { version = "0.4", features = ["serde"] }
14
+ tracing = "0.1"
15
+ tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
16
+
17
+ [dev-dependencies]
18
+ tempfile = "3"
19
+ proptest = "1"
20
+
21
+ [features]
22
+ live-tests = []
23
+
24
+ [profile.release]
25
+ opt-level = 3
26
+ lto = true
27
+ codegen-units = 1