Keep HTTP remediation within trusted-network maintenance scope
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Audit Remediation Discussion
|
||||
|
||||
Created 2026-11-24; updated 2026-11-25. Status: topics 1–3 accepted; remaining
|
||||
Created 2026-11-24; updated 2026-11-25. Status: topics 1–4 accepted; remaining
|
||||
topics pending discussion. No remediation implementation is recorded yet.
|
||||
|
||||
This document gives maintainers an ordered agenda for working through the
|
||||
@@ -14,6 +14,10 @@ The findings support Scriptorium's existing direction: a thin executable that
|
||||
delegates configuration, execution, operator interfaces, and release mechanics
|
||||
to the upstream libraries. No broad architectural redesign is indicated.
|
||||
|
||||
HTTP remains in maintenance mode, suitable only for exposure to trusted hosts
|
||||
on a trusted network. Favor clear bug fixes and proportionate maintenance;
|
||||
broader HTTP deployment capabilities are outside this remediation.
|
||||
|
||||
The catalog distinguishes production defects, behavioral test weaknesses,
|
||||
deployment choices, and optional cleanup. Its 17 entries should not become
|
||||
17 mandatory implementation tasks. The defective-overlay experiments provide
|
||||
@@ -36,7 +40,7 @@ are proposals, not authorization to introduce new behavior.
|
||||
| 1. Correct the production defects | 1–3 | Accepted 2026-11-25: lossless numbers, pathname identity, regular-file acquisition with cooperative cancellation; upstream reader reuse is separate follow-up. |
|
||||
| 2. Strengthen existing behavioral protection | 4, 7, 9–13 | Accepted 2026-11-25: strengthen tests at application boundaries, consolidate redundant scenarios, and remove incidental assertions without new runtime requirements. |
|
||||
| 3. Improve startup diagnostics at the owning boundary | 8 | Accepted 2026-11-25: native explanations for listener failures, upstream-owned capture diagnostics, and independent delivery of the two improvements. |
|
||||
| 4. Select HTTP connection-lifetime policy | 5 | Pending |
|
||||
| 4. Select HTTP connection-lifetime policy | 5 | Accepted 2026-11-25: retain existing transport behavior for trusted hosts on a trusted network; defer new timeout controls and impose no gateway requirement. |
|
||||
| 5. Establish whether additional memory controls are needed | 6 | Pending |
|
||||
| 6. Select proportionate local cleanup | 14, 15, 17 | Pending |
|
||||
| 7. Decide whether to move HTTP report ownership | 16 | Pending |
|
||||
@@ -124,22 +128,19 @@ constructor failures.
|
||||
|
||||
## 4. Select HTTP Connection-Lifetime Policy
|
||||
|
||||
[Catalog entry 5](catalog.md#5-http-connection-lifetimes-need-a-deployment-decision)
|
||||
requires a deployment decision, not an automatic timeout patch.
|
||||
**Decision — accepted 2026-11-25:** For
|
||||
[catalog entry 5](catalog.md#5-http-connection-lifetimes-need-a-deployment-decision),
|
||||
retain existing transport behavior and defer additional body-read, idle, and
|
||||
response-delivery timeout controls. HTTP remains in maintenance mode for
|
||||
trusted hosts on a trusted network. No gateway, new configuration surface, or
|
||||
additional lifetime guarantee is required by this remediation.
|
||||
|
||||
**Open questions:**
|
||||
|
||||
1. Which supported deployments rely on gateway controls, and which need
|
||||
Scriptorium to bound body reads, idle connections, or response delivery?
|
||||
2. If application controls are needed, which phases, configurable values, and
|
||||
defaults should they cover?
|
||||
|
||||
**Recommendation:** Prefer existing gateway controls where appropriate. A trusted
|
||||
network alone does not prevent stalled clients. For direct deployments needing
|
||||
controls, use standard HTTP deadlines chosen for the relevant phases. A short
|
||||
global write timeout can cut off legitimate inference; a context deadline alone
|
||||
does not interrupt a blocked body read. Keep the engine operation budget and
|
||||
shutdown contract unchanged unless separately decided.
|
||||
Document the existing timeout boundaries and intended operating model. The
|
||||
absence of additional deadlines remains a known limitation, not a bug fix
|
||||
promised by this work. Preserve the engine operation budget and shutdown
|
||||
contract. Proceed with the confirmed correctness fixes and their focused
|
||||
regression coverage; reconsider transport controls only if operating needs
|
||||
change.
|
||||
|
||||
## 5. Establish Whether Additional Memory Controls Are Needed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user