Skip to content

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

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

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.

@gabemontero

Copy link
Copy Markdown
Contributor

closed corresponding issue as well ... see that for details

@fullsend-ai-retro

fullsend-ai-retro Bot commented Aug 17, 2026

Copy link
Copy Markdown

🤖 Finished Retro · ✅ Success · Started 1:25 PM UTC · Completed 1:36 PM UTC

Commit: bb06c60 · View workflow run →

@fullsend-ai-retro

Copy link
Copy Markdown

Retro Analysis: PR #4341 — docs-only AGENTS.md change, closed without merge

What happened

PR #4341 was a retro-originated documentation PR that was closed without merge by maintainer gabemontero. The full chain:

  1. PR #4260 (Aug 11–16): Code agent created a 26-file entity kind migration. Human reviewer mareklibra caught 3 domain-specific schema gaps (spec.instructions, spec.handoffs vs dependsOn, missing i18n). gabemontero performed extensive manual fixes and merged.
  2. Retro on feat(#4259): pivot boost plugins to AiResource/agent and AiModelServerAPI #4260 (Aug 16 ~22:00 UTC): The retro agent analyzed the merged PR, identified the schema knowledge gap, and filed issue #4340 proposing to add entity schema contracts to workspaces/boost/AGENTS.md.
  3. Triage (Aug 16 22:09, run 31975519377): Triage agent auto-labeled ready-to-code.
  4. Code (Aug 16 22:14, run 31975725111): Code agent wrote +70/-0 to workspaces/boost/AGENTS.md.
  5. PR docs(#4340): add entity provider schema contracts to boost AGENTS.md #4341 opened (Aug 16 22:21): No review agent ran — the routing check is_event_actor_authorized failed for fullsend-ai-coder[bot] (run 31976103316 shows "No stage matched -- skipping dispatch").
  6. Closed without merge (Aug 17 13:24): gabemontero closed both issue and PR: "this is more of a one off hiccup ... no need to bump AGENTS.md."

The entire retro → triage → code → PR pipeline completed in ~13 minutes with no human validation gate. The resulting work was rejected.

Assessment

This is a textbook case of the retro-to-code pipeline creating wasted work from a single-instance finding. The retro correctly identified that the code agent missed schema requirements, but the maintainer considered this a one-off problem (attributable to imprecise openspec content) rather than a systemic documentation gap. The retro's diagnosis was reasonable but its proposed fix was disproportionate.

This retro itself is running on a retro-originated PR — a self-referential chain that consumes compute analyzing rejected agent output.

Existing issue coverage

All improvement areas identified in this workflow are already covered by open issues in fullsend-ai/fullsend. No new proposals are warranted. Key evidence from this workflow:

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

1 participant