arkgate 4.6.0 → 4.6.1
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/CHANGELOG.md +25 -1
- package/README.md +9 -5
- package/bin/ark-check-runtime.mjs +98 -7
- package/bin/ark-mcp-runtime.mjs +17 -1
- package/bin/ark.mjs +5 -3
- package/bin/lib/agent-projection.mjs +1 -1
- package/bin/lib/analysis-engine.mjs +3 -3
- package/bin/lib/ci-and-commands.mjs +11 -11
- package/bin/lib/config-contract.mjs +2 -0
- package/bin/lib/contract-smells.mjs +5 -5
- package/bin/lib/design-smells.mjs +1 -1
- package/bin/lib/doctor-advisories.mjs +9 -0
- package/bin/lib/doctor-plan.mjs +4 -4
- package/bin/lib/field-install.mjs +1 -1
- package/bin/lib/html-report-advisories.mjs +20 -0
- package/bin/lib/improvement-compass-map.mjs +20 -20
- package/bin/lib/pilot-loop.mjs +1 -1
- package/bin/lib/post-green-path.mjs +2 -2
- package/bin/lib/prepare-change.mjs +9 -0
- package/bin/lib/product-copy.mjs +1 -1
- package/bin/lib/status-command.mjs +14 -0
- package/bin/lib/status-manifest.mjs +17 -0
- package/bin/lib/team-parliament-io.mjs +338 -0
- package/bin/lib/team-parliament.mjs +383 -0
- package/bin/lib/upgrade-whats-new.mjs +16 -0
- package/bin/lib/violations.mjs +8 -4
- package/dist/{configTypes-CC0FEXoF.d.ts → configTypes-B8uIcLaG.d.ts} +5 -0
- package/dist/eslint/index.cjs +2 -2
- package/dist/eslint/index.d.ts +1 -1
- package/dist/eslint/index.js +2 -2
- package/dist/index.cjs +19 -19
- package/dist/index.d.ts +61 -2
- package/dist/index.js +22 -22
- package/docs/README.md +5 -5
- package/docs/agent-guide.md +21 -17
- package/docs/configuration.md +36 -2
- package/docs/develop.md +13 -1
- package/docs/enthusiast/README.md +1 -1
- package/docs/enthusiast/how-to-agent-gates.md +3 -3
- package/docs/enthusiast/how-to-pick-shape.md +2 -2
- package/docs/enthusiast/tutorial-first-project.md +4 -3
- package/docs/package-surface.md +5 -3
- package/docs/product-voice.md +48 -10
- package/docs/use.md +6 -1
- package/package.json +2 -2
- package/schemas/ark.config.schema.json +9 -0
- package/schemas/ark.status-manifest.schema.json +51 -0
- package/server.json +3 -3
- package/templates/agent-skills/README.md +1 -1
- package/templates/agent-skills/ark-adopt/SKILL.md +46 -19
- package/templates/agent-skills/ark-architect/SKILL.md +24 -145
- package/templates/agent-skills/ark-autopilot/SKILL.md +40 -30
- package/templates/agent-skills/ark-contract/SKILL.md +21 -105
- package/templates/agent-skills/ark-coverage/SKILL.md +3 -0
- package/templates/agent-skills/ark-explain/SKILL.md +7 -4
- package/templates/agent-skills/ark-explore/SKILL.md +25 -17
- package/templates/agent-skills/ark-fix/SKILL.md +34 -157
- package/templates/agent-skills/ark-loop/SKILL.md +31 -153
- package/templates/agent-skills/ark-place/SKILL.md +25 -13
- package/templates/agent-skills/ark-runtime/SKILL.md +3 -3
- package/templates/agent-skills/ark-think/SKILL.md +5 -2
- package/templates/agent-skills/ark-upgrade/SKILL.md +11 -7
- package/templates/skills/ark-adopt.md +46 -19
- package/templates/skills/ark-architect.md +24 -145
- package/templates/skills/ark-autopilot.md +40 -30
- package/templates/skills/ark-contract.md +21 -105
- package/templates/skills/ark-coverage.md +3 -0
- package/templates/skills/ark-explain.md +7 -4
- package/templates/skills/ark-explore.md +25 -17
- package/templates/skills/ark-fix.md +34 -157
- package/templates/skills/ark-loop.md +31 -153
- package/templates/skills/ark-place.md +25 -13
- package/templates/skills/ark-runtime.md +3 -3
- package/templates/skills/ark-think.md +5 -2
- package/templates/skills/ark-upgrade.md +11 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ArkConfigRule, b as ArkConfigSchemaVersion, c as ArkConfigLoadResult, d as ArkConfigLayer, A as ArkConfig, e as ArkConfigIssue } from './configTypes-
|
|
1
|
+
import { a as ArkConfigRule, b as ArkConfigSchemaVersion, c as ArkConfigLoadResult, d as ArkConfigLayer, A as ArkConfig, e as ArkConfigIssue } from './configTypes-B8uIcLaG.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Canonical, pure contract for ark.config.json.
|
|
@@ -107,6 +107,16 @@ declare const ARK_CONFIG_SCHEMA: {
|
|
|
107
107
|
};
|
|
108
108
|
readonly default: {};
|
|
109
109
|
};
|
|
110
|
+
/** Team parliament — GitHub handles or emails who may loosen the law (not part of policy hash). */
|
|
111
|
+
readonly stewards: {
|
|
112
|
+
readonly default: readonly [];
|
|
113
|
+
readonly type: "array";
|
|
114
|
+
readonly items: {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly minLength: 1;
|
|
117
|
+
};
|
|
118
|
+
readonly uniqueItems: true;
|
|
119
|
+
};
|
|
110
120
|
};
|
|
111
121
|
readonly $defs: {
|
|
112
122
|
readonly layer: {
|
|
@@ -244,7 +254,7 @@ declare function loadArkConfigContract(input: unknown, source?: string): ArkConf
|
|
|
244
254
|
declare function parseArkConfigJson(json: string, source?: string): ArkConfigLoadResult;
|
|
245
255
|
|
|
246
256
|
/** ArkGate library version — single source of truth. */
|
|
247
|
-
declare const version = "4.6.
|
|
257
|
+
declare const version = "4.6.1";
|
|
248
258
|
|
|
249
259
|
/** Versioned public result contract shared by every ArkGate enforcement adapter. */
|
|
250
260
|
/**
|
|
@@ -2986,6 +2996,16 @@ type StatusManifest = {
|
|
|
2986
2996
|
* Tooling should always supply a projection (including mode=unavailable).
|
|
2987
2997
|
*/
|
|
2988
2998
|
improvementCompass?: StatusImprovementCompassSlice;
|
|
2999
|
+
/** Optional checkout-vs-base honesty (TW). Never a gate input. */
|
|
3000
|
+
vsBase?: StatusVsBaseSlice;
|
|
3001
|
+
};
|
|
3002
|
+
type StatusVsBaseSlice = {
|
|
3003
|
+
baseRef: string;
|
|
3004
|
+
line: string;
|
|
3005
|
+
pinLocal: string | null;
|
|
3006
|
+
pinBase: string | null;
|
|
3007
|
+
contractEqual: boolean;
|
|
3008
|
+
baselineGrew: boolean;
|
|
2989
3009
|
};
|
|
2990
3010
|
/**
|
|
2991
3011
|
* Pure facts supplied by Tooling after path canonicalization and I/O.
|
|
@@ -3034,6 +3054,7 @@ type StatusManifestFacts = {
|
|
|
3034
3054
|
* Prefer projectStatusImprovementCompass() before passing facts.
|
|
3035
3055
|
*/
|
|
3036
3056
|
improvementCompass?: StatusImprovementCompassSlice | null;
|
|
3057
|
+
vsBase?: StatusVsBaseSlice | null;
|
|
3037
3058
|
};
|
|
3038
3059
|
/**
|
|
3039
3060
|
* Evaluate project binding for status without filesystem.
|
|
@@ -3306,6 +3327,44 @@ declare const ARK_STATUS_MANIFEST_SCHEMA: {
|
|
|
3306
3327
|
};
|
|
3307
3328
|
};
|
|
3308
3329
|
};
|
|
3330
|
+
readonly vsBase: {
|
|
3331
|
+
readonly type: "object";
|
|
3332
|
+
readonly description: "Checkout vs a git base ref: pin, contract identity, baseline grow. Advisory honesty only — never a gate input.";
|
|
3333
|
+
readonly additionalProperties: false;
|
|
3334
|
+
readonly required: readonly ["baseRef", "line", "pinLocal", "pinBase", "contractEqual", "baselineGrew"];
|
|
3335
|
+
readonly properties: {
|
|
3336
|
+
readonly baseRef: {
|
|
3337
|
+
readonly type: "string";
|
|
3338
|
+
readonly minLength: 1;
|
|
3339
|
+
};
|
|
3340
|
+
readonly line: {
|
|
3341
|
+
readonly type: "string";
|
|
3342
|
+
readonly minLength: 1;
|
|
3343
|
+
};
|
|
3344
|
+
readonly pinLocal: {
|
|
3345
|
+
readonly anyOf: readonly [{
|
|
3346
|
+
readonly type: "string";
|
|
3347
|
+
readonly minLength: 1;
|
|
3348
|
+
}, {
|
|
3349
|
+
readonly type: "null";
|
|
3350
|
+
}];
|
|
3351
|
+
};
|
|
3352
|
+
readonly pinBase: {
|
|
3353
|
+
readonly anyOf: readonly [{
|
|
3354
|
+
readonly type: "string";
|
|
3355
|
+
readonly minLength: 1;
|
|
3356
|
+
}, {
|
|
3357
|
+
readonly type: "null";
|
|
3358
|
+
}];
|
|
3359
|
+
};
|
|
3360
|
+
readonly contractEqual: {
|
|
3361
|
+
readonly type: "boolean";
|
|
3362
|
+
};
|
|
3363
|
+
readonly baselineGrew: {
|
|
3364
|
+
readonly type: "boolean";
|
|
3365
|
+
};
|
|
3366
|
+
};
|
|
3367
|
+
};
|
|
3309
3368
|
};
|
|
3310
3369
|
};
|
|
3311
3370
|
|