mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-05-24 09:29:15 +00:00
|
Some checks are pending
Knip - Unused Code Analysis / knip (push) Waiting to run
Main / lint (push) Waiting to run
Main / unit (push) Waiting to run
Main / integration (push) Waiting to run
Main / otel-unit-test (push) Waiting to run
Main / otel-smoke-test (push) Waiting to run
Main / e2e-tests (push) Waiting to run
Main / End-to-End Tests (push) Blocked by required conditions
Main / ClickHouse Bundle Build (push) Waiting to run
Push Downstream / push-downstream (push) Waiting to run
Release / Check Changesets (push) Waiting to run
Release / Check if version exists (push) Blocked by required conditions
Release / Build OTel Collector (amd64) (push) Blocked by required conditions
Release / Build OTel Collector (arm64) (push) Blocked by required conditions
Release / Publish OTel Collector Manifest (push) Blocked by required conditions
Release / Build App (amd64) (push) Blocked by required conditions
Release / Build App (arm64) (push) Blocked by required conditions
Release / Publish App Manifest (push) Blocked by required conditions
Release / Build Local (amd64) (push) Blocked by required conditions
Release / Build Local (arm64) (push) Blocked by required conditions
Release / Publish Local Manifest (push) Blocked by required conditions
Release / Build All-in-One (amd64) (push) Blocked by required conditions
Release / Build All-in-One (arm64) (push) Blocked by required conditions
Release / Publish All-in-One Manifest (push) Blocked by required conditions
Release / Release CLI Binaries (push) Blocked by required conditions
Release / Notify Helm-Charts Downstream (push) Blocked by required conditions
Release / Notify CH Downstream (push) Blocked by required conditions
Release / notify_clickhouse_clickstack (push) Blocked by required conditions
Release / slack-notify-failure (push) Blocked by required conditions
Release / OpenTelemetry Export Trace (push) Blocked by required conditions
## What changed The root `AGENTS.md` and `agent_docs/` only documented 3 of the 5 packages and had no mention of several major API subsystems. Agents working from these docs had no awareness of the CLI, otel-collector, MCP server, External API v2, OpAMP server, or background tasks. ### Changes **`AGENTS.md`** - Architecture section: "three main packages" → "five packages", added `packages/cli` and `packages/otel-collector` with links to their own docs - Added note that the API package hosts MCP, External API v2, and OpAMP as sub-applications - Added "Package-specific guides" subsection pointing to `packages/cli/AGENTS.md`, `packages/otel-collector/README.md`, and `MCP.md` - Added `packages/cli` type-check command to the Running Tests section **`agent_docs/architecture.md`** - Replaced the 4-bullet "Backend Architecture" section with detailed subsections for each API surface: - **Internal API** — layered structure (routers/controllers/middleware/services), session auth - **External API v2** — routes, OpenAPI workflow (`yarn docgen` + `yarn lint:openapi`), tests - **MCP Server** — entry points, tools/prompts structure, tests, dev inspector - **OpAMP Server** — controller/service/model/proto structure, config derivation - **Background Tasks** — all task files, dev vs prod execution, Vercel limitation **`agent_docs/README.md`** - Fixed 3 stale references from `CLAUDE.md` → `AGENTS.md` |
||
|---|---|---|
| .. | ||
| architecture.md | ||
| code_style.md | ||
| data_viz_colors.md | ||
| development.md | ||
| README.md | ||
| tech_stack.md | ||
Agent Documentation Directory
This directory contains detailed documentation for AI coding agents working on the HyperDX codebase. These files use progressive disclosure - they're referenced from AGENTS.md but only read when needed.
Purpose
Instead of stuffing all instructions into AGENTS.md (which goes into every conversation), we keep detailed, task-specific information here. This ensures:
- Better focus: Only relevant context gets loaded per task
- Improved performance: Smaller context window = better instruction following
- Easier maintenance: Update specific docs without bloating the main file
Files
architecture.md- System architecture, data models, service relationships, security patternstech_stack.md- Technology choices, UI component patterns, library usagedevelopment.md- Development workflows, testing strategy, common tasks, debuggingcode_style.md- Code patterns and best practices (read only when actively coding)data_viz_colors.md- Chart, heatmap, and semantic status colors. Read before adding or changing any color in a chart, sparkline, heatmap, legend, or status pill.
Usage Pattern
When starting a task:
- Agent reads
AGENTS.mdfirst (always included) - Agent determines which (if any) docs from this directory are relevant
- Agent reads only the needed documentation
- Agent proceeds with focused, relevant context
Maintenance
- Keep files focused on their specific domain
- Use file/line references instead of code snippets when possible
- Update when patterns or architecture change
- Keep documentation current with the codebase