Skip to main content

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

cordis_socrates-0.4.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cordis_socrates-0.4.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file cordis_socrates-0.4.0.tar.gz.

File metadata

  • Download URL: cordis_socrates-0.4.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for cordis_socrates-0.4.0.tar.gz
Algorithm Hash digest
SHA256 35cea4e88328d617c4ee5477cad8c6f23c0f511819d5eb633d601adb11129089
MD5 8d071f195614f5125e59a628f433e3a9
BLAKE2b-256 32b7eef7f8ab4f025eb15417a19ab0af949057d60845d494af758e7da13f86f0

See more details on using hashes here.

File details

Details for the file cordis_socrates-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cordis_socrates-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae40c2e89e891d7025ebe25d63f9625905f196e6ffe2fa52981fe3ea7bcf908
MD5 073cd5c272f61afe2b16e64b7202b25c
BLAKE2b-256 9abba4ee015ee77e181f6032b3e03200d0b479502fa98fc506800a75408cc4b5

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.1

2 files

0.5.0

2 files

This release

0.4.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page