Skip to content

docs(#4340): add entity provider schema contracts to boost AGENTS.md - #4341

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/4340-add-entity-schema-docs
Open

docs(#4340): add entity provider schema contracts to boost AGENTS.md#4341
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/4340-add-entity-schema-docs

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Document upstream AiResource/agent and AiModelServerAPI/ai-model-server schema requirements in the boost workspace AGENTS.md. This closes a documentation gap that caused rework on PR #4260, where a human reviewer had to flag missing spec.instructions and spec.handoffs fields because neither the issue spec nor AGENTS.md documented the upstream entity schema contracts.

The new section lists schema-required fields (type, lifecycle, owner for AiResource; plus serverType and serverUrl for AiModelServerAPI) and key optional fields that entity providers should populate (instructions, handoffs, handoffDescription, model, tools, modelSettings for agents; models.available, models.default, requiresApiKey for model servers). Cross-references the canonical JSON schema files in the ai-integrations workspace and notes the AiResourceAgentProcessor's runtime type validation via collectAgentErrors.

Note: prettier could not run in sandbox (missing @backstage/cli dependency). Manual formatting verified.


Closes #4340

Post-script verification

  • Branch is not main/master (agent/4340-add-entity-schema-docs)
  • Secret scan passed (gitleaks — 887e675df7939b79648353ce9001dc9cc7ed09d3..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

Document upstream AiResource/agent and AiModelServerAPI/ai-model-server
schema requirements in the boost workspace AGENTS.md. This closes a
documentation gap that caused rework on PR #4260, where a human
reviewer had to flag missing spec.instructions and spec.handoffs fields
because neither the issue spec nor AGENTS.md documented the upstream
entity schema contracts.

The new section lists schema-required fields (type, lifecycle, owner
for AiResource; plus serverType and serverUrl for AiModelServerAPI)
and key optional fields that entity providers should populate
(instructions, handoffs, handoffDescription, model, tools,
modelSettings for agents; models.available, models.default,
requiresApiKey for model servers). Cross-references the canonical
JSON schema files in the ai-integrations workspace and notes the
AiResourceAgentProcessor's runtime type validation via
collectAgentErrors.

Note: prettier could not run in sandbox (missing @backstage/cli
dependency). Manual formatting verified.

Closes #4340
@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from durandom as a code owner August 16, 2026 22:21
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Aug 16, 2026
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.36%. Comparing base (887e675) to head (bb06c60).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4341   +/-   ##
=======================================
  Coverage   61.36%   61.36%           
=======================================
  Files        2520     2520           
  Lines      100978   100978           
  Branches    28295    28295           
=======================================
  Hits        61965    61965           
  Misses      38462    38462           
  Partials      551      551           
Flag Coverage Δ *Carryforward flag
adoption-insights 84.55% <ø> (ø) Carriedforward from 887e675
ai-integrations 73.13% <ø> (ø) Carriedforward from 887e675
app-defaults 69.79% <ø> (ø) Carriedforward from 887e675
augment 46.67% <ø> (ø) Carriedforward from 887e675
boost 78.28% <ø> (ø)
bulk-import 72.79% <ø> (ø) Carriedforward from 887e675
cost-management 13.55% <ø> (ø) Carriedforward from 887e675
dcm 67.21% <ø> (ø) Carriedforward from 887e675
e2e-adoption-insights 60.00% <ø> (ø) Carriedforward from 887e675
e2e-extensions 62.13% <ø> (ø) Carriedforward from 887e675
e2e-global-header 49.45% <ø> (ø) Carriedforward from 887e675
e2e-homepage 43.49% <ø> (ø) Carriedforward from 887e675
e2e-intelligent-assistant 46.68% <ø> (ø) Carriedforward from 887e675
e2e-orchestrator 50.42% <ø> (ø) Carriedforward from 887e675
e2e-quickstart 55.21% <ø> (ø) Carriedforward from 887e675
e2e-scorecard 50.21% <ø> (ø) Carriedforward from 887e675
e2e-theme 16.36% <ø> (ø) Carriedforward from 887e675
extensions 56.59% <ø> (ø) Carriedforward from 887e675
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 887e675
global-header 66.50% <ø> (ø) Carriedforward from 887e675
homepage 47.59% <ø> (ø) Carriedforward from 887e675
install-dynamic-plugins 59.95% <ø> (ø) Carriedforward from 887e675
intelligent-assistant 75.42% <ø> (ø) Carriedforward from 887e675
konflux 91.98% <ø> (ø) Carriedforward from 887e675
lightspeed 69.02% <ø> (ø) Carriedforward from 887e675
mcp-integrations 83.40% <ø> (ø) Carriedforward from 887e675
orchestrator 70.87% <ø> (ø) Carriedforward from 887e675
quickstart 63.74% <ø> (ø) Carriedforward from 887e675
sandbox 79.56% <ø> (ø) Carriedforward from 887e675
scorecard 87.36% <ø> (ø) Carriedforward from 887e675
theme 88.91% <ø> (ø) Carriedforward from 887e675
translations 5.12% <ø> (ø) Carriedforward from 887e675
x2a 79.20% <ø> (ø) Carriedforward from 887e675

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 887e675...bb06c60. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Agent PR ready for human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add upstream AiResource/AiModelServerAPI schema requirements to boost AGENTS.md

0 participants