feat(probes): show odoo-db's database.* flags off the same list run #49
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 273 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.336
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #49"
general
weight: 0.35
xaviedoanhduy
Why
The TUI only knew whether a database had
database.is_neutralized. Copies of production now carry moredatabase.*flags (shrunk, anonymized, obfuscated, safe-testing, source dump date), and odoo-db reports them (trobz/odoo-db#38). To see what was done to a copy and how old its dump is, you still had to query each database yourself.Depends on
odoo-db listemits the flags. With an older odoo-db nothing breaks: no tags, no extra table, flags come back asnull. Release odoo-db first.What
The flags come from the same
odoo-db listrun that already suppliedneutralized, so there is no extra process or query.ANON,OBFUSC,SHRUNK,SAFE-TEST) and shows the dump's age (dump 146d). False and unset flags show nothing, so a plain database looks as before.yes/no/not set, plus the dump date and age. It is hidden when none of them is set. These are the flags as declared; the live-surface check below it still says whether the database is really clean.instance_databases: keepsneutralizedand adds aflagsobject per database.probes.neutralized_databasesbecomesprobes.database_flags, returning the whole row per database ({}when odoo-db is missing, times out or can't reach postgres, as before).[/x]used to be read as Rich markup and could crash the tab.Test plan
pytest(290 pass),ruff check,ruff format --check.database_flags, the dump age, the row tags, the Database flags table and markup-safe cells.mainas the backing binary (no tags, no crash).<img width="1872" height="839" alt="image" src="https://github.com/user-attachments/assets/f7cb5663-9061-4d01-97d4-0ed039f107d4" />
Forge-ID: 69071