Skip to content

docs(design): agentic automation — scheduler, profiles, skills, secrets and plugins - #602

Merged
ajianaz merged 15 commits into
developfrom
docs/agentic-automation-design
Nov 11, 2026
Merged

ajianaz merged 15 commits into
developfrom
docs/agentic-automation-design

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

What

Design notes and a new epics track for turning tole into a safe agent-automation harness: scheduler/cron/webhooks, dormant profiles with delegation and model routing, skills retrieved by meaning, secret handling at every egress sink, and third-party plugin controls. Documentation only; no code changes.

Why

Owner discussion 2026-11-11 after a competitor audit (OpenClaw, Hermes, Grok Bot, Nakama) and review of their failure modes (Hermes #9086/#105861, OpenClaw security and cost reports, MCP tool poisoning, malicious skills). The decisions need to live in the repo before implementation starts. This PR closes no issue; it is the reference for epics #577, #583, #589 and #594 (issues #576, #578-#601).

Changes

  • docs/automation-design.md: cron, scheduler, webhooks; problem → guardrail table; append-only ledger; time zones; unattended approvals.
  • docs/profiles-collaboration-secrets.md: dormant profiles under one orchestrator, delegation caps, multi-round discussion with a sanitizer, model tiers and routing, advisor, decisions and validation.
  • docs/skills-registry-design.md: top-K skill recall, owner-approved hashes, propose-only growth with meaning dedup, curator, uteke OSS split.
  • docs/secrets-integrations-design.md: secret inventory, SecretSet, redacted session log, scoped release.
  • docs/third-party-plugins-design.md: MCP servers and skills only, lockfile with tool-manifest hash, rug-pull guard, external sandbox, trust tiers.
  • docs/epics.md: new Track E linking the four epics and their issues.

Testing

  • Documentation only: no .rs, config or workflow file changed (git diff --stat origin/develop..HEAD: 6 files under docs/).
  • Relative links in the changed docs resolve (checked with a script, 0 broken).
  • Branch rebased on current develop; the attribution grep from AGENTS.md section 2 prints nothing for the branch commits.
  • CI green and a real Cora verdict on the PR (merge gate in AGENTS.md).

Related Issues

Epics #577, #583, #589, #594; uteke OSS follow-ups codecoradev/uteke#1730, #1731, #1732.

Checklist

  • Branch name follows convention (docs/)
  • Branch is from develop
  • Commit messages follow Conventional Commits
  • No secrets or credentials committed
  • One logical change per PR (design docs for one initiative)

Proposal only: problem-to-guardrail reference from competitor failures,
append-only job log, at-most-once claim, unattended approval rules,
webhook routes on tole serve, and phasing.
Explicit per-job timezone with a configurable zone source (system TZif,
bundled feature, offset-only) and defined DST semantics. Size and LOC
become reported metrics, not merge gates.
…et isolation

Evidence on when multi-agent pays off, where uteke rooms fit versus a
durable task ledger shared with cron, and layered controls to keep
secrets out of the model's context.
Record the owner's direction (one always-on orchestrator, dormant
profiles, depth two, live and writer caps) with the invariants that keep
it safe, and what to adopt from BMAD party mode.
…th sanitizer

Record round-2 owner decisions: no count cap (budget is the limiter),
depth 2 default with every level able to write under isolation and
mandatory reports, and a ledger-driven discussion loop with a two-pass
sanitizer, a stop gate and hierarchical uteke documents.
Record defaults (4 rounds, cheap scribe), what laya-service offers, the
routing evidence including its failure modes, and a rule-baseline router
with laya as an optional, eval-gated adapter.
…alidation

Record round-3 decisions with the checks behind them: the Rust image is
binary-only (checkpoint mounted), the existing systemone env gating is the
on/off switch, Anthropic's advisor tool needs a host-side equivalent, and
the uteke CLI already supports --parent. List two conflicts with earlier
recorded context for the owner to resolve.
…ler placement

The budget carve replaces the earlier depth-1, no-uncapped-multi-agent
stance, and the scheduler stays inside tole instead of a separate
repository.
Pinned core plus top-K recall by meaning, owner-approved content hashes
as the trust anchor, and a propose-gate-promote loop with provenance,
taint and meaning-dedup, grounded in SkillsBench, tool-search and
SkillJack results.
Record K and growth decisions, what uteke OSS already provides, a
personal-library-in-OSS versus registry-in-Cloud split behind a
SkillIndex seam, similarity bands that propose patch/reference/new with
contradiction checks, and the Hermes curator lessons to adopt.
… own integrations

Record the round-3 skill decisions (start on uteke doc, open-core split,
document similarity, curator on by default) with drafted uteke issues,
and add an inventory of every secret tole's own integrations use, the
egress sinks that leak them, and a SecretSet design with known-value
and shape detectors, scoped release, and log-at-rest options.
Install flow with full-description display, scanning, owner approval
and a lockfile pinning version, integrity and tool-manifest hash;
rug-pull guard, per-plugin secret grants, optional sandbox wrapper,
trust tiers, lazy start and revoke, grounded in tool-poisoning,
postmark-mcp and agent-sandbox measurements.
… issues

Add epics #577, #583, #589 and #594 with issues #576 and #578-#601 to
docs/epics.md, and record the third-party plugin decisions.
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 64cca14 into develop Nov 11, 2026
19 of 20 checks passed
@ajianaz
ajianaz deleted the docs/agentic-automation-design branch November 20, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants