mirror of
https://github.com/morluto/rea.git
synced 2026-11-05 14:26:07 +00:00
Add the environment-state analysis view. From the parents the environment manifest accepts, it extracts the data the capture's reads observed before the first related write: entity types with an identity field (proved by a path parameter or inferred from an identity name), entities with their recorded values and provenance, documents for written non-entity paths, and a render plan per read tool that is kept only when it reproduces the tool's latest initial recordings from the state; every other read tool is a recorded view with the reason. The Evidence is always inferred. Response-body decoding moves to a domain owner shared with replay, exact JSON parsing moves to the owner of the exact-number policy, the manifest and state views share parent admission and record grouping, and projectAnalysisView takes its accumulators as one object. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
630 B
630 B
Tasks
- Record the view contract, requirements and deferred increments.
- Move body decoding and exact JSON parsing to their domain owners without changing replay.
- Implement the extraction rules, merge, gate and accumulator.
- Register the
environment-statekind, result schema, service wiring and confidence rule. - Add the timed Grafana-shaped fixture and synthetic captures.
- Add domain, service, MCP, CLI, catalog and acceptance coverage.
- Document the view in the guides, contracts reference and skill.
- Run static, formatting, duplication, documentation and test gates.