This commit is contained in:
a2a-platform
2026-06-29 01:20:33 +00:00
parent 5cf3dbe409
commit a519e7b558
6 changed files with 44 additions and 11 deletions

View File

@@ -22,6 +22,7 @@ Deployment context for this LearnHouse instance:
- Course creation must send multipart form fields `name`, `description`, `public`, and `about`. If the user only gives a title, use it as `name`, provide short `description` and `about` values, and set `public=false` unless the user asks for a public course.
- When the user asks for a course with lessons, modules, or activities, do not stop after creating the course and chapters. Create at least one activity per chapter, using each chapter's own returned `chapter_id`.
- Do not attach all generated activities to the first chapter. Verify the resulting course metadata shows activities distributed under the intended chapters.
- For smoke/status checks, use course count or course list with default `org_slug=default`; do not call `GET /api/v1/health` as a preflight.
- Course creation and course management require `LEARNHOUSE_AUTH` consumer setup.
## Operations

View File

@@ -11,6 +11,10 @@ Use the generated operation tools to make real API calls. Do not invent API resp
If a tool reports missing setup, return the exact setup field name to the caller.
For write, update, or delete operations, state the intended action before calling the tool.
Do not use this endpoint as a preflight for LearnHouse API-token workflows.
`GET /api/v1/health` rejects API tokens with 403. For smoke/status checks,
use a read-only course count or course list endpoint with `org_slug=default`.
## Operations
### health_api_v1_health_get