Skip to content

sde: task executor and task reviewer become declared agents - #137

Merged
SSFSKIM merged 2 commits into
mainfrom
sde-declared-agents
Sep 10, 2026
Merged

SSFSKIM merged 2 commits into
mainfrom
sde-declared-agents

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Sep 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

Subagent-driven-execution's two per-task workers move from prompt templates the controller pasted into every dispatch to registered agents: doperpowers:task-executor (opus/high) and doperpowers:task-reviewer (sol/high through the local gateway).

  • Why. Each dispatch pasted ~6.4k (executor) or ~9.1k (reviewer) chars of invariant contract into the controller's context, of which ~0.5k varied per task. SKILL.md's own Dispatch hygiene section says to hand invariant artifacts over as files; the agent definition is the harness-native file for a worker contract. Same pattern reviewer-low|medium|high already use.
  • Structural gates replace prose. Model and effort are pinned in frontmatter (gateway models such as sol are frontmatter-only: the Agent tool's dispatch-time model enum has no sol, so the reviewer's tier is fixed and the executor can only be moved down to sonnet), so the templates' [MODEL — REQUIRED … silently inherits the session's most expensive] warning is gone; a per-dispatch model: sonnet still downgrades a simple task (dispatch-time model overrides the agent pin). The reviewer carries disallowedTools: Edit, Write, NotebookEdit, Agent, which retires its "You Do Not Dispatch Reviewers" paragraph. The executor keeps the Agent tool (orientation subagents stay available) and keeps that paragraph.
  • Body text is otherwise the templates, relocated. Placeholders became "the dispatching brief names …". SKILL.md's Dispatch hygiene now states the two brief contracts (what a dispatch carries); the loop steps dispatch by agent name; a fresh fixer is a new task-executor.
  • writing-plans (pending working-tree edit, included): the plan-executor handoff paragraph names the session as architect and routes a human-only fork to the human.
  • CLAUDE.md repo map row updated. Version 7.83.0.

Validation

  • tests/skill-links/test-cross-doc-refs.sh: 214 references across 18 skills resolve (the deleted templates are no longer linked anywhere).
  • tests/issue-tracker/test-protocol-content.sh: all pass.
  • scripts/bump-version.sh --audit: clear.
  • Frontmatter of both agents parses with the same keys as the existing reviewer agents.
  • By-name resolution of a newly added agent is confirmed for the previous PR: doperpowers:plan-executor appears in this session's available agents after the cache reached 7.82.0; the two new names follow the same path once the cache reaches 7.83.0.

Not done

  • No live SDE run against the new agents yet. Worker body text is unchanged from the templates, so the behavior delta is the frontmatter gates and the shorter dispatch; the first SDE plan run after the cache updates is the real check.
  • Historical spec documents under docs/doperpowers/specs/ still name the template files; they are design history and were left as is.

The two per-task worker contracts move from prompt templates the
controller pasted into every dispatch to registered agents,
doperpowers:task-executor and doperpowers:task-reviewer (opus/high).
A dispatch now carries only what is particular to the task: the brief,
report, and review-package paths, base/head, global constraints, and
the deferred-review checkout line. Model and effort are pinned in the
agent frontmatter, so an omitted model no longer inherits the session's;
a per-dispatch model override still downgrades a simple task to sonnet.
The reviewer is read-only and cannot spawn agents, which retires its
prose ban on nested reviewers; the executor keeps the Agent tool and
its prose.

writing-plans: the plan-executor handoff paragraph names the session as
architect and routes a human-only fork to the human.

Version 7.83.0.
@SSFSKIM
SSFSKIM merged commit aa798bd into main Sep 10, 2026
@SSFSKIM
SSFSKIM deleted the sde-declared-agents branch September 10, 2026 05:23
SSFSKIM added a commit that referenced this pull request Oct 26, 2026
Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
SSFSKIM added a commit that referenced this pull request Oct 26, 2026
…onses, a failed fallback, a prune, and a fragment (board #137)

Four ways the check of a saved copy could keep or hand out the wrong thing.

A copy whose article a site extractor filled in from other URLs (Reddit's
comments, YouTube's transcript) recorded the shell response's ETag,
Last-Modified and body hash, so an unchanged shell confirmed changed content.
Each extraction now notes whether it asked Defuddle's fetch for anything; such
a copy records only its text digest, and its check extracts again and compares.

A check whose fallback failed published a degraded page as a changed one: a
markdown stub whose HTML page answered 503, or a rendered copy's empty shell
when the render failed or the page's data API was down, each then confirmed by
its own body hash. During a check, a page under RENDER_MIN_WORDS where the copy
had at least that many is no longer published: the copy answers through the
failed-check path, remembered like any failed check, and checkFailed says how
many words came back and the render's or the HTML request's reason. A fresh
fetch is unchanged, and refresh still takes a page that really shrank.

A copy of any age can now be confirmed and handed out, so prune keeps a
generation while the later of its fetch and the check its entry's
.checked.json records for it is within the age, reading that record just
before it deletes. A check that confirms a copy writes the record first and
then makes sure the generation is still there; one a prune took while the
site was asked is no copy, and the call goes on as a fetch (a 304 is followed
by a full request, a matching body or text is published).

The cache key drops a URL's fragment, but the 304 guard, the body shortcut and
the text digest compared URLs with theirs, so /page#a checked as /page#b was
refetched and rebuilt. They now compare and hash the URL without its fragment.

Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
SSFSKIM added a commit that referenced this pull request Oct 26, 2026
…ailed fallbacks, the prune, fragments

Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
SSFSKIM added a commit that referenced this pull request Oct 26, 2026
… the regression sample, WEBFETCH_MODEL

Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
SSFSKIM added a commit that referenced this pull request Oct 26, 2026
web 0.5.0: a saved copy is checked with the site past a 5-minute floor (board #137), and WEBFETCH_MODEL
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.

1 participant