Repository navigation
docs: add ADRs, runbooks, API spec and agent guides for AI readiness - #166
Open
Raj Mhatre (raj-mhatre-de-da) wants to merge 1 commit into
Open
Raj Mhatre (raj-mhatre-de-da) wants to merge 1 commit into
Raj Mhatre (raj-mhatre-de-da) wants to merge 1 commit into
Conversation
Documentation only: three retroactive ADRs, four runbooks and an on-call playbook, an OpenAPI description of the existing routes, a CHANGELOG, backend and release agent skills, a partial .agents/pattern-agents.json and the gauge-repo audit. README.md and AGENTS.md are append-only. No source, workflow, script or config changes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Nov 27, 2026
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
Documentation-only AI readiness pass for the code freeze. Before → after, from the gauge-repo audit in
docs/engineering-best-practices-audit.md(rubricitem-credit-v1):mainhas no audit)This does not reach the 90% target and does not turn the gates GREEN. The remaining items need CI workflows, tooling, tests or code, which are deliberately left out during the freeze; they are listed as ordered recommendations in the audit.
Items changed
.agents/skills/heimdall-backend.md,heimdall-release.md(next to the existing UI skill)docs/adr/0001–0003, written retroactively and labelled as suchdocs/runbooks/(deploy and rollback, stuck/AWOL jobs, cluster health, schema deploy)docs/openapi/heimdall.yamlcovers all 21 routes; bodies are generic objectsCHANGELOG.mdv1.8.4–v1.10.0 with migration notesdocs/oncall.md; paging and escalation contacts areTODO(owner)AGENTS.mdand the backend skill.agents/pattern-agents.jsonwithschema_version,github.repo,skillsonlyExisting files are unchanged apart from the two append-only exceptions:
README.md(+4 lines) andAGENTS.md(+22 lines), 0 deletions. No Go, SQL, workflow, script or config file is touched.N/A items
None. No item was marked N/A to raise the score.
Inferred values
inferredin each ADR.stale_job45 s,awol_timeout3600 s, keepalive 5 s, shutdown 30 s) are read fromcmd/heimdall/heimdall.goand the janitor tests.Open questions
main + releasesalready setsrequire_code_owner_review)?clickup_list_id,slack_channel,datadog.service(andaws[]if deployed to AWS) for.agents/pattern-agents.json.docs/oncall.mdanddocs/runbooks/deploy-and-rollback.md(TODO(owner)markers).Workflow changes needed
None in this PR.
What has not run on GitHub
Nothing in this PR is executed by CI beyond the existing
Build and Testjob. The OpenAPI file was checked against the router routes by hand and parsed as YAML.Deploy risk
None. Documentation and agent-config files only.
docker-image.ymlruns on merge tomainand rebuilds the same image contents.After merge
A repo admin should add a ruleset requiring the
buildcheck (item 16):Follow-ups (after the freeze)
golangci-lint,gofmtcheck, PR-title check, license scan, dependency deny-list, coverage floor, benchmarks, smoke test.docker-image.ymlreferencessteps.version.outputs.valuebut no step namedversionexists, soBUILD_VERSIONis empty in published images;internal/pkg/object/command/starrocks/job_context.gois not gofmt-clean;pkg/plugin/runtime.goimportsinternal/pkg/aws.A fuller version (CI workflows, lint config, Makefile, tests, benchmarks) is built and verified locally on a separate branch and can be proposed after the freeze.
🤖 Generated with Claude Code