mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
fix(scripts): exclude agent logs from hex linting (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
4ff3b67e95
commit
f6736790fd
3 files changed
+78
-1
No files matched your search
@@ -0,0 +1,32 @@
|
|||||||
|
# Daily Design System Audit Report (2026-02-22)
|
||||||
|
|
||||||
|
Headline: ✓ No violations
|
||||||
|
|
||||||
|
## CSS
|
||||||
|
Total count: 0
|
||||||
|
|
||||||
|
|
||||||
|
## Hex Colors
|
||||||
|
Total count: 0
|
||||||
|
|
||||||
|
|
||||||
|
## Inline Styles
|
||||||
|
Total count: 0
|
||||||
|
|
||||||
|
|
||||||
|
## Raw Lengths
|
||||||
|
Total count: 0
|
||||||
|
|
||||||
|
|
||||||
|
## Bracket Utilities
|
||||||
|
Total count: 0
|
||||||
|
|
||||||
|
|
||||||
|
## Tailwind Palette
|
||||||
|
Total count: 0
|
||||||
|
|
||||||
|
|
||||||
|
## Next Steps
|
||||||
|
- [ ] Review violations
|
||||||
|
- [ ] Apply auto-fixes (if safe)
|
||||||
|
- [ ] Open remediation PR
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
# Onboarding Audit Report
|
||||||
|
|
||||||
|
**Date:** 2026-02-22
|
||||||
|
**Status:** ✓ Onboarding passes from clean checkout (with minor lint fix)
|
||||||
|
|
||||||
|
## Environment
|
||||||
|
- **Node:** v22.22.0
|
||||||
|
- **npm:** 11.10.1
|
||||||
|
- **OS:** Linux (Sandbox)
|
||||||
|
|
||||||
|
## Steps Executed
|
||||||
|
1. `npm ci` (Success)
|
||||||
|
- Installed dependencies.
|
||||||
|
- Verified `css/tailwind.generated.css` was created via `prepare` script.
|
||||||
|
2. `npx playwright install` (Success)
|
||||||
|
- Installed Chromium, Firefox, WebKit.
|
||||||
|
3. `npm run build` (Success)
|
||||||
|
- Built distribution artifacts in `dist/`.
|
||||||
|
- Verified `dist/index.html` exists.
|
||||||
|
4. `npm run test:unit:shard1` (Success)
|
||||||
|
- Ran subset of unit tests.
|
||||||
|
- Result: `✔ All unit tests passed`.
|
||||||
|
5. `npm run test:smoke` (Success)
|
||||||
|
- Ran smoke tests against local server.
|
||||||
|
- Verified video playback, login, and DM decryption.
|
||||||
|
6. `npm run format` (Success)
|
||||||
|
- Formatted code (no changes).
|
||||||
|
7. `npm run lint` (Initial Failure -> Fixed -> Success)
|
||||||
|
- Initial failure in `lint:hex` due to false positive in `docs/agents/task-logs/...`.
|
||||||
|
- **Fix:** Updated `scripts/check-hex.js` to exclude `docs/agents/task-logs/**`.
|
||||||
|
- Re-run: Passed.
|
||||||
|
8. `npm run audit` (Success)
|
||||||
|
- Design system audit passed.
|
||||||
|
|
||||||
|
## Failures & Fixes
|
||||||
|
- **Issue:** `npm run lint:hex` flagged a hex-like string (`#2667`) in a previous agent log file.
|
||||||
|
- **Root Cause:** The `scripts/check-hex.js` script did not exclude the `docs/agents/task-logs/` directory.
|
||||||
|
- **Fix:** Added `docs/agents/task-logs/**` to `IGNORED_GLOBS` in `scripts/check-hex.js`.
|
||||||
|
|
||||||
|
## Documentation Updates
|
||||||
|
- None required. `README.md` and `CONTRIBUTING.md` accurately reflect the working commands.
|
||||||
|
|
||||||
|
## Devcontainer/Docker
|
||||||
|
- Not required. Onboarding is robust in the standard environment.
|
||||||
@@ -40,7 +40,8 @@ const IGNORED_GLOBS = [
|
|||||||
'test_logs/**',
|
'test_logs/**',
|
||||||
'context/**',
|
'context/**',
|
||||||
'decisions/**',
|
'decisions/**',
|
||||||
'todo/**'
|
'todo/**',
|
||||||
|
'docs/agents/task-logs/**'
|
||||||
];
|
];
|
||||||
|
|
||||||
const gitArgs = [
|
const gitArgs = [
|
||||||
|
|||||||
Reference in new issue
Block a user