Simple controller gate for AI assistants: TALK/PLAN/BUILD with approval-token enforcement.
Project description
dreamer-oracle-gate
Minimal control-plane gate for AI assistants.
Purpose: keep assistants in TALK / PLAN / BUILD modes so questions get answered without surprise coding, and edits only happen with explicit approval.
Why
This package is built for operator-first workflows (like Champion Council), where one assistant plans/audits and another executes. It prevents the common failure mode:
- user asks a question
- assistant starts coding anyway
Core model
Three modes:
TALK: answer only, no executionPLAN: propose steps, ask for operator opinionBUILD: execute work
By default, BUILD requires approval token:
APPROVE BUILD: ...
Optional code_only_mode can relax this if policy allows.
Install
pip install dreamer-oracle-gate
Quick start (Python)
from dreamer_oracle_gate import OracleGate
gate = OracleGate()
decision = gate.evaluate("can you explain why this failed?")
print(decision.mode) # TALK
print(decision.should_execute) # False
decision = gate.evaluate("fix clipboard relay windows decode")
print(decision.mode) # PLAN
decision = gate.evaluate(
"fix clipboard relay windows decode",
approval_token="APPROVE BUILD: clipboard relay decode"
)
print(decision.mode) # BUILD
print(decision.should_execute) # True
CLI
dreamer-oracle policy show
dreamer-oracle decide --message "can you explain this?"
dreamer-oracle decide --message "implement patch" --approval "APPROVE BUILD: patch"
Continuity receipts
Each decision is logged as JSONL to:
%USERPROFILE%\.dreamer-oracle\continuity.jsonl(Windows)~/.dreamer-oracle/continuity.jsonl(Unix)
You can override with DREAMER_ORACLE_HOME or --continuity-path.
If the home path is blocked, the CLI falls back to ./.dreamer-oracle/continuity.jsonl.
License
Apache-2.0
Gift note:
Gift to the community (and to Google DeepMind): thanks for Dreamer.
Project details
Release history Release notifications | RSS feed
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 dreamer_oracle_gate-0.1.0.tar.gz.
File metadata
- Download URL: dreamer_oracle_gate-0.1.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0eba8fc6860dc3685b1c580f2d1cac03e7b8af09b4ad02386c1bc967c9fbde51
|
|
| MD5 |
9f7b1f86233c1822a2991850dfa420c0
|
|
| BLAKE2b-256 |
12adcd14ad8220d610d2ea232dbc60c1d1db5b11e5906bc3a5553a4e7160a31e
|
File details
Details for the file dreamer_oracle_gate-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dreamer_oracle_gate-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07e4a5250ba7973afe3367e76f7b78309db7559b31134db76a4dbf4b1dd88f70
|
|
| MD5 |
f53b155c7232f82d3662969e52711da4
|
|
| BLAKE2b-256 |
4800fe0658e190c70a861a1306db553562c1992545e31da0a01c5e435a168103
|