Add history window controls and expand taxonomy pack support

- add 3Y/5Y/10Y financial history filtering and reorganize normalization details UI
- add new fiscal taxonomy surface/income bridge/KPI packs and update Rust taxonomy loading
- auto-detect Homebrew SQLite for native `sqlite-vec` in local dev/e2e with docs and env guidance
This commit is contained in:
2026-03-18 23:40:28 -04:00
parent f8426c4dde
commit 17de3dd72d
102 changed files with 14978 additions and 1316 deletions

View File

@@ -0,0 +1,122 @@
{
"version": "fiscal-v1",
"pack": "plan_health_welfare",
"surfaces": [
{
"surface_key": "contributions_received",
"statement": "income",
"label": "Contributions Received",
"category": "surface",
"order": 10,
"unit": "currency",
"rollup_policy": "aggregate_children",
"allowed_source_concepts": [
"us-gaap:ContributionsReceivedFromEmployersAndParticipants"
],
"allowed_authoritative_concepts": [
"us-gaap:ContributionsReceivedFromEmployersAndParticipants"
],
"formula_fallback": null,
"detail_grouping_policy": "group_all_children",
"materiality_policy": "income_default"
},
{
"surface_key": "benefits_paid",
"statement": "income",
"label": "Benefits Paid",
"category": "surface",
"order": 20,
"unit": "currency",
"rollup_policy": "aggregate_children",
"allowed_source_concepts": [
"us-gaap:BenefitPayments",
"us-gaap:BenefitsPaidToParticipants"
],
"allowed_authoritative_concepts": [
"us-gaap:BenefitPayments",
"us-gaap:BenefitsPaidToParticipants"
],
"formula_fallback": null,
"detail_grouping_policy": "group_all_children",
"materiality_policy": "income_default"
},
{
"surface_key": "administrative_expense",
"statement": "income",
"label": "Administrative Expense",
"category": "surface",
"order": 30,
"unit": "currency",
"rollup_policy": "aggregate_children",
"allowed_source_concepts": [
"us-gaap:AdministrativeExpenses",
"us-gaap:PlanAdministrativeExpense"
],
"allowed_authoritative_concepts": [
"us-gaap:AdministrativeExpenses",
"us-gaap:PlanAdministrativeExpense"
],
"formula_fallback": null,
"detail_grouping_policy": "group_all_children",
"materiality_policy": "income_default"
},
{
"surface_key": "net_assets_available_for_benefits",
"statement": "balance",
"label": "Net Assets Available for Benefits",
"category": "equity",
"order": 100,
"unit": "currency",
"rollup_policy": "direct_or_formula",
"allowed_source_concepts": [
"us-gaap:NetAssetsAvailableForBenefits"
],
"allowed_authoritative_concepts": [
"us-gaap:NetAssetsAvailableForBenefits"
],
"formula_fallback": null,
"detail_grouping_policy": "top_level_only",
"materiality_policy": "balance_default"
},
{
"surface_key": "plan_assets",
"statement": "balance",
"label": "Plan Assets",
"category": "noncurrent_assets",
"order": 30,
"unit": "currency",
"rollup_policy": "aggregate_children",
"allowed_source_concepts": [
"us-gaap:PlanAssets",
"us-gaap:FairValueOfPlanAssets"
],
"allowed_authoritative_concepts": [
"us-gaap:PlanAssets",
"us-gaap:FairValueOfPlanAssets"
],
"formula_fallback": null,
"detail_grouping_policy": "group_all_children",
"materiality_policy": "balance_default"
},
{
"surface_key": "benefit_obligations",
"statement": "balance",
"label": "Benefit Obligations",
"category": "noncurrent_liabilities",
"order": 80,
"unit": "currency",
"rollup_policy": "aggregate_children",
"allowed_source_concepts": [
"us-gaap:BenefitObligations",
"us-gaap:AccumulatedPostretirementBenefitObligation"
],
"allowed_authoritative_concepts": [
"us-gaap:BenefitObligations",
"us-gaap:AccumulatedPostretirementBenefitObligation"
],
"formula_fallback": null,
"detail_grouping_policy": "group_all_children",
"materiality_policy": "balance_default"
}
]
}