Files
trex-core/.proofline/lines/line-0012/evidence/activity-log.md
T

2.5 KiB

Activity Log — line-0012

Specification approval

  • Issue: fourblocks2020/trex-core#97
  • Base revision: 62e4f57c2b80ce28db87421c5e7b72a4316b8c5f
  • Branch: feat/issue-97-outbox-idle-observability
  • Discovery dcy-0012 was confirmed by the user after independent review PASS.
  • Confirmed Discovery digest after lifecycle transition: 8a18a9d1a22d92f13f59c2b6d0ce942a3dc24d0959cf8943d1ea843a8e7e536f.
  • Specification review PASS covered REQ-0012, create AC-0040, and unchanged satisfy target AC-0029.
  • The user explicitly approved REQ-0012 and AC-0040/AC-0029 from approval packet SHA-256 f1460df034b635174f8a64d59ceec1c9f5d2c3c4f818ab4b939550e455121666.
  • Lifecycle result: REQ-0012=approved, AC-0040=active; AC-0029 remains active and unchanged.
  • No Normative Design Documents are part of the approval baseline.

Implementation plan

  1. Suppress empty-claim INFO while retaining process-lifetime counters and exact non-empty batch correlation IDs.
  2. Add immutable operator metrics snapshots to spy-only slots RPC responses.
  3. Add sanitized _ledger_loop exception observability and prove loop survival.
  4. Synchronize runtime/interface documentation and run focused, full, static, ProofLine, and independent verification.
  5. Deliver a pull request without production deployment or live remediation.

Implementation and verification

  • idle empty claim INFO를 제거하고 instance-local process-lifetime metric snapshot을 추가했다.
  • trex.slots.req의 spy=true 응답에 metrics를 연결하고 spy=false 응답은 기존 shape를 유지했다.
  • _ledger_loop unexpected writer exception을 sanitized ERROR로 기록하고 loop를 유지하도록 했다.
  • docs/runtime-flows.md, docs/interface-contract.md를 구현 계약과 동기화했다.
  • Focused tests: 42 passed, 16 skipped; PostgreSQL fixture 부재로 16건은 환경 미검증이다.
  • Full tests: 1267 passed, 98 skipped; skip에는 PostgreSQL fixture 의존 테스트가 포함된다.
  • Ruff, compileall, proofline validate, git diff --check: 통과.
  • Base revision sabotage probes: old idle logging, missing snapshot, missing RPC wiring, silent daemon exception에 대해 4 failed로 변경 검출을 확인했다.
  • 독립 구현 검토: PASS; production composition wiring을 포함해 material blocker 없음.
  • 미실행: production daemon lifecycle, broker 운영, production PostgreSQL 변경 또는 재기동.
  • 다음 행동: commit, remote branch push, PR 생성 및 exact head CI 확인.