instar 1.3.1035 → 1.3.1037
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/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +20 -5
- package/dist/commands/server.js.map +1 -1
- package/dist/core/PostUpdateMigrator.d.ts.map +1 -1
- package/dist/core/PostUpdateMigrator.js +54 -5
- package/dist/core/PostUpdateMigrator.js.map +1 -1
- package/dist/core/StandardEnforcementExtractor.d.ts +2 -0
- package/dist/core/StandardEnforcementExtractor.d.ts.map +1 -1
- package/dist/core/StandardEnforcementExtractor.js +35 -0
- package/dist/core/StandardEnforcementExtractor.js.map +1 -1
- package/dist/core/StandardsEnforcementAuditor.d.ts +278 -31
- package/dist/core/StandardsEnforcementAuditor.d.ts.map +1 -1
- package/dist/core/StandardsEnforcementAuditor.js +424 -42
- package/dist/core/StandardsEnforcementAuditor.js.map +1 -1
- package/dist/core/standardsRegistryPath.d.ts +273 -0
- package/dist/core/standardsRegistryPath.d.ts.map +1 -0
- package/dist/core/standardsRegistryPath.js +498 -0
- package/dist/core/standardsRegistryPath.js.map +1 -0
- package/dist/data/standards-registry.md +785 -0
- package/dist/data/standards-registry.meta.json +6 -0
- package/dist/server/AgentServer.d.ts.map +1 -1
- package/dist/server/AgentServer.js +30 -6
- package/dist/server/AgentServer.js.map +1 -1
- package/dist/server/routes.d.ts +71 -0
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +75 -4
- package/dist/server/routes.js.map +1 -1
- package/dist/server/specReviewRoutes.d.ts +8 -2
- package/dist/server/specReviewRoutes.d.ts.map +1 -1
- package/dist/server/specReviewRoutes.js +24 -7
- package/dist/server/specReviewRoutes.js.map +1 -1
- package/package.json +5 -4
- package/scripts/generate-standards-registry-asset.mjs +205 -0
- package/scripts/lint-no-direct-standards-registry-path.mjs +89 -0
- package/skills/spec-converge/scripts/publish-spec-review.mjs +70 -1
- package/src/data/builtin-manifest.json +64 -64
- package/src/data/standards-registry.md +785 -0
- package/src/data/standards-registry.meta.json +6 -0
- package/upgrades/1.3.1036.md +105 -0
- package/upgrades/1.3.1037.md +53 -0
- package/upgrades/side-effects/publish-spec-review-honest-send.md +96 -0
- package/upgrades/side-effects/standards-registry-ships-with-code.md +415 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA8EH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAU3D,OAAO,EAAE,eAAe,EAAiC,MAAM,iCAAiC,CAAC;AA0BjG,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AA8H7D,OAAO,KAAK,EAAW,oBAAoB,EAAe,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACjG,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAgFtD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC1C,OAAO,CAUT;AAuID,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA+rDD;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,YAAY,EACpB,YAAY,EAAE,oBAAoB,GAAG,IAAI,GACxC;IACD,YAAY,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC1C,OAAO,EAAE,OAAO,C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AAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsDzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuD5E"}
|
package/dist/commands/server.js
CHANGED
|
@@ -36,6 +36,8 @@ function localSlackRelayReadiness(stateDir) {
|
|
|
36
36
|
return { ready: false, reason: 'packaged Slack reply relay template is unavailable' };
|
|
37
37
|
return slackReplyRelayReadiness(stateDir, template);
|
|
38
38
|
}
|
|
39
|
+
import { resolveStandardsRegistry } from '../core/standardsRegistryPath.js';
|
|
40
|
+
import { parseStandardsRegistry } from '../core/StandardsRegistryParser.js';
|
|
39
41
|
import { loadConfig, ensureStateDir, detectTmuxPath, detectGeminiPath } from '../core/Config.js';
|
|
40
42
|
import { handleProcessLevelError } from '../core/uncaughtExceptionPolicy.js';
|
|
41
43
|
import { planInboundLossNotices } from '../core/inboundLossRouting.js';
|
|
@@ -16570,13 +16572,26 @@ export async function startServer(options) {
|
|
|
16570
16572
|
classReviewStore,
|
|
16571
16573
|
}),
|
|
16572
16574
|
standardTitles: () => {
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
|
|
16576
|
-
|
|
16577
|
-
|
|
16575
|
+
// Second copy of the same defect the AgentServer wiring carried: read
|
|
16576
|
+
// the agent-home snapshot with a private `^###` regex, and swallow the
|
|
16577
|
+
// failure into an empty list. On a deployed agent that file is stale at
|
|
16578
|
+
// best and absent at worst, so this reported "no standards" and nothing
|
|
16579
|
+
// said so. Now resolved + parsed through the shared path.
|
|
16580
|
+
const resolution = resolveStandardsRegistry();
|
|
16581
|
+
if (!resolution.usable) {
|
|
16582
|
+
// NOT silent — see the twin in AgentServer.standardTitles.
|
|
16583
|
+
console.warn(`[standards] standardTitles() returning [] — the packed constitution is unusable ` +
|
|
16584
|
+
`(${resolution.reason}: ${resolution.detail}). BROKEN INSTALL, not an empty constitution.`);
|
|
16578
16585
|
return [];
|
|
16579
16586
|
}
|
|
16587
|
+
// Parse the bytes the resolution CARRIES. Re-opening `path` here meant
|
|
16588
|
+
// the integrity check and the parse applied to different reads, and the
|
|
16589
|
+
// trailing `catch { return [] }` then swallowed a read failure into a
|
|
16590
|
+
// silent empty constitution — the same absence-reads-as-presence shape
|
|
16591
|
+
// the branch above was fixed to make loud, still live one line below it.
|
|
16592
|
+
// With the bytes in hand there is nothing left to throw, so the catch is
|
|
16593
|
+
// deleted rather than kept as decoration.
|
|
16594
|
+
return parseStandardsRegistry(resolution.markdown).map((a) => a.name).slice(0, 100);
|
|
16580
16595
|
},
|
|
16581
16596
|
createInitiative: async (input) => {
|
|
16582
16597
|
const created = await initiativeTracker.create({
|