mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-09-11 16:02:19 +00:00
* chore: check enterprise-gated files are listed in both license configs A file reachable only through `#[cfg(feature = "enterprise")] mod ...;` is governed by the GreptimeDB Enterprise License, so it must appear in the `includes` of licenserc-enterprise.toml and the `excludes` of licenserc.toml. hawkeye stays silent when it does not: the file keeps its Apache-2.0 header and passes the default check precisely because it was never excluded from it. scripts/check-enterprise-license.py walks enterprise-gated `mod` declarations, resolves them to files (submodules included) and diffs that set against both configs, also reporting stale entries. It runs in the license job in CI and as `make check-enterprise-license`. Documents the split it cannot decide for you — whole enterprise features get their own file, a gated match arm stays inline — in .agents/architecture-invariants.md. Signed-off-by: Dennis Zhuang <killme2008@gmail.com> * fix: tighten enterprise license checks Signed-off-by: Dennis Zhuang <killme2008@gmail.com> --------- Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
Agent Resources
Shared resources for coding agents (Codex, Claude Code, ...) and contributors.
Skills
Shared agent skills live in .agents/skills.
- Codex automatically discovers repo skills from
.agents/skills. - Claude Code reads the same skills through
.claude/skills, which is a symlink to this directory. - Add or update shared skills under
.agents/skills/<skill-name>/SKILL.md. - If a new skill does not appear, restart the agent or start a new thread.
Per-crate guides
Hot crates carry an AGENTS.md next to their code as a navigation aid (module
map, read/write paths, change-coupling points, test commands, gotchas):
src/mito2/AGENTS.md— primary time-series storage enginesrc/metric-engine/AGENTS.md— metrics engine (logical/physical regions)src/flow/AGENTS.md— stream processing / continuous aggregationsrc/frontend/AGENTS.md— request entry point and orchestrationsrc/meta-srv/AGENTS.md— metadata and cluster coordination
Architecture invariants
architecture-invariants.md lists repo-wide rules
that are easy to violate and expensive to get wrong (format compatibility, crate
layering, async runtimes, error handling, feature gating, the DataFusion fork).
Generated files
generated-files.md lists tool-generated artifacts that
must not be hand-edited (sqlness .result, config.md, dashboards, ...).