@on-par/factory-core 0.9.14-next.13 → 0.9.14-next.14

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.
@@ -1,5 +1,8 @@
1
1
  import { type RunCommandOptions } from '../utils/command-runner.js';
2
- /** The accepted snapshot belongs to orchestration, not the repository being checked.
2
+ /** Orchestration-only variables: the run-config snapshot plus the supervisor's merge/ship flags.
3
+ * They must never change a repo's verification result (#3428). */
4
+ export declare const VERIFICATION_SCRUBBED_ENV_VARS: readonly ['FACTORY_RUN_CONFIG_JSON', 'FACTORY_MERGE', 'FACTORY_MERGE_ADMIN', 'FACTORY_LOCAL_ONLY', 'FACTORY_SKIP_CI'];
5
+ /** The accepted snapshot and merge flags belong to orchestration, not the repository being checked.
3
6
  * An explicit undefined survives the command runner's parent-env merge as a deletion. */
4
7
  export declare function runVerificationCommand(argv: readonly string[], options: RunCommandOptions): Promise<import("../internal.js").CommandResult>;
5
8
  //# sourceMappingURL=run-command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-command.d.ts","sourceRoot":"","sources":["../../src/checkers/run-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEhF;yFACyF;AACzF,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,OAAO,EAAE,iBAAiB,mDAKzF"}
1
+ {"version":3,"file":"run-command.d.ts","sourceRoot":"","sources":["../../src/checkers/run-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEhF;kEACkE;AAClE,eAAO,MAAM,8BAA8B,YACzC,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,CACT,CAAC;AAEX;yFACyF;AACzF,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,OAAO,EAAE,iBAAiB,mDAQzF"}
@@ -1,10 +1,22 @@
1
1
  import { runCommand } from '../utils/command-runner.js';
2
- /** The accepted snapshot belongs to orchestration, not the repository being checked.
2
+ /** Orchestration-only variables: the run-config snapshot plus the supervisor's merge/ship flags.
3
+ * They must never change a repo's verification result (#3428). */
4
+ export const VERIFICATION_SCRUBBED_ENV_VARS = [
5
+ 'FACTORY_RUN_CONFIG_JSON',
6
+ 'FACTORY_MERGE',
7
+ 'FACTORY_MERGE_ADMIN',
8
+ 'FACTORY_LOCAL_ONLY',
9
+ 'FACTORY_SKIP_CI',
10
+ ];
11
+ /** The accepted snapshot and merge flags belong to orchestration, not the repository being checked.
3
12
  * An explicit undefined survives the command runner's parent-env merge as a deletion. */
4
13
  export function runVerificationCommand(argv, options) {
5
14
  return runCommand(argv, {
6
15
  ...options,
7
- env: { ...options.env, FACTORY_RUN_CONFIG_JSON: undefined },
16
+ env: {
17
+ ...options.env,
18
+ ...Object.fromEntries(VERIFICATION_SCRUBBED_ENV_VARS.map((name) => [name, undefined])),
19
+ },
8
20
  });
9
21
  }
10
22
  //# sourceMappingURL=run-command.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-command.js","sourceRoot":"","sources":["../../src/checkers/run-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA0B,MAAM,4BAA4B,CAAC;AAEhF;yFACyF;AACzF,MAAM,UAAU,sBAAsB,CAAC,IAAuB,EAAE,OAA0B;IACxF,OAAO,UAAU,CAAC,IAAI,EAAE;QACtB,GAAG,OAAO;QACV,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,uBAAuB,EAAE,SAAS,EAAE;KAC5D,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"run-command.js","sourceRoot":"","sources":["../../src/checkers/run-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA0B,MAAM,4BAA4B,CAAC;AAEhF;kEACkE;AAClE,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,yBAAyB;IACzB,eAAe;IACf,qBAAqB;IACrB,oBAAoB;IACpB,iBAAiB;CACT,CAAC;AAEX;yFACyF;AACzF,MAAM,UAAU,sBAAsB,CAAC,IAAuB,EAAE,OAA0B;IACxF,OAAO,UAAU,CAAC,IAAI,EAAE;QACtB,GAAG,OAAO;QACV,GAAG,EAAE;YACH,GAAG,OAAO,CAAC,GAAG;YACd,GAAG,MAAM,CAAC,WAAW,CAAC,8BAA8B,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC;SACvF;KACF,CAAC,CAAC;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@on-par/factory-core",
3
- "version": "0.9.14-next.13",
3
+ "version": "0.9.14-next.14",
4
4
  "description": "Core engine: model router, constitutions, checkers, and pipeline phases for the Software Factory.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -54,10 +54,10 @@
54
54
  "prepack": "node ../../scripts/pack-hygiene-cli.ts prepack"
55
55
  },
56
56
  "dependencies": {
57
- "@on-par/adr-kit": "0.9.14-next.13",
58
- "@on-par/contracts": "0.9.14-next.13",
59
- "@on-par/factory-config": "0.9.14-next.13",
60
- "@on-par/repo-context": "0.9.14-next.13",
57
+ "@on-par/adr-kit": "0.9.14-next.14",
58
+ "@on-par/contracts": "0.9.14-next.14",
59
+ "@on-par/factory-config": "0.9.14-next.14",
60
+ "@on-par/repo-context": "0.9.14-next.14",
61
61
  "@octokit/rest": "^22.0.0",
62
62
  "execa": "^10.1.0",
63
63
  "gray-matter": "^4.0.3",