mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-06 12:51:54 +00:00
Audit Agent Run: Failed due to missing scripts
- Attempted to run audit-agent. - Failed because `scripts/check-file-size.mjs`, `scripts/check-innerhtml.mjs`, and `npm run lint` are missing. - Created `artifacts/audit/2026-02-14/summary.md` documenting the failure. - Created `task-logs/daily/2026-02-14T06-04-19Z__audit-agent__failed.md`. - Added execution context in `src/context/`, `src/todo/`, `src/decisions/`, `src/test_logs/`. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
3124cd33e9
commit
966d8ed290
9 files changed
+180
No files matched your search
@@ -0,0 +1,18 @@
|
|||||||
|
node:internal/modules/cjs/loader:1386
|
||||||
|
throw err;
|
||||||
|
^
|
||||||
|
|
||||||
|
Error: Cannot find module '/app/scripts/check-file-size.mjs'
|
||||||
|
at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
|
||||||
|
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
|
||||||
|
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
|
||||||
|
at Function._load (node:internal/modules/cjs/loader:1192:37)
|
||||||
|
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
|
||||||
|
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
|
||||||
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
|
||||||
|
at node:internal/main/run_main_module:36:49 {
|
||||||
|
code: 'MODULE_NOT_FOUND',
|
||||||
|
requireStack: []
|
||||||
|
}
|
||||||
|
|
||||||
|
Node.js v22.22.0
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
node:internal/modules/cjs/loader:1386
|
||||||
|
throw err;
|
||||||
|
^
|
||||||
|
|
||||||
|
Error: Cannot find module '/app/scripts/check-innerhtml.mjs'
|
||||||
|
at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
|
||||||
|
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
|
||||||
|
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
|
||||||
|
at Function._load (node:internal/modules/cjs/loader:1192:37)
|
||||||
|
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
|
||||||
|
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
|
||||||
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
|
||||||
|
at node:internal/main/run_main_module:36:49 {
|
||||||
|
code: 'MODULE_NOT_FOUND',
|
||||||
|
requireStack: []
|
||||||
|
}
|
||||||
|
|
||||||
|
Node.js v22.22.0
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
npm error Missing script: "lint"
|
||||||
|
npm error
|
||||||
|
npm error Did you mean this?
|
||||||
|
npm error npm link # Symlink a package folder
|
||||||
|
npm error
|
||||||
|
npm error To see a list of scripts, run:
|
||||||
|
npm error npm run
|
||||||
|
npm error A complete log of this run can be found in: /home/jules/.npm/_logs/2026-02-14T06_04_52_713Z-debug-0.log
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
# Audit Report — 2026-02-14 (default branch)
|
||||||
|
|
||||||
|
**Summary**
|
||||||
|
|
||||||
|
* Date: 2026-02-14
|
||||||
|
* Agent: audit-agent
|
||||||
|
* Status: **FAILED**
|
||||||
|
|
||||||
|
**Failure Reason**
|
||||||
|
|
||||||
|
The required audit scripts are missing from the repository.
|
||||||
|
|
||||||
|
* `scripts/check-file-size.mjs`: MODULE_NOT_FOUND
|
||||||
|
* `scripts/check-innerhtml.mjs`: MODULE_NOT_FOUND
|
||||||
|
* `npm run lint`: Missing script
|
||||||
|
|
||||||
|
**Metrics**
|
||||||
|
|
||||||
|
* Grandfathered oversized files: N/A
|
||||||
|
* New oversized files: N/A
|
||||||
|
* Total innerHTML assignments: N/A
|
||||||
|
* Lint failures: N/A
|
||||||
|
|
||||||
|
**Artifacts**
|
||||||
|
|
||||||
|
* [raw-check-file-size.log](./raw-check-file-size.log)
|
||||||
|
* [raw-check-innerhtml.log](./raw-check-innerhtml.log)
|
||||||
|
* [raw-lint.log](./raw-lint.log)
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# Audit Run Context
|
||||||
|
|
||||||
|
- **Date**: 2026-02-14
|
||||||
|
- **Time**: 06:04:19 UTC
|
||||||
|
- **Agent**: audit-agent
|
||||||
|
- **Purpose**: Run static analysis and report regressions.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Audit Run Decisions
|
||||||
|
|
||||||
|
- **Missing Scripts**: The audit scripts are missing from the repository. The audit will fail, and a report will be generated documenting this.
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
# Audit Run Test Log
|
||||||
|
|
||||||
|
- **Date**: 2026-02-14T06-04-19Z
|
||||||
|
## Execution Log
|
||||||
|
### check-file-size.mjs
|
||||||
|
node:internal/modules/cjs/loader:1386
|
||||||
|
throw err;
|
||||||
|
^
|
||||||
|
|
||||||
|
Error: Cannot find module '/app/scripts/check-file-size.mjs'
|
||||||
|
at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
|
||||||
|
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
|
||||||
|
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
|
||||||
|
at Function._load (node:internal/modules/cjs/loader:1192:37)
|
||||||
|
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
|
||||||
|
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
|
||||||
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
|
||||||
|
at node:internal/main/run_main_module:36:49 {
|
||||||
|
code: 'MODULE_NOT_FOUND',
|
||||||
|
requireStack: []
|
||||||
|
}
|
||||||
|
|
||||||
|
Node.js v22.22.0
|
||||||
|
### check-innerhtml.mjs
|
||||||
|
node:internal/modules/cjs/loader:1386
|
||||||
|
throw err;
|
||||||
|
^
|
||||||
|
|
||||||
|
Error: Cannot find module '/app/scripts/check-innerhtml.mjs'
|
||||||
|
at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
|
||||||
|
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
|
||||||
|
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
|
||||||
|
at Function._load (node:internal/modules/cjs/loader:1192:37)
|
||||||
|
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
|
||||||
|
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
|
||||||
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
|
||||||
|
at node:internal/main/run_main_module:36:49 {
|
||||||
|
code: 'MODULE_NOT_FOUND',
|
||||||
|
requireStack: []
|
||||||
|
}
|
||||||
|
|
||||||
|
Node.js v22.22.0
|
||||||
|
### npm run lint
|
||||||
|
npm error Missing script: "lint"
|
||||||
|
npm error
|
||||||
|
npm error Did you mean this?
|
||||||
|
npm error npm link # Symlink a package folder
|
||||||
|
npm error
|
||||||
|
npm error To see a list of scripts, run:
|
||||||
|
npm error npm run
|
||||||
|
npm error A complete log of this run can be found in: /home/jules/.npm/_logs/2026-02-14T06_04_52_713Z-debug-0.log
|
||||||
|
## Repository Checks
|
||||||
|
### npm test
|
||||||
|
|
||||||
|
> [email protected] 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: 316.644759
|
||||||
|
type: 'test'
|
||||||
|
...
|
||||||
|
# Subtest: should fail when checking without cadence
|
||||||
|
ok 2 - should fail when checking without cadence
|
||||||
|
---
|
||||||
|
duration_ms: 222.24348
|
||||||
|
type: 'test'
|
||||||
|
...
|
||||||
|
1..2
|
||||||
|
ok 1 - CLI Smoke Test
|
||||||
|
---
|
||||||
|
duration_ms: 541.253482
|
||||||
|
type: 'suite'
|
||||||
|
...
|
||||||
|
1..1
|
||||||
|
# tests 2
|
||||||
|
# suites 1
|
||||||
|
# pass 2
|
||||||
|
# fail 0
|
||||||
|
# cancelled 0
|
||||||
|
# skipped 0
|
||||||
|
# todo 0
|
||||||
|
# duration_ms 684.964165
|
||||||
|
### npm run build
|
||||||
|
|
||||||
|
> [email protected] build
|
||||||
|
> node build.mjs
|
||||||
|
|
||||||
|
Build complete! Output directory: dist/
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# Audit Run TODO
|
||||||
|
|
||||||
|
- [ ] Run check-file-size.mjs
|
||||||
|
- [ ] Run check-innerhtml.mjs
|
||||||
|
- [ ] Run npm run lint
|
||||||
|
- [ ] Create summary
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Audit scripts missing: scripts/check-file-size.mjs, scripts/check-innerhtml.mjs, npm run lint
|
||||||
Reference in new issue
Block a user