Repository navigation
feat(verify): read a bare page address as the document itself - #4
Merged
Merged
Conversation
A single URL pasted into the TUI bar or given to `check --url` was routed as a social post and refused for every host but the four platforms with a reader, although the bar itself invites a URL. A non-social address is now the page at that address: fetched up the same ladder its sources are, cut into one paragraph per block, and cited by its links unless it prints a reference list. A page the ladder cannot read ends the run in the ladder's own words with the setting to type; a page with no links is reported, not passed as clean; the page's own address is never one of its sources, by anchor, tracking query, printed permalink, redirect or Wayback copy. Spec: docs/superpowers/specs/2026-09-17-page-target-design.md Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017G4e6oqMrpALsNEQpHoopg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
A single URL pasted into the TUI bar or given to
check --urlon any host that is not a social platform is now read as the document itself: fetched up the fetch ladder, cut into one paragraph per block, and cited by its links unless it prints a reference list. Bluesky / Hacker News / Reddit / Mastodon posts are read as before; a profile, subreddit or front page keeps the "a page, not a post" answer.Why
The bar's own placeholder says "paste a file path or URL", but every non-social address was refused before any request (
IngestError: … is a page, not a post) and the run showed as failed. Design and decisions:docs/superpowers/specs/2026-09-17-page-target-design.md.UNVERIFIED (blocked, browser not permitted): step 3 browser: not permitted (to permit it: config set permissions.install_browser ask)), never a verdict (rule 2).MARKERS_SET_ASIDE) (rule 6).lxmlbecomes a direct dependency (already pulled in by scrapling);lxml-stubsin dev.Checklist
ruff checkandruff format --checkare cleanpytestpassesOutcome🤖 Generated with Claude Code
https://claude.ai/code/session_017G4e6oqMrpALsNEQpHoopg