Skip to content

WTF-P 0.8.1

Choose a tag to compare

@akougkas akougkas released this 08 Nov 21:39
· 154 commits to main since this release

Makes the Clio desk the reference implementation of WTF-P's author gates and
record contract on Clio Coder 0.6.3, which runs the desk on every host and
tells it where each call lands and what each dispatch starts. Both Clio
packages require Clio 0.6.3 and were checked on its release build; the desk
they replace was qualified on a pinned Clio 0.6.2 build, and the desk was
also checked on a Clio 0.7.0 build, which runs it under Node's permission
model. Antigravity CLI 1.5 stopped loading plugin commands, so the
Antigravity projection now ships each action as a skill. The other five host
projections change only where shared protocol text and action contracts
changed.

All seven hosts were requalified on the packed 0.8.1 candidate in disposable
profiles: Claude Code 2.1.319, Codex 0.163.0, Copilot CLI 1.0.107, OpenCode
1.19.5, Antigravity CLI 1.5.3, Gemini CLI 0.67.0, and a Clio Coder 0.7.0
pre-release build (8cbece81e). This release does not depend on a tagged Clio
0.7.0; on that pre-release, a headless clio-coder run can still report a
no-op error after a desk record write succeeded (see the known limitations in
docs/COMPATIBILITY.md). The integrated candidate run on a released Clio
(sprint item WFP-09) is deferred to a later release.

Added

  • wtfp.project.interaction/v1 records an author's answer as the host
    observed it: the checkpoint digest, the options offered and the subject
    artifact's SHA-256. The Clio desk seals each answer with an HMAC whose key
    stays in Clio's extension store, and counts a resolution as the author's only
    while a matching seal stands behind it; the seal is tamper evidence against
    workers and hand edits, not against the main agent, whose shell runs as the
    operator's user
  • Desk tools read_record (record, revision, SHA-256 and attestation) and
    readiness (gates, plan approval and evidence coverage for a section); the
    record tool takes writes to commit several records together
  • evaluation/lib/claim-coverage.js, shared by the desk and
    validate-planning.js --coverage: claims, evidence, sources, inspection
    depth and manuscript citation keys checked structurally
  • evaluation/v2: the clio-0.6.2-reference campaign and
    run-clio-campaign.js (plan, prepare, execute, collect)
  • The desk judges only the landing and dispatch plan Clio 0.6.3 sends each
    hook, never its own reading of a call: the file the tool opens, a worktree
    write at its checkout path, and each worker's resolved agent, cwd and
    physical write boundaries, checked again on the call the desk confines. A
    single worker is confined by a rewrite; a call that needs the operator's
    approval is refused with each worker's exact roots, since Clio admits a
    rewritten call afresh without that approval. A worker Clio reports
    read-only, such as a WTF-P reviewer, gets no roots, and the write guard no
    longer carries its own reviewer list. It refuses worktree writers in
    a WTF-P project, leaves a dispatch Clio could not prepare to Clio's own
    refusal, and outside a WTF-P project and action checks only that no WTF-P
    recipe runs outside its action. On a Clio that sends no facts, such as
    0.6.2, it refuses writes and dispatches inside a WTF-P project or action
  • On a campaign that pins Clio 0.6.3 or later, each step runs with the budget
    left as its --max-cost-usd ceiling, and a step Clio stops there is
    stopped-budget; campaigns on 0.6.2 keep enforcing the budget between steps
  • Clio prompts declare allowed-tools for their turn, from the Clio bindings
    of the action's capabilities, and delegated-tools for its workers, exactly
    what the delegated recipes declare; only the five actions that run the
    bundled citation dispatcher hold a shell, and none holds run_script, job,
    git or verify. Clio 0.6.3 narrows a template turn to them, so the Clio
    availability record now says actionScoped: true with surface
    clio:template-allowed-tools; Clio 0.6.2 ignores both fields
  • evaluation/lib/desk-trust.js, the one rule for whether a recorded answer is
    the author's, shared by the desk and the campaign collector
  • docs/PROPOSAL_WORKFLOW.md gives a recipe for comparing section drafts
    blind with clio-coder arena on Clio 0.7.0, with the scientist as the only
    judge

Changed

  • Breaking: both Clio packages require Clio Coder 0.6.3 (>=0.6.3), since
    the desk judges only the landing and dispatch plan Clio 0.6.3 sends each
    hook and the prompts scope their tools only from 0.6.3; Clio 0.6.2 refuses
    them
  • A plan is approved for drafting only by an author approve answer on a
    checkpoint scoped to that plan, given for its current bytes; linked plans are
    immutable and plan-revision links its plan only after approval
  • Record updates name the revision or SHA-256 they read and commit under a
    project lock; paired records are journaled so an interrupted write completes
  • Every Clio action arms the write guard from its declared outputs; WTF-P
    workers are dispatched only inside their action with confined write roots;
    turning a gate off waits for the author at the desk
  • The Clio write guard also covers artifact, run_script and job, and
    judges a path where Clio's tools land it; dispatch is parsed as Clio parses
    it, and no worker gets an empty, whole-workspace, record-covering or linked
    root, nor a cwd other than the project root
  • The desk declares read access to the whole workspace, so under Clio's
    runtime permissions it sees every link in the project; a path whose landing
    it cannot inspect is refused
  • Plan history is append-only, and re-pointing a manuscript, dropping an
    outline section, turning off a research, evidence or safety requirement, or
    stepping down the interaction mode waits for the author; on a plan gate the
    desk owns the wording of approve
  • A required claim with a contradiction on record, linked or not, is not ready
    to draft, and neither is an outline claim its section does not record; only
    records at their protocol files that pass their schema count, and reused
    claim ids support nothing; citations, in every LaTeX cite form too, must
    resolve to one verified source of the project
  • Campaign execute refuses any drift from what prepare bound, launcher and
    installed packages included, runs steps with Clio tool allowlists that hold
    no shell, script, job, git, verify or retrieval tool, and records
    per step the provider-reported models, the resolved thinking level, cost
    from Clio's sealed receipts by provenance, gate state and workspace digest;
    a gated step that raises no gate, or a headless step that adds an
    interaction record, never counts as completed, and an unfinished run exits
    non-zero; the desk's seal key is held in the runner's memory while steps
    run, every process a step leaves behind is stopped, and the whole Clio
    package root is bound; a program-running call is a policy violation, a step
    that changes the Clio configuration later steps load or leaves an unreadable
    worker receipt fails integrity, and prepare fails when an installed recipe
    declares a tool a step's workers may not hold; steps still run as the
    operator's user without an OS sandbox, and every run record says so
  • Clio reviewer recipes are Clio's read-only class instead of
    verification, so they no longer hold verify, whose checks run commands
    from files a writer could plant; they bind no skill, since Clio refuses a
    skill load in a read-only run
  • The capability docs now say the desk runs only in Clio's interactive
    sessions: Clio 0.6.2 loads no api 2 runtime in a headless run, so a
    campaign step runs without it
  • Seven action contracts now declare record writes their workflows already
    made; plan-section and write-section route missing evidence to research-gap
    through a checkpoint instead of running it inline
  • Clio playbook write boundaries project section artifacts to
    .planning/sections/
  • The skill-description test still requires each description to name when the
    skill activates, but no longer requires it to open with "This skill"
  • Five skill descriptions (wtfp-deliver-research, wtfp-plan-section,
    wtfp-research-literature, wtfp-review-manuscript, wtfp-write-section)
    name more of the requests they own. They came from a clio-coder research
    run on the routing corpus and were adopted only after they also held on 42
    held-out cases written without sight of them. Over three trials of a Clio
    routing probe, median held-out accuracy rose from 0.619 to 0.690 with
    negative specificity unchanged at 1.0, and median corpus accuracy rose from
    0.850 to 0.975

Fixed

  • On Clio 0.6.2 the installer failed and could not roll back because the
    plugin and the desk share the name wtfp; it now names plugin:wtfp
  • A project-scope reinstall no longer rolls back over Clio's trust gate; the
    installer names clio-coder config trust plugins and never grants it
  • Uninstall no longer removes the owned files of a package whose native removal
    was deferred by an unowned file, so a later uninstall can finish
  • hash-fixtures.js --check no longer crashes on the user-acceptance template,
    and a sealed fixture that changes its schema fails the check
  • A desk write that failed after its commit point is reported as committed,
    not as not written
  • run-clio-campaign.js reads a campaign step's cost, worker tool counts and
    served models from Clio's sealed telemetry (clio-coder telemetry) when the
    campaign pins Clio 0.6.6 or later, which no longer writes receipt files, and
    compares only the first line of --version, which Clio 0.7.0 extends with
    its pane runtime
  • Every desk record write failed on Clio 0.7.0, which runs the desk under
    Node's permission model; Node 24 refuses fsync there, so the desk now
    treats that flush as best effort and removes a staged file it could not
    write whole
  • On Antigravity CLI 1.5 no action was reachable as a slash command and the
    project-state rule never applied: plugins no longer load commands/, and a
    named rule without a trigger fails agy plugin validate. Each action is
    now an explicitly invoked skill, /wtfp-<action> (disable-model-invocation: true, so model routing still sees only the seven router skills);
    /wtfp-write-section and /wtfp-plan-section open the router skill of that
    name. The rule is trigger: always_on, and the manifest carries version