ScaffoldBench

RunSonnet 5.5repeat 1

Plan-execute-verify on HTTP 301 vs 308

claude-sonnet-5-5__plan-execute-verify__research-http-redirects__r1

Score

0.875

wrong answer
design ran as designed
Cost
$0.291
+ $0.089 judging
Latency
1m 11s
setup 0.0s, grading 5.4s
Turns
35
Tool calls
30
Subagents
0
Tokens in / out
165k / 9.6k
116,490 read from cache

Did the design run?

every check held
  • Run completed: heldharness.run-completedThe environment was built, the architecture returned and grading finished, none of them throwing.
  • No API failures: heldharness.apiNo model call failed at the API.
  • Every call ended: heldharness.calls-endedEvery call ended with a result, or was stopped by the run's own limits.
  • No harness tool denied: heldharness.harness-toolsThe sandbox guard never denied a harness tool, nor a tool the session itself offered.
  • Tool servers connected: heldharness.mcp-connectedEvery tool server the harness gave a call was connected when the session started.
  • No foreign tool servers: heldharness.mcp-hermeticNo call loaded a tool server the harness did not give it.
  • Builtin tools: heldharness.builtin-toolsA check recorded with the run.
  • Structured replies arrived: heldharness.structured-outputEvery call that asked for structured output and ran to the end got it.
  • No silent fallbacks: heldharness.not-degradedNo phase fell back on a default (an empty plan, a default winner) instead of its output.
  • Judge answered: heldharness.judgeAt least one grading call returned a usable verdict.
  • The plan was a plan: heldplan-execute-verify.planThe planner’s reply was read through its schema and held at least one step.
  • Every verdict was read: heldplan-execute-verify.verdictsEvery review round ended with a verdict read from the schema reply, not a default.
  • The loop did what its verdicts said: heldplan-execute-verify.loopEvery verdict that called for a revision got one, and nothing was revised without such a verdict.
  • Each call was shown the right tools: heldplan-execute-verify.toolsThe planner was shown no tools, the verifier the read-only ones, and the executor and reviser the full toolset.

Phases

Plan: 0.0s to 12.6s, finished, 0 tool calls, $0.019
Execute: 12.6s to 50.6s, finished, 18 tool calls, $0.180
Verify: 50.6s to 1m 11s, finished, 12 tool calls, $0.092

Drawn from the phase records: timing and cost per call, no tool calls or messages.

PhaseDurationCostTurnsToolsModel
Plan12.6s$0.01920claude-sonnet-5-5
Execute38.0s$0.1801918claude-sonnet-5-5
Verify20.7s$0.0921412claude-sonnet-5-5

The call-by-call replay is not published for this run. Traces are large, so the repository keeps 9 of this run set’s 900 and leaves the rest out; the score, phases and final answer on this page come from the committed run record.

Runs you can replay

Record this cell yourself: npm run bench -- run --strategies plan-execute-verify --tasks research-http-redirects --models claude-sonnet-5-5 --repeats 1

Score breakdown

  • passStates that 301 is "Moved Permanently" and 308 is "Permanent Redirect", and that both indicate the target resource has been assigned a new permanent URI.
    1.00weight 0.17

    met, backed by verified evidence E1. “The 301 (Moved Permanently) status code "indicates that the target resource has been assigned a new permanent URI”

  • partialStates that a client following a 308 must not change the request method: a POST is repeated as a POST, with its body.
    0.50weight 0.25

    partial, backed by verified evidence E5, E10, E14. “With 308, the method must stay the same.”

  • passStates that when following a 301 a user agent MAY change the request method from POST to GET (for historical reasons), which is the behaviour 308 exists to rule out.
    1.00weight 0.25

    met, backed by verified evidence E2, E5. “"For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request."”

  • passStates that both 301 and 308 responses are heuristically cacheable, i.e. a cache may reuse them by default unless the method definition or explicit cache controls say otherwise.
    1.00weight 0.17

    met, backed by verified evidence E3, E4. “So both are cacheable by default. Explicit cache controls can override this.”

  • passStates that both codes are currently specified in RFC 9110 (HTTP Semantics), and that 308 was originally defined in RFC 7538, which RFC 9110 obsoletes.
    1.00weight 0.17

    met, backed by verified evidence E7, E8, E12. “both codes are in RFC 9110 (HTTP Semantics): 301 in Section 15.4.2 and 308 in Section 15.4.9.”

Penalties

No penalties were applied.

Scorer metadata

corpus
{"version":2,"snapshot":"2026-10-01","hash":"25fbed79c4f7f9e1b850436e0e4872f8e25dd80142f3177231c456f21817b817","documents":8}
opened documents
["rfc9110","rfc7538","rfc7231","mdn-status-308"]
opened by role
{"primary":["rfc9110"],"superseded":["rfc7538","rfc7231"],"secondary":["mdn-status-308"]}
displayed share
{"rfc9110":0.0592,"rfc7538":0.782,"mdn-status-308":1,"rfc9111":0.0032,"rfc7231":0.0496}
cited count
4
verified count
4
hallucinated count
0
citation integrity
1
hallucinated urls
[]
evidence block
true
evidence block repaired
false
evidence count
14
verified quote count
14
verified quote rate
1
evidence
[{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"301 means the resource has a new permanent URI (RFC 9110, Section 15.4.2)","quote":"The 301 (Moved Permanently) status code indicates that the target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"For 301, a user agent may change POST to GET, and 308 is the alternative if that is undesired","quote":"For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"301 is heuristically cacheable in RFC 9110","quote":"A 301 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"308 is heuristically cacheable in RFC 9110","quote":"A 308 response is heuristically cacheable; i.e., unless otherwise","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"307 and 308 were added to unambiguously indicate method-preserving redirects, while 301 and 302 were adjusted to allow POST to be redirected as GET","quote":"307 (Temporary Redirect) and 308 (Permanent Redirect) [RFC7538] were later added to unambiguously indicate method-preserving redirects, and status codes 301 and 302 have been adjusted to allow a POST request to be redirected as GET.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"When a redirect changes the method to GET or HEAD, content-specific headers are removed (body handling)","quote":"If the request method has been changed to GET or HEAD, remove content-specific header fields, including (but not limited to) Content-Encoding, Content-Language, Content-Location,","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"RFC 9110 obsoletes RFC 7231 and RFC 7538, so it is the current specification for both codes","quote":"This document updates RFC 3864 and obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"RFC 9110's IANA registration table lists 308 Permanent Redirect at Section 15.4.9","quote":"| 308 | Permanent Redirect | 15.4.9 |","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"RFC 9110 warns that 308 may not be recognized everywhere","quote":"This status code is much younger (June 2014) than its sibling codes and thus might not be recognized everywhere.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc7538.html","claim":"RFC 7538 originally defined 308 as like 301 but not allowing POST to GET","quote":"Note: This status code is similar to 301 (Moved Permanently) ([RFC7231], Section 6.4.2), except that it does not allow changing the request method from POST to GET.","verified":true,"document":"rfc7538"},{"url":"https://www.rfc-editor.org/rfc/rfc7538.html","claim":"RFC 7538 said 308 is cacheable by default","quote":"A 308 response is cacheable by default; i.e., unless otherwise","verified":true,"document":"rfc7538"},{"url":"https://www.rfc-editor.org/rfc/rfc7538.html","claim":"RFC 7538 made no technical changes from the experimental RFC 7238","quote":"This specification contains no technical changes from the Experimental RFC 7238, which it obsoletes.","verified":true,"document":"rfc7538"},{"url":"https://www.rfc-editor.org/rfc/rfc7231.html","claim":"RFC 7231 previously specified 301, including the POST-to-GET allowance and cacheability by default","quote":"A 301 response is cacheable by default; i.e., unless otherwise","verified":true,"document":"rfc7231"},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/308","claim":"MDN says 308 keeps method and body unchanged, and describes 301 differently from the RFCs","quote":"The request method and the body will not be modified by the client in the redirected request.","verified":true,"document":"mdn-status-308"}]
judge unverified quotes
0
judge verdicts
[{"names":{"status":"met","support":["E1"]},"method-preserved-308":{"status":"met","support":["E5","E10"]},"method-change-301":{"status":"met","support":["E2","E5"]},"cacheable":{"status":"met","support":["E3","E4"]},"specifications":{"status":"met","support":["E7","E8","E12"]}},{"names":{"status":"met","support":["E1"]},"method-preserved-308":{"status":"partial","support":["E5","E10","E14"]},"method-change-301":{"status":"met","support":["E2","E5"]},"cacheable":{"status":"met","support":["E3","E4"]},"specifications":{"status":"met","support":["E7","E8","E10"]}},{"names":{"status":"met","support":["E1"]},"method-preserved-308":{"status":"partial","support":["E10","E5"]},"method-change-301":{"status":"met","support":["E2","E5"]},"cacheable":{"status":"met","support":["E3","E4"]},"specifications":{"status":"met","support":["E7","E8","E12"]}}]
judge failures
0
grounded weight share
1

Final answer

Short version: 301 and 308 both mean "this resource has moved permanently." They differ in how the client re-sends the request. With 301, a client may turn a POST into a GET. With 308, the method must stay the same. Both are now specified in RFC 9110.

What each code means

  • RFC 9110 defines both codes in nearly identical words. The 301 (Moved Permanently) status code "indicates that the target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs." (https://www.rfc-editor.org/rfc/rfc9110.html)
  • The 308 (Permanent Redirect) text in Section 15.4.9 of the same RFC uses the same sentence. For both codes the server SHOULD send a Location header, and the user agent MAY follow it automatically.

Request method and body

  • 301: RFC 9110 says: "For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request." It adds that if this is undesired, 308 can be used instead (https://www.rfc-editor.org/rfc/rfc9110.html).

    • In practice many clients rewrite POST to GET on a 301. RFC 9110 explains that 301 and 302 were originally method-preserving in HTTP/1.0, but early user agents split on whether to redirect POST as POST or as GET. Practice converged on GET, and 301 and 302 "have been adjusted to allow a POST request to be redirected as GET" (https://www.rfc-editor.org/rfc/rfc9110.html).
  • 308: RFC 7538, the original 308 specification, describes it as similar to 301 "except that it does not allow changing the request method from POST to GET" (https://www.rfc-editor.org/rfc/rfc7538.html).

    • RFC 9110 says 307 and 308 "were later added to unambiguously indicate method-preserving redirects" (https://www.rfc-editor.org/rfc/rfc9110.html).
    • One caveat: the 308 section of RFC 9110 has no explicit "MUST NOT change the method" sentence, unlike its 307 section. The rule comes from the general redirect procedure and the note above.
  • Body: RFC 9110's general redirect rules say the client should resend the original request with modifications, including changing the method "according to the redirecting status code's semantics". They also say that if the method became GET or HEAD, content-specific headers such as Content-Type and Content-Length are removed (https://www.rfc-editor.org/rfc/rfc9110.html). In practice, then:

  • Where sources disagree: MDN's same page also says 301 "requires the request method and the body to remain unchanged … but this is incorrectly handled by older clients." That does not match RFC 9110 and RFC 7231, which explicitly permit POST→GET on 301. I am following the RFCs. The MDN wording appears to describe the original HTTP/1.0 intent.

Cacheability

Where each is specified

  • Current: both codes are in RFC 9110 (HTTP Semantics): 301 in Section 15.4.2 and 308 in Section 15.4.9. Its header says it "obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230." RFC 9110 also lists 301 and 308 in its IANA status-code table, Section 18.3 (https://www.rfc-editor.org/rfc/rfc9110.html).
  • Historical:

  • Deployment: RFC 9110 notes that 308 is much younger than its sibling codes and so "might not be recognized everywhere." Its pointer to RFC 7538 Section 4 is the source for this caution.

Gaps

  • I could not open the IANA registry page (it returned 404). I therefore could not check what it lists for 301 and 308, and I am relying on RFC 9110's own registration table instead.
  • The RFC 7538 page I opened shows no "obsoleted by" banner. The obsoletion claim comes from RFC 9110's header.
{"evidence": [
{"claim": "301 means the resource has a new permanent URI (RFC 9110, Section 15.4.2)", "quote": "The 301 (Moved Permanently) status code indicates that the target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "For 301, a user agent may change POST to GET, and 308 is the alternative if that is undesired", "quote": "For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "301 is heuristically cacheable in RFC 9110", "quote": "A 301 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "308 is heuristically cacheable in RFC 9110", "quote": "A 308 response is heuristically cacheable; i.e., unless otherwise", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "307 and 308 were added to unambiguously indicate method-preserving redirects, while 301 and 302 were adjusted to allow POST to be redirected as GET", "quote": "307 (Temporary Redirect) and 308 (Permanent Redirect) [RFC7538] were later added to unambiguously indicate method-preserving redirects, and status codes 301 and 302 have been adjusted to allow a POST request to be redirected as GET.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "When a redirect changes the method to GET or HEAD, content-specific headers are removed (body handling)", "quote": "If the request method has been changed to GET or HEAD, remove content-specific header fields, including (but not limited to) Content-Encoding, Content-Language, Content-Location,", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "RFC 9110 obsoletes RFC 7231 and RFC 7538, so it is the current specification for both codes", "quote": "This document updates RFC 3864 and obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "RFC 9110's IANA registration table lists 308 Permanent Redirect at Section 15.4.9", "quote": "| 308   | Permanent Redirect            | 15.4.9  |", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "RFC 9110 warns that 308 may not be recognized everywhere", "quote": "This status code is much younger (June 2014) than its sibling codes and thus might not be recognized everywhere.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "RFC 7538 originally defined 308 as like 301 but not allowing POST to GET", "quote": "Note: This status code is similar to 301 (Moved Permanently) ([RFC7231], Section 6.4.2), except that it does not allow changing the request method from POST to GET.", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"},
{"claim": "RFC 7538 said 308 is cacheable by default", "quote": "A 308 response is cacheable by default; i.e., unless otherwise", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"},
{"claim": "RFC 7538 made no technical changes from the experimental RFC 7238", "quote": "This specification contains no technical changes from the Experimental RFC 7238, which it obsoletes.", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"},
{"claim": "RFC 7231 previously specified 301, including the POST-to-GET allowance and cacheability by default", "quote": "A 301 response is cacheable by default; i.e., unless otherwise", "url": "https://www.rfc-editor.org/rfc/rfc7231.html"},
{"claim": "MDN says 308 keeps method and body unchanged, and describes 301 differently from the RFCs", "quote": "The request method and the body will not be modified by the client in the redirected request.", "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/308"}
]}

Provenance of the numbers on this page

run set
scaffold-or-scale-v1
models
Haiku 4.5, Sonnet 5.5, Opus 5.5
effort
high
repeats
2
fixtures
replay
runs
900 / 900
strategy cost
$354.44
judge cost
$9.19
wall clock
9h 48m
git
fce5807b2d

Cost excludes judge calls, which are tracked separately so a scoring model never flatters or penalises an architecture. Every figure on this site is read from results/ at build time.