ScaffoldBench

RunSonnet 5.5repeat 2

Propose-select on HTTP 301 vs 308

claude-sonnet-5-5__propose-select__research-http-redirects__r2

Score

1.000

passed
design ran as designed
Cost
$0.406
+ $0.086 judging
Latency
53.8s
setup 0.0s, grading 4.6s
Turns
28
Tool calls
23
Subagents
3
Tokens in / out
214k / 15k
148,877 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.
  • All three proposers ran: heldpropose-select.proposalsThree proposers ran in parallel, each from its own angle, and none was starved while another ran.
  • The selector chose: heldpropose-select.selectionThe selector picked a proposal by a valid number, read from its schema reply and not a default.
  • Each call was shown the right tools: heldpropose-select.toolsEach proposer was shown the read-only tools, the selector none, and the executor the full toolset.

Phases

Proposal 1 (policy-first): 0.0s to 26.1s, finished, 8 tool calls, $0.102
Proposal 2 (state-first): 0.0s to 25.3s, finished, 7 tool calls, $0.096
Proposal 3 (outcome-first): 0.0s to 32.7s, finished, 8 tool calls, $0.122
Select: 32.7s to 53.8s, finished, 0 tool calls, $0.087

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

PhaseDurationCostTurnsToolsModel
Proposal 1 (policy-first)26.1s$0.10298claude-sonnet-5-5
Proposal 2 (state-first)25.3s$0.09687claude-sonnet-5-5
Proposal 3 (outcome-first)32.7s$0.12298claude-sonnet-5-5
Select21.1s$0.08720claude-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 propose-select --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, E3. “**301 (Moved Permanently):** the target resource "has been assigned a new permanent URI”

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

    met, backed by verified evidence E4, E5. “A POST therefore stays a POST, and the body is expected to be resent to the new URI.”

  • 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, E4. “"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 E7, E8, E9. “Both are cacheable by default, with no explicit cache headers needed. RFC 9110 calls each response "heuristically cacheable".”

  • 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 E11, E4. “308 was originally defined in RFC 7538 (2015). RFC 9110 obsoletes RFC 7538, so RFC 9110 is now the reference.”

Penalties

No penalties were applied.

Scorer metadata

corpus
{"version":2,"snapshot":"2026-10-01","hash":"25fbed79c4f7f9e1b850436e0e4872f8e25dd80142f3177231c456f21817b817","documents":8}
opened documents
["rfc9110","rfc7538","rfc9111"]
opened by role
{"primary":["rfc9110"],"superseded":["rfc7538"],"secondary":["rfc9111"]}
displayed share
{"rfc9110":0.0439,"mdn-status-308":0.1256,"mdn-status-301":0.1272,"rfc7538":0.782,"mdn-redirections":0.0204,"rfc9111":0.0146}
cited count
3
verified count
3
hallucinated count
0
citation integrity
1
hallucinated urls
[]
evidence block
true
evidence block repaired
false
evidence count
13
verified quote count
13
verified quote rate
1
evidence
[{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"301 means the target resource has a new permanent URI and future references should use it","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 client 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":"308 has the same permanent-move meaning as 301","quote":"The 308 (Permanent Redirect) 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":"307 and 308 were added to unambiguously indicate method-preserving redirects, while 301/302 were adjusted to allow POST to become 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/rfc7538.html","claim":"308 is like 301 but does not allow changing the method from 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/rfc9110.html","claim":"Content-specific headers are removed only when the method has been changed to GET or HEAD","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, Content-Type, Content-Length, Digest, Last-Modified.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"301 responses are heuristically cacheable","quote":"A 301 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see Section 4.2.2 of [CACHING]).","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"308 responses are heuristically cacheable","quote":"A 308 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see Section 4.2.2 of [CACHING]).","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9111.html","claim":"'Heuristically cacheable' is the current name for what older specs called 'cacheable by default'","quote":"Note that in previous specifications, heuristically cacheable response status codes were called \"cacheable by default\".","verified":true,"document":"rfc9111"},{"url":"https://www.rfc-editor.org/rfc/rfc7538.html","claim":"RFC 7538 (original 308 spec) said 308 is cacheable by default","quote":"A 308 response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls (see [RFC7234], Section 4.2.2).","verified":true,"document":"rfc7538"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"RFC 9110 obsoletes RFC 7538 and RFC 7231, so 301 and 308 are now specified in RFC 9110","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":"308 is newer and 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":"Unknown 3xx codes are treated like 300, so 308 use is restricted to cases where the client is trusted to understand it or the fallback is harmless","quote":"Therefore, the use of status code 308 is restricted to cases where the server has sufficient confidence in the client's understanding the new code or when a fallback to the semantics of status code 300 is not problematic.","verified":true,"document":"rfc7538"}]
judge unverified quotes
0
judge verdicts
[{"names":{"status":"met","support":["E1","E3"]},"method-preserved-308":{"status":"met","support":["E4","E5"]},"method-change-301":{"status":"met","support":["E2","E4"]},"cacheable":{"status":"met","support":["E7","E8","E9"]},"specifications":{"status":"met","support":["E11","E4"]}},{"names":{"status":"met","support":["E1","E3"]},"method-preserved-308":{"status":"met","support":["E4","E5"]},"method-change-301":{"status":"met","support":["E2","E4"]},"cacheable":{"status":"met","support":["E7","E8","E9"]},"specifications":{"status":"met","support":["E11","E4"]}},{"names":{"status":"met","support":["E1","E3"]},"method-preserved-308":{"status":"met","support":["E4","E5"]},"method-change-301":{"status":"met","support":["E2","E4"]},"cacheable":{"status":"met","support":["E7","E8","E9"]},"specifications":{"status":"met","support":["E11","E4"]}}]
judge failures
0
grounded weight share
1

Final answer

Short answer: 301 and 308 both say the resource has a new permanent URI. They differ in how a client may change the request method when it follows the redirect. With 301 a client may turn a POST into a GET. With 308 it may not. Both are now specified in RFC 9110 (HTTP Semantics, June 2022). This answer is based on RFC 9110, RFC 7538 and RFC 9111. I did not check how particular browsers or HTTP libraries behave.

What each one means

  • 301 (Moved Permanently): 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." The server should send a Location header with the preferred new URI, and the user agent may follow it automatically. Link-editing clients may permanently replace old references, but RFC 9110 says this suggestion is usually ignored. The exception is when the client is actively editing content, the connection is secured and the origin is a trusted authority for that content. (https://www.rfc-editor.org/rfc/rfc9110.html)
  • 308 (Permanent Redirect): the meaning and the Location and link-editing wording are the same. The difference is the method rule below. (https://www.rfc-editor.org/rfc/rfc9110.html)

Request method and body when following the redirect

  • 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. The history is that early clients differed on whether to resend a POST as POST or as GET. Practice converged on GET, and the spec now allows it. (https://www.rfc-editor.org/rfc/rfc9110.html)
  • 308: RFC 9110 says 307 and 308 were added "to unambiguously indicate method-preserving redirects". RFC 7538 says 308 is like 301 "except that it does not allow changing the request method from POST to GET". A POST therefore stays a POST, and the body is expected to be resent to the new URI. (https://www.rfc-editor.org/rfc/rfc9110.html, https://www.rfc-editor.org/rfc/rfc7538.html)
  • Body handling in RFC 9110: when following a redirect, the client should resend the original request message with some changes. One change applies only if the method became GET or HEAD: content-specific headers such as Content-Type and Content-Length are removed. So a 301 that was turned into a GET drops the body and its headers. A 308 does not change the method, so the content stays. RFC 9110 does not state the 308 body rule in one sentence. That part is my reading of the two passages together. Clients should also be careful about automatically redirecting methods that are not safe. (https://www.rfc-editor.org/rfc/rfc9110.html)
  • Deployment caveat for 308: it is much newer (June 2014) and may not be recognized everywhere. A client that does not know a 3xx code treats it like 300 (Multiple Choices). Servers should use 308 only when they are confident the client understands it, or when falling back to 300 behavior is harmless. (https://www.rfc-editor.org/rfc/rfc9110.html, https://www.rfc-editor.org/rfc/rfc7538.html)

Cacheability
Both are cacheable by default, with no explicit cache headers needed. RFC 9110 calls each response "heuristically cacheable". The method definition or explicit cache controls can override that. RFC 9111 says "heuristically cacheable" is the newer name for what earlier specs called "cacheable by default". RFC 7538 used the older wording for 308. (https://www.rfc-editor.org/rfc/rfc9110.html, https://www.rfc-editor.org/rfc/rfc9111.html, https://www.rfc-editor.org/rfc/rfc7538.html)

Where they are specified today

  • Both are in RFC 9110: 301 in section 15.4.2 and 308 in section 15.4.9.
  • 308 was originally defined in RFC 7538 (2015). RFC 9110 obsoletes RFC 7538, so RFC 9110 is now the reference. RFC 7538 is still useful for its deployment considerations.
  • The 301 definition was previously in RFC 7231, which RFC 9110 also obsoletes.
  • Caching behavior is in RFC 9111.

Practical guidance: use 308 for permanent moves where the method and body must be preserved, such as POST or PUT endpoints or APIs. 301 is fine for ordinary page moves, where a GET after the redirect is acceptable. Both are cached heuristically, so a mistaken permanent redirect can stick in caches. Set explicit cache controls if you are not sure the move is final.

{"evidence": [
{"claim": "301 means the target resource has a new permanent URI and future references should use it", "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 client 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": "308 has the same permanent-move meaning as 301", "quote": "The 308 (Permanent Redirect) 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": "307 and 308 were added to unambiguously indicate method-preserving redirects, while 301/302 were adjusted to allow POST to become 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": "308 is like 301 but does not allow changing the method from 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": "Content-specific headers are removed only when the method has been changed to GET or HEAD", "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, Content-Type, Content-Length, Digest, Last-Modified.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "301 responses are heuristically cacheable", "quote": "A 301 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see Section 4.2.2 of [CACHING]).", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "308 responses are heuristically cacheable", "quote": "A 308 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see Section 4.2.2 of [CACHING]).", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "'Heuristically cacheable' is the current name for what older specs called 'cacheable by default'", "quote": "Note that in previous specifications, heuristically cacheable response status codes were called \"cacheable by default\".", "url": "https://www.rfc-editor.org/rfc/rfc9111.html"},
{"claim": "RFC 7538 (original 308 spec) said 308 is cacheable by default", "quote": "A 308 response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls (see [RFC7234], Section 4.2.2).", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"},
{"claim": "RFC 9110 obsoletes RFC 7538 and RFC 7231, so 301 and 308 are now specified in RFC 9110", "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": "308 is newer and 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": "Unknown 3xx codes are treated like 300, so 308 use is restricted to cases where the client is trusted to understand it or the fallback is harmless", "quote": "Therefore, the use of status code 308 is restricted to cases where the server has sufficient confidence in the client's understanding the new code or when a fallback to the semantics of status code 300 is not problematic.", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"}
]}

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.