generated from coulomb/repo-seed
Include ranked suggestions in daily triage digest (STATE-WP-0061).
Expose State Hub ranked_suggestions from /state/summary in the daily_triage_digest resolver so WSJF triage can prioritize gated needs.
This commit is contained in:
@@ -486,6 +486,18 @@ def test_daily_triage_digest_is_curated_scalar_json(monkeypatch) -> None:
|
||||
"/state/summary": {
|
||||
"generated_at": "2026-05-19T05:20:00Z",
|
||||
"totals": {"tasks": {"todo": 4, "wait": 1}},
|
||||
"ranked_suggestions": [
|
||||
{
|
||||
"id": "sug-1",
|
||||
"title": "Issue-core ingestion API key path",
|
||||
"stage": "suggestion",
|
||||
"domain_slug": "custodian",
|
||||
"origin_ref": "issue-core-ingestion-api-key",
|
||||
"relevance": 2,
|
||||
"wsjf": 4.7,
|
||||
"last_requested_at": "2026-05-19T04:00:00Z",
|
||||
}
|
||||
],
|
||||
"topics": [
|
||||
{
|
||||
"slug": "custodian",
|
||||
@@ -594,3 +606,4 @@ def test_daily_triage_digest_is_curated_scalar_json(monkeypatch) -> None:
|
||||
assert digest["deterministic_scoring"]["future_mode"] == (
|
||||
"code_score_high_gain_high_effort_candidates"
|
||||
)
|
||||
assert digest["ranked_suggestions"][0]["origin_ref"] == "issue-core-ingestion-api-key"
|
||||
|
||||
Reference in New Issue
Block a user