2.5 KiB
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-0012was confirmed by the user after independent review PASS. - Confirmed Discovery digest after lifecycle transition:
8a18a9d1a22d92f13f59c2b6d0ce942a3dc24d0959cf8943d1ea843a8e7e536f. - Specification review PASS covered
REQ-0012, createAC-0040, and unchanged satisfy targetAC-0029. - The user explicitly approved
REQ-0012andAC-0040/AC-0029from approval packet SHA-256f1460df034b635174f8a64d59ceec1c9f5d2c3c4f818ab4b939550e455121666. - Lifecycle result:
REQ-0012=approved,AC-0040=active;AC-0029remains active and unchanged. - No Normative Design Documents are part of the approval baseline.
Implementation plan
- Suppress empty-claim INFO while retaining process-lifetime counters and exact non-empty batch correlation IDs.
- Add immutable operator metrics snapshots to spy-only slots RPC responses.
- Add sanitized
_ledger_loopexception observability and prove loop survival. - Synchronize runtime/interface documentation and run focused, full, static, ProofLine, and independent verification.
- 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_loopunexpected 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 확인.