Check a repo against its saved plan
check_buildLink the GitHub repo a saved plan is being built in, and check it: detect_stack reads the repo and each planned service is marked found or not found yet (normal while building), services the repo uses that the plan doesn't are listed as drift, and when every planned service is found the plan is marked built. Pass id (a saved plan from list_saved_stacks) and repo the first time; after that, id alone checks the linked repo again. Private repos need the Kong Reviews GitHub App on that repo. How to present: say whether it is built; list what is not found yet as the next setup steps (from get_build_pack); for each drift service, ask the user whether to keep it (price it with diff_stack, or re-plan) or take it out of the code. Needs sign-in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A saved plan id from list_saved_stacks. | |
| repo | No | GitHub repo: owner/name or its github.com address. Links it to the plan, replacing any linked before. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result. Its shape depends on the tool. | |
| stale | Yes | ||
| caveats | Yes | Show to the user word for word. | |
| sources | Yes | ||
| confidence | Yes | ||
| assumptions | Yes | Usage and pricing assumptions behind the numbers. | |
| disclosures | Yes | Always includes the neutrality note: no vendor pays for a place in the answer. Link its url when you mention how Kong Reviews is paid. | |
| generated_at | Yes | ||
| engine_version | Yes |