Make AGENTS.md smaller #30
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Just summarize it with the most relevant info so other agents don't get overwelmed
Now I have an accurate picture. Writing the condensed
AGENTS.md:Done.
AGENTS.mdis now a compact orientation map instead of an exhaustive dump.What changed (
AGENTS.mdonly, 591 → 224 lines, 39 KB → 18 KB):widget_mapcode samples.src/index.js(routes mounted before/aftercheckAuth), the always-200{status, msg}envelope with i18n keys, the duplicated-per-routeruserOwnsCampaignconvention, model relationships andfoundryActorId/foundryItemId/foundryNamesidentity rules, the window-system contract and the DOM ids that must not be renamed, the mitt event list (including theclose-notevsdelete-notetrap),--color-*/i18n "add to all three locales" rules, and the recipes./api/linkstart → authorize screen → pickup pairing used by Foundry, Discord and Obsidian (the oldfoundry/link/completewording no longer matchesroutes/service-link.js),discord-bot/is listed as an app (it is innpm run devanddocker-compose.yml), the test list matchestests/, and the landmine list dropped the items that have since been fixed (orphannote-created/note-renamed/folder-savedevents are wired now,Note.vueunmounts widgets,SetShowContentis used byTopBar). The remaining landmines were re-checked: thesetupCodeReferenceError in/user/register, the missing ownership check on/note/delete, the hardcoded JWT secret,useEmitter.ts, localhost-only CORS, theWindows.jscaching/listener/ClearAllquirks, and the stale PM2 config.No code or test changes were needed — documentation only, and nothing else in the tree was touched.
Implementation is ready for review: #32