docs(ruby-gem): sync gem 0.27.0 contracts (MCP, capture, Botasaurus) - #1238
Merged
Conversation
Document YAML capture, apply's zero-item ship gate, inspect recon, and mcp.json Botasaurus env so agents stop teaching Faraday-only auto.
Point MCP guides at ok/next_step/guidance/payload so agents stop reading _meta or a raw items array.
Cleanup owns feed-item admission; enhance fills missing card fields and drops listing chrome. Status.admission_drops and auto_feed_result/--explain expose the same telemetry.
Capture stamps strategy and supports --explain; MCP daemons log to stderr at info. Replace scroll_to_bottom with scroll and document the OpenAPI 2.0 window_size object.
…ions auto/capture --explain print telemetry on stderr. MCP inspect payload includes admission and XHR recon. request.botasaurus matches the scrape-API contract (no extra keys, window_size object).
…alidation Faraday decodes unlabeled gzip/brotli and sniffs HTML bodies. Invalid Botasaurus keys (scroll_to_bottom, array window_size) fail validation; --explain surfaces admission drops.
Capture envelopes include optional segment/strategy/admission fields. Zero-item apply points agents at inspect_url.
Forward-facing guides teach present MCP and capture behavior; breaking contract changes live under backward-compatibility §0.27.0. Fixes inspect_url auto staying on Faraday in MCP prompts.
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 changed
enhance-only output,--explain, Botasaurus OpenAPI 2.0, admission telemetry.Why
#463–#471 and botasaurus-scrape-api#37 merged to default. The next gem release is 0.27.0. Docs that taught obsolete MCP
_meta, Faraday-onlyauto, orscroll_to_bottomsent readers down dead paths.Risk
master(tagged 0.26.0 today; these contracts ship in 0.27.0).Review map
Review map: start at
backward-compatibility.mdx§0.27.0, thenmcp-server.mdxandstrategy.mdx.Validation
make lint(html2rss.github.io): exit 0make build(html2rss.github.io): exit 09571a18tocfbffe8#471 and botasaurus-scrape-api#37 (merged)