Files
reverse-engineering-anything/docs/specs/agent-environments/state-view/tasks.md
T
Edgar ArakelyanandClaude Opus 5.5 ad439bd2f2 feat(environment): extract the initial state a capture's reads observed
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>
2026-10-19 17:29:37 -07:00

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-state kind, 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.