@lazyingart/agintiflow 0.20.267 → 0.20.268

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazyingart/agintiflow",
3
- "version": "0.20.267",
3
+ "version": "0.20.268",
4
4
  "type": "module",
5
5
  "description": "AgInTiFlow is a project-aware agent workspace for hybrid wet-dry R&D, hardware-aware intelligence, software automation, and industrial workflows.",
6
6
  "license": "Apache-2.0",
@@ -5392,6 +5392,12 @@ try {
5392
5392
  args: { command: "python3 build_deck.py" },
5393
5393
  stdout: "Wrote output/deck.pptx\n",
5394
5394
  stderr: "",
5395
+ commandPolicy: {
5396
+ category: "toolchain",
5397
+ writesWorkspace: true,
5398
+ mayMutateProject: false,
5399
+ substantiveTest: false,
5400
+ },
5395
5401
  },
5396
5402
  {
5397
5403
  provider: "deepseek",
@@ -6045,14 +6045,15 @@ export function recordProjectVerificationOutcome(state = {}, toolResult = {}, co
6045
6045
  // verification regardless of its final exit status. Test identity and
6046
6046
  // mutation capability are independent: a generator or snapshot-updating
6047
6047
  // test still advances the revision, then records its evidence there.
6048
+ const generatedArtifactProducer = safeProjectProducerSegment(command, config);
6048
6049
  const projectContentMutation = Boolean(
6049
6050
  command &&
6050
6051
  toolResult.blocked !== true &&
6051
- commandCanMutateProjectContent(mutationCommand, commandPolicy)
6052
+ (
6053
+ commandCanMutateProjectContent(mutationCommand, commandPolicy) ||
6054
+ generatedArtifactProducer
6055
+ )
6052
6056
  );
6053
- const generatedArtifactProducer = projectContentMutation
6054
- ? safeProjectProducerSegment(command, config)
6055
- : "";
6056
6057
  let requiredBatch = currentRequiredCommandBatch(verification, requiredCommands);
6057
6058
  const activeExecutionContract = state.meta?.activeExecutionContract;
6058
6059
  const activeTurnCommands =
@@ -14901,7 +14902,9 @@ async function executeTool(browserState, toolCall, snapshot, config, store, obse
14901
14902
  packageInstallPolicy: policy.packageInstallPolicy,
14902
14903
  needsNetwork: Boolean(policy.needsNetwork),
14903
14904
  writesWorkspace: Boolean(policy.writesWorkspace),
14904
- mayMutateProject: Boolean(policy.mayMutateProject),
14905
+ ...(typeof policy.mayMutateProject === "boolean"
14906
+ ? { mayMutateProject: policy.mayMutateProject }
14907
+ : {}),
14905
14908
  substantiveTest: Boolean(policy.substantiveTest),
14906
14909
  gitOnly: Boolean(policy.gitOnly),
14907
14910
  noMatchExitIsSuccess: Boolean(policy.noMatchExitIsSuccess),