Cordis Socrates
cordis-socrates is the optional boundary-review plugin for CORDIS Goal Mode.
It asks an injected model to inspect a validated task and returns a small,
machine-checkable boundary review. It does not execute tools, grant
permissions, mutate Core memory, or replace the planner.
The two user-facing switches remain separate:
Goal Mode -> Socrates is required to review goal, scope, capability,
permissions, evidence, and whether a planner is required.
Plan Mode -> the host invokes cordis-planner and submits PlanIR to Runtime.
planner_enabled is part of the Socrates request. A high-complexity or
high-impact goal can produce the hard route needs_planner; turning the
planner off cannot silently bypass that requirement. CordisGoalMode returns
one of direct, plan, clarify, approval, or enable_planner, plus a
compact model_context that the host passes to its main model or planner.
The model is supplied by the host:
from cordis_socrates import CordisSocrates
reviewer = CordisSocrates(model=lambda request: provider.generate(request["prompt"]))
review = reviewer.review(
task=task_contract,
difficulty=difficulty_profile,
cognitive_ir=core_ir,
planner_enabled=True,
)
The result is a cordis.boundary-review.v1 object. Runtime/host policy must
enforce its route; Socrates never claims that an action was executed.
Metadata
Release files for cordis-socrates 0.5.1
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 |
|---|---|---|---|---|
| cordis_socrates-0.5.1.tar.gz | 7.5 kB | Without provenance | Details for cordis_socrates-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cordis_socrates-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for cordis_socrates-0.5.1-py3-none-any.whl |
Total release size: 14.2 kB
Release files / cordis_socrates-0.5.1.tar.gz
| Download URL | cordis_socrates-0.5.1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
788038fb70ef76c4b7a32ff6ae13fd3c72bc8db5eef22bc8cb95740a73d43972
|
|
BLAKE2b-256 checksum How to use checksums |
3f7e540122cba1e3df0f023d6ba0c7b2cda2d496c8bdaf85e9794e09c22e8a5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / cordis_socrates-0.5.1-py3-none-any.whl
| Download URL | cordis_socrates-0.5.1-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d5a872d8dca1f00941e344126c68ae81f6d03da971d96faa49031ef6d371a27
|
|
BLAKE2b-256 checksum How to use checksums |
56af0507fe3d878b1b7512771c280e8062b573d10ee65f28854c824bcc3f5761
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for cordis-socrates 0.5.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.