mirror of
https://github.com/morluto/rea
synced 2026-10-28 15:07:26 -04:00
1.7 KiB
1.7 KiB
Implementation plan
- Lift the api-surface accumulator's shared pieces into
webNetworkRouteTemplates.ts(format rules, media-type essence, request-line and query-name readers, route scanning, byte allowances) and an abstractWebNetworkProjectionAccumulator(retained/temporary budget, admission, limitations) withadmitHarCaptureParentfor the shared parent guards, so both grouping views own one interpretation. - Add
environmentManifestRules.tsas pure functions: the opt-in template rules, re-bucketing and sibling merging, parameter naming, path templates and deterministic tool names. - Add
EnvironmentManifestAccumulator.ts: per-record pointers, group state, primary-origin selection, body-shape parsing throughparseJsonObjectwith top-level key types only, without walking nested values, exclusion reasons, fixed unknowns and the finished manifest fields. - Add
environmentManifestView.tswith the strict request schema (defaults applied in the echoed view), the result fields and the projector; register the kind first inprojectAnalysisView, extend the result union andUnsignedAnalysisView, and wire the accumulator and confidence rule inAnalysisViewService. - Publish the
inspect_analysis_viewdescription and a fixture-generated example; port the Grafana-shaped HAR into a source-owned TypeScript builder. - Cover domain, accumulator budget, service, MCP boundary, CLI boundary and acceptance behavior; extend the real-capture verifier; document the view in the capture guide, the contracts reference and the authored skill.
No new tool, provider, side effect or network activity is introduced. The manifest is a projection of already retained Evidence; replaying or serving it is deferred.