Skip to content

knowledge: add a linked-page research phase to docpage-digest #5680

Closed

Description

@kyle-sexton

A digest of one page needed two extra research rounds and a critic to cover the pages it links. Decide whether docpage-digest gains a linked-page research phase or routes that work through knowledge:map-corpus.

Follow-on from the Sonnet 5.5 prompting-guide work (plan: docs/topics/sonnet-5-5-prompting-digest/PLAN.md on branch feat/sonnet-5-5-prompting-digest; interview answer Q15 part 5).

Activity

  1. added
    needs-triage
    on Oct 1, 2026
  2. kyle-sexton commented on Oct 4, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during triage.

    Routing: human-gated, status: needs-decision. This is a product-intent decision between two designs, and the second one has a capability gap today, so no recommendation meets the grounding bar for a defaulted decision.

    Open question: Should linked-page coverage for a single digested page be (A) a new research phase inside docpage-digest, or (B) routed through knowledge:map-corpus?

    Evidence that would settle it:

    • docpage-digest states as a non-goal that it does not crawl: one page per run, and a queue of pages is N runs. Option A reverses that non-goal.
      Basis: verified, plugins/knowledge/skills/docpage-digest/SKILL.md:232
    • map-corpus V1 requires at least one origin seed. A corpus made only of resource seeds (which is what "the pages this one page links to" would be) is a recorded deferral, and those URLs are routed back to direct docpage-digest runs. Option B therefore needs map-corpus to accept a link list harvested from one page as a corpus, or the deferral lifted.
      Basis: verified, plugins/knowledge/skills/map-corpus/SKILL.md:100-112
    • Redundancy check: no linked-page or follow-links phase exists in docpage-digest (searched its SKILL.md and context/ for link, crawl, research and map-corpus). docs/out-of-scope/ has no matching concept.

    Agent Brief

    Type: Feature
    Summary: Cover the pages a digested documentation page links to, without a manual second and third research round.

    Current behavior:
    A digest covers one page. When the page leans on linked pages, the operator runs extra research rounds and a critic by hand. The mapping skill can digest many pages but only from an origin seed, not from a link list taken from one page.

    Desired behavior (depends on the decision above):

    • Option A: the single-page digest gains an opt-in phase that lists the page's outbound links, classifies which ones the digest relies on, and researches those, with the result recorded in the slice and checked by the same verification as the main page.
    • Option B: the single-page digest ends by offering a hand-off to the corpus mapper with the relied-on links as the seed set, and the corpus mapper accepts that seed set as a valid corpus.

    Acceptance criteria:

    • A digest of a page whose key content lives on linked pages records which linked pages were covered and which were skipped, with a reason for each skip.
    • The one-page-per-run contract either still holds (B) or the non-goal is rewritten to describe the new phase (A).
    • The skill's existing evals pass before and after.

    Out of scope:

    • General site crawling.
    • Renaming either skill.

    Priority: medium (assessed default; nothing blocks on it).

  3. added
    needs-human
    needs-owner-decision
    and removed
    needs-triage
    on Oct 4, 2026
  4. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner accepted the adjudicated recommendation on 2026-10-12.

    Option C: docpage-digest records the relied-on links at its interview handoff (covered / queued / skipped-with-reason) and queues the approved ones as separate one-page runs; neither a crawl phase (A) nor a map-corpus hand-off (B).

    Why: Both A and B reach discovery rung 3 (in-page link extraction), which the owner reserved for themselves (ingest-deferred-decisions.md §1, Q19, from #2707), and B's load-bearing assumption in the seed record is false on main: check_linkmap.py exits 2 without a rung 1-2 --discovery output and tells the agent to route resource-seed-only URLs to direct docpage-digest runs. C is that already-prescribed route, keeps the 'Does not crawl' non-goal (SKILL.md:232), meets every acceptance criterion in the issue, and stays within one plugin. The reservation's own trigger (a corpus whose seeds resolve neither llms.txt nor a sitemap) does not fire for a record-only link table built from a snapshot the run already holds, so C needs no owner decision first.

    Precedence applied: Rule 2 (owner's recorded reservation of rung 3 on linked issue #2707) over Rule 5 (the seed record's agent default for B); no Rule 1, 3 or 4 source bears on the choice

    Sources:

    • origin/main@736fb715 plugins/knowledge/skills/docpage-digest/SKILL.md:232 ('Does not crawl. One page per run; a queue of pages is N runs.'); :206-215 (Phase 5 interview handoff, pipeline ends there); :131 (publisher queue record)
    • origin/main@736fb715 plugins/knowledge/skills/map-corpus/SKILL.md:103-121 (rungs 1-2 only; rung 3 user-reserved; V1 requires an origin seed; resource-seeds-only corpus routed to direct docpage-digest runs); :185-193 (Phase 5 hands queue to N one-URL docpage-digest runs); :203
    • origin/main@736fb715 plugins/knowledge/skills/map-corpus/discovery/check_linkmap.py:115-124 (exit 2 without --discovery; 'route those URLs to direct docpage-digest runs instead')
    • origin/main@736fb715 plugins/knowledge/reference/ingest-deferred-decisions.md:13-27 (§1 Q19, Arbiter USER-RESERVED, trigger: first corpus resolving neither llms.txt nor sitemap)
    • origin/main@736fb715 plugins/knowledge/skills/map-corpus/discovery/link-map-format.md:11-20 (rung 3 NOT IN V1, USER-RESERVED)
    • origin/main@736fb715 plugins/knowledge/skills/docpage-digest/context/anthropic-docs-queue.md:1-6 ('a record, never a dispatch list')

    Next: Owner replies on #5680 accepting C; relabel from 'status: needs-decision' / 'needs-human' to briefed (C3, one plugin). Brief: docpage-digest Phase 2 (SOURCES.md) lists the outbound links the digests rely on, read from the snapshot already held (no fetch); Phase 5 (interview-handoff.md) adds a relied-on-links table with one disposition per link: covered (path to existing slice), queued (appended to the publisher's queue record as its own one-page run), or skipped with a reason. 'Does not crawl' (SKILL.md:232) stays as written; map-corpus and check_linkmap.py are untouched; where a host publishes llms.txt or a sitemap and many links matter, the handoff may suggest a map-corpus run with an origin seed. Update docpage-digest evals for the new table; existing evals must pass before and after. If the owner instead wants automated same-run coverage, that is the rung-3 fork (Q19) and must be settled first; the issue should then link #2707.

    Researched by two independent agents (local evidence and upstream docs) and adjudicated by a third.

  5. removed
    needs-owner-decision
    on Oct 13, 2026
  6. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    Owner batch-ratified this admission in an attended session on 2026-10-12: work-class: scoped. Rule: class C1-C3, no trust surface, the independent check confirmed the recorded decision, and no owner step remains.

  7. added
    agent-ready
    and removed
    needs-human
    on Oct 13, 2026
  8. self-assigned this
    on Oct 14, 2026
  9. kyle-sexton commented on Oct 14, 2026

    @kyle-sexton
    MemberAuthor
    No description provided.
  10. kyle-sexton commented on Oct 14, 2026

    @kyle-sexton
    MemberAuthor

    Claimed by the /work-items:work-loop lane (autonomous; admission gate passed, interactive confirmation satisfied by the loop's admission). Executing the recorded Option C brief.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent-ready

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions