Progress¶
| Epic | Status | Gate | Tag |
|---|---|---|---|
| E1 Foundations and quality framework | done | passed: 110+ tests, 96% coverage, wheel install test | v0.1.0 |
| E2 SDTM flagship | done | passed: 270+ tests, 94% coverage; PSK-001 and PSK-002: 0 errors, 100% record match with gold spec, byte-identical rebuild, under 2 s | v0.2.0 |
| E3 Tools, connectors, MCP | done | passed: 671 tests, 95% coverage; tool accuracy 100% of 7 reference calculations; 89 MCP tools; every command has --json and --help | v0.3.0 |
| E4 Tier 1 skills | done | passed: 753 tests, 96% coverage; 24 skills (23 new + sdtm-mapper), 127/127 eval cases replay at 100%; lint, dash and licence guards clean | v0.4.0 |
| E5 Tier 2 skills and safety suite | done | passed: 847 tests, 96% coverage; 36 skills (24 Tier 1, 12 Tier 2), 197/197 eval cases replay at 100%; adversarial safety suite 21/21 | v0.5.0 |
| E6 Hardening, distribution, docs, launch | done (PyPI 0.6.0 published 2026-10-14; npm, GHCR and CI release pending owner) | passed: 888 tests, 95% coverage; wheel carries 36 skills; install in about 3 s cold; Docker image builds and runs; npm package packs; mkdocs strict build passes | v0.6.0 |
| E7 Discoverability | done (E7.S1: brand assets, README hero, agent manifests, citation, community files, docs deploy) | passed locally (make check); GitHub CI not run while Actions is disabled |
|
| E8 Release 1.0 | done (E8.S1: ICH M11 Step 4 structure, release workflow without npm, 1.0 metadata, fresh benchmarks) | passed: 975 tests, 95% coverage; 197/197 eval cases replay at 100%; SDTM PSK-001 and PSK-002 0 errors, 100% record match; tool accuracy 7/7; safety suite 26/26; mkdocs strict build passes; Docker image builds (amd64) | v1.0.0 (pending owner tag) |
Next¶
Owner actions before the tag: make the repository public and re-apply its settings, add the PyPI
trusted publisher for release.yml (environment pypi), keep nightly disabled, enable Actions,
then push the v1.0.0 tag (PyPI, GHCR, GitHub Release) and publish npm with
scripts/publish.py npm (D52).
Known gaps¶
E6 additions:
- PyPI pharmaskills 0.6.0 (2026-10-14), 0.6.1 (2026-10-15) and 0.6.2 (2026-10-16) were published manually (no provenance). 0.6.0 and 0.6.1 cannot read XPT on Python 3.11 and 3.13 (pandas was undeclared); fixed in 0.6.2. npm and GHCR are not published; trusted publishing and the GitHub org must be configured by the owner. The release workflow has never run.
- Agent skill folders for cursor (.cursor/skills), gemini-cli (.gemini/skills) and opencode (.opencode/skills) in src/pharmaskills/data/agents.yaml are best-known and unverified; claude-code and codex are confident.
- The npm Windows .cmd path and Windows CI are untested; arm64 Docker and mcp serve from the container were not tested locally.
- The README demo is an SVG recorded by scripts/gen_demo.py (D48); the older docs/demo.tape GIF is not rendered (vhs not installed).
- No live CDISC CORE run exists; benchmarks use the native engine and say so.
- Whether npx skills add aiagentpro/pharmaskills supports per-skill selection is unverified.
E5 additions:
- Required-studies table (reg/data/required_studies.yaml): cells flagged uncertain: true (oncology durations, biologics immunogenicity and cross-reactivity, fertility timing, photosafety, carcinogenicity, juvenile studies, chronic durations) and topic-level citations for ICH M3(R2), S6(R1), S7A/B, S2(R1), S9 need verification.
- sap.yaml E9 and E9(R1) subsection numbers are best effort; ICH E3 12.3 and 12.4, EU GVP VI subsection numbers, EU GMP Chapter 8 versus Chapter 1 for deviations, FDA-EMA AI principles (Jan 2026) and FDA CSA guidance (cited by name only) need verification.
- Only sdtm run writes run_manifest.json; other commands write banner-bearing JSON reports (PRD s13 asks for a manifest for every run).
- Rules enforced only by instruction text (declared honestly in docs/GUARDRAILS.md): medical advice declined, regional scope, safety-reporting statement, free-prose fabrication refusal, biology dual use, local-processing routing, banner on hand-written documents.
E4 additions (verify before relying on them):
- Citations flagged "verify" in skill references: FDA 2005 MRSD (Table 1 and steps), EMA FIH 2017, EMA BE CPMP/EWP/QWP/1401/98 Rev. 1, ICH E9(R1) subsections, ICH E9 3.3.2 and 3.5, ICH Q6A, Q6B and Q1E section numbers, ADaMIG 1.3 section 3.2, Define-XML chapters.
- docs check-icf models 14 elements (50.25(a)(1) to (8), (b)(1) to (6)); 50.25(b)(7) to (9) and (c) are checked by reading.
- cdash.yaml core designations and codelist choices are a working subset to confirm against the CDASHIG.
- signal-detection: openFDA 2x2 query has no date-range option.
- adam: ADSL and ADAE only; ADaM Define-XML and ADaM conformance (CORE) are not produced.
- Open Targets safety and tissue-expression views are not exposed by the connector, so target-dossier marks those risks [DATA NEEDED].
- M4 structure treats Modules 3 to 5 as required, so a Module 2 only document needs the cross-reference index; a scope filter is a possible enhancement.
Values and identifiers that a qualified person must verify (all flagged in code comments):
- ICH Q3C: methylisobutylketone and triethylamine class and PDE; R8 additions (2-methyltetrahydrofuran, cyclopentyl methyl ether, tert-butyl alcohol). ICH Q3D(R2) cutaneous and inhalation PDEs. ICH Q1A(R2) semi-permeable low-humidity and refrigerated accelerated conditions.
- E2B(R3): element structure and many OIDs under 2.16.840.1.113883.3.989.2.1.x are marked VERIFY in safety/e2b.py; the official ICH XSD is not bundled, so validation is structural plus optional --xsd.
- Standards YAML numbering marked uncertain in ib.yaml, icf.yaml (2018 additions not modelled), pbrer.yaml, dsur.yaml, us-pi.yaml, smpc.yaml; eCTD Module 1 leaf placements in reg/ind.py are low confidence.
- MCP client config formats for codex (project scope) and opencode; CDISC Library base URL and header (no key available).
- CDISC CORE could not be exercised live in the build environment (no rules cache or executable);
its report parser is tested against the documented JSON shape. Native checks are used and
labelled as such (decision D18). Run with
PHARMASKILLS_CORE_PATHto use CORE. - The official Define-XML 2.1 XSD is not vendored; structural validation is built in and XSD
validation is optional via
--xsd. - Spec accuracy of 95 percent or higher for a model-written spec is verified with recorded model answers only; the deterministic skeleton alone scores much lower by design (measured in tests).