Error Solver is intentionally small. The quality bar is simple: every module should make the architecture easier to understand.
- Prefer explicit domain types.
- Use branded strings for IDs and file paths where they prevent accidental mixing.
- Return
Result<T, E>for expected operational errors. - Avoid
any. - Keep functions focused on one task.
- Keep IO at the boundary and pure logic in small helpers.
- Scanning should be deterministic.
- Parsing should not throw for malformed user filenames.
- Audit commands should give actionable messages.
npm run auditshould not mutate user files.- Mutating commands should be explicit, such as
tool:build,tool:archive, andtool:report.
- Commands shown in docs must exist in
package.json. - Examples should use real filenames that the parser accepts.
- Avoid exaggerated claims; describe implemented behavior.
- Keep README focused on quick understanding.
- Keep
USER_MANUAL.mdfocused on workflow details.
- Do not commit
node_modules/. - Do not commit local
.envfiles. - Do not commit generated archives.
- Review
registry.jsonandreport.txtbefore publishing updates.