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.
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 cordis_socrates-0.5.0.tar.gz.
File metadata
- Download URL: cordis_socrates-0.5.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43fd8f17286ee4354255af5438b925c6da5e9f3774faace9791ee22f59e92469
|
|
| MD5 |
7a8b6610dd8c659fd179603784d03756
|
|
| BLAKE2b-256 |
212e3ae53323b45d5eef1ff2a17474dac36fbbe2fb93d7a71a9b0fb26dedf0ed
|
File details
Details for the file cordis_socrates-0.5.0-py3-none-any.whl.
File metadata
- Download URL: cordis_socrates-0.5.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70d488b23d1c3aac44d1e8a8538ae7c92d8a1403a5712c3d8758f03185393916
|
|
| MD5 |
e071883edac7ac4da45b28ee9fa1ec65
|
|
| BLAKE2b-256 |
700cb863833755252259d4061013d7c93fab2bf178a73f5faf3e1630d4dc4259
|