Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
7feb919
Stage progressive references and scientific runtime v3
eightmm Jul 21, 2026
1b3950e
Persist expanded reference runtime before final verification
eightmm Jul 21, 2026
ae0cf44
Complete reference runtime v3 integration
github-actions[bot] Jul 21, 2026
599e0a3
Add reference runtime stage diagnostics
eightmm Jul 21, 2026
689f24f
Capture reference audit findings
eightmm Jul 21, 2026
e9a16a6
Record reference audit diagnostics
github-actions[bot] Jul 21, 2026
712615b
Finalize reference audit compatibility
eightmm Jul 21, 2026
493da6f
Finalize progressive reference contracts
github-actions[bot] Jul 21, 2026
8c771f4
Stage native artifact runtime and project evidence store
eightmm Jul 21, 2026
e5d3c8e
Use Git object integrity for runtime payload expansion
eightmm Jul 21, 2026
24eebb5
Stage runtime source payload manifest
eightmm Jul 21, 2026
8e65a27
Stage native runtime source payload 1/7
eightmm Jul 21, 2026
bb9e316
Stage native runtime source payload 2/7
eightmm Jul 21, 2026
1f92436
Fix native runtime archive expansion and integration
eightmm Jul 21, 2026
e3678a1
Remove failed runtime payload archive
eightmm Jul 21, 2026
3aad268
Add bounded native scientific artifact runtime
eightmm Jul 21, 2026
f216c90
Add native artifact runtime CLI
eightmm Jul 21, 2026
4ac302c
Add project-level evidence store and hypothesis forks
eightmm Jul 21, 2026
5b77619
Add project evidence store CLI
eightmm Jul 21, 2026
5b728bd
Add durable local and Slurm job backends
eightmm Jul 21, 2026
df8f12d
Add durable scientific job CLI
eightmm Jul 21, 2026
e373016
Add machine-readable native skill maturity auditing
eightmm Jul 21, 2026
0f87a31
Add native skill maturity audit CLI
eightmm Jul 21, 2026
df5b0bb
Add native skill maturity policy
eightmm Jul 21, 2026
f08c2a5
Declare coordinator skill maturity
eightmm Jul 21, 2026
89ea736
Declare provenance skill maturity
eightmm Jul 21, 2026
ff4b487
Declare review skill maturity
eightmm Jul 21, 2026
a32f369
Declare literature review L4 maturity
eightmm Jul 21, 2026
6a2c04f
Declare docking validation L4 maturity
eightmm Jul 21, 2026
61794b0
Declare remote compute skill maturity
eightmm Jul 21, 2026
22612df
Document native artifact runtime usage and boundaries
eightmm Jul 21, 2026
d5789fe
Document project evidence store and branch workflow
eightmm Jul 21, 2026
f647b58
Document local and Slurm job runtime usage
eightmm Jul 21, 2026
6c9f747
Test native artifact runtime contracts
eightmm Jul 21, 2026
49ce0df
Test project evidence memory and experiment forks
eightmm Jul 21, 2026
3edab87
Test durable local and Slurm job contracts
eightmm Jul 21, 2026
2bdf48f
Test native skill maturity policy and declarations
eightmm Jul 21, 2026
1e7fceb
Add idempotent native runtime integration script
eightmm Jul 21, 2026
b8f9de8
Integrate and validate native runtime v4
eightmm Jul 21, 2026
2fbf19e
Add final native runtime correctness patches
eightmm Jul 21, 2026
d979322
Finalize and validate native runtime v4
eightmm Jul 21, 2026
9599baa
Test runtime sidecar validation and staleness
eightmm Jul 21, 2026
c42c5da
Complete native runtime with regenerated inventory and wrappers
eightmm Jul 21, 2026
e24bf4f
Add robust final native runtime applicator
eightmm Jul 21, 2026
335b5af
Apply complete native runtime v4 implementation
eightmm Jul 21, 2026
3df146c
Add native runtime quickstart
eightmm Jul 21, 2026
430caf4
Add final fail-closed runtime repairs
eightmm Jul 21, 2026
b5121a4
Add function-boundary native runtime sealing script
eightmm Jul 21, 2026
d949215
Seal and validate native runtime v4
eightmm Jul 21, 2026
c04bd99
Add reviewed-run to skill-draft compiler
eightmm Jul 21, 2026
f2ee2eb
Add reviewed run promotion CLI
eightmm Jul 21, 2026
b8ddf5e
Add deterministic next-experiment planner
eightmm Jul 21, 2026
d356b98
Add next-experiment planning CLI
eightmm Jul 21, 2026
bdd3714
Add FAIR-oriented run export and scientific BOM
eightmm Jul 21, 2026
1ed26e2
Add FAIR scientific run export CLI
eightmm Jul 21, 2026
f010147
Test reviewed-run skill draft generation
eightmm Jul 21, 2026
712bd3d
Test deterministic next-experiment planning
eightmm Jul 21, 2026
79256b2
Test FAIR-oriented run exports
eightmm Jul 21, 2026
19ea40e
Document reviewed-run pipeline promotion
eightmm Jul 21, 2026
2df2b5c
Document deterministic next-experiment planning
eightmm Jul 21, 2026
6e8085f
Document FAIR-oriented export and scientific BOM
eightmm Jul 21, 2026
ffe529e
Integrate pipeline, experiment, and FAIR runtime contracts
eightmm Jul 21, 2026
c5adbec
Seal extended progressive scientific runtime v4
eightmm Jul 21, 2026
0ea99f9
Finish permanent native runtime v4 implementation
eightmm Jul 21, 2026
e4db614
Add compile-safe permanent runtime patcher
eightmm Jul 21, 2026
238d304
Commit permanent progressive scientific runtime v4
eightmm Jul 21, 2026
fcbcfd1
Harden generated pipeline drafts against secret propagation
eightmm Jul 21, 2026
4ad92c5
Test generated pipeline secret redaction and rejection
eightmm Jul 21, 2026
0725550
Finalize complete progressive scientific runtime v4
eightmm Jul 21, 2026
d4796f4
Add blinded independent reviewer packet runtime
eightmm Jul 21, 2026
47a78bd
Add independent reviewer packet CLI
eightmm Jul 21, 2026
b6a6799
Test blinded reviewer packet and receipt runtime
eightmm Jul 21, 2026
8c52f1d
Document independent reviewer packet usage
eightmm Jul 21, 2026
9c5afdb
Integrate independent reviewer runtime references and safety
eightmm Jul 21, 2026
9b162f4
Add approval-gated authenticated connector action framework
eightmm Jul 21, 2026
56dd87e
Add authenticated connector action contract CLI
eightmm Jul 21, 2026
2a87bcb
Test approval-gated connector action framework
eightmm Jul 21, 2026
32dfc34
Document optional authenticated connector pack contract
eightmm Jul 21, 2026
cffb984
Integrate reviewer and authenticated connector action contracts
eightmm Jul 21, 2026
e4646d3
Harden reviewer and connector action receipt hashing
eightmm Jul 21, 2026
143fb0e
Test unicode review and action receipt validation
eightmm Jul 21, 2026
5382603
Finalize complete progressive scientific runtime v4
eightmm Jul 21, 2026
145c6da
Add final resource and input integrity hardening
eightmm Jul 21, 2026
efdeb13
Test final runtime hardening boundaries
eightmm Jul 21, 2026
daf43ab
Run ultimate native runtime v4 validation
eightmm Jul 21, 2026
c91cc4f
Validate runtime v4 on Python 3.11 and 3.12
eightmm Jul 21, 2026
5d9536b
Fix runtime v4 validation
eightmm Jul 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codex-science",
"version": "0.3.0+codex.20260720000100",
"version": "0.4.0+codex.20260721000100",
"description": "Audited scientific skills, public-source tools, reproducible artifacts, and evidence review for Codex.",
"author": {
"name": "eightmm"
Expand Down
6 changes: 6 additions & 0 deletions authored-skills/docking-validation/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ license: MIT

# Docking Validation

## Reference usage

Read [benchmark design](references/benchmark-design.md) before defining states, pockets, controls, or data splits. Read [metrics and acceptance](references/metric-and-acceptance.md) before computing metrics, fixing thresholds, calibrating scores, or declaring a pass. Read [inference boundaries](references/inference-boundaries.md) before writing pose, ranking, affinity, mechanism, or generalization claims.

Do not infer benchmark information boundaries, metric aggregation, or claim strength from an engine name or score. Record the reference hashes used for a material benchmark or claim in a `reference-use-ledger`.

## Decision contract
Prespecify the use case, prediction unit, receptor and ligand states, pocket information allowed at inference, benchmark split, controls, primary metric, uncertainty method, applicability domain, and success threshold before inspecting outcomes.
Treat benchmark construction, preparation, pose generation, scoring, and decision analysis as separate stages with separate artifacts.
Expand Down
35 changes: 35 additions & 0 deletions authored-skills/docking-validation/quality.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"schema_version": 1,
"skill": "docking-validation",
"roles": ["analyzer", "reviewer"],
"declared_maturity": "L4",
"output_schemas": [
"sbdd-benchmark-v1",
"numeric-metric-v1",
"pose-table-v1",
"model-receipt-v2",
"review-receipt-v2"
],
"acceptance_fixtures": [
"examples/sbdd-acceptance/benchmark.json",
"examples/sbdd-acceptance/seeded-leaks.json",
"examples/sbdd-executable/input.json"
],
"seeded_failures": [
"held-out-pocket-leak",
"analog-series-leak",
"scaffold-leak",
"cold-target-violation",
"known-training-overlap",
"missing-subgroup-analysis",
"affinity-overclaim"
],
"test_files": [
"tests/test_sbdd_acceptance.py",
"tests/test_sbdd_execution.py"
],
"limitations": [
"The deterministic executable fixture validates contract handling rather than prospective docking accuracy.",
"Docking scores and model confidence are not experimental affinity or mechanism."
]
}
31 changes: 31 additions & 0 deletions authored-skills/docking-validation/references/benchmark-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Docking benchmark design

Read before creating a split, defining a pocket, choosing receptor states, or selecting positive and negative controls.

## Prediction unit

State whether the prediction unit is a complex, ligand, pose, target, target family, receptor state, or screening library. Metrics and independence groups must use the same unit.

## State manifest

Record biological assembly, chains, missing residues, mutations, protonation, tautomers, stereochemistry, formal charges, metals, cofactors, waters, covalent bonds, receptor state, ligand microstate, preparation software, parameters, and hashes.

## Information boundary

For a held-out complex, do not derive the pocket, ligand frame, receptor conformation, template, restraints, or feature engineering from the held-out bound pose unless the task explicitly permits that information.

## Splits

Preserve:

- cold scaffold;
- cold analog series;
- cold target;
- cold target family;
- cold receptor state;
- temporal holdout;
- known and possible model-training overlap.

## Controls

At minimum include valid redocking controls, cross-docking where robustness is claimed, simple scoring or geometric baselines, chemically relevant negatives or property-matched decoys for screening, and known failure cases.
40 changes: 40 additions & 0 deletions authored-skills/docking-validation/references/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"schema_version": 1,
"skill": "docking-validation",
"default_policy": "load-minimum-required",
"references": [
{
"id": "benchmark-design",
"path": "references/benchmark-design.md",
"purpose": "Define state manifests, information boundaries, leakage-aware splits, controls, and prediction units.",
"read_when": ["building a docking benchmark", "defining a pocket", "creating train/test splits"],
"required_before": ["benchmark-construction", "pocket-definition", "split-construction"],
"search_patterns": ["## Information boundary", "## Splits", "## Controls"],
"authority": "repository-contract",
"version": "1",
"evidence_boundary": "Defines benchmark validity; it does not show that a docking engine performs well."
},
{
"id": "metric-and-acceptance",
"path": "references/metric-and-acceptance.md",
"purpose": "Prespecify pose, screening, calibration, uncertainty, threshold, and failure metrics.",
"read_when": ["computing docking metrics", "setting acceptance thresholds", "calibrating scores"],
"required_before": ["metric-computation", "acceptance-decision", "score-calibration"],
"search_patterns": ["## Pose metrics", "## Screening metrics", "## Thresholds"],
"authority": "repository-contract",
"version": "1",
"evidence_boundary": "Metric definitions do not validate data splits, state preparation, or biological claims."
},
{
"id": "inference-boundaries",
"path": "references/inference-boundaries.md",
"purpose": "Keep pose, confidence, ranking, affinity, mechanism, and translational claims distinct.",
"read_when": ["writing docking conclusions", "claiming affinity or mechanism", "defining applicability or abstention"],
"required_before": ["docking-claim-synthesis", "affinity-claim", "mechanism-claim"],
"search_patterns": ["## Distinct outputs", "## Required external evidence", "## Claim downgrade"],
"authority": "repository-contract",
"version": "1",
"evidence_boundary": "Provides inference limits and does not supply assay or mechanistic evidence."
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Docking inference boundaries

Read before writing pose, ranking, affinity, selectivity, mechanism, or translational claims.

## Distinct outputs

Keep separate:

- generated pose;
- pose confidence;
- docking or rescoring value;
- ranking performance;
- predicted affinity;
- calibrated binding probability;
- experimental affinity;
- cellular or in vivo effect.

A favorable docking score is not experimental affinity. A plausible pose is not a mechanism. A benchmark average is not evidence for one target–ligand pair outside the benchmark domain.

## Required external evidence

Affinity claims require assay-aware evidence with units, relation qualifiers, endpoint, conditions, and uncertainty. Mechanism claims require orthogonal structural, biochemical, mutational, kinetic, or cellular evidence as appropriate.

## Applicability

Report target family, receptor states, ligand classes, microstates, covalent or metal chemistry, size and flexibility range, and training-overlap state. Keep unsupported cases exploratory or abstain.

## Claim downgrade

When essential support is absent, downgrade from mechanistic to pose hypothesis, from affinity to ranking hypothesis, from generalization to within-benchmark performance, or from supported to inconclusive.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Docking metrics and acceptance

Read before computing metrics, fixing thresholds, aggregating poses, or declaring a benchmark pass.

## Pose metrics

Report top-1 and top-k symmetry-aware heavy-atom RMSD, complete distributions, missing poses, and physical or chemical plausibility. Interaction recovery complements RMSD but does not replace geometry.

## Screening metrics

Use PR-AUC and prespecified enrichment metrics as primary measures when actives are rare. Report active/decoy counts, grouping, bootstrap intervals, and per-target results. ROC-AUC is secondary when class imbalance is material.

## Calibration and abstention

A score becomes a probability only after calibration on an appropriate held-out domain. Report reliability, Brier or log loss when relevant, subgroup calibration, and an abstention rule for unsupported chemical or target space.

## Thresholds

Fix metric, direction, threshold, confidence interval method, aggregation, exclusions, and subgroup requirements before inspecting held-out outcomes. Process completion is not an acceptance pass.

## Failure taxonomy

Distinguish preparation failure, unsupported chemistry, engine failure, no pose, invalid pose, geometric failure, interaction failure, ranking failure, calibration failure, and leakage invalidation.
6 changes: 6 additions & 0 deletions authored-skills/literature-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ license: MIT

Use this conductor when the deliverable is an auditable body-of-evidence synthesis rather than a citation list or list of papers. Discovery tools retrieve records; this skill owns the protocol, eligibility, study identity, extraction, dependency graph, synthesis boundary, update diff, and review handoff.

## Reference usage

Before protocol freeze, study deduplication, or replication assessment, read [protocol and study identity](references/protocol-and-study-identity.md). Before structured extraction, risk-of-bias assessment, or claim-level evidence assertions, read [extraction and bias](references/extraction-and-bias.md). Before advancing a cutoff or replacing a reviewed snapshot, read [living update](references/living-update.md).

Do not infer identifier relationships, extraction fields, bias judgments, or update invalidation rules from a record title. Save material reference use and SHA-256 values in a `reference-use-ledger`.

## Decision contract

Before retrieval, record:
Expand Down
35 changes: 35 additions & 0 deletions authored-skills/literature-review/quality.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"schema_version": 1,
"skill": "literature-review",
"roles": ["conductor", "analyzer"],
"declared_maturity": "L4",
"output_schemas": [
"literature-protocol-v1",
"query-ledger-v1",
"study-table-v1",
"study-family-v1",
"risk-of-bias-v1",
"claim-register-v1",
"evidence-graph-v2",
"literature-snapshot-v1-v2"
],
"acceptance_fixtures": [
"examples/literature-review-reviewed-run/manifest.json",
"examples/literature-review-reviewed-run/snapshot.previous.json",
"examples/literature-review-reviewed-run/snapshot.current.json"
],
"seeded_failures": [
"duplicate-study-identity",
"citation-mismatch",
"unsupported-conclusion",
"dependent-evidence-presented-as-replication"
],
"test_files": [
"tests/test_evidence_sidecars.py",
"tests/test_collaboration_literature_v2.py"
],
"limitations": [
"The checked-in reviewed run is a deterministic fixture rather than a live systematic-review conclusion.",
"Full-text licensing and source availability remain publication-specific."
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Structured extraction and risk of bias

Read before constructing the study table, effect extraction, risk-of-bias record, or claim-level evidence assertion.

## Minimum study row

Record, where applicable:

- namespaced identifiers and study family;
- publication state, funding, and conflicts;
- design, setting, population or system, sample unit, sample size, and eligibility;
- intervention or exposure, comparator, endpoint, follow-up, and attrition;
- assay, preprocessing, model, covariates, missing-data handling, multiplicity correction, and protocol deviations;
- effect measure, estimate, interval, unit, denominator, and exact source locator;
- prespecified versus post-hoc status;
- supported and contradicted claim IDs;
- independence group and source dependencies.

Do not infer missing methods, denominators, estimates, or uncertainty from an abstract or portal summary.

## Risk-of-bias record

Each record contains:

```json
{
"schema_version": 1,
"study_id": "study-1",
"instrument": "RoB 2 / ROBINS-I / domain-specific instrument",
"domains": [
{
"name": "selection",
"judgment": "low | some-concerns | high | unclear | not-applicable",
"rationale": "source-grounded reason"
}
],
"overall_judgment": "..."
}
```

A numeric summary score cannot replace domain judgments. The overall judgment cannot be more favorable than an essential high-risk domain without an explicit rationale.

## Evidence assertion

A material assertion should identify polarity, effect direction, effect measure, estimate and interval, population or system, exact source locator, independence group, and risk-of-bias reference. Citation presence alone is not sufficient.
40 changes: 40 additions & 0 deletions authored-skills/literature-review/references/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"schema_version": 1,
"skill": "literature-review",
"default_policy": "load-minimum-required",
"references": [
{
"id": "protocol-and-study-identity",
"path": "references/protocol-and-study-identity.md",
"purpose": "Freeze the review protocol, normalize identifiers, resolve publication versions, and determine evidence independence.",
"read_when": ["freezing eligibility", "deduplicating studies", "resolving preprints, corrections, or registries"],
"required_before": ["protocol-freeze", "study-deduplication", "replication-assessment"],
"search_patterns": ["## Protocol freeze", "## Study-family resolution", "## Independence"],
"authority": "repository-contract",
"version": "1",
"evidence_boundary": "Defines review procedure; actual study records remain the evidence."
},
{
"id": "extraction-and-bias",
"path": "references/extraction-and-bias.md",
"purpose": "Construct study rows, effect assertions, source locators, and explicit risk-of-bias records.",
"read_when": ["extracting studies", "grading risk of bias", "writing claim-level evidence assertions"],
"required_before": ["structured-extraction", "risk-of-bias-assessment", "evidence-assertion"],
"search_patterns": ["## Minimum study row", "## Risk-of-bias record", "## Evidence assertion"],
"authority": "repository-contract",
"version": "1",
"evidence_boundary": "Does not supply missing study values or replace primary-source verification."
},
{
"id": "living-update",
"path": "references/living-update.md",
"purpose": "Advance a literature snapshot without overwriting prior evidence or reusing stale review receipts.",
"read_when": ["running living-update mode", "changing an evidence cutoff", "replacing a reviewed synthesis"],
"required_before": ["living-review-update", "review-snapshot-replacement"],
"search_patterns": ["## Immutable snapshots", "## Update diff", "## Invalidation"],
"authority": "repository-contract",
"version": "1",
"evidence_boundary": "Controls update lineage; it does not establish that new evidence changes a claim."
}
]
}
33 changes: 33 additions & 0 deletions authored-skills/literature-review/references/living-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Living review updates

Read before advancing an evidence cutoff, replacing a reviewed synthesis, or reusing a prior review receipt.

## Immutable snapshots

Preserve the prior protocol, exact queries, source releases, included and excluded studies, study-family mapping, claim register, and reviewed report. Create a new snapshot rather than editing the old one.

## Update diff

Compare:

- query additions, removals, and changes;
- source availability or release changes;
- added, removed, and modified studies;
- publication-version, correction, and retraction changes;
- eligibility decisions;
- risk-of-bias changes;
- claim status, confidence, and applicability changes.

Use:

```bash
python scripts/diff_literature_review.py previous.json current.json --output diff.json
```

## Invalidation

Invalidate the previous review receipt when covered queries, source snapshots, study table, evidence graph, extraction, claim register, or report bytes change. A narrative that appears unchanged still requires re-review when its evidence dependencies changed.

## Stop rule

Stop the update when every source has reached the declared cutoff, pagination is complete or explicitly bounded, unresolved study identities are visible, and claim-level changes have been reviewed. Source failure is unavailable evidence, not a negative study.
Loading