Repository navigation
docs: update all contributing resources to call out upstream dependendencies - #834
Conversation
Agents patched bad upstream data (e.g. Kibana operationId names) inside this repo instead of fixing it where it originates. Assisted-by: Pi Coding Agent (claude-sonnet-5.5)
Assisted-by: Pi Coding Agent (claude-sonnet-5.5)
Assisted-by: Pi Coding Agent (claude-sonnet-5.5)
Assisted-by: Pi Coding Agent (claude-sonnet-5.5)
Assisted-by: Pi Coding Agent (claude-sonnet-5.5)
Assisted-by: Pi Coding Agent (claude-sonnet-5.5)
Assisted-by: Pi Coding Agent (claude-sonnet-5.5)
Assisted-by: Pi Coding Agent (claude-sonnet-5.5)
|
👋 This PR can use the first-failure repair loop on GitHub Actions and Buildkite. Labels
Comments
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the upstream-first contributor and agent guidance changes.
No open issues 🎉
What changed in this PR
This PR aligns contributor and agent guidance so defects in schema-derived command names, types, and descriptions are fixed upstream rather than patched in Elastic CLI.
Changes:
- Documents ownership boundaries between API specifications, schema generation, and CLI behavior.
- Adds an upstream-check skill and updates automated review guidance.
- Defines justification, approval, and tracking requirements for local workarounds.
| File | Description |
|---|---|
CONTRIBUTING.md |
Adds an upstream-first contribution checklist item. |
ARCHITECTURE.md |
Documents schema-data ownership and discourages local overrides. |
AGENTS.md |
Adds ownership checks and rules for approved stopgaps. |
.github/workflows/ai-pr-review-run.yml |
Updates the review prompt to flag upstream-data workarounds. |
.github/skills/code-review/SKILL.md |
Adds the upstream-workaround review requirement. |
.github/auto-pr-context.md |
Directs repair agents to report upstream defects and stop. |
.agents/skills/upstream-check/SKILL.md |
Adds a procedure for tracing defects to their owning repository. |
Review effort: Balanced
❌MegaLinter analysis: Error
Detailed Issues❌ REPOSITORY / trivy - 1 errorNotices📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining See detailed reports in MegaLinter artifacts MegaLinter is graciously provided by OX Security |
|
What failed: MegaLinter step failed but no logs were provided to identify the specific linting errors. The failure cannot be diagnosed without log output showing which linter failed and on which file/rule. Job: https://github.com/elastic/cli/actions/runs/46501607533/job/142140797393 Resolution: reran the failed CI jobs. |
Assisted-by: Pi Coding Agent (claude-sonnet-5.5)
1daa24e to
04da1ec
Compare
We regularly get PRs here cleaning up or otherwise fixing command names, schemas, etc. where the real fix should happen upstream in elastic/schemas-js and its underlying code generator.
These changes ensure agents, humans, Copilot reviewers, etc. are all explicitly guided to the correct locations for making those fixes rather than trying to apply them here.