No-login Amazon snapshot: product face (title, bullets, image, usually price/availability) plus rating aggregates - average stars and total rating count on every delivered row. The 5-star histogram arrives only when Amazon renders it (measured on 60% of rows). $0.008 each; failed lookups free.
First-run conversion alignment. The Actor's reliable deliverable is the ratings
row, but the Try form, API example and two public Tasks still started the review
draw with three extra variant retries even though the README itself said those
retries currently return no review text.
Console prefill now uses includeReviews: false and maxVariantRetries: 0.
Existing API callers that omit the fields keep includeReviews: true,
maxVariantRetries: 3 and maxItems: 100; runtime defaults did not change.
cloud-tests/deploy.mjs and the live Actor exampleRunInput now use one
proven ASIN with the fast ratings-only path. The platform metadata update was
read back successfully and required no build.
The one-ASIN and three-product comparison public Tasks now use the same fast
path. The three-ASIN ratings Task was already ratings-only and was not
rewritten. All three remain public; their titles, descriptions and SEO fields
were preserved from the live Task records.
README gained a copyable one successful rating row for $0.008 Quick start
and now distinguishes Console prefill from legacy API defaults.
No src/ runtime change, no pricing change and no Actor SEO change. This
build brings the Try prefill, README and input schema onto the same fast path
already used by the API example and public Tasks.
Verification: repository npm test — 122 tests, 122 pass, 0 fail. Public
Task definitions also passed setup-public-tasks.mjs --dry-run, including the
live registered-price and platform-length guards.
Pricing panel and Store badge (2026-11-05, no build) — pricingInfos record #5
Owner ruling 2026-11-05 ("改吧"), closing the open item build 0.1.20 left behind.
Wording only: all twelve tier prices are byte-identical to record #4, so no
14-day notification window applied and no buyer's bill moved. No src/ change,
no build, no version bump — the platform record is the whole deliverable.
What was wrong
Build 0.1.20 retired the top-review promise from the Actor title, the Actor
description, the README, all four schemas and the three public Tasks. It could not
reach the Store Pricing tab, which is a separate published surface written by
a separate API call, so a buyer could still read "the top reviews with complete
text: up to 8 from the US marketplace plus up to 5 that Amazon labels as from
other countries" on a listing whose headline said Amazon serves no review text.
The expensive half was not the copy. isPrimaryEvent was on snapshot, and the
Store generates its headline badge from the primary event alone:
from $<cheapest tier of the primary event> x 1000/1,000<eventTitle lowercased and pluralised>
snapshot's cheapest tier is GOLD at $0.014, so the badge read "from $14.00 /
1,000 product & reviews snapshots" — while snapshot has not fired on any run
since 2026-10-26 and every delivered row was billed ratings at $0.008. The
listing therefore advertised itself 75% dearer than it charges (94% dearer to a
GOLD subscriber), carried the retired word "reviews" into the badge, and put the
same string in the page's offers{} structured data, which is what Google reads.
The mechanism was verified 3/3 before acting, against three of this account's own
Actors whose primary events do fire: 1688-image-search-scraper ($4.50 / image
searches, image-search min $0.0045), ebay-to-1688-sourcing-bridge ($5.60 /
1688 supplier matches, supplier-match min $0.0056) and
xiaohongshu-note-tracker ($3.50 / note snapshots, note-fetched min $0.0035).
Note the eBay bridge already pointed its primary at the value-adding event rather
than at run-base-fee, so moving amazon's to ratings follows the family
convention rather than inventing one.
What changed
before
after
Store badge
from $14.00 / 1,000 product & reviews snapshots
from $7.20 / 1,000 ratings-only snapshots
offers.price (structured data)
14
7.2
isPrimaryEvent
snapshot
ratings
snapshoteventDescription
promised 8 US + 5 foreign review bodies, and the histogram flatly
leads with "Has not been charged on any run since 2026-10-26", no review count, no histogram claim
ratingseventDescription
"total rating count and 5-star histogram"
"total rating count, plus the 5-star histogram where Amazon renders it (not on every product)"
eventTitle (both)
unchanged
unchanged
all 12 tier prices
—
unchanged, asserted byte-identical on readback
Why the copy could rot where it did
The panel wording existed in exactly two places: the live pricingInfos record,
and a hardcoded PRICING_SEED inside cloud-tests/deploy.mjs. No test read
either. Every other surface had a guard, so 0.1.20's twelve-surface sweep passed
111 tests and still left this one lying — a test suite can only be as wide as the
surfaces it knows about.
cloud-tests/pricing-tiers.json is now the single source for the panel wording
(title / description / primary per event); deploy.mjs builds
PRICING_SEED from it and no longer contains a buyer-facing string literal.
Tests
111 → 121. New tests/pricing-panel.test.js: every event must declare its own
title/description/primary (an undeclared field is inherited from the live record,
which is the mechanism that hid this); exactly one primary; a primary whose own
description says it is not being charged is a failure, which is the assertion
that encodes the $14.00 badge; the README's "every delivered row has been billed
at" sentence must name the primary event, tying the badge to the code path; the
review co-disclosure and conditional-histogram rules the storefront surfaces
already obey; deploy.mjs must contain no panel wording of its own and must
actually readpricing-tiers.json; and both undocumented platform caps
(reasonForChange ≤ 250, measured 2026-10-30 on this Actor; eventDescription
≤ 466, the longest ever accepted here) fail offline instead of as a 400 mid-PUT.
Fourteen mutation controls were run across two rounds. Twelve bit. Two initially
read as passes and were both mis-targeted mutations, not weak guards: one replaced
the config path while leaving the filename in a trailing comment — which did
expose that the wiring assertion matched a bare filename, so it now requires the
readFileSync call — and one appended a no-op after the real read, which left
PRICING_SEED genuinely wired. Source restored byte-identical after every control.
cloud-tests/apply-tier-pricing.mjs also had to change, and the change is the
interesting one: its idempotence guard compared prices only, so a
wording-only append looked like "nothing to do" and the script would have exited
0 having written nothing — an inert tool reporting success. It now compares price
and wording and the primary flag, prints the change shape
(WORDING ONLY vs PRICES CHANGE — check the 14-day notice rule), asserts a
wording-only append moved no tier price, asserts exactly one primary on the
readback rather than on the payload, and prints the badge the Store should
render. Pre-flight also gained the two caps and the description-length ceiling.
Verification
Dry run then --apply: 21/21 readback checks PASS, pricingInfos 4 → 5,
no record dropped, minimalMaxTotalChargeUsd still 0.04, both events still
carry six tiers and no flat price alongside them, and all twelve prices echoed
0.02->0.02 … 0.0072->0.0072.
Live Store page re-fetched cache-busted: badge
from $7.20/1,000 ratings-only snapshots
in all three places it appears, offers.price 7.2,
offers.description and unitText updated, both new eventDescriptions
served, and zero occurrences of the unconditional-histogram sentence.
Offline suite 121 pass / 0 fail.
Not done
No build was triggered, so this CHANGELOG entry and the supersession marker
added to 0.1.20's "Deliberately not done" are not yet on the public Store page —
Apify renders both files from the latest build. The public page currently still
carries 0.1.20's sentence saying the panel "still carries the promise this build
removed everywhere else", which was true when written and is now stale. Folding
the correction into the next build is cheaper than a docs-only build that moves
latest and re-points the daily canary for no runtime reason.
The cloud-tests/evidence/*.json run captures still contain record #4's text.
Those are frozen platform responses, not copy, and are deliberately not touched.
snapshot's eventTitle stays "Product & reviews snapshot". It no longer
reaches the badge, and in the pricing table it names what the event delivers
when it fires, with its own description's first sentence saying it has not.
Build 0.1.20 (2026-11-05) — the listing stops promising review text Amazon is not serving
Owner ruling 2026-11-05 ("选项 1"): wording only. No price moved, no event was
added or removed, no pricingInfos record was appended, and src/ behaviour is
unchanged apart from one log string. Delisting and re-pricing the snapshot
tier were separate options and were not taken.
Why
The 2026-11-03 re-investigation killed J3's "variant routing" explanation. Three
independent lines of evidence:
snapshot billed 0 on ten consecutive daily canary shifts, 2026-10-26 →
2026-11-04. At four shifts that was indistinguishable from sampling noise; at
ten it is not.
Three 1.8 MB kind=normal product pages, each sampled on a fresh Apify
residential exit verified to be a different IP, matched zero on nine
review selectors (data-hook="review", review-body, review-title,
review-text-content, a-star-rating, histogramTable, a-meter,
aria-label="See more reviews", data-hook="reviews-sort-by"). The strings
review-title and a-profile-namedo appear in those pages — inside CSS
class definitions of a component Amazon never rendered. They are not evidence
of reviews.
/product-reviews/<ASIN> returns 404 to a desktop client (2296 B, "Sorry!
We couldn't find that page") and 302-redirects a mobile client to
/ap/signin, three rounds out of three.
Reading review bodies from Amazon now takes a logged-in account, which this Actor
will never use or ask for. So the repair available to us is the narrative, not
the fetch path.
What the ten shifts actually measured
Tabulated from the ten SCHEDULER runs individually — the runs LIST endpoint
returns neither chargedEventCounts nor meta.scheduleId, so every shift has to
be read on its own. 20 rows, 15 of them fetchStatus: ok:
Field group
Delivered on
title, bulletPoints, mainImage
15 / 15
ratingAverage, ratingCount
15 / 15
the reliable core
priceAmount, availability
13 / 15
histogram5…histogram1
9 / 15 (60%)
all five null together, flips run to run on the same ASIN
reviews
1 / 15
that one was 2026-10-26, the first shift in the window
The histogram figure is the second defect this build closes. It had been published
as an unconditional deliverable — README "the full 5-star histogram", the
ratings tier described as "aggregates + histogram", the dataset schema saying
the five shares "sum to 100 ±1" with no mention that they can all be null — while
the canary's own rows showed B09B8V1LZ3 billed $0.008 with histogram5..1 all
null. Reviews already had honest disclosure (reviewsCoverage, variantHit,
"You pay for what you received"); the histogram had none. The fix is
disclosure, not a refund: the histogram is genuinely delivered on 60% of rows,
and ratings still delivers the aggregates on 100% of them.
Surfaces changed
Surface
Was
Now
title
Amazon Reviews & Ratings Scraper: Histogram, Top Reviews (56)
Amazon Ratings & Reviews Scraper: Histogram, Product Data (57)
seoTitle
Amazon Reviews API: Ratings Histogram & Top Reviews JSON (56)
Amazon Reviews API: Ratings, Histogram & Product Data JSON (58)
description
promised "the top reviews with full text (up to 8 US plus up to 5 other-country)", 275 chars
rating aggregates + product face + histogram "only when Amazon renders it (measured on 60% of rows)", 294 chars
seoDescription
"get ... top reviews with badges", 193 chars
no review claim, histogram conditional, 189 chars
exampleRunInput / prefill
B09B8V1LZ3
B0BZYCJK89
README first screen
"up to 8 US plus up to 5 other-country" ceiling box
delivery-reliability table + the probe evidence
README example output
B09B8V1LZ3 from run ZChVn0u530yL9mpU4, 8 reviews, trimmed
B0BZYCJK89 from run RFGWCiriYPJTAxykk, verbatim and untrimmed, reviews: []
README pricing table
snapshot listed first, "the top reviews with full text"
ratings first (it is what every row bills as), snapshot marked dormant
README review-draw section
"How the review draw works", current-tense hit rates
"…and why it currently comes back empty"; the 37%/59% pool kept as dated history
input_schema
includeReviews titled "Include the top reviews"
"Try to include the top reviews", with the current state spelled out
snapshot (review lottery on, Top reviews delivered)
says the block has not been served since 2026-10-26 and to expect the ratings price
The last row was the only src/ change. It is a log string, and it was telling
every buyer who read their own run log that reviews had been delivered when none
had. maxVariantRetries and includeReviews keep their behaviour — removing
them would be a code change, not wording — but the listing now says plainly that
0 is the faster setting while Amazon withholds the block.
Titles keep both winning search phrases (amazon ratings contiguous in title,
amazon reviews contiguous in seoTitle) because Apify's Store search weights an
exact contiguous phrase above popularity; only the promise was removed.
The three public Tasks were rewritten too, and are live
They are buttons on the same Store page, and two carried the promise in their own
titles (amazon-review-snapshot-one-asin: "Histogram & Reviews";
amazon-review-compare-3-products: "Ratings, Histogram, Reviews") while
amazon-ratings-histogram-3-asins promised "the full 5-star histogram" and
told buyers to "turn includeReviews on for top review text at $0.02". All three now
carry the conditional histogram and the 2026-10-26 not-served statement, and are
PUT and verified isPublic=true: p1Tw1BQIltt9Dn3b7, zPpt3ADk7g9sDY06O,
e0yeT9fyiuGnPB3dG.
The Task slugs were left alone. Renaming means delete + recreate, which loses
the published URL and risks the orphan-Task failure this repo already hit once: an
over-length field makes the PUT fail with cannot-publish-actor-taskafter the
POST succeeded, leaving a Task created but unpublished. So two slugs still read
amazon-review-* while their titles, descriptions, seoTitle and seoDescription
do not.
setup-public-tasks.mjs gained the same co-disclosure guard as
tests/schema.test.js, plus title/description lengths in its dry-run output.
The first attempt at the new copy failed its own 400-character description cap
on all three Tasks (480 / 648 / 572) and was trimmed to 374 / 394 / 392 — the
gate caught it before anything was sent, which is the second time the measured-not-
documented 400 cap has earned its keep.
Tests
110 → 111. The old guards encoded the retired promise as a disclosure floor,
so they were re-aimed rather than deleted:
Guard
Old floor
New floor
manifest.meta.description
must match /top reviews/i and /no pagination|never paginated/i
must not mention review text, and must make the histogram conditional
same, for manifest.description
(unguarded)
must make the histogram conditional and must not promise review text
prefill
deepEqual(['B09B8V1LZ3'])
deepEqual(['B0BZYCJK89']), plus an explicit !includes('B09B8V1LZ3') naming the retired anchor
Try form vs API example
(unguarded — two copies of one input)
deploy.mjsEXAMPLE_INPUT.asins must equal the schema prefill
README first screen
readme.slice(0, 1600) — a character budget that silently stopped covering the box
readme.slice(0, indexOf('## Example output')); must carry the not-served claim, the 404, the sign-in redirect, and no up to 8 ceiling
(new) review-text co-disclosure
—
every published surface that mentions review text must also state Amazon is not serving it, and at least 5 surfaces must be scanned so the guard cannot go inert
manifest.description length
(unguarded)
<= 300, the platform cap; an over-length description fails the whole metadata PUT
Mutation controls, each shown to fail and then restored byte-identical (13/13 on
schema.test.js, 111/111 on the full suite):
#
Mutation
Result
M1'
package.json keeps "review text", drops the not-served sentence
12 pass / 1 fail
M2
prefill reverted to B09B8V1LZ3
12 / 1
M3
deploy.mjsEXAMPLE_INPUT diverges from the prefill
12 / 1
M4
seoDescription re-promises "the top reviews"
11 / 2
M5
first screen's 404 softened to "an error"
12 / 1
M6'
first screen's sign-in softened to "account page"
12 / 1
M7'
description promises the histogram unconditionally
12 / 1
M8
first screen re-adds an "up to 8" ceiling
12 / 1
M9
both first-screen not-served claims removed together
12 / 1
M10
description pushed past 300 chars
12 / 1
Three earlier mutation attempts read as passes and were mis-targeted, not weak:
one removed the review mention along with the disclosure (the guard fires only
when both are present, which is correct), one left the claim standing in the
delivery table after removing it from the prose box, and one patched
meta.description while the assertion read description. That third miss is why
the 300-char Store description is guarded now.
Deliberately not done
pricingInfos was not touched.(Superseded the same day — see "Pricing
panel and Store badge" above. The text below is the state as of this build and
is kept because it records why the panel was out of step.) The live snapshoteventDescription still
reads "the top reviews with complete text: up to 8 from the US marketplace plus
up to 5 that Amazon labels as from other countries", so the Store pricing panel
still carries the promise this build removed everywhere else. Correcting it
means appending a fifth pricingInfos record — records are append-only and
editing one in place is rejected (incorrect-pricing-modifier-prefix) — which
is a pricing action, and pricing was explicitly out of scope. This is an open
item for the owner, not an oversight.cloud-tests/deploy.mjs's
PRICING_SEED mirrors that live text and was left matching it, so the drift
report stays truthful; the seed is inert anyway, since the tier guard refuses to
append a flat seed over a tiered record.
No histogramCoverage field. The histogram disclosure is prose plus
"read histogram5 === null as not served". A machine-readable coverage flag
would be the better fix but it is a code change with its own tests, and this
build is wording.
B09B8V1LZ3 stays in tests/. It is the golden parser fixture's ASIN and
normaliser test data. Archived evidence is not cleaned.
Store search position after the retitles (baseline, 2026-11-05T01:44 UTC)
GET /v2/store?search=, whole result set scanned, our stats totalUsers 3
(includes the owner) / totalRuns 104 / actorReviewCount 0:
Query
Total
Our rank
Top competitor
amazon ratings
1066
4
k-data-lab, 7 users
amazon ratings histogram
50
3
kestrel, 44 users
amazon histogram
50
5
zapticx, 3 users
amazon reviews
1062
57
junglee, 17094 users
amazon product data
1212
208
laisi, 55 users
The three winnable queries are the ones the new titles target: title carries the
contiguous phrase amazon ratings and seoTitle carries amazon reviews, which
is the same mechanism the 2026-10-26 title ruling was built on — Apify's Store
search weights an exact contiguous phrase above popularity, so rank 4 against a
field of Actors with 7 and 5 users is reachable while amazon reviews (top three
have 17094 / 7313 / 2435 users) is not. Evidence:
qwen_yunying/evidence/20261105-amazon选项1改话术落地/20261105-Store搜索排位-改词后基线.txt.
This is a day-zero baseline, not a verdict — see
[[feedback-check-launch-context-before-verdict]].
Metadata readback: all six fields (title, seoTitle, description,
seoDescription, categories, defaultRunOptions) MATCH the local
manifest, and exampleRunInput is {"asins":["B0BZYCJK89"],"includeReviews":true}.
True default path — run 1epqR1Obmv5GQ85kJ submitted with nobuild
param, platform resolved 0.1.20, SUCCEEDED, exit 0, usage $0.000789. The new
example ASIN delivered a complete row: ratingAverage 4.6,
ratingCount 144651, histogram5..1 = 84/6/3/2/5, priceAmount 29.99,
availability "In Stock", 5 bullets, reviews: [], billedEvent "ratings",
attempts 1. RUN_SUMMARY.coverage read
and
billing read intendedEvents == chargedEvents == {snapshot:0, ratings:1},
intendedUsd == chargedUsd == $0.008, completeness.ok true, trigger "done",
partial false — i.e. the row shape the new listing describes, produced by the
build the new listing ships.
The new Mode: log line is live in that run's log, verbatim:
Mode:snapshot(review draw on; Amazon has served no review block to an anonymous session since 2026-10-26, so expect every row to bill at the ratings price)
.
pricingInfos still has 4 records, last startedAt 2026-10-30T06:32:56Z,
ladder intact (snapshot 0.02/0.018/0.016/0.014×3, ratings
0.008/0.008/0.00768/0.0072×3). Confirmed by readback after the build, not
assumed.
canary-auditor0.1.13 retired the amazon streak alarm as promised; its run
koHcf0mI4mdqqch3C returned 12 PASS / 0 FAIL, ok: true,
"All 12 canary checks passed"
, with amazon-snapshot-daily-canary PASSing on
{snapshot:0, ratings:2}, itemCount 2, okRows 2.
Build 0.1.19 (2026-10-30) — the subscription-tier ladder went live, and J3 answered
No src/ behaviour change. Two things moved: the published price ladder, and the
README that discloses it.
The six-tier ladder
pricingInfos record #4 was appended (append-only; the three earlier records are
echoed back untouched, createdAt included). Every paid tier is a discount off
the FREE tier, so this is a price decrease and took effect at once: the
record's startedAt (2026-10-30T06:32:56Z) is the effective time, and the
actor-level notifiedAboutFutureChangeAt — the field that would hold a pending
14-day notice — came back absent.
One thing worth stating precisely, because an earlier draft of this entry got it
wrong: the platform did stamp
notifiedAboutChangeAt =2026-10-30T07:00:28Z
on the new record, about 28 minutes after the PUT, and it
stamped the same instant on all three Actors in this batch (within 75 ms of each
other), which reads as a periodic notification job rather than a per-Actor
response. So existing users may have been told the price changed. That is benign
here — they were told it went down — but "no notification window" and "no
notification" are different claims, and only the first one is supported.
Event
FREE
BRONZE
SILVER
GOLD
PLATINUM
DIAMOND
snapshot
$0.02
$0.018
$0.016
$0.014
$0.014
$0.014
ratings
$0.008
$0.008
$0.00768
$0.0072
$0.0072
$0.0072
The FREE column is byte-identical to the prices before this change. The apply
script refuses to run at all if the FREE tier does not equal the live price to
the cent, so that is enforced rather than promised.
ratings runs a capped ladder (0 / 0 / −4 / −10%) instead of the family's
−10 / −20 / −30. Owner ruling 2026-10-30. The arithmetic is in
cloud-tests/pricing-tiers.json: at −30% the GOLD price would be $0.0056, of
which our 80% share is $0.00448 — a margin of −0.7% against the dearer
measured batch ($0.004512/row, run PjQTJrbwUZOyctFhQ) and +15% against the
cheaper one ($0.003810/row, run YLkdR9a2U8eQU2fBx). Capping at 10% holds GOLD
at $0.0072 (our share $0.00576) for +21.7% / +33.9%. This follows the
1688-image-search-scraper precedent, whose primary event is already capped and
whose README says so.
Recorded deviation: the option text the owner approved wrote SILVER as
"$0.0077". The value actually published is $0.00768 — exact −4%, matching
how image-search built its capped rung ($0.005 × 0.96 = $0.0048). A rounded
$0.0077 would be a 0.05% overcharge on the SILVER tier and would not be
reproducible from the ladder factor, which is what the drift guard pins.
No run-base-fee was added: this Actor has none and deliberately gets none
(ops handbook A-008, owner ruling 2026-10-30). Nothing outside the two events
above was touched.
J3 — why snapshot reads 0 on the canary, and what it means for the assertion
The ticket asked whether the primary event reading zero was variant routing
or a sample with no review block. It is variant routing, and the control is
unusually clean: four consecutive canary shifts ran the identical input
(B09B8V1LZ3, B0BZYCJK89, includeReviews: true, maxVariantRetries: 3,
maxItems: 2, US) on the identical build 0.1.18.
Shift
Run
reviewsPresent
charged
2026-10-26
Wk3nOvR6pwsm0lYgZ
1 (avgReviewsPerProduct 13)
snapshot 1, ratings 0
2026-10-27
HIn9fAuMnGKc73z0j
0 (reviewsAbsent 1)
snapshot 0, ratings 1
2026-10-28
cIhorhzYIn2uxrRkB
0 (reviewsAbsent 2)
snapshot 0, ratings 2
2026-10-29
bfvTL0Ap8fcGuILpx
0 (reviewsAbsent 1)
snapshot 0, ratings 1
The same two ASINs yielded 13 reviews on 10-26 and none on the three following
days. That falsifies "the sample has no review block" — it demonstrably has
one. What differs between shifts is which page variant Amazon served, and
maxVariantRetries: 3 was exhausted without hitting one that carried the block.
Every row was still delivered and still billed, as ratings.
Impact on A-018's "primary event > 0" assertion: read literally as
snapshot > 0 it is unsound for this Actor and would have red-flagged 3 of the
last 4 healthy shifts. As deployed it is already sound — canary-auditor treats
primaryEvents: ['snapshot', 'ratings'] as an any-of sum
(src/audit.jssumEvents), and the live build's checks.js carries that row
with a comment saying exactly this. Any external reader applying the rule as
"the event named isPrimaryEvent must be > 0" needs the口径 corrected: for this
Actor a healthy run can legitimately charge zero of the primary event.
A separate, pre-existing finding falls out of the same table: 1–2 item runs cost
$0.0062–$0.0141 each (Wk3nOvR6pwsm0lYgZ $0.006164, HIn9fAuMnGKc73z0j
$0.014061, cIhorhzYIn2uxrRkB $0.014015, bfvTL0Ap8fcGuILpx $0.008284), so a
single ratings row at $0.008 already loses money at FREE prices before any tier
discount. Not caused by this change and not fixed by it; reported separately.
Disclosure and the drift guard
README now publishes all six tiers for both events, states that the figures in the
cost tables are FREE-tier prices, and says plainly why ratings is capped.
tests/pricing-tiers.test.js pins three things together off
cloud-tests/pricing-tiers.json: the ladder, LIST_PRICES in src/billing.js,
and the README table. LIST_PRICES is only the offline fallback (readPricing
overwrites it with the prices the run was issued), so drift does not mischarge
anyone — it makes every local run, cost estimate and offline test lie by exactly
the drift, which is how a wrong number reaches a README six weeks later.
Mutation-checked: moving LIST_PRICES by one part in a thousand fails 3 tests,
moving a README rung fails 1.
Two landmines found and closed in cloud-tests/deploy.mjs
--repricing would have flattened the ladder. It builds its new record
from the flat PRICING_SEED and decides whether to append by comparing
eventPriceUsd. A tiered live record has no eventPriceUsd at all, so the
comparison reads "differs" and the flag appends a flat record over the ladder —
silently repricing every paid subscriber back to list. Now refuses and points
at apply-tier-pricing.mjs.
The metadata PUT could revert a ruling. It pushed title, description,
seoTitle, seoDescription, categories, defaultRunOptions and
exampleRunInput from the local manifest on every run. Live seoTitle is
"Amazon Reviews API: Ratings Histogram & Top Reviews JSON" while local still
said "Amazon Reviews Scraper: Ratings, Histogram & Top Reviews", and live
categories had already dropped MARKETING. A docs-only build would have
undone both, invisibly. The PUT is now behind --meta, and without it the
script reports live-vs-local drift instead of writing. The local manifest was
synced to live.
Worth recording which side was stale, because the obvious guess is wrong: the
local wording is what the 0.1.15 entry below deliberately shipped ("meta.title
… keeps the exact head phrase 'Amazon Reviews Scraper: Ratings, Histogram & Top
Reviews'"), so the manifest was faithful to that ruling and the live value
is the newer one — changed after 2026-10-26, which matches the operations note
that snapshot's seoTitle/seoDescription were re-ruled on 2026-10-30. The
stale side was the repo, not the platform.
Also learned the hard way and now asserted locally before the call:
reasonForChange is capped at 250 characters (HTTP 400
checkAndSanitizePricingInfosModifier[new_record]: reasonForChange must be at most 250 characters long
). Same family as the public-Task caps. Nothing was written by
the rejected attempt — the modifier validates before it mutates.
One test was pinning the stale wording too
tests/schema.test.js asserted the SEO snippet matched /never paginated/i and
/No-login/i — phrasings from the superseded local draft. The live snippet says
"No pagination" and "without login", so syncing the manifest made the suite red.
Fixed by matching the intent (must state we never paginate; must state no login)
instead of one draft's phrasing, so a future re-rule that still says all three
things does not fail the build. Mutation-checked: deleting "No pagination" from the
snippet still fails it. The caps it also enforces (seoTitle ≤ 60, seoDescription
≤ 200) hold for the live wording at 56 and 193 characters.
Tests 103 → 110 (all green).
Build 0.1.18 (2026-10-26) — the published draw-rate statistics were stale, and 512 MB is now provably unreachable
No src/ change between 0.1.16 and 0.1.18. Every runtime finding recorded against
0.1.16 holds for 0.1.18; the two builds in between moved documentation and
package.json, which is why this entry covers all three.
0.1.17 corrected two buyer-facing statistics that our own evidence no longer
supported.README.md ("How the review draw works") and the maxVariantRetries
description in .actor/input_schema.json quoted a first-draw review hit rate of
57% and an eventual rate of 89% over four draws, from a pool of 54 products
measured up to 2026-10-24. Re-deriving the same statistic from the 23 evidence
runs that used the default maxVariantRetries=3 gives 101 products, 163 draws,
37% on the first draw and 59% eventual, 1.61 draws per product — and 2026-10-26
was a heavy-wall day (run QPdJNGiqH7QLJQ2wa found 28 of 50 products blocked),
so the two pools are not the same population. Both fields now quote the larger,
more recent pool and state the drift instead of hiding it. docs/cost-model.md
§5b was rewritten to match and withdraws two of its own earlier conclusions:
"four draws reach 88–91%" is now 59%, and "the draws after the fourth are nearly
worthless (17% on n=6)" cannot be read off the current pool at all (draw 4
measured 29% on n=7). maxVariantRetries=3 stays the default as an owner ruling,
not as something the table still proves.
cloud-tests/cost-report.mjs now splits the lottery by maxVariantRetries and
prints an all-runs line as well. Pooling the two maxVariantRetries=1 runs into
the default's statistic understated it, and a reader cannot tell a mixed pool from
a per-setting one.
S-6 is now proven on the platform, not just declared.minMemoryMbytes: 1024
is baked into the build, but neither GET /v2/acts/{id} nor the build record
echoes it back, so the declaration was unverifiable from the API. Three probe runs
with an empty asins list settle it: requesting ?memory=512 and ?memory=256
both come back with options.memoryMbytes: 1024 (runs CdSxhVztYez54mAEd,
PVYDjtUZgEbsu4fGF), and ?memory=1024 is honoured as asked
(1ja2yZAWfVk3eMyLq). The 512 MB trap tier the gatekeeper flagged is unreachable.
Two earlier probes were void and are recorded here so nobody re-reads them as
evidence: memoryMbytes as a query parameter is silently ignored (runs
QcwBrteA5BZwy6oXk, zLlwzu3QE3WqMjSxF both came back at the 2048 MB default);
the parameter name is memory. All five probes charged zero events.
0.1.18 exists only to close a version gap. 0.1.17 was cut with the corrected
README and input schema but with package.json still reading 0.1.16 and no
changelog entry for itself, so the build tagged latest was undocumented in its
own history. This build re-uploads the same src/ and .actor/ with both
aligned. cloud-tests/check-parity.mjs reports 0 diffs across all 17 uploaded
files.
Offline suite 103 tests, 0 failures.
Build 0.1.16 (2026-10-26) — S-2 was not actually fixed in 0.1.15, and one S-5 row lied
Two additions on top of 0.1.15, both found by re-running 0.1.15 on the platform
rather than by reading it.
S-2 follow-up (P0 for the fix, not for the Actor) — the signal handler never
runs on a plain abort. 0.1.15 shipped installSignalLedgerDump() and the
widened gate, and cloud run AcYXt0VlSzqwtRpwK (case S2-abort40, aborted at
43.1 s with 3 snapshots already charged) still produced noRUN_SUMMARY
and no OUTPUT: the container log ends at "ACTOR: The Actor run was aborted by
the user" and the handler's own first line —
SIGTERM received; writing the charge ledger before exiting — never came out.
So the gatekeeper's prescribed remedy (call persistPartialSummary from
SIGINT/SIGTERM) cannot work on its own: the platform's abort gives the process
no window at all, and Actor.on('persistState') is a ~60 s tick, which is why
the archived 90.4 s abort looked fine and the 43 s one never did. The ledger is
now also refreshed from the loop while the run is alive:
CHECKPOINT_INTERVAL_MS = 10000, decided by the pure dueForCheckpoint() and
awaited at each item boundary, so at worst a killed run's copy is one item
stale, for one key-value write per 10 s. The signal handler stays as a
secondary path — it does help on a graceful stop — but it is no longer the
load-bearing one. Same wiring ported to the eBay bridge (E-3) and to the Etsy
bridge (Y-2, which had no fallback of any kind).
S-5 follow-up — a budget-forced downgrade reported the tier the buyer asked
for, not the tier they got. The pre-gate fix reserves the cheapest tier a
product can be billed at and skips the review lottery when the room will not
cover a snapshot. The row still carried mode: "snapshot" with reviews: [],
which reads as "the lottery missed" rather than "we never drew". mode is now
derived from the settings actually used for that product, so a forced
downgrade says mode: "ratings" and is billed at the ratings price; the count
is logged per product and summarised in RUN_SUMMARY.notes
(
Nproduct(s) were fetched as ratings-only because the remaining budget could not cover the snapshot tier
). Those products stay excluded from the variant
hit-rate telemetry, which would otherwise record a deliberate non-draw as a
lottery miss.
Offline suite 103 tests, 0 failures (was 102): the dueForCheckpoint cadence
rule.
package.json is aligned to the cloud build number from this build on. It had
been tracking a separate local semver (0.1.4 against cloud 0.1.15), which is
how a reviewer ends up comparing the wrong two things.
Seven items from the gatekeeper's 20261025-整改单-未发布三Actor-交开发agent.md, all
reproduced from cloud runs on 0.1.10. Two owner rulings are in this build: the
Store title, and the fuse threshold. No price changed.
S-1 (P0) — an empty ratings tier was charged as a ratings delivery. Cloud
run fvcqKhzUfz2wXEihc (S4-deadonly8) delivered B000000012 and
B000000013 with ratingAverage, ratingCount and all five histogram
buckets null, reviews: [] and billedEvent: "ratings" — a charge for the
one thing the row did not carry, on exactly the old/new/unrated products a
bulk list is full of. buildRow now bills ratings only when
hasRatingAggregates() finds an average, a count or any bucket; such a row is
delivered free with freeReason: "no_rating_data", counted in the new
delivered.okUncharged and coverage.noRatingData, and explained in
RUN_SUMMARY.notes. Review text without aggregates still bills snapshot:
the reviews are the expensive half of that tier, and giving them away would
cannibalise it. Chosen over the alternative (a third priced "product face
only" tier) because a new event means a new price to justify, and the honest
default here is free.
S-2 (P1) — a kill inside the first minute left money charged and no ledger.nffKgqO0u46tNJOUc was aborted at 43.0 s with the platform already showing
{snapshot: 2, ratings: 1} and 4 dataset rows, and the key-value store held
nothing but INPUT. The SDK installs no signal handler at all (grep over
node_modules/apify and node_modules/@apify: zero hits for SIGTERM/SIGINT),
so Node's default action killed the process before any async write; persistState
only fires about every 60 s, and the archived 90.4 s abort looked fine purely
because a tick had happened to land first. installSignalLedgerDump() now
writes the ledger straight from SIGTERM/SIGINT under a 5 s budget and then
re-raises the signal with its default action restored, so the platform still
reports the run ABORTED rather than reading a synthetic exit code. The
checkpoint gate also widened from chargedUsd > 0 to
chargedUsd > 0 || intendedUsd > 0 || deliveredRows > 0, because the
platform's charged counter can lag our own push. Same fix in the eBay bridge
(E-3) and the Etsy bridge (Y-2, which had no fallback at all).
S-3 (P1) — an unread pricing record was indistinguishable from a correct
read.readPricing started from {...LIST_PRICES} and overwrote only what
it could read, so run YLkdR9a2U8eQU2fBx reported chargedUsd 0.204 while
the platform's own event counts priced the same run at 2.4× that, with
notes: []. billing.pricingSource is now platform,
platform-read-failed or inactive, billing.pricingReadError carries the
reason, PRICING_READ_FAILED lands in notes and OUTPUT, and the startup
log says it at error level. A failed read also reserves
PRICING_UNCERTAINTY_FACTOR (3×, above the measured 2.4× divergence) per
event in the budget pre-gate: the platform charges its own price whatever we
believe, so the only lever we hold is stopping earlier. An undelivered tail is
reported in skippedBy.budget; an overspend cannot be handed back.
S-4 (P1, owner-ruled) — the fuse no longer swallows a large batch. A fixed
threshold of 2 stopped run YLkdR9a2U8eQU2fBx at 14 of 50 products with
skippedBy.fuse = 36: 36 products the buyer asked for were never attempted, a
24% delivery rate by request, named only by a field key. fuseLimit() now
returns max(2, ceil(10% of the batch)) — 2 up to 20 products, 5 at 50, 10 at
the 100 default — measured against the run's own queue, so a 200-ASIN list
with maxItems: 20 still fuses at 2. The walls in that run were scattered, not
clustered, so the scaled threshold attempts all 50 while a genuinely walled
exit still stops at 10% instead of burning the whole batch. fuseLimit is
published in RUN_SUMMARY, and the fuse reason line now states how many
products were never attempted (the gatekeeper's option ③ as well as ①).
Counting discipline unchanged: a 404 still neither feeds nor clears the
counter.
S-5 (P2) — the $0.04 platform minimum bought nothing. The pre-gate
reserved the worst-case tier for every product, so S11-cap-floor (3 ASINs,
cap $0.04) delivered 0 rows at 0 charge. It now reserves the cheapest tier a
product can actually be billed at — ratings, since a snapshot whose draws
never carry reviews is billed as ratings anyway — and when the room covers
ratings but not a snapshot the review lottery is skipped for that product
rather than drawing reviews the cap would then refuse to deliver. Same money
for the buyer, less proxy spend for us, and the product arrives instead of
being dropped. Those forced single draws are excluded from the variant
hit-rate telemetry, which would otherwise record them as lottery misses.
S-6 (P2) — 512 MB is no longer offered.minMemoryMbytes was 512 while our
own 37-row batch peaked at 862 MB, so the "sometimes works" setting was the
most dangerous one on the menu. The floor is now 1024 MB; the default stays
2048 MB.
S-7 (P2) — contract disclosure.RUN_SUMMARY.billing was already
documented in the key-value store schema; it now also carries pricingSource
and pricingReadError, and the schema gained delivered.okUncharged,
coverage.noRatingData, fuseLimit and the signal:SIGTERM value of
persistReason. The dataset schema documents freeReason and adds it to the
overview view. The input schema's "up to 8 … plus up to 5 …, and never
more" was an absolute promise we cannot keep — Amazon can change that block
at any time — and is now "measured up to 13"; no hard maxItems was added to
the row schema, because a validation failure there would drop a real delivery.
The stale "4 of 11 / 9 of 11" draw statistics the gatekeeper saw on 0.1.10 were
already replaced by the pooled n=54 figures in 0.1.12.
Store title (owner-ruled: maximise traffic). Apify's Store search rewards
an exact title phrase over popularity: for amazon ratings the top three hits
are Actors with 2, 3 and 5 users whose titles contain that phrase, ranked above
a 6,726-user Actor titled "Amazon Reviews Scraper", which does not appear until
fourth because its title has no "ratings" token. The head phrase is
unwinnable for a new Actor (971 results, three of them above 6,000 users), so
the display title now reads "Amazon Reviews & Ratings Scraper: Histogram,
Top Reviews" (56 chars) — it keeps amazon reviews contiguous for the head
query, adds the contiguous ratings scraper phrase for the thin family, and
keeps histogram, where only 46 Actors compete at all. meta.title (the
Google-facing seoTitle) keeps the exact head phrase
"Amazon Reviews Scraper: Ratings, Histogram & Top Reviews", where external
search volume is concentrated. The Actor name still tokenises to
amazon reviews snapshot, so the head phrase is covered on both fields.
Offline suite 102 tests, 0 failures (was 90): fuseLimit scaling and both
batch shapes, the free no_rating_data row and its tallies, snapshot billing
when reviews exist without aggregates, the widened checkpoint gate, three
signal-dump cases (writes and re-raises, gives up at the budget, logs a failing
write and still dies), and three pricingSource cases including the 3×
reservation.
Build 0.1.13 (2026-10-26)
One defect, shared with two sibling Actors that were built from this code.
A finished RUN_SUMMARY could be overwritten by a checkpoint.Actor.exit()
emits one final persistState after the run body returns
(node_modules/apify/dist/actor.js: "Close the event manager and emit the final
PERSIST_STATE event"), and the checkpoint handler rewrote the completed report
as a partial: true lower bound. Proven on the sibling
xiaohongshu-note-tracker's cloud run yrrpPGvPgHcjPVlxr, which published
partial: true, persistReason: "persistState" for a complete 5/5 run; this
Actor's own archive shows it only on case-h-abort, because whether the write
lands before the container dies is a container-exit race — which is exactly why
it survived review. Latched with markRunSummaryFinal() plus an exported
shouldCheckpoint() pure function, and pinned by the last test in
tests/pipeline.test.js, which asserts the truth table and greps src/main.js
for the three wiring points (drop any one and the bug returns while the truth
table still passes). Offline suite 88 tests, 0 failures.
Same fix applied in ebay-to-1688-sourcing-bridge (build 0.2.8) and
xiaohongshu-note-tracker (build 0.1.3).
partial: true was also reported for runs that had finished. The flag was
trigger !== 'done' || skippedTotal > 0, and skippedTotal counts
invalidInput, so a submission of one good ASIN plus five unparseable strings
published trigger: "done" next to partial: true with the reason "5 of 6
products were not fetched" — our phrasing of the buyer's typo as our shortfall.
Every other skip bucket is work a re-run could do (raise maxItems, raise the
cap, split the list, wait out the wall); an unparseable entry gets the same
verdict every time. unfinishedTotal (which excludes invalidInput) now drives
the flag, the completeness identity still counts all inputs, the reason line
names the real cause and says the entries were free, and a resource stop that
coincides with bad input reports both instead of dropping one. Found on the
sibling's cloud case E; UNFINISHED_SKIP_KEYS is exported next to SKIP_KEYS
with the reasoning, and two tests in tests/billing-summary.test.js pin it.
Offline suite now 90 tests, 0 failures.
No behaviour other than the checkpoint gate and the partial/reason wording
changed.
0.1.3 (2026-10-24)
Price re-rule only. No parsing, fetching or accounting behaviour changed; src/ differs from 0.1.2 in one frozen constant and one comment. Offline suite 87 tests, 0 failures.
Prices re-ruled $0.05 → $0.02 (snapshot) and $0.015 → $0.008 (ratings), flat, no volume ladder. The 2026-10-23 ruling was priced against the PRD's estimated COGS of ~$0.025/ASIN; the M1 batch measured $0.0019 per delivered row on the shipping configuration (2048 MB, datacenter), 13× lower. A live read of the Store on 2026-10-24 put this submarket at $0.0007–$0.0030 per review and $0.003 per product, and M1 measured 10.2 reviews per paid snapshot row — so $0.05 was $0.0049 per review, dearer than every visible competitor while carrying a tenth of their review depth. $0.02 is $0.0020 per review, inside the band, and still keeps 88% of our 80% share against a $0.0024 break-even (docs/cost-model.md §5/§6). ratings keeps 70%.
No ladder was committed.pricingInfos are append-only, so a volume discount granted before there is any real volume could never be withdrawn. The re-rule is record #3, appended by cloud-tests/deploy.mjs --repricing (PUT the sanitized full history plus one new record with startedAt = now); a decrease takes effect immediately with no 14-day notification window, and the two superseded records stay readable on the actor.
The registered snapshot event description was corrected in the same append. It said "8 from the US marketplace" where M1 measured up to 8 (one product delivered 9 = 8 US + 1 Saudi Arabia, another delivered 1). Correcting prose also means appending a record, so it rode along rather than costing a fourth one.
Nothing else can drift with the price.LIST_PRICES in src/billing.js is only the local/offline fallback — on the platform readPricing overwrites it with the prices the run was actually issued (ChargingManager.getPricingInfo().perEventPrices) — and tests/billing-summary.test.js now fakes a run issued at prices deliberately different from LIST_PRICES (with an assertion that they differ), so the offline suite proves the platform price wins instead of quietly agreeing with the constant. cloud-tests/cost-report.mjs imports LIST_PRICES rather than re-declaring it.
Price-relative acceptance criteria.cloud-tests/CASES.md cases a/b/f used to hard-code chargedUsd = 0.05 and skippedBy.budget = 4; they now assert against billing.prices from the run summary plus the budget gate's tightness (chargedUsd + prices.snapshot > cap). How many rows fit inside case f's $0.06 cap legitimately moves with the price — 1 delivered at $0.05, up to 3 at $0.02.
The pooled review-lottery sample grew, and the listing now quotes the new one. The 0.1.8–0.1.11 re-verification and re-pricing runs added ten snapshot-mode runs to cloud-tests/evidence/, so the pool cost-report.mjs derives moved from 39 products / 63 draws to 54 products / 96 draws: first draw 62% → 57%, four-draw ceiling 90% → 89%, 1.62 → 1.78 draws per product. Within noise, and the conclusion (maxVariantRetries=3) is unchanged, but README, .actor/input_schema.json and docs/cost-model.md §5b quoted the smaller pool and would have disagreed with the tool that re-derives them. Both places now carry the sample size and an explicit warning that the pooled figures are a sample statistic which moves with every run added to evidence/ — the M1 arm alone (n=32, 62.5% / 90.6% / 1.69) is the stable citation, because that run is fixed history.
Docs: README pricing table, lottery table and troubleshooting row, .actor/actor.json, package.json, .actor/input_schema.json (three descriptions — maxVariantRetries also drops the superseded n=11 lottery figures, and maxTotalChargeUsd now states honestly that a run can cost at most maxItems × $0.02, so the default $20 cap cannot bind), .actor/dataset_schema.json (billedEvent), docs/cost-model.md §1/§5/§5b/§6, docs/failure-semantics.md.
0.1.2 (2026-10-24)
One delivery defect found by the acceptance matrix itself, plus two disclosure corrections the M1 batch falsified. Prices, limits and the parsing contract are unchanged. Offline suite 87 tests, 0 failures. This change set ships on tag latest; the runs that evidence it are named below with their own buildNumber, since Apify's build numbers are a platform sequence and not this semver.
Dead ASINs no longer fuse a batch. The zero-delivery counter incremented on anyfetchStatus != "ok", so two 404s at the head of a list tripped the fuse and every live product behind them was skipped unattempted and unbilled. Cloud case e is the proof (run R8H9j88xC5LztQkFN, build 0.1.4): B000000001 and B000000002 came back notFound with attempts=1, and the golden control B09B8V1LZ3 — which had delivered in every previous run — landed in skippedBy.fuse. The fuse exists to notice that Amazon is walling our exit; a 404 is Amazon answering normally about a product that does not exist, which is evidence against a wall. The rule is now the exported pure function nextFuseCount(current, fetchStatus) in src/main.js: ok clears the counter, blocked/error increment it, notFound leaves it untouched — so blocked, notFound, blocked still fuses, and a list of dead ASINs costs one cheap request each instead of the rest of the batch. The offline test used to mirror the loop inline, which is exactly why the defect was invisible to it; it now drives the exported function.
Review counts are not always 8 or 13. M1's 29 paid rows measured 13 (×14), 8 (×13), 9 (B0C3FTCYZL: 8 US + 1 Saudi Arabia — the other-country block is not always 5) and 1 (B0BL849JC9, a product with 8 ratings in total, which has 1 review). The real rule is min(8, US reviews) + 0..5 foreign. README (3 places), .actor/actor.json, .actor/input_schema.json (2 places) and .actor/dataset_schema.json said "8" or "8 or 13" as if it were fixed; they now say "up to 8 … up to 5" with the measured distribution. The registered snapshot event description still says "8 from the US marketplace" and cannot be edited in place — pricingInfos are append-only, so the corrected wording rides along with the owner's pending price re-rule rather than adding a third record for prose alone.
Fixed and re-measured in the cloud, twice: the same case-e input on build 0.1.8 (run 1tLHcfR7lG7aCw8ff) and again on 0.1.9 (run gXq3qERVtSdeuTOY1, 32.0 s, evidence cloud-tests/evidence/e-notfound-nofuse-*) now processes all four inputs — rows.total=4 (2 ok + 2 free notFound), trigger="done", zeroDeliveryFuse=false, skippedBy.fuse=0, completeness 4=4 — and the golden control B09B8V1LZ3 behind the dead ASINs delivered 8 reviews and billed snapshot; intended == charged == $0.10, chargeErrors=0, platform settled {snapshot: 2}. The run log carries the new line verbatim: B000000001 notFound (not_found) — free row, a 404 is not a wall; fuse counter stays at 0/2. It also documents why a notFound row may show attempts > 1: that ASIN took two signin_walls before Amazon returned the 404 on attempt 3, and no request follows a 404.
Docs: docs/failure-semantics.md §4 (trigger table + the 404 rule) and its review-block paragraph, cloud-tests/CASES.md case e (expected outcome inverted; the fuse-on-walls path is now evidenced by c-m1-datacenter, which fused on 5 real walls), docs/cost-model.md §4/§5/§6/§8.
M1 calibration — builds 0.1.4 (datacenter), 0.1.5 tag res (residential), 0.1.6 (memory raise), 2026-10-24
Measurement only; src/ is byte-identical between the two arms (the residential arm is the same source built with AMAZON_SNAPSHOT_PROXY_GROUP=RESIDENTIAL baked in, because task-level options.envVars is rejected by the API and actor-level envVars is rejected by PUT /acts/{id} — the supported path is POST /acts/{id}/versions/{version}/env-vars). Evidence: cloud-tests/evidence/c-m1-*, re-derivable with node cloud-tests/cost-report.mjs.
The 50-ASIN datacenter arm (WrgFps9vWRKPLhw0b, 648 s, 862 MB peak, $0.03818): 37 products attempted, 32 ok, 5 blocked (2 signin_wall, 3 robot_wall), 95 requests (2.6 per product), 118.4 MB decompressed. $0.00103 per delivered row. Review lottery at n=32: first draw 62.5%, four-draw ceiling 90.6%, 1.69 draws per product. No end-of-batch session decay — the walls were scattered.
The same 50 ASINs on residential (xYOjb2YmpFaCPkgCS, 87 s, $0.01311): 4 products attempted, 2 ok, 2 robot_wall, then the zero-delivery fuse stopped the run (46 ASINs skipped, unbilled). $0.00328 per delivered row, 3.2× datacenter. Residential recovered nothing, cost more, and cannot be calibrated at batch scale while the fuse is armed — the flag stays a measurement tool and the default stays datacenter. Measured wire/decompressed ratio on this arm: 4.58 (previous four runs gave 5.33–6.23), so the cost model's rule of thumb moved from ÷5.9 to ÷5.
Both arms ended on trigger: "fuse" with the completeness identity intact (37 + 13 = 50 and 4 + 46 = 50), which is the strongest evidence yet that a fuse stop is an honest partial, not a loss. Open product question for the owner, recorded in docs/cost-model.md §8: on a 50-ASIN batch two consecutive walls stop the run with a third of the list unattempted, so the limit may deserve to scale with the batch (max(2, 10% of requested)). Not changed here — everything skipped is reported and free.
Margins at the owner's prices, on measured COGS: snapshot keeps 98% of our 80% share on datacenter (92% on residential), ratings 92% (73%). Break-even list prices are $0.0012 datacenter / $0.0041 residential.
Default memory raised 1024 → 2048 MB (build 0.1.6, tag latest). M1 gate item 5 tripped: the 37-row datacenter batch peaked at 862 MB, 84% of the allocation, and the published maxItems default is 100, so a customer's first large batch would have been the OOM test. Compute is deducted from our payout, not added to the customer's bill, and it is 94% of the datacenter arm's platform usage, so the raise moves datacenter COGS from $0.0010 to ≈$0.0019 per delivered row and the margins from 98% / 92% to 95% / 84% (docs/cost-model.md §5 and §8). maxMemoryMbytes was already 2048. Smoke-tested on 0.1.6 at 2048 MB: run lRQ2m7GmvIsEOxxo0, SUCCEEDED in 18.3 s, snapshot × 1 = $0.05, usage.ACTOR_COMPUTE_UNITS 0.010161 = 18.29 s × 2 GB ÷ 3600 exactly, 190 MB peak.
Docs updated from these numbers: the README's lottery table (was n=11, now n=39 pooled with the M1 arm broken out), its datacenter/residential bullet (was "the residential sample is small, so we do not claim it is more likely to be walled" — the paired 50-ASIN test now says the residential arm walled 2 of its first 4 and fused), and docs/cost-model.md §3/§4/§5/§5b/§8. Gate-by-gate verdicts are in cloud-tests/CASES.md.
Build 0.1.6 carries 0.1.4's src/ unchanged — all seven source files predate 0.1.4's build finish (2026-10-24T02:52:33Z), and everything added since is metadata (defaultRunOptions.memoryMbytes) and prose (README, CHANGELOG, two schema descriptions). cloud-tests/check-parity.mjs reports cloud files: 17 | diffs: 0 | cloud-only: 0 against the live version; tests/schema.test.js now pins 2048 and asserts a real power of two (the old % 512 === 0 check would have passed 1536).
0.1.1
Driven entirely by the build-0.1.1 cloud acceptance matrix of 2026-10-24 (7 cases, evidence in cloud-tests/evidence/, re-derivable with node cloud-tests/cost-report.mjs). No feature was added; every change below is a defect the cloud exposed or a claim the cloud falsified.
Delivery defects
Ratings-mode rows were shipping review text. Case b (3CkVbyDma57X0dxAz) delivered 8, 0 and 13 reviews on rows billed ratings — the $0.015 tier was handing over the $0.05 tier's payload, which is both a contract breach and a revenue leak (why would anyone pay $0.05?). buildRow now strips reviews unless the mode is snapshot, and a test asserts no author name can reach a ratings row while the aggregates that tier does sell survive.
Walls were treated as terminal, and they are not. Case a (bIofcl4ltjAXcCzkt) made one attempt, got a 3,781-byte "continue shopping" interstitial, and reported blocked/region_redirect — the whole acceptance case delivered nothing. Two more observations on build 0.1.2 settled the general rule: B0DF472VMZ came back signin_wall in ThssIi7PVNCmnMu1k and delivered 13 reviews in Wbf34jiUGadccO6Dt; B09B8V1LZ3 delivered 8 reviews in 5pNbiwzeA6GmGYtlO and came back signin_wall two minutes later in zdvx5tBNXtPDgWnbJ. Same build, same exit type, minutes apart.
A wall is a verdict about our exit IP and fingerprint, not about the ASIN, so every wall shape is now retry — guard, the new robot_wall, arbitration, signin_wall, region_redirect, soft_wall and the no_product_face catch-all — and only HTTP 404 stays terminal. The loop rotates the proxy session and re-fetches up to MAX_TRANSIENT_RETRIES + 1 = 4 attempts, then records a free blocked row carrying the reason it last saw. Retrying costs ~18 KB of wire for an interstitial and ~50 KB for a sign-in shell against a $0.05 delivery; no_product_face being retryable is deliberate, because that bucket is where the next new Amazon wall shape will land.
Retry budget widened and unified.MAX_TRANSPORT_RETRIES = 2 → MAX_TRANSIENT_RETRIES = 3, covering transport failures, the edgex/guard interstitial and robot_wall alike (4 attempts, none of them a review-variant draw). The counter is shared, so a product cannot spend 4 transport retries and 4 draws.
Cost and exit policy
Both modes now default to the DATACENTER exit. Build 0.1.1 sent snapshot mode through residential at $8/GB and ratings mode through datacenter. Case b then proved the datacenter exit works and is unmetered on this plan: 3 products, 7.33 MB decompressed, 1.38 MB received by the container, no PROXY_DATACENTER_TRANSFER_GBYTES key in the run's usage at all, proxy charge $0. Measured COGS per delivered row: $0.0005 datacenter vs $0.0063 residential (h-abort, 8 rows / 13 requests). The review block arrived through both — 2 of 3 datacenter pages and 9 of 11 delivered residential products carried it — so residential bought nothing except cost. AMAZON_SNAPSHOT_PROXY_GROUP=RESIDENTIAL forces the other arm; the M1 batch runs both to settle it at n=50 instead of n=3.
docs/cost-model.md (new). Every rate, ratio and margin derived from the run objects: residential $8.00/GB and compute $0.20/CU as implied by usageUsd ÷ usage, wire ≈ decompressed ÷ 5.9 (6.23 / 5.92 / 5.88 / 5.33 across four runs), the per-case cost table, and the margin at the ruling's prices. It also records who pays what: platform usage is deducted from the developer's payout and Apify keeps 20%, so the customer's bill is the event prices and nothing else.
Listing accuracy — two claims the cloud falsified
"Top 8 reviews" is wrong. 13 review rows came back on 6 of the 8 products delivered in the matrix: Amazon renders its own top-review block (8) plus a "top reviews from other countries" block (up to 5). The P0 material's "硬上限 = 8 条" was measured on one product. Every buyer-facing string was rewritten — README first screen and limits, actor.json title/description/seoDescription, all four schema descriptions, package.json, and the registered snapshot event description — and a new test scans all eight listing surfaces for the falsified claim so it cannot creep back. reviews[].country is documented as the way to tell the two blocks apart, and reviewsCount is documented as 0–13.
The lottery table was modelled, not measured. "56% → 81% → 92% → 96%" assumed independent draws at the probe's 5/9 rate. The cloud measured 4/11 first draws (36%) and 9/11 eventual hits (82%) at 1.64 draws per product, with the per-draw curve 36% → 60% → 100%. The README now states the measured numbers and their sample size.
Report and telemetry honesty
variantStats no longer counts ratings-mode draws. Case b reported draws: 3, hits: 2, hitRate: 0.667 for a mode that never retries the lottery — pure dilution of the one number a buyer uses to tune maxVariantRetries.
An explicitly set humanReadableReason now wins over the computed tally. Case d exited with errorCode: VALIDATION_ERROR but the reason text was the generic skip summary.
RUN_SUMMARY.billing is present on every exit path (frozen ZERO_BILLING shape), so downstream readers get a stable key set even on a validation exit that never built a ledger.
Blocked and retry log lines now carry the byte count and the page <title>, which is what case a's log was missing.
Validation exits mark every valid item unattempted, so the completeness identity holds on an empty run too.
Platform caps learned the hard way
Two 400s from POST /acts: seoTitle ≤ 60 characters and seoDescription ≤ 200. Both PRD title candidates (68 and 74 chars) exceed the cap, so the shipped titles are new; tests/schema.test.js now asserts both limits locally.
Harness fixes (test scaffolding, not product)
Case g fused before its 70 s deadline could bite (trigger: fuse, 6 skipped by fuse, 0 by deadline), so it never tested the deadline path; case h SUCCEEDED in 102 s, well before the 150 s abort it was meant to exercise. Both cases are being re-cut with an isolating deadline case and a batch long enough for a persistState tick to land after charging starts.
run-case.mjs records chargedEventCounts twice (at finish and after a settle window), because the counter is eventually consistent: case b read {snapshot: 0, ratings: 2} at finish and {snapshot: 0, ratings: 3} settled.
Pricing note for the owner
The 2026-10-23 ruling ($0.05 / $0.015) was made against the PRD's estimated COGS of ~$0.025/ASIN. Measurement puts it at $0.0005–$0.0063, i.e. the estimate was 4–50× too high — it plugged decompressed bytes into the per-GB rate and assumed a residential exit. At the standing prices the snapshot event keeps 87–99% of our 80% share. pricingInfos are append-only, so no volume tier is committed until the owner re-rules; cloud-tests/deploy.mjs carries that reasoning inline.
Tests
86 unit tests, all offline (npm test): the golden fixture regression, the new retry/robot_wall classification and its recovery-then-exhaustion path, transient retries and variant draws as separate budgets, the ratings-mode review strip, resolveProxyGroup, the residential arm's counters, plus two listing-consistency gates (no falsified review count anywhere; every emittable blockReason disclosed in the README).
0.1.0
First implementation of strategy/2026-10-23_Amazon评论快照Actor_PRD.md. HTTP-only (no browser), anonymous (no login, no cookies, no challenge bypass), one dataset row per ASIN.
Pricing (owner ruling, 2026-10-23)
snapshot$0.05 / ratings$0.015, no run base fee, failed lookups free. The PRD's proposed $0.03 / $0.01 was rejected at review: against the measured residential cost of a review draw (~2–3 MB decompressed per draw, ~1.8 draws per hit, $8.016/GB on this account) $0.03 is a structural per-ASIN loss — the same trap that produced the 1688 product Actor's negative-margin months. At $0.05 the expected net is ~$0.039 against ~$0.025 COGS per ASIN.
Superseded by measurement in 0.1.1 (kept here for traceability): the ~$0.025 COGS figure plugged decompressed bytes into the per-GB rate and assumed a residential exit. docs/cost-model.md measures $0.0005–$0.0063 per delivered row. The prices stand until the owner re-rules.
A snapshot whose page variant never carried reviews is delivered and billed as ratings, not snapshot. Retrying the draw never raises the bill.
Both events are registered through the pricing API before any charge call (the unknown event trap).
What the golden fixture changed about the PRD
Every anchor was verified against a real 2,033,463-byte residential-exit dump (tests/fixtures/dp-with-reviews.html, B09B8V1LZ3, probe run ujNAssBYSFdeYKLBG). Six PRD anchors were wrong and are corrected here:
categories and bestSellersRank are dropped.wayfinding-breadcrumbs_feature_div, detailBullets_feature_div, #SalesRank and the literal string "Best Sellers Rank" all return 0 hits on a current desktop dp page. Shipping fields that are always null would have been a listing lie.
#histogramTable is a <ul> of five <li>, not a <table>.li.text() self-pollutes to 82%11%3%1%3%82% because Amazon renders the whole histogram inside every row. The primary anchor is each row's a[aria-label] ("82 percent of reviews have 5 stars"), which is self-describing and order-independent; a positional last-percent fallback is kept and unit-tested.
Review hooks are camelCase.reviewTitle / reviewText / review-by-line, not the kebab-case the PRD assumed.
review-by-line is the date wrapper, not the author. The author is .a-profile-name, the profile URL is a[href*="/gp/profile"].
reviewText is unusable. It carries Amazon's mobile UI scaffolding (Brief content visible, double tap to read full content., Read more). Bodies come from reviewRichContentContainer only, and a test asserts the scaffolding never leaks.
reviewId comes from the review container's own id attribute. The in-container link is /portal/customer-reviews/srp/-/R…, not the /customer-reviews/R… the PRD expected.
product-variation-attributes nests the Verified Purchase badge. Without removing it the variation reads Color: CharcoalSize: Pack of 1Configuration: Device onlyVerified Purchase. The badge is stripped and the remaining spans are joined with " | ".
#availability embeds a JSON blob. Raw text is In Stock {"isInternal":false,…}; the parser reads .primary-availability-message and cuts at the first {.
Anchors the PRD did not cover
The price anchor in the PRD is a whitespace spacer.#corePriceDisplay_desktop_feature_div .a-offscreen holds " " on current markup — Amazon's "reinvent price" variant puts the real value in .a-price-symbol/.a-price-whole/.a-price-fraction and leaves the offscreen span empty. The parser now walks four scoped containers (#corePrice_feature_div → #corePriceDisplay_desktop_feature_div → #tp_price_block_total_price_ww → #apex_desktop), skips .a-text-price (that is the struck-through list price), and takes the first numeric offscreen value.
priceIsRange (new field). A variation parent renders .a-price-range, whose low end is not the price of any purchasable variation. Without the flag a buyer would read "from $19.99" as "$19.99". Not verifiable on this fixture (no range present); detection is a class test.
Carousel contamination is a real trap on this page. The fixture embeds a recommendation card reading 4.7 out of 5 stars, 571,289 ratings for a different product (Amazon Smart Plug). Rating aggregates are therefore read only from this product's own unique #acrPopover / #acrCustomerReviewText / #histogramTable, and a golden test asserts neither 571289 nor Smart Plug can reach the row. Same class of bug as the eBay bridge's soldCount carousel leak.
country per review (new field). The date line reads "Reviewed in the United States on …" and the reviewer's marketplace can differ from the storefront queried. Free to extract, so it is.
Input and accounting deviations from the PRD
Bare-ASIN validation relaxed from ^B0[A-Z0-9]{8}$ to ^[A-Z0-9]{10}$ so ISBN-10 book ASINs work. Non-ASIN junk is still rejected, free, into invalidInputs.
proxyCountry is a single-value enum, not a textfield, so an unsupported country is rejected by input validation instead of failing mid-run.
skippedBy keys differ. Because every fetched ASIN produces a row here, blocked / notFound / error are delivered rows counted in delivered.failed (and free), not skip buckets. skippedBy holds only ASINs that never got a row: {unattempted, budget, deadline, fuse, invalidInput}. The identity is delivered.rows + sum(skippedBy) === requested.dedupedItems, verified before exit and failed loudly if broken.
No maxRequestsPerRun input.maxItems × (1 + maxVariantRetries) already bounds the request count, so a second quota would only add a knob.
A page carrying #productTitle but yielding no title text is an error/parse row, free, and stops the lottery immediately — redrawing cannot fix moved markup, and letting it trip the zero-delivery fuse is cheaper than four draws per ASIN.
Protection mechanisms
Budget pre-gate before each fetch (the run never spends proxy money on a product it cannot bill), plus the platform-side maxTotalChargeUsd.
Zero-delivery fuse after CONSECUTIVE_WIPEOUT_LIMIT = 2 consecutive undeliverable products.
Soft deadline derived from ACTOR_TIMEOUT_AT with a 48 s finish reserve and a 3,510 s self-cap under the 3,600 s platform default — never a hardcoded overrun.
persistState checkpoint ledger: once anything has been charged, every tick refreshes RUN_SUMMARY so an abort / OOM / hard kill still leaves a readable ledger (persistReason marks the copy, which is a lower bound rather than the final value).
Charge failure still delivers the row unbilled and increments chargeErrors — paid-for work is never lost to a billing error.
Every field parses inside its own try; a markup change nulls that field and names it in RUN_SUMMARY.notes as PARSE_ERRORS instead of short-circuiting the row.
Proxy session ids are snap<ASIN><salt><n> — word characters only, no hyphens (Apify rejects hyphens and fails every request in the session).
Tests
66 unit tests, all offline (npm test), including a full golden regression on the real dump: 8 reviews with every field populated, histogram summing to 100, rating count 201302 with the carousel's 571289 provably absent, bodies free of UI scaffolding, variations free of the verified badge, plus the variant lottery, guard/transport retry accounting, deadline behaviour, budget gate, fuse rule, billing ledger and the completeness identity.
Not done (V1 boundaries, per PRD §11)
No pagination or full review export (the anonymous channel does not have one), no browser channel, no EU storefronts, no cookie/account input, no translation or sentiment packaging.