← back to Tk 10965 Zero Price Analysis
chore: lint, refactor, v1.1.1 (session close)
55f8804fcd7c46032073893bf9724b1f99023739 · 2026-08-31 00:57:53 -0700 · Steve Abrams
Files touched
M VERSIONM tk10964-canary-guard/check.mjs
Diff
commit 55f8804fcd7c46032073893bf9724b1f99023739
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon Aug 31 00:57:53 2026 -0700
chore: lint, refactor, v1.1.1 (session close)
---
VERSION | 2 +-
tk10964-canary-guard/check.mjs | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/VERSION b/VERSION
index 9084fa2..524cb55 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.1.0
+1.1.1
diff --git a/tk10964-canary-guard/check.mjs b/tk10964-canary-guard/check.mjs
index 468f041..27fb060 100644
--- a/tk10964-canary-guard/check.mjs
+++ b/tk10964-canary-guard/check.mjs
@@ -4,8 +4,10 @@
// untagged Fentucci cohort. Results are de-duplicated by Shopify product GID.
import fs from 'node:fs';
import path from 'node:path';
+import { fileURLToPath } from 'node:url';
-const HERE = path.dirname(new URL(import.meta.url).pathname);
+const MODULE_PATH = fileURLToPath(import.meta.url);
+const HERE = path.dirname(MODULE_PATH);
const FIXTURE_MODE = process.argv.includes('--fixture');
// Fixture invocations are probes/tests, not scheduler heartbeats. They must not
// overwrite the production artifact unless the caller deliberately supplies an
@@ -123,7 +125,7 @@ async function main() {
process.exitCode = exitCodeFor(result);
}
-if (process.argv[1] && path.resolve(process.argv[1]) === path.resolve(new URL(import.meta.url).pathname)) {
+if (process.argv[1] && path.resolve(process.argv[1]) === path.resolve(MODULE_PATH)) {
main().catch(error => {
writeResult({ skill: 'zero-price-orderable-canary', verdict: 'WARN', status: 'WARN', ts: new Date().toISOString(), zero_price_orderable: null, searched_active_unique: 0, detail: `canary error: ${error.message}` });
process.exitCode = 1;
← 7709f2c isolate fixture runs from canary heartbeat
·
back to Tk 10965 Zero Price Analysis
·
Reject unsafe inventory CLI arguments before initialization 7fb358c →