You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deliver the regression-safe large-request fast path defined by the spec: bounded-memory pre-commit replayable capture/spooling, streaming JSON validation/metadata proof, explicit frontend/backend wire-compatibility contracts, exact-once secure-session/canonical fallback orchestration, token-aware bounded model rewrite, replay-safe retry/failover, and measured protocol certification.
The existing canonical request path is the behavioral oracle and fallback. Preserving existing proxy functionality is more important than retaining the optimization. Any uncertain request shape, feature authority, route, backend, accounting/guardrail requirement, or semantic mismatch must fall back to canonical execution.
The authoritative implementation order is tasks.md: 16 ordered workstreams / 52 explicit subtasks.
There is currently no active hard prerequisite for this task inside OSS Base. Production implementation may begin against current main.
Before changing production code, execute Task 1 exactly as written against current main: re-inventory landed request-body/extension-plane dependencies and freeze fresh characterization/performance baselines. This is required revalidation, not another issue dependency.
Current dependency order:
#532 this implementation task
↓
#503 feature tracker
↓
#398 OSS Base split gate
Keep this transitive. Do not add #532 directly as a blocker of #398 while #503 remains the feature-level gate.
feat(rebranding): Complete project rebranding #429 rebranding is coordination only. Prefer avoiding overlap with this high-churn request/runtime work where practical, but do not create a dependency edge. If rebranding lands first, Task 1 must re-inventory renamed paths.
Non-negotiable delivery constraints
Feature remains disabled by default in the first release.
No upstream request-body byte is committed before complete validation and final eligibility/authority proof.
Never fabricate a partial/minimal lipapi.Call; canonical code receives only a fully decoded/validated call.
Never move route/failover ownership into frontends/backends or add provider-name switches in generic core.
Do not prune/reorder failover/race candidates just to retain the optimization.
Static/dynamic uncertainty is canonical fallback, not a new rejection.
Secure-session/A-leg preparation remains exactly-once across post-identity canonical continuation.
Preserve current JSON limits/trust-boundary, guardrail, billing/accounting, conversation-projection and extension-plane authority.
Keep implementation PRs focused/chronological rather than combining all subtasks into one giant change.
Completion evidence
Do not close this work order until all applicable tasks.md work is complete and evidenced, including canonical-path characterization, streaming JSON differential/fuzz/limit parity, replay/spool race and cleanup tests, exact-once session/A-leg fallback, route-wide wire compatibility, canonical-vs-wire certification, retry/failover parity, bounded observability/architecture ratchets, material multi-MiB allocation/GC improvement, forced-fallback equivalence, and full repository quality/parity/race/QA gates.
If a proposed certified lane does not demonstrate worthwhile ROI or cannot prove semantic parity, leave that lane canonical-only rather than weakening correctness.
Implement the approved Kiro SDD for #503 introduced by merged spec-only PR #531.
Spec:
.kiro/specs/large-payload-streaming-fast-path/Outcome
Deliver the regression-safe large-request fast path defined by the spec: bounded-memory pre-commit replayable capture/spooling, streaming JSON validation/metadata proof, explicit frontend/backend wire-compatibility contracts, exact-once secure-session/canonical fallback orchestration, token-aware bounded model rewrite, replay-safe retry/failover, and measured protocol certification.
The existing canonical request path is the behavioral oracle and fallback. Preserving existing proxy functionality is more important than retaining the optimization. Any uncertain request shape, feature authority, route, backend, accounting/guardrail requirement, or semantic mismatch must fall back to canonical execution.
The authoritative implementation order is
tasks.md: 16 ordered workstreams / 52 explicit subtasks.Start gate / current ordering
main.main: re-inventory landed request-body/extension-plane dependencies and freeze fresh characterization/performance baselines. This is required revalidation, not another issue dependency.Current dependency order:
Keep this transitive. Do not add #532 directly as a blocker of #398 while #503 remains the feature-level gate.
Relationship to #394 performance hardening
Relationship to newer simplification work
Non-negotiable delivery constraints
lipapi.Call; canonical code receives only a fully decoded/validated call.Completion evidence
Do not close this work order until all applicable
tasks.mdwork is complete and evidenced, including canonical-path characterization, streaming JSON differential/fuzz/limit parity, replay/spool race and cleanup tests, exact-once session/A-leg fallback, route-wide wire compatibility, canonical-vs-wire certification, retry/failover parity, bounded observability/architecture ratchets, material multi-MiB allocation/GC improvement, forced-fallback equivalence, and full repository quality/parity/race/QA gates.If a proposed certified lane does not demonstrate worthwhile ROI or cannot prove semantic parity, leave that lane canonical-only rather than weakening correctness.
Tracker relationship