Task · GCI-0119.11

Extend label_inventory with Loki OTLP index-label set and Drilldown prerequisites

Description

After the C3 witness: effective OTLP index-label set and Drilldown prerequisites (L-07, L-13, L-16) through the chosen limits route with a bounded parser. Bumps catalogue_version. Serial after E2.

Acceptance Criteria

Definition of Done

Implementation Plan

Serial after accepted supportedL1source/writerquiescence; parentratio parked but notsemanticinput. Inspect C3chosenREADroute and frozenL7/L9policyverification before implementation; no inventedpolicy/autoverification. If AC2cannotmeetwithoutfrozenseamreopen, returnblockedbeforeedits withprecisereason. Supportedcounterinputs onlyrequire truthfulavailability/minimization.

D-LOKI23 removes the non-semantic ratio ordering dependency for this bounded tenant-limits parser build. Parse only approved three fields; missing unknown; catalogue and dependent rule evaluation with witnessed malformed/valid contracts. No applied-limits route or scope change.

Implementation Notes

loop14:zero-edit eligibilitystop/0attemptcharged. C3READtenantYAML200 doesnot verify frozen L7/L9policy; both unverified/nullverified_on, evaluator excludes beforeinputs (route_parked). Effective/default/custom/absent semantics unresolved (missing allow_structured_metadata unknown), selfserveappliedroute401requiresWRITE forbidden. AC2cannotmeetwithoutungrantedpolicy/seamreopen; no cataloguebump/falsecompletion. Futureownerapprovedcontractrequired.

loop23 D-LOKI23: implementation attempts2, review-repair rounds1. Exact retained robk200 nested witness and current official policy passages support only three named transient fields; catalogue5 routes existing L7/L9 through evaluation. L7 explicit first-match promotion produces numeric at_least risk; L9 missing volume/structured-metadata prerequisites remains not_evaluated/missing_input, never readiness/zero. No exhaustive effective-label set, source schema, scope, fanout, customer or deployment claim. Independent security found retention flow-grammar coupling and indentless false-empty regressions; both fail-first/public-source-to-pillar-to-writer cases fixed, renewed delta PASS. CodeRabbit complete all7files major0/unreviewed0; minor grammar style left (no behavior impact). Root source7804fd9a92db91b9b1f0070ae7d40771e96cc062 landed; composed10710c10003fab504a7a4f7171963ef03d8fedfb just check0 (2664pass,2 existing unnamed skips not passes,37Tofu), exact required CI38259843683 all leaves success. Root AGENTS records existing grant; unsupported shapes remain unknown and last-good retention preserved. Evidence /Users/rob/repos/grafana-cloud-org-insights/codex/loop23-evidence/loki/.

Final Summary

Bounded approved tenant-limits parsing and numeric labelling evidence shipped on main with independent retention projection. Unknown prerequisites/defaults/regex remain unavailable. Both detected retention regressions repaired and real local source/pillar/store behavior proved; code/source proof accepted, no live rollout or stable image publication claim.

View the source file on GitHub