How Defense classifies an unknown file from a founder's existing folder and routes it into the correct department.
/06-migrate skill loads this file before classifying anything. Updates here change classification behavior on the next migration run.
06-defense-and-kaizen/aios-manifest.json. If yes, the AIOS version wins. The source version goes to z.archives/migrated/originals/.z.unsorted/ with a note for the founder to review.| If filename / folder contains... | Route to |
|---|---|
| strategy, swot, competitive, positioning, market-analysis | 01-strategy/projects/migrated/ |
| product, roadmap, feature, mvp, prd, spec | 02-product/projects/migrated/ |
| marketing, campaign, post, content, linkedin, newsletter, blog, copy, ad, brand, seo | 03-marketing/projects/migrated/ |
| sales, pipeline, lead, proposal, quote, deal, client-call, discovery, follow-up | 04-sales/projects/migrated/ |
| operations, sop, process, workflow, delivery, project-management, vendor | 05-operations/projects/migrated/ |
| tech, ai, code, prompt, agent, automation, integration, api, dev | 06-technology-and-ai/projects/migrated/ |
| finance, invoice, expense, p&l, profit, cash, budget, tax, accounting | 07-finance/projects/migrated/ |
| hr, hire, hiring, team, roster, performance, review, culture, onboarding | 08-hr-admin/projects/migrated/ |
| legal, contract, nda, agreement, terms, privacy, trademark, license, compliance | 09-legal/projects/migrated/ |
| defense, audit, maintenance, kaizen, log, decision, retrospective | 10-defense-and-kaizen/projects/migrated/ |
| founder, me, personal, journal, brain-dump, thinking | 00-chief-of-staff/projects/migrated/ |
| transcript, meeting, call-recording, fathom, zoom-recording | 10-defense-and-kaizen/projects/migrated/transcripts/ |
If a source file is inside a folder whose name matches one of the rules above, prefer the folder match over the filename match. A file named notes.md inside marketing/ goes to 03-marketing/projects/migrated/marketing/notes.md, preserving the original folder.
If the source folder has its own CLAUDE.md, the AIOS version wins. The source version goes to z.archives/migrated/originals/CLAUDE-original.md. Defense flags this for the founder so they can transfer any unique instructions into the new file manually.
Skip entirely (do not migrate, do not archive):
.DS_Store.git/ contentsnode_modules/ and other dependency directories*.log or *.tmpIf the source folder has a .claude/agents/ or .claude/skills/, merge contents in:
.claude/agents/ alongside the V1 agents.z.archives/migrated/originals/.claude/agents/..claude/skills/.If a file matches no rule above and the filename gives no signal (e.g., untitled.md, doc1.docx, screenshot.png), route to z.unsorted/. Defense surfaces these in the migration plan with a note: "Cannot classify -- needs your eyes."
z.unsorted/ instead.Defense updates this file when a real migration surfaces a pattern that should be added. New rules go to the bottom of the rules table unless they need to override an existing rule, in which case they go above the rule they override.