@arcforge/err 2.0.170 → 2.0.172

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/map.ts +12 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcforge/err",
3
- "version": "2.0.170",
3
+ "version": "2.0.172",
4
4
  "description": "Structured Axon errors — the code map every user-facing failure is rendered from.",
5
5
  "type": "module",
6
6
  "private": false,
@@ -15,7 +15,7 @@
15
15
  "deploy": "echo \"This package is published ONLY by apps/tui/scripts/release.ts, which pins workspace:* deps to concrete versions first. Publishing it directly ships an unresolvable dependency.\" && exit 1"
16
16
  },
17
17
  "dependencies": {
18
- "@arcforge/types": "2.0.170"
18
+ "@arcforge/types": "2.0.172"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/bun": "latest",
package/src/map.ts CHANGED
@@ -431,21 +431,22 @@ export const errorMap = {
431
431
  },
432
432
  /**
433
433
  * Replaced CONFIG_ENGINE_UNPARSEABLE, which described AST-editing an
434
- * `engine: X({ ... })` call — a field that no longer exists. Warning
435
- * rather than fatal for the deprecation window: an agent carrying
436
- * `engine:` still boots (on the profile pool, which is what it was
437
- * silently doing already), and the author gets told once per load what
438
- * to write instead. It becomes fatal when the field is removed.
434
+ * `engine: X({ ... })` call — a field that no longer exists.
435
+ *
436
+ * FATAL, after a spell as a warning. The warning reasoned that an agent
437
+ * carrying `engine:` still booted on the profile pool, so refusing would
438
+ * break working agents over an ignored field. What that missed is what
439
+ * "boots on the profile pool" means in practice: the agent runs on a
440
+ * different, BILLED provider than the one its config names, and nothing
441
+ * downstream can tell. A config declaring `engine: Mock()` made real paid
442
+ * inference calls, which is the opposite of what it asked for.
439
443
  */
440
444
  CONFIG_ENGINE_DEPRECATED: {
441
445
  code: "AX-PROJECT-033",
442
- title: "`engine:` Is Deprecated And Ignored",
443
- description: "This agent's axon.config.ts declares `engine:`, which the runtime no longer reads inference is resolving against the profile's providers instead. Use `model: \"codex:gpt-5.6-terra\"` for a cortex pin, and `providers: [...]` for a source the user would not otherwise have.",
446
+ title: "`engine:` Has Been Removed",
447
+ description: "This agent's axon.config.ts declares `engine:`, which the runtime does not read. Loading is refused rather than resolving against the profile's providers instead — that would run the agent on a different, billed provider than its config names. Use `model: \"codex:gpt-5.6-terra\"` for a cortex pin, and `providers: [...]` for a source the user would not otherwise have.",
444
448
  source: "manifest",
445
- // DEGRADED, not fatal: the agent boots and runs, but not on the
446
- // inference its config names. That is exactly what degraded means,
447
- // and it is the honest label for the deprecation window.
448
- severity: "degraded",
449
+ severity: "fatal",
449
450
  },
450
451
  MODULE_DEPENDENCY_INSTALL_FAILED: {
451
452
  code: "AX-PROJECT-004",