diff --git a/README.md b/README.md index 7d97bf8..7eaea69 100644 --- a/README.md +++ b/README.md @@ -93,4 +93,3 @@ NOSTR_LOCK_NAMESPACE=my-project \ AGENT_PLATFORM=codex \ node src/nostr-lock.mjs lock --agent docs-agent --cadence daily ``` - diff --git a/artifacts/ci-health-checks/iteration_1.log b/artifacts/ci-health-checks/iteration_1.log new file mode 100644 index 0000000..3872371 --- /dev/null +++ b/artifacts/ci-health-checks/iteration_1.log @@ -0,0 +1,39 @@ + +> torch-lock@0.1.0 test +> node --test test/*.test.mjs + +TAP version 13 +# Subtest: CLI Smoke Test + # Subtest: should print usage when no args provided + ok 1 - should print usage when no args provided + --- + duration_ms: 164.342148 + type: 'test' + ... + # Subtest: should fail when checking without cadence + ok 2 - should fail when checking without cadence + --- + duration_ms: 146.141257 + type: 'test' + ... + # Subtest: should include paused agents in check output + ok 3 - should include paused agents in check output + --- + duration_ms: 15204.078541 + type: 'test' + ... + 1..3 +ok 1 - CLI Smoke Test + --- + duration_ms: 15516.416385 + type: 'suite' + ... +1..1 +# tests 3 +# suites 1 +# pass 3 +# fail 0 +# cancelled 0 +# skipped 0 +# todo 0 +# duration_ms 15615.275486 diff --git a/artifacts/ci-health-checks/iteration_2.log b/artifacts/ci-health-checks/iteration_2.log new file mode 100644 index 0000000..ecaf507 --- /dev/null +++ b/artifacts/ci-health-checks/iteration_2.log @@ -0,0 +1,39 @@ + +> torch-lock@0.1.0 test +> node --test test/*.test.mjs + +TAP version 13 +# Subtest: CLI Smoke Test + # Subtest: should print usage when no args provided + ok 1 - should print usage when no args provided + --- + duration_ms: 147.776345 + type: 'test' + ... + # Subtest: should fail when checking without cadence + ok 2 - should fail when checking without cadence + --- + duration_ms: 147.972417 + type: 'test' + ... + # Subtest: should include paused agents in check output + ok 3 - should include paused agents in check output + --- + duration_ms: 15197.12841 + type: 'test' + ... + 1..3 +ok 1 - CLI Smoke Test + --- + duration_ms: 15494.825761 + type: 'suite' + ... +1..1 +# tests 3 +# suites 1 +# pass 3 +# fail 0 +# cancelled 0 +# skipped 0 +# todo 0 +# duration_ms 15604.898805 diff --git a/artifacts/ci-health-checks/iteration_3.log b/artifacts/ci-health-checks/iteration_3.log new file mode 100644 index 0000000..451bd03 --- /dev/null +++ b/artifacts/ci-health-checks/iteration_3.log @@ -0,0 +1,39 @@ + +> torch-lock@0.1.0 test +> node --test test/*.test.mjs + +TAP version 13 +# Subtest: CLI Smoke Test + # Subtest: should print usage when no args provided + ok 1 - should print usage when no args provided + --- + duration_ms: 183.111536 + type: 'test' + ... + # Subtest: should fail when checking without cadence + ok 2 - should fail when checking without cadence + --- + duration_ms: 190.338778 + type: 'test' + ... + # Subtest: should include paused agents in check output + ok 3 - should include paused agents in check output + --- + duration_ms: 15211.189441 + type: 'test' + ... + 1..3 +ok 1 - CLI Smoke Test + --- + duration_ms: 15587.030568 + type: 'suite' + ... +1..1 +# tests 3 +# suites 1 +# pass 3 +# fail 0 +# cancelled 0 +# skipped 0 +# todo 0 +# duration_ms 15699.937383 diff --git a/artifacts/ci-health-checks/iteration_4.log b/artifacts/ci-health-checks/iteration_4.log new file mode 100644 index 0000000..2967c81 --- /dev/null +++ b/artifacts/ci-health-checks/iteration_4.log @@ -0,0 +1,39 @@ + +> torch-lock@0.1.0 test +> node --test test/*.test.mjs + +TAP version 13 +# Subtest: CLI Smoke Test + # Subtest: should print usage when no args provided + ok 1 - should print usage when no args provided + --- + duration_ms: 142.251019 + type: 'test' + ... + # Subtest: should fail when checking without cadence + ok 2 - should fail when checking without cadence + --- + duration_ms: 144.9939 + type: 'test' + ... + # Subtest: should include paused agents in check output + ok 3 - should include paused agents in check output + --- + duration_ms: 15190.488726 + type: 'test' + ... + 1..3 +ok 1 - CLI Smoke Test + --- + duration_ms: 15479.56569 + type: 'suite' + ... +1..1 +# tests 3 +# suites 1 +# pass 3 +# fail 0 +# cancelled 0 +# skipped 0 +# todo 0 +# duration_ms 15572.457433 diff --git a/artifacts/ci-health-checks/iteration_5.log b/artifacts/ci-health-checks/iteration_5.log new file mode 100644 index 0000000..cb514c6 --- /dev/null +++ b/artifacts/ci-health-checks/iteration_5.log @@ -0,0 +1,39 @@ + +> torch-lock@0.1.0 test +> node --test test/*.test.mjs + +TAP version 13 +# Subtest: CLI Smoke Test + # Subtest: should print usage when no args provided + ok 1 - should print usage when no args provided + --- + duration_ms: 142.641512 + type: 'test' + ... + # Subtest: should fail when checking without cadence + ok 2 - should fail when checking without cadence + --- + duration_ms: 143.41358 + type: 'test' + ... + # Subtest: should include paused agents in check output + ok 3 - should include paused agents in check output + --- + duration_ms: 15193.256229 + type: 'test' + ... + 1..3 +ok 1 - CLI Smoke Test + --- + duration_ms: 15481.218226 + type: 'suite' + ... +1..1 +# tests 3 +# suites 1 +# pass 3 +# fail 0 +# cancelled 0 +# skipped 0 +# todo 0 +# duration_ms 15574.942449 diff --git a/artifacts/ci-health-checks/results.md b/artifacts/ci-health-checks/results.md new file mode 100644 index 0000000..df5f183 --- /dev/null +++ b/artifacts/ci-health-checks/results.md @@ -0,0 +1,21 @@ +# CI Health Check Report - Sat Feb 14 06:10:49 UTC 2026 +Running 5 iterations of npm test... +## Iteration 1 +Timestamp: Sat Feb 14 06:10:49 UTC 2026 +Status: PASSED + +## Iteration 2 +Timestamp: Sat Feb 14 06:11:05 UTC 2026 +Status: PASSED + +## Iteration 3 +Timestamp: Sat Feb 14 06:11:21 UTC 2026 +Status: PASSED + +## Iteration 4 +Timestamp: Sat Feb 14 06:11:37 UTC 2026 +Status: PASSED + +## Iteration 5 +Timestamp: Sat Feb 14 06:11:53 UTC 2026 +Status: PASSED diff --git a/assets/favicon.svg b/assets/favicon.svg new file mode 100644 index 0000000..37c9e7f --- /dev/null +++ b/assets/favicon.svg @@ -0,0 +1,33 @@ + diff --git a/assets/logo.svg b/assets/logo.svg new file mode 100644 index 0000000..37c9e7f --- /dev/null +++ b/assets/logo.svg @@ -0,0 +1,33 @@ + diff --git a/build.mjs b/build.mjs index 17e1dad..9261b3a 100644 --- a/build.mjs +++ b/build.mjs @@ -11,6 +11,7 @@ const DASHBOARD_SRC = path.join(__dirname, 'dashboard'); const DOCS_SRC = path.join(__dirname, 'src', 'docs'); const PROMPTS_SRC = path.join(__dirname, 'src', 'prompts', 'META_PROMPTS.md'); const CONFIG_SRC = path.join(__dirname, 'torch-config.json'); +const ASSETS_SRC = path.join(__dirname, 'assets'); // Ensure clean slate if (fs.existsSync(DIST_DIR)) { @@ -27,6 +28,7 @@ let distHtml = landingHtml; distHtml = distHtml.replace(/"\.\.\/dashboard\/styles\.css"/g, '"dashboard/styles.css"'); distHtml = distHtml.replace(/"\.\.\/dashboard\/"/g, '"dashboard/"'); // Link to dashboard distHtml = distHtml.replace(/'\.\.\/src\/docs\/TORCH\.md'/g, "'src/docs/TORCH.md'"); +distHtml = distHtml.replace(/"\.\.\/assets\//g, '"assets/'); fs.writeFileSync(path.join(DIST_DIR, 'index.html'), distHtml); @@ -52,4 +54,11 @@ if (fs.existsSync(CONFIG_SRC)) { fs.copyFileSync(CONFIG_SRC, path.join(DIST_DIR, 'torch-config.json')); } +// 6. Copy assets/ -> dist/assets/ +const distAssets = path.join(DIST_DIR, 'assets'); +if (fs.existsSync(ASSETS_SRC)) { + fs.mkdirSync(distAssets, { recursive: true }); + fs.cpSync(ASSETS_SRC, distAssets, { recursive: true }); +} + console.log('Build complete! Output directory: dist/'); diff --git a/dashboard/index.html b/dashboard/index.html index 6e4f4de..3a31af8 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -5,6 +5,7 @@