Add metric-anomaly + incident-followup loops and a GitHub Pages site#8
Merged
Conversation
Applies the next product-level loops and ships a public landing page. Loops (deterministic, turnkey via loopy run): - metric-anomaly: z-score anomaly detection over an injected metric source; writes a markdown anomaly brief PR (reports/anomalies.md). Source via LOOPY_METRICS_FILE. - incident-followup: sweeps overdue postmortem action items and clusters incidents by recurring root cause; writes a digest PR (reports/incident-followup.md). Source via LOOPY_INCIDENTS_FILE. Both wired into the catalog + loopy run + package exports. Site: - site/ — self-contained best-in-class landing page (hero, loop contract, loops grid, 1-click install, an honest 'compared to best-in-class' table, long-horizon section), no external deps. - .github/workflows/pages.yml — deploys site/ to GitHub Pages on push to main. All three shipped via the OpenSpec cycle (specs in openspec/specs/). Built in parallel via three subagents; integrated centrally. Validated: typecheck, lint, 126 tests, clean build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012CrMioorha3QtPUgWbtDbR
DCCA
commented
Jun 23, 2026
DCCA
left a comment
Owner
Author
There was a problem hiding this comment.
Code review
CI green (build success, ~26s); locally typecheck, lint, 126 tests, and build pass. Reviewed the two loops, the CLI wiring, and the site.
Loops
- Deterministic and consistent. Both follow the proven dep-updates/kb-gap shape: injected data source + pure detection + a
reports/**-allowlisted PR.metric-anomalyz-scores the latest point vs. its own baseline (skips flat/short series);incident-followupfinds overdue open items and root-cause recurrences with deterministic normalization. Fail-safe: nothing found → no PR. - CLI wiring is clean. File-based sources (
LOOPY_METRICS_FILE,LOOPY_INCIDENTS_FILE) mirror the kb-gap pattern; missing source → clear guidance. Catalog + exports updated; smoke-tested. - Fixed one unused-import lint error from the generated incident-followup loop during integration.
Site
- Self-contained (no CDNs/build), responsive, with an honest comparison table — the caption acknowledges specialists go deeper in their niche, and loopy's angle (one guardrailed, importable framework) is stated fairly. Copy is accurate (OpenRouter
z-ai/glm-5.2, the loop contract, all loops). Pages workflow uses the standard Actions deploy.
Notes (non-blocking)
- Pages publish requires the repo's Pages source set to "GitHub Actions" (one-time setting) — documented.
- Anomaly/incident outputs are PR-as-report for now; richer non-PR adapters (alerts/dashboards) remain a noted follow-up.
Recommend merge.
Generated by Claude Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Applies the next product-level loops and ships a best-in-class GitHub Pages landing site — built in parallel via three subagents, integrated centrally.
New loops (deterministic, turnkey via
loopy run)metric-anomaly— z-score anomaly detection over an injected metric source; writes a markdown anomaly brief PR (reports/anomalies.md). Source viaLOOPY_METRICS_FILE.incident-followup— sweeps overdue postmortem action items + clusters incidents by recurring root cause; writes a digest PR (reports/incident-followup.md). Source viaLOOPY_INCIDENTS_FILE.Both wired into the catalog,
loopy run, and package exports.Landing site (
site/) + deploy.github/workflows/pages.ymldeployssite/to GitHub Pages on push tomain.OpenSpec
Three changes shipped via proposal → apply → archive; specs are the source of truth:
metric-anomaly-loop.md,incident-followup-loop.md,landing-page.md.Validation
npm test— 126 tests (+15)npm run build— clean (dist/loops/metric-anomaly,dist/loops/incident-followup)🤖 Generated with Claude Code
https://claude.ai/code/session_012CrMioorha3QtPUgWbtDbR
Generated by Claude Code