@a-company/paradigm 6.0.4 → 6.0.5
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/active-remediations-EBLHRMNN.js +5 -0
- package/dist/authority-GCMPX7RW.js +2 -0
- package/dist/{chunk-DBEWOKD6.js → chunk-5RFISGUW.js} +84 -21
- package/dist/{chunk-WXF5VFB4.js → chunk-K7EQHFZP.js} +26 -26
- package/dist/{chunk-23T6UG73.js → chunk-MOVDVBU7.js} +47 -47
- package/dist/{hooks-KUEE5KMM.js → hooks-45WDP6QS.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/mcp.js +2 -2
- package/dist/{migrate-ZPNYDNM4.js → migrate-R64OQGSM.js} +1 -1
- package/dist/migration-notices-MRZ6PVDS.js +4 -0
- package/dist/{reindex-IZCD2JGD.js → reindex-GSRV4MQO.js} +1 -1
- package/dist/{shift-WGMZGWOC.js → shift-3ATE2ONQ.js} +4 -4
- package/dist/{tools-4RRFTU5H.js → tools-VNDXOFXR.js} +1 -1
- package/dist/university-content/notes/N-para-451-tiers.md +2 -0
- package/dist/university-ui/assets/{index-nNgzO1il.js → index-CkgaxOXi.js} +2 -2
- package/dist/university-ui/assets/{index-nNgzO1il.js.map → index-CkgaxOXi.js.map} +1 -1
- package/dist/university-ui/index.html +1 -1
- package/package.json +1 -1
- package/dist/authority-FA3HLEOA.js +0 -2
- package/dist/migration-notices-BHLEYC4T.js +0 -4
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
9
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
10
|
<link href="https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
|
|
11
|
-
<script type="module" crossorigin src="/assets/index-
|
|
11
|
+
<script type="module" crossorigin src="/assets/index-CkgaxOXi.js"></script>
|
|
12
12
|
<link rel="stylesheet" crossorigin href="/assets/index-CMrxD7y5.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import'./chunk-5TAVYPOV.js';import*as t from'fs/promises';import*as i from'path';import*as s from'js-yaml';var n=i.join(".paradigm","authority.yaml");async function l(c,e){let a=i.join(c,n);try{await t.access(a);return}catch{}await t.mkdir(i.dirname(a),{recursive:true});let r=new Date().toISOString(),o=s.dump({version:"1.0",schema:"v0-experimental",claims:{"aspect-coverage":{claimant:"compliance",severity:"advise",since:r,source:e},"aspect-drift":{claimant:"compliance",severity:"advise",since:r,source:e},"anchor-staleness":{claimant:"compliance",severity:"advise",since:r,source:e}}},{lineWidth:100,sortKeys:false});await t.writeFile(a,o,"utf8");}export{l as writeArchetypeDefaults};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import'./chunk-5TAVYPOV.js';import*as e from'fs';import*as a from'path';import*as f from'js-yaml';import s from'chalk';var m=".v6-0-4-migration-acknowledged",u=new Set(["node_modules",".git","dist","build",".next",".turbo","coverage",".paradigm",".cache"]);function p(t){function n(r,o){if(o>8)return false;let c;try{c=e.readdirSync(r,{withFileTypes:!0});}catch{return false}for(let i of c)if(i.isDirectory()){if(u.has(i.name)||i.name.startsWith("."))continue;if(n(a.join(r,i.name),o+1))return true}else if(i.isFile()&&i.name===".purpose")try{let l=e.readFileSync(a.join(r,i.name),"utf8");if(/^\s*-?\s*~/m.test(l))return !0}catch{}return false}return n(t,0)}function h(t){let n=a.join(t,".paradigm","roster.yaml");if(!e.existsSync(n))return false;try{let r=e.readFileSync(n,"utf8"),o=f.load(r);return Array.isArray(o?.active)&&o.active.includes("compliance")}catch{return false}}function d(t){return h(t)?false:p(t)}async function y(t){try{let n=a.join(t,".paradigm");if(!e.existsSync(n))return;let r=a.join(n,m);if(e.existsSync(r)||!d(t))return;let o=["",s.yellow("[paradigm 6.0.4] Enforcement model changed."),"","This project defines ~aspects but has no compliance-archetype agent on","the roster. Previously, the Stop hook blocked on aspect drift. As of","6.0.4, the framework no longer enforces aspect coverage in absentia.","",`Run \`${s.cyan("paradigm shift")}\` to nominate Rune (compliance) for this project, or`,"ignore this notice to opt out of aspect enforcement.","",s.dim("This message will not appear again."),""].join(`
|
|
3
|
-
`);console.log(o);try{e.writeFileSync(r,`Acknowledged at ${new Date().toISOString()}
|
|
4
|
-
`,"utf8");}catch{}}catch{}}export{y as checkAndEmitMigrationNotices,d as isCohortC};
|