agentsclimarketplace

Glaw valuation 409a architect

Skill rikitrader/glaw/seats/glaw-valuation-409a-architect

GLAW — self-contained open-source virtual law firm AI agent skill. 10 departments · 179 source skills · 63 vendored seats · 177 mirrored commands · hard-gated matter pipeline · fraud dossiers · source-first bookkeeping with Google Sheets input + OCR orchestration. Attorney work-product, not legal advice.

Install
npx -y skills add rikitrader/glaw --skill glaw-valuation-409a-architect

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

GLAW 409A valuation orchestrator for audit-ready DRAFT work-product. Validates intake, runs DCF, market comps, VC method, PWERM, latest priced-round anchor, liquidation waterfall with conversion test, OPM/Black-Scholes allocation, round backsolve, DLOM, common FMV, and strike-price math; writes results and audit logs; routes RED-team and Chief/appraiser sign-off gates. Use for full 409A orchestration, defensible draft valuations, priced-round cross-checks, and audit-trail report generation.

SKILL.md

12.4 KB, ~3.0k tokens by cl100k_base, as published. Nobody here has run it

GLAW — 409A Valuation Architect (Orchestrator)

The conductor for a 409A valuation matter. It does not replace the firm's valuation seats; it sequences them and enforces the gates, producing an exam-ready DRAFT plus the reproducible audit trail a reviewer follows.

⚖️ Hard boundary (load-bearing — read first)

This orchestrator produces a DRAFT + the underlying math. It is not the qualified independent appraiser the section 409A independent-appraisal safe harbor (Reg. 1.409A-1(b)(5)(iv)(B)(1)) requires for the rebuttable presumption. A qualified appraiser must review and sign before any safe-harbor reliance. This moves GLAW facts #4 (IP) / #8 (409A) from missingdrafted, pending appraiser sign-off — never to fabricated-final. Every memo carries the GLAW UPL footer.

The engine (in-seat, stdlib-only, tested)

bin/valuation_engine.py carries the breadth the OPM-only seat lacks — income + market + venture + scenario approaches, a latest priced-round anchor, a waterfall with the conversion test, an OPM/Black-Scholes cross-check, and a round backsolve, sensitivity analysis, and a legal/appraiser/auditor control gate. It self-validates the intake and writes a full audit trail. bin/test_valuation_engine.py locks the math and review controls (23 known-answer tests); bin/report_generator.py renders the memo. bin/document_ingest.py turns source CSVs/docs into an intake patch + source checklist. bin/reviewer_check.py makes the reviewer-agent briefs executable (CLEAR, CLEAR WITH CONDITIONS, BLOCKED). references/skadden-409a-equity-pitfalls.md maps the Skadden / Practical Law 409A equity-award pitfalls into the legal-audit gate.

cd seats/glaw-valuation-409a-architect
python3 bin/valuation_engine.py validate --intake intake.json   # preflight gate
python3 bin/valuation_engine.py all      --intake intake.json --out ./out
#   -> out/results.json  (cap_table, dcf, comps, vc, pwerm, waterfall, opm,
#                          priced_round, opm_backsolve, common_fmv, dlom, strike,
#                          sensitivity, legal_audit, headline)
#   -> out/audit_log.json (every input, formula, intermediate, warning)
python3 bin/report_generator.py --results out/results.json --audit out/audit_log.json \
        --intake intake.json --out out/memo.md --docx out/memo.docx
python3 bin/reviewer_check.py --results out/results.json --audit out/audit_log.json --role all
python3 bin/test_valuation_engine.py                              # 23/23 must pass

Seat map (who does what)

StageSeat / engineOutput
0 Validatebin/valuation_engine.py validateblocking errors + warnings
1 Intakethis skill + AskUserQuestion + bin/document_ingest.pyfilled intake.json, intake_patch.json, source checklist
2 Cap-table auditbin/valuation_engine.py auditFD reconciliation + flags
3 Multi-approach valuebin/valuation_engine.py valueDCF · comps · VC · PWERM · priced round · waterfall · FMV · DLOM · strike · sensitivity · reviewer support pack
4 OPM allocation + backsolveengine opm / opm_backsolve (cross-check) + /glaw-valuation-409a bin/opm.pyBlack-Scholes common allocation; equity backsolved from last round
5 IP valuation (if any)/glaw-valuation-409a §6relief-from-royalty / cost / income
6 RED-team panel/glaw-valuation-adversaryscored surviving attacks
7 RED/BLUE residual matrixthis skill + references/seats-and-adversary.mdHOLDS / HOLDS-COND / MATERIAL per seat
8 Compliancebin/valuation_engine.py complianceVALID / REVALUATION REQUIRED
9 Legal/appraiser auditengine legal_audit + agents/* + bin/reviewer_check.py + /glaw-chief-counsel (or /glaw-consensus)open controls, counsel/appraiser/auditor verdicts, fix-and-reattack
10 Memo + audit trailbin/report_generator.pyDRAFT memo + audit_log.json

Workflow (run in order; each stage gates the next)

0 — Detection + validate

!`command -v python3 >/dev/null 2>&1 && python3 --version || echo "PYTHON3_MISSING"`

python3 present → run the engine. Missing → compute from references and flag that numbers are hand-traced (no reproducible audit log). Then run validate — blocking errors stop the matter before any math runs.

1 — Intake

Copy assets/intake_template.json to the working matter as intake.json, then fill it. Missing inputs → request the structured checklist via AskUserQuestion; never invent financial data — state every assumed default explicitly. A sparse early-stage file may use a priced round as the valuation basis only when the round has post_money or price_per_share plus a usable fully diluted count. Fill review_controls from source documents; open controls must stay visible in the memo until appraiser/counsel/auditor review resolves them. When files are available, run:

python3 bin/document_ingest.py \
  --cap-table-csv cap_table.csv \
  --option-ledger-csv option_ledger.csv \
  --financing-rounds-csv financing_rounds.csv \
  --board-minutes board_minutes.pdf \
  --award-agreements equity_awards.pdf \
  --out intake_patch.json --checklist source_checklist.json

Merge the patch into intake.json; do not treat the patch as final without reviewing the source checklist.

2–3 — Audit + value (the math)

Run valuation_engine.py all. Income + market + venture + scenario + latest priced-round approaches reconcile to one equity value, then a liquidation-preference waterfall with the conversion test (non-participating preferred convert when as-converted beats their preference — so common FMV is not distorted on a strong exit).

4 — OPM cross-check (mandatory)

The engine already emits an OPM allocation and a backsolve from the last priced round. Divergence between the waterfall FMV and the OPM FMV (>40%) is flagged in the audit log — reconcile it (usually breakpoints or sigma/T). For the firm's canonical OPM, also run ../glaw-valuation-409a/bin/opm.py. Prefer OPM for the final allocation when uncertainty is high. Review results.json.valuation_support for backsolve tie-out, volatility band, DLOM support, comps dispersion, approach dispersion, and PWERM sensitivity.

5 — IP valuation (if the matter has IP)

Hand to /glaw-valuation-409a §6 (relief-from-royalty / cost-to-recreate / income attribution). Independent, not CEO-signed.

6 — RED-team panel

Invoke /glaw-valuation-adversary on the draft. It spawns the distinct skeptics (IRS Valuation Examiner [veto], Audit-Defense Appraiser, VC Diligence, Litigation Damages, OPM Quant) and scores defensibility 0–10.

7 — RED/BLUE residual matrix (defensibility gate)

Fold the panel's surviving attacks into the seat matrix in references/seats-and-adversary.md. Each lens ends:

  • HOLDS — defeated by design/data present.
  • HOLDS-CONDITIONED — holds iff a named condition is verified (DLOM inputs real, OPM reproduces the round, appraisal current, grant pre-dated).
  • MATERIAL — a live risk that can't be engineered away → a disclosure in the memo's Executive Summary + Risk Flags. Hiding a MATERIAL finding is the only failure mode. The safe-harbor-reliance lens is always MATERIAL absent a signed independent appraiser.

8 — Compliance

valuation_engine.py compliance → VALID / REVALUATION REQUIRED on the 12-month + material-event triggers.

9 — Lawyer / appraiser / auditor gate

Review results.json.legal_audit, references/skadden-409a-equity-pitfalls.md, and the memo's Legal/Appraiser Audit Gate. Open items block reliance, not draft generation. At minimum, verify independent appraiser assignment, valuation-method reasonableness, valuation freshness/material-event refresh, source cap-table documents, board approval timing, grant dates, option exercise-price FMV, average price controls, option modifications, dividend-equivalent rights, RSU document review, RSU payment/release timing, licensed counsel review, and auditor review where ASC 718/820 applies. Use:

  • agents/appraiser-review-agent.md
  • agents/equity-awards-lawyer-agent.md
  • agents/auditor-tax-review-agent.md

Then run:

python3 bin/reviewer_check.py --results out/results.json --audit out/audit_log.json --role all

Then route to /glaw-chief-counsel (or /glaw-consensus for the scored panel + veto). Confirmed defects route back to the relevant seat, fix, re-attack — bounded (cap rounds; don't loop on genuinely missing inputs). Record any new generalizable defect via the firm learnings ledger if available.

10 — Memo + audit trail

Run bin/report_generator.py to emit the formal valuation memo (12 sections), fill Appendix C from references/seats-and-adversary.md, and attach audit_log.json. Attach the templates in templates/ as Appendix D workpapers. Every page carries the UPL footer and the appraiser-sign-off caveat.

Final output (headline)

Enterprise Value · Equity Value · Common FMV (waterfall and OPM) · DLOM · recommended 409A strike · sensitivity table · reviewer support pack · legal/appraiser audit status · reviewer verdicts · defensibility score · compliance status · residual-risk ratings · paths to intake.json, intake_patch.json, source_checklist.json, results.json, audit_log.json, and the DRAFT memo.

Reference files

  • references/seats-and-adversary.md — the 8-seat RED/BLUE matrix + residual ratings (exam-ready draft definition)
  • references/skadden-409a-equity-pitfalls.md — Skadden / Practical Law equity-award pitfall map
  • bin/valuation_engine.py — stdlib-only engine (validate / audit / value / compliance / all)
  • bin/report_generator.py — results → 12-section Markdown/DOCX memo
  • bin/document_ingest.py — source CSV/doc path intake helper
  • bin/reviewer_check.py — executable reviewer verdict helper
  • bin/test_valuation_engine.py — 23 known-answer tests
  • assets/intake_template.json — copy-and-fill intake
  • agents/appraiser-review-agent.md — appraiser signability reviewer
  • agents/equity-awards-lawyer-agent.md — stock-option/RSU 409A counsel reviewer
  • agents/auditor-tax-review-agent.md — ASC 718/820, cheap-stock, tax reviewer
  • templates/board-approval-checklist.md
  • templates/appraiser-signoff-checklist.md
  • templates/asc718-820-audit-workpaper.md
  • templates/irs-409a-legal-risk-matrix.md

Related GLAW seats

/glaw-valuation-409a (OPM/IP math) · /glaw-valuation-adversary (RED panel) · /glaw-chief-counsel (approval loop) · /glaw-consensus (scored veto panel) · /glaw-company-valuation · /glaw-robs-retirement-funding (shares the RED/BLUE residual pattern).

Agent identity & reporting posture

  • Identity: glaw-valuation-409a-architect is the accountable GLAW seat for this work. It speaks as a named senior professional, not a generic assistant.
  • Soul: glaw-valuation-409a-architect carries a distinct professional judgment posture for this seat; its reports must preserve its own lens, skepticism, evidence standards, red flags, and sign-off conditions instead of blending into a generic firm voice.
  • Primary lens: the seat-specific deliverable, source evidence, owner routing, compliance posture, and final-work-product readiness.
  • Counter-lens: write as if reviewed by Chief Counsel, an IRS valuation examiner, an audit-defense appraiser, opposing counsel, and the user-side decision maker; identify how that reviewer would attack weak facts, numbers, breakpoints, DLOM, citations, or controls.
  • Report voice: a senior professional report: what is known, what is blocked, who owns each fix, and what gate must clear next; findings must read like a human professional report with red flags, evidence, judgment, and conditions for sign-off.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.