coreason-scribe
Project description
coreason-scribe
The "Compliance Officer in a Box" | Unified GxP Documentation Engine
Executive Summary
coreason-scribe is the GxP documentation automation engine for the CoReason ecosystem. It addresses the "Validation Gap" where documentation inevitably drifts from code.
By treating Documentation as Code, coreason-scribe parses your agent's logic, uses AI to generate human-readable summaries (System Design Specifications), enforces Risk-Based Traceability (Requirements ↔ Tests), and facilitates a rigorous "Draft-Review-Sign" workflow. It ensures that no release is published without a cryptographically signed artifact proving it meets all requirements.
Core Philosophy: "Code is Truth. AI Drafts. Humans Ratify. Diffs Reveal Risk."
- AI as the Drafter: Scans Python AST and generates plain-English business logic summaries.
- Risk-Based Traceability: Enforces 100% test coverage for High Risk features.
- Semantic Delta: Surfaces logical drift between versions, not just line-by-line diffs.
- 21 CFR Part 11 Signatures: Requires cryptographic signatures for release certification.
Getting Started
Prerequisites
- Python 3.12+
- Poetry
Installation
poetry install
Basic Usage
Generate a draft SDS from your source code:
poetry run python -m coreason_scribe.main draft \
--source ./src \
--output ./build \
--version "0.1.0"
Run a compliance check (CI/CD Gate):
poetry run python -m coreason_scribe.main check \
--agent-yaml ./agent.yaml \
--assay-report ./assay_report.json
For detailed instructions, see the Usage Guide.
Documentation
Development
This project follows a strict iterative, atomic, test-driven development protocol.
- Linting:
poetry run pre-commit run --all-files - Testing:
poetry run pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coreason_scribe-0.2.0.tar.gz.
File metadata
- Download URL: coreason_scribe-0.2.0.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
825dd9761375bed3d6f7c57c9aac03c0db73423029b6df21d3280b5cdfcef5ef
|
|
| MD5 |
304fcdb2810286976c9e3df4c88edab9
|
|
| BLAKE2b-256 |
d3a4c23fef7c1264ae3e6b3c3a892127b05a10c02748720b257857ab19038732
|
Provenance
The following attestation bundles were made for coreason_scribe-0.2.0.tar.gz:
Publisher:
publish.yml on CoReason-AI/coreason-scribe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coreason_scribe-0.2.0.tar.gz -
Subject digest:
825dd9761375bed3d6f7c57c9aac03c0db73423029b6df21d3280b5cdfcef5ef - Sigstore transparency entry: 833814812
- Sigstore integration time:
-
Permalink:
CoReason-AI/coreason-scribe@23cafc72af4e197d49684e2ccc5d9da868cea29a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/CoReason-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@23cafc72af4e197d49684e2ccc5d9da868cea29a -
Trigger Event:
release
-
Statement type:
File details
Details for the file coreason_scribe-0.2.0-py3-none-any.whl.
File metadata
- Download URL: coreason_scribe-0.2.0-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8291cf1a6b0234f9c99bd894b06adab32cba7e6dc28da5c1918c496fd525544
|
|
| MD5 |
82ca4abd908805bfeb40befc6ecc4a3b
|
|
| BLAKE2b-256 |
94335d998fbf089d615d9854be8574c605807d6c537add8f0f1cba5de2368635
|
Provenance
The following attestation bundles were made for coreason_scribe-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on CoReason-AI/coreason-scribe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coreason_scribe-0.2.0-py3-none-any.whl -
Subject digest:
a8291cf1a6b0234f9c99bd894b06adab32cba7e6dc28da5c1918c496fd525544 - Sigstore transparency entry: 833814813
- Sigstore integration time:
-
Permalink:
CoReason-AI/coreason-scribe@23cafc72af4e197d49684e2ccc5d9da868cea29a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/CoReason-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@23cafc72af4e197d49684e2ccc5d9da868cea29a -
Trigger Event:
release
-
Statement type: