openadapt-kernel
Minimal, self-contained runtime kernel (< 3,200 LOC, zero openadapt-flow dependencies, zero per-app code) implementing commit-boundary verification, cross-rail read-back, reversible occlusion probing, online ACI calibration, macro staging, stepwise live-DOM healing, and shadow-to-autopilot execution:
- Default-Deny Obligation, Capability, and Saga Ledger (
ledger.py): Episodes startUNVERIFIEDand emitVERIFIEDonly when every obligation has an independent post-commit read-back proof and zero dirty form buffers remain. Step-limit timeouts, crashes, and unverified exits deterministically returnESCALATED. Carries both cross-screen<MANDATORY_CONSTRAINTS>and<VERIFIED_CAPABILITIES>(user consent and SSA opaque-ID provenance), with durable Saga checkpointing across multi-system workflows. - Wire and DOM-Effect Commit Interceptor (
interceptor.py): Detects commits from actual network mutations (POST,PUT,PATCH,DELETE) or non-empty dirty form submissions instead of button-label regexes. Excludes search/filter inputs from dirty buffers and escapes escalation payloads safely. - Full-DOM Macro Staging and Stepwise Live-DOM Healer (
macro.py): Extracts all interactive controls across the full scrollable page (observe_schema), fills an entire form in one pre-commit batch with SSA provenance enforcement (stage_form), and heals drifted UI plans step-by-step against the live mounted DOM (handling modals and dialogs that only exist after earlier clicks). - Cross-Rail Read-Back Oracles (
oracles.py): Independent read-only SQLite queries (mode=ro), pure-stdlib PDF content-stream extraction (filtering3 Tr/7 Trinvisible text), and multi-tab / fresh-reload DOM verification. - Reversible Pre-Click Probe & Online ACI Calibration (
probe.py,aci.py): Hit-tests commit controls viaelementsFromPointplus an 80ms hover/focus probe to block transparent-overlay click-jacking (probe_before_click), and calibrates anomaly thresholds across shifting UI themes viaSessionStartNormalizerand Gibbs-CandesOnlineACICalibrator. - Shadow-to-Autopilot, 4-Mutant Offline Qualification, Micro-Handoff, Live Runner, and MCP Server (
copilot.py,extension_bridge.py,runner.py,mcp_server.py,cli.py): Induces zero-PIIPortalPackspecs from live Chrome Co-Pilotextension_evidence.jsonlrecordings, qualifies verifiers offline against four counterfactual mutants (zero staging DB), runsDraft-to-CommitorVerified Autopilotacross main and child popup windows via Playwright or--cdp-url, signsopenadapt.kernel.receipt/v1Ed25519 receipts, and serves tools over stdio JSON-RPC 2.0 MCP.
CLI Quickstart
openadapt-kernel shadow-sync --dir ./recordings --pack-id portal-v1 --out pack.json
openadapt-kernel qualify --pack pack.json --evidence ./recordings/run_1/extension_evidence.jsonl
openadapt-kernel keygen --priv priv.pem --pub pub.pem
openadapt-kernel run --pack pack.json --dossier dossier.json --mode draft --cdp-url http://127.0.0.1:9222
openadapt-kernel run --pack pack.json --dossier dossier.json --mode autopilot --url https://portal.example --commit-selector '[data-testid="submit-btn"]' --priv priv.pem --receipt-out receipt.json
openadapt-kernel verify-receipt --receipt receipt.json --pub pub.pem
openadapt-kernel serve-mcp
Metadata
Release files for openadapt-kernel 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openadapt_kernel-0.1.0.tar.gz | 104.0 kB | With provenance | Details for openadapt_kernel-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openadapt_kernel-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for openadapt_kernel-0.1.0-py3-none-any.whl |
Total release size: 147.5 kB
Release files / openadapt_kernel-0.1.0.tar.gz
| Download URL | openadapt_kernel-0.1.0.tar.gz |
|---|---|
| Size | 104.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0b485463a71b5bd318ec72e8d88596969bdb7b33a2d53fba4172dc7d41684c2
|
|
BLAKE2b-256 checksum How to use checksums |
ab03c8ffc09f2c491c3c07607dd00d663c4af5c9d3e1f0a9d8a143152190a381
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logRelease files / openadapt_kernel-0.1.0-py3-none-any.whl
| Download URL | openadapt_kernel-0.1.0-py3-none-any.whl |
|---|---|
| Size | 43.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5d745b27105b4ca7efd805d6e3fd1e0c8814e522e48239499ce5d26c06939f3
|
|
BLAKE2b-256 checksum How to use checksums |
541b46f7ace29915760d41ff59a22b93071da5b350a7ec809bf456ec101cfdce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logSecurity for openadapt-kernel 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for openadapt_kernel-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.