Skip to content

WTF-P 0.8.2

Choose a tag to compare

@akougkas akougkas released this 16 Nov 13:27
· 65 commits to main since this release

Makes WTF-P on Clio automatic between author gates without making it
autonomous across them, and brings the Clio documentation and prompts in line
with Clio 0.8's two autonomy levels.

/wtfp:advance drove a seven-section technical report from outline to an
archived, delivered milestone on the released Clio Coder 0.8.2, with OpenAI
Codex models (gpt-6-luna as the orchestrator and writers, gpt-6.1-terra
as the plan checker, reviewers and polisher). Each fix below marked live came
from a stall in that run. The desk extension tests pass 61/61 on Clio 0.8.2.
Both Clio packages still require Clio 0.6.3; resuming a drive after a
continued turn needs the turn origin Clio 0.8.2 reports, and an older Clio
ends the drive there as before. The other six hosts were not requalified for
this release: their projections change only where shared protocol text and
action contracts changed (research-gap, plan-section, write-section,
plan-revision) and in the smaller record-schema bindings.

Added

  • advance (/wtfp:advance), action 37. It requires the new workflow.drive
    capability, which only the Clio desk binds; every other host and the
    desk-less Clio copy in the Claude envelope fail closed with
    WTFP_ACTION_UNAVAILABLE. In one turn it runs create-outline,
    discuss-section, research-gap, plan-section, write-section,
    review-section, verify-work, plan-revision, audit-milestone and
    submit-milestone as the project needs them, and stops at the first gate only the author can answer
  • Desk tool next_step, answering only inside an advance turn: it picks each
    step by the ladder progress follows and arms the write guard for that
    action and section alone, puts a pending gate to the author through gate,
    and stops on a gate kept pending or unaskable, a step that changed nothing,
    an action the plugin does not serve, a missing project, or 24 steps. Nothing
    is armed between steps, at a gate, or after a stop
  • Desk key a fills /wtfp:advance
  • Desk tool status: the whole project in one read (phase, each section's
    status, words, plan state, unsupported claims and blockers, open gates,
    evidence counts, record issues, and the next step). Every Clio-available
    action gets the desk projection; read-only actions hold only status,
    read_record, readiness, and gate where they declare one
  • Desk turn_start hook: when a prompt arms a WTF-P action or advance in a
    project, the desk injects its status as a model reminder within Clio's
    2,000-character effect limit
  • Desk after_tool hook on write and edit: a successful write to the
    manuscript of a section the armed action may update is noted, once per
    section until measured, with the exact measure_section call. It spends none
    of the turn's shared continuation budget
  • Desk tool archive, held only by an armed action that declares the
    archive (submit-milestone): it copies every .planning record and
    artifact and every paper/ file into .planning/archives/<archive>/ with a
    sha256 manifest.json, never follows links, and refuses an archive that
    exists. Live, the model could not copy a whole project with its record and
    file tools within a turn
  • read_record takes a family URI such as project://sources and returns its
    records in one call, up to 48 KB, with ?after=<id> for the next page
  • A gate answer may carry the author's note on the chosen option; the desk
    records it in the checkpoint's resolution summary, where the next step
    reads it, and asks again with how to attach it when the author types text
    instead of choosing

Changed

  • The desk's write guard also hooks ask_user inside a WTF-P action or advance
    run: it marks a lone question operator_only, which Clio 0.8 never answers
    with a recommended option after safety.unattendedAfterSeconds, and refuses a
    round of several unmarked questions. Every Clio prompt now asks the same of
    the model
  • Clio launch instructions use --autonomy yolo (README) and default;
    Clio rejects the retired read-only, suggest, auto-edit and full-auto
    spellings since 0.5.6. The CiteNexus public-index allowance is keyed to
    yolo on Clio and to a session started without per-call approvals in the
    host-neutral protocol
  • Clio availability records certificationAutonomy: ["default"]
  • Clio desk prompts load their method skill through context(scope="skills"),
    which Clio keeps across compaction, instead of inlining it; state each desk
    tool's argument shape, so the model calls it without a gateway describe
    that resends the whole context; and name the bound contract for lookup
    instead of reading it before acting. advance drops its union record
    contract, since each step's prompt carries its own
  • Every next_step result restates the driver rule and where its step's
    prompt lives, so a compacted advance turn can continue from the last result
  • Clio recipes carry per-role latencyClass and tool-call budgets, the four
    read-only checkers load no project context, and each carries the role-result
    object shape instead of the embedded schema. The 11 recipes total 67587
    bytes, down from 79061 in 0.8.1
  • clio/README.md no longer says a fleet run runs no desk hook; Clio 0.6.3
    and later run the desk's tool hooks for its workers
  • /wtfp:advance drives the author's acceptance loop: after a section is
    reviewed it runs verify-work, which closes on one sealed accept/revise
    checkpoint; revise routes to plan-revision, an approved revision plan to
    write-section, and accept marks the section complete. A review counts
    only for the draft it read, judged by the desk's own file times, and a
    drafted section follows this ladder whatever its status field says. On
    every host, verify-work declares the checkpoint and plan-revision sets
    the section to planned when it links the plan
  • The ladder, portable and desk, creates the outline's section records with
    create-outline before any section step; new-paper writes none
  • Clio prompts ask one question per ask_user call with its options, state
    only the gate branch an action can take, map authored-artifact URIs to
    their files, ask every dispatch for an agent and workspace-relative
    intent.read_roots, keep every record field inside record, and tell a
    record-only action (create-outline, analyze-bib) to do its writing
    role's work in the turn
  • research-gap and advance hold the four read-only CiteNexus MCP lookups
    (mcp_cite-nexus__search-papers, resolve-paper, verify-citation,
    get-citation) and call them directly; the bundled dispatcher is the
    fallback only when no cite-nexus server is declared
  • The four read-only reviewer recipes return only a verdict and checks, lead
    with that output form, and end on an example; action prompts read a
    reviewer's failed checks as its findings
  • The protocol's workflow rules, on every host, say an author's request never
    widens an action's outputs, and to read a large source by section;
    write-section sets a satisfied draft to reviewing and
    discuss-section leaves the status alone
  • research-gap records each claim its section must support with that
    claim's evidence, and the desk routes a literature-heavy section whose
    record names no live claim to research-gap before planning and holds its
    manuscript
  • plan-section returns a failing plan check's findings to the planner and
    checks the revision afresh, at most twice; a finding that contradicts an
    author decision goes to the author, each check is recorded as a
    validation, and a plan still failing ends on a checkpoint naming its open
    findings. Live, a failed check ended the action with nothing recorded
  • write-section opens a manuscript with the outline title as its only
    level-one heading; numbering stays with document assembly
  • plan-revision reads and updates project://state, so its blocking plan
    checkpoint can be listed as active, as plan-section already did
  • Every non-Clio host binds the schema and template only of the records an
    action creates or updates. Read-only progress drops from 25 includes to 4
    on Claude Code and Copilot CLI, and from about 73 KB to 32 KB inlined on
    OpenCode and Gemini CLI
  • Clio recipes bind no action skill, and each recipe's role-result form names
    its role id. Live, a section planner preloaded the plan-section skill and
    tried to run the whole action, and another returned role "Clio Coder"
  • The advance ladder reads the latest milestone audit: a fresh one with no
    error or blocker issue leads to submit-milestone, one with errors to
    plan-milestone-gaps, and any later write back to the audit. A passed
    submission that only audits followed ends the ladder as delivered. Live,
    the ladder waited for a phase no driven action writes
  • next_step takes after, the step just finished, which the desk ignores;
    Clio 0.8.2's loop guard blocked a third identical call although each
    result differs
  • On Clio 0.8.2 a continued advance turn resumes its drive: at turn end the
    desk holds the armed step and drive, a prompt whose origin is
    continuation restores them, and any other prompt drops them. Live, a
    yolo continuation after the per-turn tool budget ended the drive
  • Inside an action, the desk refuses a writing dispatch to any agent other
    than the action's own roles and names the role to use; a dispatch without
    an agent fell to Clio's default worker

Fixed

  • The desk's status reminder could reach 2,003 characters on a long project,
    which Clio refuses as an effect; it is now cut within the limit
  • Desk refusals say what to send instead: a missing project_id, every
    schema error at once (up to eight), an authored artifact's file, the
    kebab-case id rule, a writer's accepted roots, and, between advance steps,
    to call next_step. A missing record's read and a refused create return
    the record type's example
  • The record tool stamps a validation's executed_at, a checkpoint's
    created_at and an evidence record's verified_at on create when the
    writer leaves them out, and folds a record's own fields back in when they
    arrive beside record
  • measure_section gives an action that may not record a count the desk's
    count without writing, so no action counts words by hand
  • A next_step result carries its prompt's path relative to the plugin root
  • A dispatch intent that declares no write_roots, missing or empty, gets
    the exact roots in the desk's refusal. Clio reads such an intent as an
    empty write ceiling, so the desk's own rewrite was refused too
  • The desk stamps the creation time of every record an agent creates,
    replacing the agent's value. Live, an invented executed_at four minutes
    ahead made a validation read as older than the review it followed
  • The author's approval of a plan appends it to the section's
    artifacts.plans, marks a not-started section planned, and the answer says
    what the desk wrote. Live, the driver armed plan-revision again
  • A driven step that changed nothing the ladder reads is handed back once,
    naming the records the action creates, before the desk stops, and the
    hand-back says to continue. Live, review-section recorded neither its
    review nor its validation
  • A stale read, a missing record version, and a schema failure on a record
    write are fixed and resent after a fresh read, in both the binding and the
    desk's reply; the model had ended steps on each as if refused by policy