RunOpus 5.5repeat 1
Gated-execute on HTTP 301 vs 308
claude-opus-5-5__gated-execute__research-http-redirects__r1
Score
1.000
- Cost
- $0.245
- + $0.085 judging
- Latency
- 47.5s
- setup 0.0s, grading 4.2s
- Turns
- 11
- Tool calls
- 10
- Subagents
- 0
- Tokens in / out
- 78k / 5.1k
- 60,497 read from cache
Did the design run?
- 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.
- Every state change was reviewed: heldgated-execute.reviewedEvery call that changed the world had been allowed by a review before it ran, counted from the world’s own journal.
- Every decision was read: heldgated-execute.decisionsEvery review that ran to its end gave its decision through the schema; an unreadable one is a denial.
- Each call was shown the right tools: heldgated-execute.toolsThe executor was shown the task’s full toolset and each reviewer the read-only tools.
Phases
Drawn from the phase records: timing and cost per call, no tool calls or messages.
| Phase | Duration | Cost | Turns | Tools | Model |
|---|---|---|---|---|---|
| Execute | 47.5s | $0.245 | 11 | 10 | claude-opus-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
- A gate that blocked the right moveGated-execute · Haiku 4.5
- Three proposals beat one agentPropose-select · Haiku 4.5
- A verifier that earned its keepPlan-execute-verify · Sonnet 5.5
- A revision that did not helpPlan-execute-verify · Haiku 4.5
- The control, missing a stepSingle · Haiku 4.5
Record this cell yourself: npm run bench -- run --strategies gated-execute --tasks research-http-redirects --models claude-opus-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, E4. “**301 Moved Permanently** (RFC 9110, §15.4.2”
- 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 E10, E15. “The client must resend the same method and body to the new URL.”
- 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, E6. “RFC 9110 says that "for historical reasons" a client may change POST to GET on the follow-up 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, E5. “A 301 can be cached by default ("heuristically cacheable"), unless the method's definition or explicit cache controls say otherwise.”
- 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 E9, E10. “RFC 9110 replaces RFC 7538 and now defines 308 in §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","mdn-status-308","mdn-status-301"]
- opened by role
- {"primary":["rfc9110"],"superseded":["rfc7538"],"secondary":["mdn-status-308","mdn-status-301"]}
- displayed share
- {"rfc9110":0.0492,"rfc7538":0.782,"mdn-status-308":1,"mdn-status-301":1}
- cited count
- 4
- verified count
- 4
- hallucinated count
- 0
- citation integrity
- 1
- hallucinated urls
- []
- evidence block
- true
- evidence block repaired
- false
- evidence count
- 16
- verified quote count
- 16
- 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 that future references should use.","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":"A user agent may change POST to GET when following a 301; 308 is the alternative when 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 unless the method definition or explicit cache controls say otherwise.","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 has the same 'new permanent URI' 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":"308 is heuristically cacheable under RFC 9110.","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/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":"were later added to unambiguously indicate method-preserving","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"When following a redirect, the user agent should resend the original request, changing the method only as the status code's semantics allow.","quote":"When automatically following a redirected request, the user agent SHOULD resend the original request message with the following modifications:","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"308 is younger (June 2014) and may not be recognized everywhere.","quote":"This status code is much younger (June 2014) than its","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"RFC 9110 obsoletes RFC 7538 (the 308 RFC) and RFC 7231 (which defined 301).","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/rfc7538.html","claim":"RFC 7538 described 308 as like 301 except that it does not allow changing POST to GET.","quote":"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 described 308 as 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/rfc7538.html","claim":"308 was added as the missing permanent variant of 307.","quote":"Section 6.4.7 of [RFC7231] states that it does not define a permanent variant of status code 307; this specification adds the status code 308, defining this missing variant (Section 3).","verified":true,"document":"rfc7538"},{"url":"https://www.rfc-editor.org/rfc/rfc7538.html","claim":"Clients that don't know 308 treat it like 300, so automatic redirection can't be relied on with them.","quote":"Thus, servers will not be able to rely on automatic redirection happening similar to status codes 301, 302, or 307.","verified":true,"document":"rfc7538"},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/301","claim":"Per MDN, the Fetch Standard (browsers) uses GET after a 301 to a POST, and altering the method after 308 is prohibited.","quote":"To avoid user agents modifying the request, use 308 Permanent Redirect instead, as altering the method after a 308 response is prohibited.","verified":true,"document":"mdn-status-301"},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/308","claim":"MDN's 308 page says the method and body are not modified by the client when following a 308.","quote":"The request method and the body will not be modified by the client in the redirected request.","verified":true,"document":"mdn-status-308"},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/308","claim":"MDN's 308 page conflicts with RFC 9110 by saying 301 requires an unchanged method and body.","quote":"A 301 Moved Permanently requires the request method and the body to remain unchanged when redirection is performed, but this is incorrectly handled by older clients to use the GET method instead.","verified":true,"document":"mdn-status-308"}]
- judge unverified quotes
- 0
- judge verdicts
- [{"names":{"status":"met","support":["E1","E4"]},"method-preserved-308":{"status":"met","support":["E10","E15"]},"method-change-301":{"status":"met","support":["E2","E6"]},"cacheable":{"status":"met","support":["E3","E5"]},"specifications":{"status":"met","support":["E9","E10"]}},{"names":{"status":"met","support":["E1","E4"]},"method-preserved-308":{"status":"met","support":["E10","E14","E15"]},"method-change-301":{"status":"met","support":["E2","E6"]},"cacheable":{"status":"met","support":["E3","E5"]},"specifications":{"status":"partial","support":["E9","E10"]}},{"names":{"status":"met","support":["E1","E4"]},"method-preserved-308":{"status":"met","support":["E10","E15"]},"method-change-301":{"status":"met","support":["E2","E6"]},"cacheable":{"status":"met","support":["E3","E5"]},"specifications":{"status":"met","support":["E9","E10"]}}]
- judge failures
- 0
- grounded weight share
- 1
Final answer
Both codes mean "this resource has permanently moved to a new URL." The only difference is that a client may switch a POST to a GET when following a 301, but must not change the method or body when following a 308. Both are cacheable by default, and both are now defined in RFC 9110 (HTTP Semantics).
301 Moved Permanently (RFC 9110, §15.4.2, https://www.rfc-editor.org/rfc/rfc9110.html)
- Meaning: The resource has a new permanent URL, and future requests should use it. The server should send a
Locationheader with the new URL, and the client may follow it automatically. - Method and body: RFC 9110 says that "for historical reasons" a client may change POST to GET on the follow-up request. When a client follows any redirect, it should normally resend the original request to the new URL. If the method has been changed to GET or HEAD, it should drop content headers such as Content-Type and Content-Length, which in practice means the body is dropped too. MDN says the Fetch Standard (what browsers implement) does this: a 301 in response to a POST is followed with a GET (https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/301). I couldn't confirm this in the Fetch Standard itself because its page returned a 404 error.
- History: HTTP/1.0 originally defined 301 as keeping the method. Early browsers disagreed on whether to resend a POST as a POST or as a GET, and most ended up using GET. The spec was later changed to allow it (RFC 9110, §15.4).
- Caching: A 301 can be cached by default ("heuristically cacheable"), unless the method's definition or explicit cache controls say otherwise.
308 Permanent Redirect (RFC 9110, §15.4.9)
- Meaning: Same as 301: a new permanent URL, with a
Locationheader the client may follow automatically. - Method and body: The client must resend the same method and body to the new URL. 308 and 307 were added "to unambiguously indicate method-preserving redirects." The 301 section of RFC 9110 says to use 308 if you don't want POST to turn into GET. RFC 7538 describes 308 as like 301, "except that it does not allow changing the request method from POST to GET." 308 is the permanent counterpart of 307 (Temporary Redirect).
- Caching: RFC 9110 calls 308 "heuristically cacheable." RFC 7538 used the wording "cacheable by default." Both mean it can be cached unless the method or cache controls say otherwise.
- Compatibility: 308 dates from June 2014 and RFC 9110 warns that some clients may not recognize it. RFC 7538 adds that clients treat an unknown 3xx code like 300 (Multiple Choices). That means a client that doesn't know 308 may not redirect automatically.
Where they are specified
- 301: RFC 9110 §15.4.2. RFC 9110 replaced RFC 7231 (published June 2022, Internet Standard STD 97).
- 308: Originally RFC 7238 (Experimental), then RFC 7538 (Standards Track, April 2015). RFC 9110 replaces RFC 7538 and now defines 308 in §15.4.9.
Two points to note
- MDN contradicts itself. Its 308 page (https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/308) says 301 "requires the request method and the body to remain unchanged" and that older clients get this wrong. That doesn't match RFC 9110, which allows a 301 to change POST to GET, or MDN's own 301 page, which calls that change "permitted by the HTTP specification." I've followed the RFC.
- The 308 rule is stated indirectly. RFC 9110's 308 section has no explicit "MUST NOT change the method." That rule comes from the general redirect note in §15.4, the 301 note pointing to 308, and RFC 7538, which RFC 9110 replaced.
{"evidence": [
{"claim": "301 means the target resource has a new permanent URI that future references should use.", "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": "A user agent may change POST to GET when following a 301; 308 is the alternative when 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 unless the method definition or explicit cache controls say otherwise.", "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 has the same 'new permanent URI' 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": "308 is heuristically cacheable under RFC 9110.", "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": "307 and 308 were added to unambiguously indicate method-preserving redirects, while 301/302 were adjusted to allow POST to become GET.", "quote": "were later added to unambiguously indicate method-preserving", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "When following a redirect, the user agent should resend the original request, changing the method only as the status code's semantics allow.", "quote": "When automatically following a redirected request, the user agent SHOULD resend the original request message with the following modifications:", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "308 is younger (June 2014) and may not be recognized everywhere.", "quote": "This status code is much younger (June 2014) than its", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "RFC 9110 obsoletes RFC 7538 (the 308 RFC) and RFC 7231 (which defined 301).", "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 7538 described 308 as like 301 except that it does not allow changing POST to GET.", "quote": "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 described 308 as 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": "308 was added as the missing permanent variant of 307.", "quote": "Section 6.4.7 of [RFC7231] states that it does not define a permanent variant of status code 307; this specification adds the status code 308, defining this missing variant (Section 3).", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"},
{"claim": "Clients that don't know 308 treat it like 300, so automatic redirection can't be relied on with them.", "quote": "Thus, servers will not be able to rely on automatic redirection happening similar to status codes 301, 302, or 307.", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"},
{"claim": "Per MDN, the Fetch Standard (browsers) uses GET after a 301 to a POST, and altering the method after 308 is prohibited.", "quote": "To avoid user agents modifying the request, use 308 Permanent Redirect instead, as altering the method after a 308 response is prohibited.", "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/301"},
{"claim": "MDN's 308 page says the method and body are not modified by the client when following a 308.", "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"},
{"claim": "MDN's 308 page conflicts with RFC 9110 by saying 301 requires an unchanged method and body.", "quote": "A 301 Moved Permanently requires the request method and the body to remain unchanged when redirection is performed, but this is incorrectly handled by older clients to use the GET method instead.", "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.