gtex_tissue_expression() (scidex/forge/tools.py:2302) against the livehypothesis_tissue_expression(hypothesis_id,scripts/backfill_hypothesis_gtex.py walks the active hypothesis setdataset="gtex_v10", andpersist=True flag that does the upsert in-line so/hypothesis/<id> page (api.py) shows a 13-row brain-region heatmapscidex/senate/personas/skeptic.py) gets atissue_table block — verified by inspecting one debatescripts/forge_data_audit.py reports zero hypotheses withtarget_gene IS NOT NULL AND no tissue rows after the backfill run.hypotheses(id).gtex_tissue_expression() in scidex/forge/tools.py to takepersist, falling back to the existing return shape when False.
/api/hypothesis/<id>/tissue endpoint and a small SVG heatmapapi_shared/charts.py.
scidex/senate/personas/skeptic.py to inject the tissue table as aq-555b6bea3848: real-data wiring effort.gtex_tissue_expression already in scidex/forge/tools.py.All acceptance criteria implemented and backfill executed:
migrations/20260427_add_hypothesis_tissue_expression.sql): hypothesis_tissue_expression table created with composite PK on (hypothesis_id, tissue_site_detail_id) and 3 indexes. Table confirmed live scripts/backfill_hypothesis_gtex.py): Added _extract_primary_gene() scidex/forge/tools.py): gtex_tissue_expression() extended with persist=True / hypothesis_id params. Persist block iterates full tissue list top_n truncation) and upserts via ON CONFLICT DO UPDATE.api.py, api_shared/charts.py): /hypothesis/<id> page renders hypothesis_tissue_expression for brain regions. /api/hypothesis/<id>/tissue JSON endpoint returns full tissue vector plus brain_tissues subset.personas/skeptic/SKILL.md, agent.py): SKILL.md documents tissue_table block format and reasoning instructions. agent.py builds the scripts/forge_data_audit.py): Reports coverage; 1378/1520 (90.7%) --json and --fail flags for CI.Root cause identified: Task 0dff4b9b-29af-45a2-9d3f-05fc65267f2c was marked "done" by
supervisor auto-completion (assuming PR #681 merge), but the feature branch
orchestra/task/0dff4b9b-live-gtex-v10-tissue-priors-on-every-tar (commit 62ede60b4)
was never merged to origin/main — it remains a dangling branch off the task graph.
However, all GTEx tissue expression files are present on origin/main and verified
functional (confirmed via code inspection of agent.py lines 1614-1686):
migrations/20260427_add_hypothesis_tissue_expression.sql — on main, scripts/backfill_hypothesis_gtex.py — on main, identical to 62ede60b4gtex_tissue_expression() with persist=True/hypothesis_id params — confirmedapi_shared/charts.py:brain_region_heatmap_svg() — confirmedagent.py builds and injects tissue_table block from DB — confirmedscripts/forge_data_audit.py — on main, identical to 62ede60b4