Skip to content

spike: validate AgentsView as an optional observation provider - #66

Draft
redsunjin wants to merge 3 commits into
mainfrom
feat/agentsview-observation-spike
Draft

redsunjin wants to merge 3 commits into
mainfrom
feat/agentsview-observation-spike

Conversation

@redsunjin

Copy link
Copy Markdown
Owner

목적

Issue #65의 재검토 결과에 따라 AgentsView 통합을 바로 제품화하지 않고, Maestro의 VU-001 핵심 흐름을 침범하지 않는 작은 observation spike로 검증합니다.

현재 범위

  • AGENTSVIEW_OBSERVATION_SPIKE.md 추가
  • exact WorkSession ↔ external session 상관관계 검증 기준 정의
  • Recent Edits의 project-level 한계를 명시
  • unavailable/degraded 상태를 핵심 WorkSession 실패와 분리
  • GO / HOLD / NO-GO 종료 기준 정의

중요 가드레일

  • AgentsView는 optional provider 후보이며 필수 런타임이 아님
  • DB 직접 접근 금지
  • project-level Recent Edits를 특정 작업 evidence로 간주하지 않음
  • VU-001 Plan → Session → Delivery → Approval 흐름이 source of truth

Closes #65 only after the spike reaches and records a final GO/HOLD/NO-GO verdict.

Copy link
Copy Markdown
Owner Author

S2 진행 결과:

  • AgentsView는 GET /api/v1/sessions/{id} / {id}/usage를 안정적 exact-session read surface로 제공하고, Codex UUID형 세션 ID를 직접 조회할 수 있음.
  • Maestro WorkSession은 기존 metadata를 재시작 후에도 영속화하므로 spike에서는 metadata.observationRefs[]에 exact external session ID를 보관해 core schema 변경 없이 검증 가능.
  • session list의 project/agent/active_since 필터는 후보 탐색용으로만 사용하고 authoritative binding으로 사용하지 않음.
  • Recent Edits는 project-level API지만 nested edit에 session_id가 있으므로 positive exact-session match는 client-side로 추출 가능. 단 paging 때문에 0건은 no edits로 해석하지 않음.
  • scripts/spike-agentsview-observation.mjs 추가: exact session metadata + usage + exact-session edit positive matches를 read-only로 probe함. timeout/unavailable은 degraded observation으로만 기록.

현재 S2 설계는 explicit external session ID가 adapter에서 전달되는 조건으로 PASS. 다음 검증은 실제 로컬 AgentsView daemon + 실제 Codex session ID를 이용한 S1/S3/S4 live probe입니다.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent Observability Spike: validate AgentsView as an optional observation provider

1 participant