How a loose request becomes a structured matter — the universal intake spine every matter runs, the track router, and the department-specific intake flow for all fourteen divisions. Source of truth: lib/firm-roster.md · /glaw-intake.
Every matter, regardless of department, runs these six steps. The two red blocks are code-gated — glaw stage strategy refuses to advance until intake_complete and conflicts_cleared both exist in the matter timeline.
Creates matter.md + the structured form intake.json under ~/.glaw/matters/<slug>/.
bin/glaw matter new "<matter name>"
AskUserQuestion → write type: into the charter and set the machine track. Investigation matters hand the lead to /glaw-investigations immediately.
bin/glaw-intake set workflow_track <track>
Interview: parties · jurisdiction · goal · facts/timeline · documents on hand · hard dates. Mirror every answer into intake.json.
bin/glaw-intake set parties '…'
bin/glaw-intake set jurisdiction '…'
bin/glaw-intake set goal '…'
bin/glaw-intake set deadlines '…'
SOL, lien deadlines, closings, board dates, notice-response clocks — docketed at intake, never later.
bin/glaw docket add --owner "intake docket clerk" \
--source "SRC-0001 intake source" <date> "<deadline>"
Build the whole file: every party that could be added, every entity, every jurisdiction that could attach, every missing document — gaps listed explicitly.
bin/glaw-intake status # missing fields ⇒ do not advance
/glaw-ethics-conflicts runs the conflicts check against captured parties, drafts the engagement letter, stamps the UPL disclaimer. Intake never clears conflicts itself.
bin/glaw-ethics complete # logs conflicts_cleared
A named intake reviewer signs — placeholders (“TBD”, “operator”) do not clear the gate.
bin/glaw-intake complete --by '<named reviewer>'
bin/glaw stage strategy
bin/glaw timeline-log intake_done
python3 bin/glaw-learnings preflight [matter-slug] — firm memory is consulted so known defects are never repeated. Every evidence file routes through bin/glaw-doc-extract before any seat reads it, and any document a user uploads as a sample gets scored (contract → glaw-contract-score; financial/fraud → glaw-bureau-score fraud; compliance → glaw-compliance-audit).Step 1 assigns one of eight tracks. The track selects the Council profile and the government adversarial lens the matter will face downstream.
litigationAssert or defend claims → pleadings and a trial path. Adversary: opposing counsel.
corp-buildForm entities, structure tax, paper governance/offering. Adversary: IRS + SEC + creditor.
investigationWhite-collar/criminal — lead hands to /glaw-investigations; deep workups via /glaw-command.
accounting-taxRebuild or keep the books; bank-statement sources captured at intake.
taxFiling, planning, exam, or Tax Court without full reconstruction. Adversary: IRS/state/penalty.
contract-reviewInbound paper → CUAD 41-category review + scorecard + redline chain.
qualified-plan401(k)/DB/PS audit — lead to /glaw-qualified-plan; council scaffolded by qp_intake.py.
hybride.g. form a holdco AND pursue a claim through it — tracks sequenced by the Managing Partner.
Each division runs the spine, then adds its own capture list, machine fields, and routing. Capture = what intake interviews for · Fields = bin/glaw-intake set keys · Routes to = the seats that receive the matter after conflicts clear.
/glaw-entity-architect · glaw-corporate-counselpartiesjurisdictiongoalsource_documentsdeadlinesconflicts_partiesglaw-doc-extract → review → glaw-contract-score + redline — the scorecard is itself a deliverable.glaw-pe-vc-counsel · glaw-fund-regulatory-councilpartiesjurisdictiongoalsource_documentsdeadlinesglaw-institutional-finance + the fs-* layer.glaw-tax-legal-intake/glaw-qualified-plan (qp_intake.py scaffolds the 6-seat council)tax_yearstaxpayer_typetax_forms_neededsource_recordspositions_or_issuesfiling_or_exam_deadlinesbin/glaw-sol) · 90-day Tax Court petition date · notice response dates · filing due datestax auto-selects the tax Council + IRS/state/penalty adversarial profile downstream./glaw-accounting · loop run by /glaw-cfobank_statement_sourcestax_yearsentity_tax_typebooks_statusirs_forms_neededglaw-books-doctor gate → statements → adversarial loop → CFO sign-off.glaw-elite-corporate-counsel · glaw-federal-trial-counselpartiesjurisdictionfacts_timelinegoalsource_documentsdeadlinesglaw-doc-extract → /glaw-evidence-timeline; nothing files until citations verify + RED→BLUE survives./glaw-family-lawpartiesjurisdictionfacts_timelinegoaldeadlines/glaw-investigations — takes the lead at Step 1partiesfacts_timelinesource_documentsgoalauthorized_scope/glaw-commandbin/glaw-bureau-score fraud|competencylib/bureau-roster.md./glaw-sec-enforcement · /glaw-sec-investigatorglaw-sec-enforcement-swarm./glaw-regulatory-aml · /glaw-licensing/glaw-estate-trusts/glaw-constitutional · /glaw-legislative · /glaw-admin-law · /glaw-judicialglaw-doc-extract (metadata feeds precise event dating)glaw-cites extracts → legal-research verifies → motion-drafting uses → legal-writing polishes/glaw-legal-research before /glaw-file — the anti-hallucination guardrail./glaw-legal-writing--federal)bin/glaw-writing-check [--motion|--federal] — deterministic QCbin/glaw-federal-format auto-render · bin/glaw-format-check (TNR/double/justified/1.25")bin/glaw-publish <matter> — house-style HTML bundle (Helvetica, justified 12pt/1.5, blue callouts)/glaw-legal-writing before file. UPL disclaimer on every external deliverable.Generic placeholders (TBD, operator, [REVIEWER]) do not clear bin/glaw-intake complete. A named, accountable intake reviewer signs.
If a seat in the roster owns the question, route there. The roster is the firm's no-gaps guarantee — every domain maps to a seat.
Every evidence file passes bin/glaw-doc-extract first; .meta.json forensic metadata feeds backdating detection and event dating.
Contract → glaw-contract-score · financial/fraud → glaw-bureau-score · compliance → glaw-compliance-audit. The scorecard is a deliverable.
glaw-learnings preflight before substantive work; new defects written back via glaw-learnings add + glaw-reflect --apply.
Hard dates are calendared the moment they surface — SOL, lien, Form D, BOI, 706/709, Wells — with an owner and a source cite.