Files
ai-daily-report/.learnings/ERRORS.md

145 lines
4.2 KiB
Markdown

## [ERR-20260606-001] computer_use_helper_startup
**Logged**: 2026-06-06T00:00:00+08:00
**Priority**: medium
**Status**: pending
**Area**: infra
### Summary
Computer Use helper failed during Windows automation startup.
### Error
```text
node_repl kernel exited unexpectedly
windows sandbox failed: spawn setup refresh
```
### Context
- Operation attempted: initialize Computer Use and list Windows apps.
- Retried after resetting the JavaScript session.
- Both attempts failed before any app automation actions were taken.
### Suggested Fix
Investigate the Computer Use Windows helper startup path and sandbox setup; retry after the helper/runtime is refreshed.
### Metadata
- Reproducible: yes
- Related Files: C:/Users/12256/.codex/plugins/cache/openai-bundled/computer-use/26.602.40724/scripts/computer-use-client.mjs
---
## [ERR-20260610-001] absolute_path_prefixed_with_workspace
**Logged**: 2026-06-10T00:00:00+08:00
**Priority**: low
**Status**: pending
**Area**: docs
### Summary
An absolute skill file path was accidentally prefixed with the current workspace path when verifying completion.
### Error
```text
Get-Content : Cannot find path 'E:\Codes\ai-daily-report\C:\Users\12256\.codex\superpowers\skills\verification-before-completion\SKILL.md'
```
### Context
- Operation attempted: read `C:\Users\12256\.codex\superpowers\skills\verification-before-completion\SKILL.md`.
- The command used a malformed literal path that concatenated the workspace root and the absolute path.
- Re-running with the actual absolute path succeeded.
### Suggested Fix
When reading skill files or other absolute Windows paths, pass the `C:\...` path directly and do not combine it with the workspace path.
### Metadata
- Reproducible: yes
- Related Files: C:\Users\12256\.codex\superpowers\skills\verification-before-completion\SKILL.md
---
## [ERR-20260608-003] git_push_auth_failed
**Logged**: 2026-06-08T00:00:00+08:00
**Priority**: medium
**Status**: pending
**Area**: infra
### Summary
`git push origin main` failed because the Gitea remote rejected authentication.
### Error
```text
remote: Failed to authenticate user
fatal: Authentication failed for 'https://gitea.ephron.ren/Elaina/ai-daily-report.git/'
```
### Context
- Operation attempted: push committed cross-day dedupe fix to `origin/main`.
- Local commit exists: `07786e3 fix: add cross-day dedupe`.
- Test suite passed before commit: `79 passed`.
### Suggested Fix
Refresh Git credentials for `https://gitea.ephron.ren` or switch the remote to an authenticated SSH/HTTPS URL, then rerun `git push origin main`.
### Metadata
- Reproducible: yes
- Related Files: git remote origin
---
## [ERR-20260608-002] powershell_convertfromjson_mojibake
**Logged**: 2026-06-08T00:00:00+08:00
**Priority**: low
**Status**: pending
**Area**: tests
### Summary
PowerShell `ConvertFrom-Json` failed on a generated report containing existing mojibake section labels, while Python `json.loads` parsed the same report successfully.
### Error
```text
ConvertFrom-Json : Invalid object passed in, ':' or '}' expected.
```
### Context
- Operation attempted: verify CLI dry-run output by piping `run_report.json` through `ConvertFrom-Json`.
- Follow-up verification with Python `json.loads` succeeded and confirmed `stage2_5` and `stage8` fields.
### Suggested Fix
Use Python's JSON parser for verification in this repository when report content includes mojibake-rendered non-ASCII strings.
### Metadata
- Reproducible: yes
- Related Files: run_report.json
---
## [ERR-20260608-001] apply_patch_context_encoding
**Logged**: 2026-06-08T00:00:00+08:00
**Priority**: low
**Status**: pending
**Area**: tests
### Summary
`apply_patch` failed when matching context lines that contained mojibake-rendered Chinese text.
### Error
```text
apply_patch verification failed: Failed to find expected lines
```
### Context
- Operation attempted: update `tests/test_stage2_dedupe.py` with a patch anchored on displayed non-ASCII strings.
- The file content rendered differently enough that the expected context did not match.
### Suggested Fix
Use ASCII-only anchors, line-number inspection, or smaller structural context when patching files that contain mojibake-rendered non-ASCII text.
### Metadata
- Reproducible: yes
- Related Files: tests/test_stage2_dedupe.py
---