css-rdb-reader-analysis.md
0 → 100644
+562
−0
Loading
Captures the source-of-truth notes from reading the
/home/controls/src/phoebus/app/trends/archive-reader/ source code in
preparation for building a Python CLI that talks directly to the SNS PV
archive Oracle databases.
Confirms the chan_arch.* schema, the float_val>num_val>str_val coalescing
precedence, the enum_metadata-driven enum rendering, the status-driven
gap-marker pattern (Archive_Off/Disconnected/Write_Error), the
initial-sample carry-forward query, the get_browser_data stored procedure
for OPTIMIZED data, and the equivalent_pv_prefixes name-variant lookup.
Cross-references every claim to specific files and line numbers in the
Phoebus source so the parent project's plan refinements can be defended.
Co-Authored-By:
Claude Opus 4.6 (1M context) <noreply@anthropic.com>