Home

boring / v2

publicBoring-Software-Inc/v2
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

feat(web): /rules over real data — automod mockup absorbed (§9 step 3)

4 months ago

4279ab9
Authored
grim7/12/2026, 7:29:22 AM
- fix Unit-2 residual: toggle shows ACTUAL execution state (ruleExecutes
  mirrors derive.ts — baseline rules ON unless disabled), not enabled??false;
  saved-workflow repos show 'managed by your workflow'
- getRulesStats reads run_steps (matches) + run_actions (executed enforcement
  kinds only, not comment/check) repo-scoped 24h with hourly sparklines
- header: active rules + matches/actioned sparklines + FP 'not enough data'
- cards: id@version + target chip + action summary + toggle + count + spark +
  json config; sort filter; matcher-kind chips + FP sort omitted (no data)
- integration + predicate tests; retire rule-config-form into rule-card

Parenta0bfa67

12 files changed
  • DECISIONS.md+47−0
  • all-summaries.md+14−0
  • apps/web/src/components/rules/{rule-config-form.tsx => rule-card.tsx}+45−15
  • apps/web/src/components/rules/rule-filters.tsx+28−0
  • apps/web/src/components/rules/rule-header-stats.tsx+71−0
  • apps/web/src/components/rules/rules-page.tsx+51−8
  • apps/web/src/lib/rule-execution.test.ts+35−0
  • apps/web/src/lib/rule-execution.ts
+31
−0
  • apps/web/src/lib/rules.functions.ts+60−2
  • apps/web/src/lib/rules.query.ts+15−1
  • packages/db/src/services/insights.integration.test.ts+135−0
  • packages/db/src/services/insights.ts+139−1