CTT — Complete The Tasks
Help Hermes finish what it starts.
CTT gives Hermes a clear path from your request to a checked result. It breaks
bigger jobs into manageable steps, saves progress, and checks the actual output
before calling a task done. When a useful lesson emerges, it can propose a
reusable improvement—with checks and review before it is added.
- Keep work on track: follow clear steps instead of juggling the whole job at once.
- Pick up where work stopped: save progress and keep unfinished actions visible.
- Check the result: use real files and test results, not just the agent's word.
- Build on useful lessons: review and test reusable improvements without rewriting the core.
Version 3.0.0 keeps everyday chat lightweight and loads detailed guidance
only when the next step needs it. The technical design is explained below.
Catalog status. This is the source distribution for CTT 3.0.0.
Catalog installation by name is available only after a Hermes maintainer
reviews and merges the pinned entry. A submission is not approval.
Compatibility snapshot
| Field | Value |
|---|---|
| Plugin version | 3.0.0 |
requires_hermes | >=0.23.2 — a SemVer floor, not a CalVer date |
| Author / maintainer | kalice-vi |
| Tools | ctt_task, ctt_context, ctt_workflow |
| Hooks | pre_llm_call, subagent_start, pre_tool_call, post_tool_call, transform_tool_result |
| Python dependencies | none — standard library only |
| Platforms | Linux, macOS, Windows |
| License | MIT; see THIRD_PARTY_NOTICES.md |
Optional host capability: public PluginContext.turn_origin(). When available,
CTT uses host-owned metadata to distinguish process/delegation notices from ordinary
intake. Text prefixes and hook kwargs never authenticate notices. Missing, failing or
malformed accessors mean unknown provenance, not a plugin compatibility failure:
intake, tools, observations and subagents remain operational on supported older hosts.
No Hermes update or local host patch is required for this feature.
Principles
- Evidence over labels. Geometry, tests and observed tool results decide a claim;
a checkpoint, status read, model self-report or successful write does not. - Narrow loading. One gate, one tier, one menu page, one workflow page and one
node at a time. Guides are progressive and loaded on demand; the full workflow is
never flattened into a prompt. - Main-owned discovery. After artifact verification the main model reviews the
actual instructions, work and possible reuse. Native fit is an optional, explicitly
attributed metadata compare, never a silent relabel. - Bounded learning. At most one candidate per task, hash-idempotent, privacy-
refusing and validated by observed checks before activation. Shipped core is
immutable; changes are proposals for independent review. - Honest metrics. Byte/step/page figures are completion metrics, not measured
savings or automatic optimality. Absent credentials or provenance are reported,
never fabricated.
Architecture — the pyramid
CTT narrows the work at each layer instead of presenting the whole decision
space to the model at once.
flowchart TD
A[Turn arrives] --> B{Ordinary chat or self-contained answer?}
B -- yes --> C[Answer directly - no CTT task]
B -- no --> D[Admitted task: use supplied handle]
D --> E[Real Gate - typed Decision receipt]
E --> F{Usable NEW or CONTINUE?}
F -- no --> X[Report unavailable or uncertain - do not route]
F -- yes --> G[Deterministic Router - upward only]
G --> H[Lite]
G --> I[Standard]
G --> J[Controlled]
H --> K[Workflow Gate - root family to children to niche]
I --> K
J --> K
K --> L[Progressive pages]
The tier router can escalate on research, ambiguity, verification failure or risk;
it never relabels work to finish cheaply.
1. Admission
Ordinary conversation, thanks, and self-contained questions that need no
research, live state, artifact or action are answered directly. Mixed
greeting-plus-task requests, attachments, contextual requests, unknown input
and anything with risk stay admitted. A runtime-supplied task handle is used as
given; a second ad-hoc state is never created.
2. Intake Gate
An admitted task runs a real Gate through the Decision adapter: typed closed
options, a durable receipt, and zero generated rationale. Failed,
uncertain or low-confidence Gate results do not authorize routing and are
never presented as a successful selection. Private goal text is not uploaded
to classify the task; only a small sanitized feature contract is sent by
default.
3. Tier Router
Routing is deterministic and code-owned. It selects Lite, Standard or
Controlled and can only escalate. New research, ambiguity, verification
failure or risk moves a task upward; it never relabels work to finish cheaply.
Lite uses observed checks and deterministic close; Standard and Controlled
retain real Verify and Close decisions. Controlled adds authority checkpoints
— it is not a grant of permission and not a universal tool firewall.
4. Hierarchical Workflow Gate
After the tier is fixed, a semantic Workflow Gate chooses one of up to ten
root families (app development, marketing, research, data processing,
accounting, documents, operations, education, creative, general). The chosen
family exposes its own children, and niche gates are used only where useful.
Every family also ships its own generic workflow as the stop/fallback path.
A singleton eligible choice is deterministic and records no inference receipt.
The full tree is never flattened into one prompt. A workflow choice is accepted
only when backed by a valid receipt bound to the exact menu and goal/tier
revision.
5. One page, one node
All workflow source lives in the plugin tree:
nodes/— one shared material pool. A node directory holdsnode.json,
guide.mdand optional reviewable scripts, tools or skill source. Node IDs
are stable and deduplicated. Bundled nodes cover contract, research, design,
build, debugging, API mapping, marketing, source analysis, data
transform/reconciliation, test, review, reflection and delivery.workflows/— a compactregistry.json, gates as small JSON sibling menus,
and one directory per workflow containingworkflow.jsonplus one page
JSON per step. A page carriesnode_idandnext; instructions live in
the node and are never repeated across pages.
The engine loads only the current siblings, current page and current node.
flowchart TD
M[menu: current gate only] --> S[select: exact menu receipt]
S --> P[page: one node and content hash]
P --> W[Do page work with real tools]
W --> N[next: observed post-page source ID]
N --> P
N --> V[Final page: fresh delivery observation]
Depth and branching are bounded; cycles, unreachable pages, dangling IDs and
path traversal / symlinks are rejected, and every path has a finite stop.
Deterministic next cannot skip pages; current content hashes and observed
completion-source IDs are checked before advancing. Completion observations
must be successful, newer than the current page read and unique across pages.
6. Verify
A checkpoint is neither proof nor rollback. Verification requires actual
checks whose verdicts reference observed tool results. An untested requirement
is a blocking gap. A later edit to a tested artifact invalidates the earlier
verdict and the checks must be run again on the exact final file. A successful
read, write or status query is not a validation check: execute assertions or
return a structured behavior-validation verdict. Successful execution alone
does not prove semantic coverage.
7. Fit and learning
flowchart TD
AV[Artifact work] --> V[Verify - source-linked checks and current pass]
V --> R[Main review - typed keep / improve / create_child / core_proposal]
R --> Q[Targeted research when useful - license, version, deps, tests]
Q --> PR[propose - hash-bound candidate]
PR --> CV[Validation - two observed checks plus independent candidate test]
CV --> AC[activate or retain the proposal]
R -. optional explicit metadata compare .-> NF[native fit - completion metrics only]
Artifact checks and process learning stay separate: a review never replaces a
check, and a completion metric is not a measured saving.
After current artifact verification, the main model reviews the actual guides,
execution and reuse opportunities. It records keep, improve, create_child
or core_proposal with a bounded rationale and observed findings. Native
reflect remains an optional, separately attributed metadata assessment; an
uncertain native result is never silently relabeled. Review is not an inference
receipt. At most one candidate per task is frozen; reused node bytes are bound
to the same candidate hash. Unrelated catalog growth does not invalidate the
selected material.
- Discover before comparing. Inspect clarity, omitted cases and repeated work.
Research existing skills or external source only for a concrete opportunity;
inspect license, pinned version, dependencies and behavior before reuse. - Small changes count. A passive prompt refinement is a valid candidate.
Candidate metrics compare actual old/new material. Completed-page totals are
completion metrics, not savings or a quality benchmark. - Validate exact bytes. Promotion needs two distinct observed checks plus a
candidate-bound independent test. A quality-gain path may accept a larger guide
when matching integer coverage observations improve and regressions remain zero.
Any observed behavioral regression blocks activation even for shorter text. - Keep core immutable. Learned material uses local
nodes/learned-*and
workflows/learned-*; it is excluded from public packages. Core changes produce
a reviewable proposal, never an in-place update. Executable source is prepared,
not automatically executed or activated. - Keep authority bounded. An identical review is idempotent. After candidate
checks invalidate artifact verification, rerun artifact checks and explicitly
rebind the unchanged review to fresh Verify. A reviewer label is recorded
provenance, not proof of actual independence; use a separate substantive reviewer.
See the on-demand learning reference.
8. Close
Runtime records done, partial or blocked from current verification and the
selected tier's decision requirements. Done requires completed pages, a current
review/fit, no unresolved operations and any selected improvement's validated
activation or core proposal. A latest partial/blocked/uncertain verdict is never
overridden. A retained, unvalidated improvement remains partial, not done.
Privacy, credentials and disclosures
- Zero-key installation. The plugin loads without credentials. Live typed
Decisions requireGEMINI_API_KEYorGOOGLE_API_KEYthrough Hermes's managed
profile secret scope; unavailable entitlement/quota is reported, not fabricated. - Network. Native Decisions call Google's API with sanitized fixed-label
features by default. Private/unknown context selection remains local. An
explicitly configured host fallback is separately attributed and requires review.
Main-owned review and deterministic singleton routing add no Decision inference. - Reads. Hooks receive task/tool context, read bundled nodes and workflows,
and may discover skill descriptions through the host. Plugin runtime does not
open credential files, browser profiles, keychains or other token stores. - Writes. Journals and receipts use the active profile's
plugin-data/ctt.
Validated passive learning writes bounded local learned node/workflow source.
It does not replace reviewed shipped core or fetch a self-update. - Execution. Guides use ordinary host-approved tools. No daemon, cron job,
telemetry, auto-approval, runtime core override or autonomous candidate execution
is installed. Host/user permissions remain authoritative. - Distribution. Only allowlisted reviewable source, static manifests, licenses
and English documentation are public. Runtime metadata, private learned source,
receipts, personal/business data, caches and secrets are excluded and scanned. - Origin fallback. Without optional
turn_origin(), admitted turns preserve
the active task. For genuinely separate work use
ctt_task(action="begin", force_new=true, goal="..."). Unknown notification
text does not authenticate an exemption. A callable accessor returningNone
means no tagged machinery origin, not authenticated human input.
Setup
For AI agents: installation and operation README.
Development / local install (available now)
-
Clone the source repository:
git clone https://github.com/kalice-vi/ctt.git cd ctt -
Validate with a Hermes that satisfies the numeric floor. The public
PluginContext.turn_origin()accessor is optional; check it with the installed
bundle's native status rather than patching the host:hermes plugins doctor . hermes plugins install . -
Optional: configure a provider key in the active Hermes profile using
Hermes's own secret settings. Do not place it in repository files.
Catalog install (planned, not yet available)
A single catalog entry plugin-catalog/ctt.yaml will be proposed to
NousResearch/hermes-agent with a full 40-character commit SHA. Installation
is by name (hermes plugins install ctt) only after a maintainer reviews and
merges that PR. Branches, tags and short SHAs are not valid pins. See
docs/catalog-submission.md.
Verify locally
python -m unittest discover -s tests -v
python scripts/validate_catalog.py --strict
python scripts/privacy_scan.py --include-tests
python scripts/package_source.py --check
python scripts/package_source.py --out dist/ctt-source.zip
The CI workflow runs the stdlib unit tests and these lightweight checks on
Linux and Windows. It deliberately does not run the full Hermes core suite.
Limits — what CTT does not claim
- No claim of automatic optimality. The tier router and workflow gate are
heuristics and typed decisions, not a proof that the chosen path is best. - No claim of guaranteed token savings. The architecture bounds what is loaded
per step; measured page/node/instruction-byte metrics are used only as local
fit evidence, not a universal efficiency promise. - No domain expertise is asserted for any workflow family. Families are
starting menus with a generic fallback. - Local candidates are not automatically promoted. Activation is gated by
observed evidence and can be refused. - Live model-gate behaviour, integration quality and end-to-end autonomy
require their own fresh tests; unit fixtures and memoized decisions do not
count as successful inference.
Repository hygiene
The repository is public-source only. It contains no private goals, cached
task data, session IDs, user paths, logs, evaluation reports or generated
metadata. scripts/privacy_scan.py rejects credential patterns and forbidden
file names; scripts/package_source.py builds a deterministic source-only ZIP
from an explicit allowlist. Local learned-* materials are never packaged.
Third-party design attributions are preserved in THIRD_PARTY_NOTICES.md.
License
MIT — see LICENSE. Third-party notices are in THIRD_PARTY_NOTICES.md.
README from the reviewed commit f81e67b; it updates when the author re-pins.

kalice-vi