mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
- Added JSDoc to src/ops.mjs - Created docs/ops-overview.md - Updated run artifacts Co-authored-by: PR0M3TH3AN <[email protected]>
873 B
873 B
Memory Update — docs-code-investigator — 2026-02-22
Key findings
src/ops.mjshandlestorch-lock initandupdatelogic, including directory scaffolding and config generation.- The
updatelogic preserves user modifications to prompts and rosters unless--forceis used. src/ops.mjswas previously undocumented, now fully JSDoc'd.
Patterns / reusable knowledge
- When documenting CLI tools, a high-level "overview" document (like
docs/ops-overview.md) is valuable for understanding the flow beyond just function signatures. src/ops.mjsusessrc/prompts/as the source of truth for assets, which is important for understanding how the agent system self-updates.
Warnings / gotchas
cmdInitandcmdUpdateinteract with the filesystem extensively; ensure backups are verified (logic exists incmdUpdate) before critical updates.