log-aggregation
Aggregate and search logs from Vercel and Railway with structured format, ring buffer storage, and agent-queryable search interface.
- License 许可
- GPL-3.0
- 最近更新
- 2026-04-24
- Stars
- ★ 1
- Forks
- 3
01 前言 Front Matter
- name
- log-aggregation
- next
- [ "debug", "incident-response" ]
- group
- operate
- workflows
- [ "incident-response" ]
- description
- Aggregate and search logs from Vercel and Railway with structured format, ring buffer storage, and agent-queryable search interface.
- prerequisites
- [ "deploy-pipeline" ]
- user-invocable
- true
03 SKILL.md 正文
Log Aggregation
Unify logs from Vercel (frontend) and Railway (backend) into a structured, searchable format with bounded storage.
Ingestion
- Pull logs from Vercel deployments using
vercel logson a configurable polling interval (default: 5 minutes). - Pull logs from Railway services using
railway logson the same interval. - Normalize all logs into a consistent schema:
timestamp,level,source,message,metadata.
Storage
- Store normalized logs in a ring buffer with a configurable retention window (default: 7 days).
- Enforce a hard storage size cap. Evict oldest entries when the cap is reached.
- Index logs by timestamp and level for fast search during debugging.
Search Interface
- Expose a log search tool that agents can call with parameters: time range, log level (debug/info/warn/error), source (frontend/backend), and keyword or regex.
- Correlate frontend and backend logs for the same request using request IDs or timestamps when available.
Proactive Surfacing
- Surface error-level logs automatically to the ops agent without requiring a manual query.
- When creating GitHub Issues from errors, attach the surrounding log lines as context.
Anti-patterns
- Storing logs forever without retention limits. The ring buffer must enforce bounded storage.
- Ingesting from only one source. Both Vercel and Railway are required.
- Requiring agents to SSH into servers to read logs. Logs must be queryable via the search tool.
- Logging without structured fields. Every log entry needs timestamp, level, source, and message.
Validation
- Logs from both Vercel and Railway appear in the unified store with correct schema fields.
- A search query by time range and level returns matching results.
- The ring buffer evicts old entries when the storage cap is hit.
- Error-level logs trigger proactive notification to the ops agent.
- A GitHub Issue created from an error includes surrounding log context.
04 同仓库更多 Skills
writer-memory
Agentic memory system for writers - track characters, relationships, scenes, and themes
wiki
LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)
website-creation
Build production-quality SaaS websites with opinionated design presets. Use when creating any startup website. The user MUST pick a design style before building. Enforces shadcn/ui, Figma design principles, specific CSS values per style, and anti-AI-writing. Load alongside anti-ai-writing skill. LIGHT MODE ONLY.
visual-verdict
Structured visual QA verdict for screenshot-to-reference comparisons
visual-qa-pipeline
Screenshot every page with Playwright, feed to visual QA agent for design evaluation, report results to Slack. Use after every build phase to verify UI matches the chosen design preset. Integrates with the Playwright skill and the website-creation preset system.
verify
Verify that a change really works before you claim completion