---
name: ip-science-commercializer
description: Agent handbook for W4-F09 IP-Science-Commercializer (https://scicom.fastmesh.dev) — deterministic 4-stage deep-tech commercialization engine covering SI dimensional & statistical power checks, USPTO/EPO patent FTO & Design-Around checklists, SBIR/STTR/Horizon/Cloud non-dilutive grant matching, and fixed-seed 10,000-trial rNPV Monte Carlo via Remote /mcp, REST API, Causal Bazaar, and treg hub. Strictly $0 billed on HTTP 422 or HTTP 403 safety refusals.
---

# IP-Science-Commercializer (`scicom.fastmesh.dev`) — Agent Skill Handbook

> **Hard Guarantees**: Pure Python 3 stdlib + `decimal.Decimal` deterministic math (`seed=42`, 10,000 trials bit-exact) · Signed `receipt_sha256` & `dossier.fingerprint_sha256` on every call · **Strictly `$0` billed (`billable: false`, `charged_micros: 0`)** on HTTP `422` empty/invalid inputs AND HTTP `403` (`safety_blocked: true`) CBRN/weapons/hazardous-precursor safety refusals · **Zero R&D secret resale, zero persistent disk retention of confidential abstracts/claim drafts, and zero third-party model training (`zero_rd_secret_resale: true`)**.
>
> **Mandatory Non-Legal-Advice & Non-Investment-Advice Disclaimer**: All patent expiration calculations (USPTO 35 U.S.C. 154 & 41(b), EPO Article 63 & Article 86 EPC), maintenance-fee lapse indicators, independent claim-element overlap matrices, Design-Around checklists, grant eligibility matches, and rNPV Monte Carlo simulations are **preliminary engineering decision-support tools ONLY**. They do **NOT** constitute formal legal advice, patentability opinions, or formal Freedom-to-Operate (FTO) opinions from a licensed patent attorney, and are **NOT** licensed investment advice or CPA attestation. Verify PTA/PTE/SPCs, terminal disclaimers, continuation families, and 37 CFR 1.378 revivals in USPTO Patent Center and EPO Register with registered patent counsel prior to commercial deployment or investment.

## Integration Surfaces

| Surface | Endpoint / ID | Protocol & Pricing |
| :--- | :--- | :--- |
| **Remote MCP Server** | `https://scicom.fastmesh.dev/mcp` | JSON-RPC 2.0 (`initialize`, `notifications/initialized`, `tools/list`, `tools/call`) |
| **REST + OpenAPI 3.1** | `https://scicom.fastmesh.dev/openapi.json` | 5 `POST /v1/scicom/*` endpoints + `GET /health` + `POST /webhooks/creem` |
| **`treg hub` (0% Commission)** | `singularity.ip-science-commercializer` | `$0.20–$1.00` verified run (max `$2.00`, strictly `$0` on `422`/`403`) |
| **Causal Bazaar Public Card** | `hand_f09_ip_science_commercializer_v1` | `is_public=1`, `card_id: f09_ip_science_commercializer_v1`, `price_micros: 1000000` (cap `$2.00`) |
| **Storefront & Creem Packs** | `https://scicom.fastmesh.dev/` | `$149` Single Tech Dossier / `$449` DeepTech Lab 5-Pack / `$999` TTO & Venture Desk (`$0/mo`, never-expiring) |

Support: `support@fastmesh.dev`

---

## 1. Calling via Remote `/mcp` (JSON-RPC 2.0)

Exposed MCP tools:
1. `scicom_verify_science` (`$0.25` / `250,000` micros)
2. `scicom_fto_screen` (`$0.35` / `350,000` micros)
3. `scicom_match_grants` (`$0.20` / `200,000` micros)
4. `scicom_model_rnpv` (`$0.25` / `250,000` micros)
5. `scicom_compile_brief` (`$1.00` / `1,000,000` micros)

```bash
# 1. Discover Remote MCP tools
curl -fsSL -X POST "https://scicom.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

# 2. Compile a full 4-stage institutional commercialization dossier via MCP
curl -fsSL -X POST "https://scicom.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "scicom_compile_brief",
      "arguments": {
        "preset_id": "preset_clean_energy_bms",
        "seed": 42,
        "trials": 10000,
        "include_markdown": true,
        "include_html": false
      }
    }
  }'
```

---

## 2. All 5 REST Endpoints & Parameter Contracts

Supported `domain` values: `materials_catalysis`, `medtech_ivd`, `sensors_photonics`, `clean_energy_bms`, `agri_biotech_food`.  
Built-in `preset_id` values: `preset_materials_catalysis`, `preset_medtech_ivd`, `preset_sensors_photonics`, `preset_clean_energy_bms`, `preset_agri_biotech_food`.

### Stage 1: `POST /v1/scicom/verify-science` (`$0.25` verified / `$0` on `422` or `403`)
Audits SI dimensional homogeneity (`[M,L,T,I,Theta,N,J]`), universal thermodynamic/domain ceilings (Carnot, `33.7%` Shockley-Queisser, `<= 600 Wh/kg` Li-ion, `<= 170 mAh/g` LFP, `<= 1e13 s^-1` Eyring TOF, `>= 0 dB/cm` passive optical loss, `<= 1.0 g/g` carbon yield), statistical power (`Cohen's d`, `alpha=0.05`, `power>=0.80`, critical flag on `n <= 5`), and pilot scale-up replication gaps. Optional `allow_live_lookup` (default `false`) resolves arXiv Atom, Crossref Works, or PubMed E-utilities with deterministic offline fallback.

```bash
curl -fsSL -X POST "https://scicom.fastmesh.dev/v1/scicom/verify-science" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "materials_catalysis",
    "doi": "10.1038/46248",
    "trl": 4,
    "title": "Shaped MOF-5 Sorbent Pellets for Industrial CO2 Capture",
    "metrics": [
      {"name": "bet_specific_surface_area_m2_per_g", "value": 2900.0, "unit": "m^2/g"},
      {"name": "catalytic_turnover_frequency_s_inv", "value": 0.05, "unit": "s^-1"},
      {"name": "product_selectivity_pct", "value": 85.0, "unit": "%"}
    ],
    "stats": {"n_per_group": 12, "cohens_d": 0.85, "p_value": 0.008}
  }'
```

### Stage 2: `POST /v1/scicom/fto-screen` (`$0.35` verified / `$0` on `422` or `403`)
Evaluates USPTO 20-year statutory term (`35 U.S.C. 154(a)(2)` & pre-`1995-06-08` `154(c)(1)`), USPTO `3.5 / 7.5 / 11.5`-year maintenance fee lapse windows (`35 U.S.C. 41(b)` / `37 CFR 1.362`), and EPO `Article 63(1)` / `Article 86` annual renewal status (`EXPIRED_PUBLIC_DOMAIN`, `LAPSED_MAINTENANCE`, `ACTIVE_ENFORCEABLE`), scores independent claim-element overlap (`< 35%` Low, `35%–69%` Medium, `>= 70%` High), and emits an All-Elements-Rule engineering Design-Around checklist (`non_legal_opinion: true`).

```bash
curl -fsSL -X POST "https://scicom.fastmesh.dev/v1/scicom/fto-screen" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "clean_energy_bms",
    "patent_number": "US5910382",
    "jurisdiction": "US",
    "as_of_date": "2026-12-02",
    "proposed_elements": [
      "ordered olivine lithium iron phosphate cathode",
      "pyrolytic carbon coating",
      "Kalman filter state-of-charge estimation"
    ]
  }'
```

### Stage 3: `POST /v1/scicom/match-grants` (`$0.20` verified / `$0` on `422` or `403`)
Filters 13 verified US & EU non-dilutive grant programs (NSF SBIR/STTR/PFI-TT, NIH SBIR/STTR/Fast-Track/Direct-to-Phase-II, DOE SBIR/STTR, USDA NIFA SBIR/STTR, Horizon Europe EIC Pathfinder/Transition/Accelerator) plus 4 global cloud/GPU startup credit stacks (AWS Activate, Google Cloud for Startups `$200k/$350k` AI, NVIDIA Inception, Cloudflare for Startups) by strict numeric hard gates (`trl`, `jurisdiction`, `entity_type`, `headcount <= 500`, `us_owned_pct > 50`, STTR `research_partner_workshare_pct >= 30`, `eu_associated_country`).

```bash
curl -fsSL -X POST "https://scicom.fastmesh.dev/v1/scicom/match-grants" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "medtech_ivd",
    "trl": 4,
    "jurisdiction": "US",
    "entity_type": "for_profit_small_business",
    "headcount": 14,
    "us_owned_pct": 100.0,
    "has_research_partner": true,
    "research_partner_workshare_pct": 35.0,
    "technology_summary": "Point-of-care SERS lateral flow immunoassay for rapid sepsis detection"
  }'
```

### Stage 4: `POST /v1/scicom/model-rnpv` (`$0.25` verified / `$0` on `422` or `403`)
Executes a deterministic 10,000-trial Monte Carlo simulation (`seed=42`, `decimal.Decimal` aggregation, Common Random Numbers pairing) comparing `without_grants` vs `with_grants` arms across P5/P10/P25/P50/P75/P90/P95 quantiles, `ruin_probability`, `prob_positive_npv`, `expected_runway_months`, `grant_leverage_delta`, ranked `tornado.drivers`, and inline `charts.histogram_svg` + `charts.tornado_svg`.

```bash
curl -fsSL -X POST "https://scicom.fastmesh.dev/v1/scicom/model-rnpv" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "sensors_photonics",
    "trl": 5,
    "seed": 42,
    "trials": 10000,
    "initial_cash_usd": 1700000,
    "monthly_burn_usd": 68000,
    "grant_funding_usd": 1305000,
    "cloud_credits_usd": 200000,
    "fto_risk": "Low"
  }'
```

### Full Pipeline: `POST /v1/scicom/compile-brief` (`$1.00` verified / `$0` on `422` or `403`)
Executes Stages 1–4 end-to-end from either a built-in `preset_id` or combined custom Stage 1–4 fields, returning `executive_verdict`, `commercialization_score`, all four stage reports, and standalone `dossier` (`fingerprint_sha256`, `markdown`, `html`, `non_legal_opinion_notice`, `zero_rd_secret_resale_notice`).

```bash
curl -fsSL -X POST "https://scicom.fastmesh.dev/v1/scicom/compile-brief" \
  -H "Content-Type: application/json" \
  -d '{"preset_id":"preset_materials_catalysis","seed":42,"trials":10000,"include_html":true,"include_markdown":true}'
```

---

## 3. Zero-Billing Safety Envelopes (HTTP 422 & HTTP 403)

- **Empty / Missing / Malformed Input -> HTTP `422`**: Returns `ok: false`, `status_code: 422`, `safety_blocked: false`, `billable: false`, `charged_micros: 0`, `zero_charge_reason`, and `receipt_sha256`.
- **Hard CBRN / Weapons / Hazardous Precursor Refusal -> HTTP `403`**: Zero tolerance across chemical weapons/nerve agents, biological weapons/high-consequence pathogens, radiological/nuclear weapons, improvised explosives, and controlled hazardous precursors. Returns `ok: false`, `status_code: 403`, `error_code: "safety_policy_refusal"`, `safety_blocked: true`, `billable: false`, `charged_micros: 0`.
- **ArchiveCache Repeat Hits**: Identical tenant requests return deterministic cached results at `10%` of base price with zero raw R&D text written to disk.

---

## 4. Creem Flat-Fee Packs & Zero-Custody Webhook (`POST /webhooks/creem`)

| Pack | SKU ID | Flat Price | Included Deliverables & Credits |
| :--- | :--- | :---: | :--- |
| **Single Tech Dossier** | `sku_f09_single_dossier_149` | **$149** | 1 full dossier + `150,000,000` micros (`$150` value) |
| **DeepTech Lab 5-Pack** | `sku_f09_lab_5pack_449` | **$449** | 5 full dossiers + `500,000,000` micros (`$500` value) |
| **TTO & Venture Desk** | `sku_f09_tto_desk_999` | **$999** | 15 full dossiers + `2,000,000,000` micros (`$2,000` value) |

`POST /webhooks/creem` verifies `creem-signature` via HMAC-SHA256 (`CREEM_WEBHOOK_SECRET`), rejects invalid signatures with HTTP `401`, and enforces SQLite WAL idempotency on `event_id`.

---

## 5. Observed 10,000-Trial rNPV Benchmarks Across All 5 Domains (Seed 42)

| Domain | Without Grants Mean / Ruin | With Grants + Cloud Mean / Ruin | Grant Mean Lift / Runway Added | Top Tornado Driver (Share) |
| :--- | :---: | :---: | :---: | :--- |
| `materials_catalysis` | -$1,405,467 / 99.72% | **+$1,649,119** / 56.18% | +$3,054,586 / +22.4 mo | `stage_gate_success` (28.13%) |
| `medtech_ivd` | -$2,107,530 / 99.98% | **+$2,522,431** / 56.79% | +$4,629,961 / +22.0 mo | `stage_gate_success` (32.50%) |
| `sensors_photonics` | -$1,183,249 / 97.79% | **+$4,270,539** / 36.13% | +$5,453,788 / +20.1 mo | `stage_gate_success` (35.56%) |
| `clean_energy_bms` | -$1,584,455 / 98.64% | **+$5,270,498** / 40.49% | +$6,854,953 / +19.8 mo | `stage_gate_success` (33.81%) |
| `agri_biotech_food` | -$1,025,277 / 99.19% | **+$2,048,883** / 59.04% | +$3,074,160 / +14.7 mo | `stage_gate_success` (32.85%) |
