Skill: Review PROJECT syllabus task and submit revision
When to Use
- Load when the task is to find PROJECT assignments awaiting review, interpret
learn.json-derived expectations fromGET /v1/registry/asset/, and persist teacher outcome withPUT /v1/assignment/task/{id}. - Use only when
task_typeisPROJECTafter loading the task row. - Do NOT use for
EXERCISE,LESSON, orQUIZtasks,FinalProjectendpoints, building assignment features in code, or telemetry/CodeRevision as the primary outcome.
Concepts
associated_slug: Syllabus asset slug on theTask; use it withGET /v1/registry/asset/{slug}to readconfig(syncedlearn.json). Full field semantics: reference/learnpack-configuration.md.revision_status:PENDING(awaiting teacher),APPROVED,REJECTED,IGNORED. There is no separate HTTP route to “ignore” — usePUTwithrevision_status:"IGNORED".- Graduation impact:
APPROVEDandIGNOREDcount as completed PROJECT assets in the completion evaluator. If the cohort syllabus uses a grading strategy that requires projects, changing the last required project toAPPROVEDorIGNOREDcan graduate the student and enqueue certificate generation. - Auto-ignore feature flag: If
certificate.auto_ignore_projects_on_deliveryis enabled for the academy, delivered PROJECT tasks are markedIGNOREDautomatically. Keep this behavior in mind before manually reviewing a project queue. - Teacher queue: Filter list
GETs withrevision_status=PENDING,task_status=DONE,task_type=PROJECT. Order oldest delivery first withsort=delivered_aton academy/cohort lists. - Solution references (optional): In
GET /v1/registry/asset/{slug}, checksolution_url,solution_video_url, andwith_solutions. Treat them as optional guidance links only; primary review contract remainsreadme_url+config. AssetContext(optional LLM context): UseGET /v1/registry/asset/{asset_id}/contextto retrieveai_contextplusstatus. This is generated asynchronously and may returnPROCESSINGfirst.
Workflow
- Discover (skip if the user already has
task_idanduser_id): CallGET /v1/assignment/academy/taskorGET /v1/assignment/academy/cohort/{cohort_id}/taskwithAuthorization,Academyheader,task_type=PROJECT,task_status=DONE,revision_status=PENDING,sort=delivered_at,limit,offset. Process earliestdelivered_atfirst. Prefer academy/cohort routes for pagination and FIFO;GET /v1/assignment/task/uses fixedcreated_atsort and is not FIFO bydelivered_at. - Load task detail:
GET /v1/assignment/user/{user_id}/task/{task_id}withAuthorization. Iftask_typeis notPROJECT, stop this skill. - Load asset contract:
GET /v1/registry/asset/{associated_slug}. Readid,config,graded,asset_type, repo/readme URLs, and optional solution references (solution_url,solution_video_url,with_solutions). Use reference/learnpack-configuration.md when interpretingconfigkeys. - Load optional AI context:
GET /v1/registry/asset/{asset_id}/context. Ifstatus=DONE, useai_contextas additional context for the reviewer. Ifstatus=PROCESSING/PENDING, continue review usingreadme_url+config(retry later if needed). - Review the student delivery (
github_url,live_url, and/or other submitted URLs/files) against project expectations fromconfigand asset delivery constraints (delivery_instructions,delivery_formats,delivery_regex_urlwhen present). Useai_contextonly as support, not as source of truth. - Draft teacher feedback for
description— max 450 characters (API limit onTask.description). - Submit:
PUT /v1/assignment/task/{task_id}withrevision_status(APPROVED,REJECTED,PENDING, orIGNORED) anddescriptionas needed. Same endpoint for ignoring — see Ignoring projects under Edge Cases and Endpoints.
Endpoints
Send Accept-Language (e.g. en, es) if the client should receive translated validation or error messages where the API supports it.
1. List tasks (academy) — paginated
- Method / path:
GET /v1/assignment/academy/task - Headers:
Authorization: Token <token>,Academy: <academy_id>(required for this academy-scoped route; staff capabilityread_assignment). - Query (discovery queue):
task_type=PROJECT,task_status=DONE,revision_status=PENDING,sort=delivered_at(mandatory for oldest-first),limit,offset. Optional:user_id,cohort,associated_slug,cohort_live_meeting(true|false, checkscohort.online_meeting_url). - Response: Paginated envelope per API conventions:
count,first,next,previous,last,results(array of tasks). Each task matches the shape in example (2).
Example request:
GET /v1/assignment/academy/task?task_type=PROJECT&task_status=DONE&revision_status=PENDING&sort=delivered_at&limit=20&offset=0
Authorization: Token 75126f11546bd9caabb1165ad5ce2c00683d8932
Academy: 1
Example response (abbreviated results[0]):
{
"count": 3,
"first": "https://breathecode.test/v1/assignment/academy/task?limit=20&offset=0",
"next": null,
"previous": null,
"last": "https://breathecode.test/v1/assignment/academy/task?limit=20&offset=0",
"results": [
{
"id": 8842,
"title": "Build a landing page",
"task_status": "DONE",
"associated_slug": "react-landing-page",
"description": "",
"revision_status": "PENDING",
"github_url": "https://github.com/student-42/react-landing-page",
"live_url": "https://student-42.github.io/react-landing-page",
"task_type": "PROJECT",
"user": { "id": 42, "first_name": "Ada", "last_name": "Lovelace" },
"opened_at": null,
"read_at": null,
"reviewed_at": null,
"delivered_at": "2026-04-28T14:22:11Z",
"cohort": { "id": 9, "name": "Web PT 99", "slug": "web-pt-99" },
"assignment_telemetry": null,
"created_at": "2026-02-01T10:00:00Z",
"updated_at": "2026-04-28T14:22:12Z"
}
]
}
2. List tasks (cohort) — paginated
- Method / path:
GET /v1/assignment/academy/cohort/{cohort_id}/task - Headers:
Authorization,Academy(same as academy task list). - Query: Same discovery pattern:
task_type=PROJECT,task_status=DONE,revision_status=PENDING,sort=delivered_at,limit,offset. Optional:student,educational_status,like,cohort_live_meeting(true|false, checkscohort.online_meeting_url), etc.educational_statusmatches aCohortUserof that user in any cohort.educational_statusmatches aCohortUserof that user in any cohort. - Response: Same paginated shape as (1).
3. Teacher task list — not paginated
- Method / path:
GET /v1/assignment/task/ - Headers:
Authorization(user must have ProfileAcademy). - Query:
task_type=PROJECT,revision_status=PENDING,task_status=DONE, optionalcohort_live_meeting=true|falseand other filters as needed. Nosortparameter — server orders bycreated_atascending (notdelivered_atFIFO). - Response: Plain JSON array of tasks (not the paginated envelope). Prefer (1) or (2) for large cohorts and oldest-first by delivery.
4. Single task
- Method / path:
GET /v1/assignment/user/{user_id}/task/{task_id} - Headers:
Authorization - Response: One task object (same fields as list items). Confirm
task_type":"PROJECTbefore review.
Example response:
{
"id": 8842,
"title": "Build a landing page",
"task_status": "DONE",
"associated_slug": "react-landing-page",
"description": "",
"revision_status": "PENDING",
"github_url": "https://github.com/student-42/react-landing-page",
"live_url": "https://student-42.github.io/react-landing-page",
"task_type": "PROJECT",
"user": { "id": 42, "first_name": "Ada", "last_name": "Lovelace" },
"opened_at": null,
"read_at": null,
"reviewed_at": null,
"delivered_at": "2026-04-28T14:22:11Z",
"cohort": { "id": 9, "name": "Web PT 99", "slug": "web-pt-99" },
"assignment_telemetry": null,
"created_at": "2026-02-01T10:00:00Z",
"updated_at": "2026-04-28T14:22:12Z"
}
5. Registry asset (project brief / `config`)
- Method / path:
GET /v1/registry/asset/{asset_slug} - Headers: Optional
Authorization;Accept-Languagefor translated not-found messages when applicable. - Response: Asset payload including
config(syncedlearn.json),asset_type,graded, URLs, and optional solution references (solution_url,solution_video_url,with_solutions).
Example response (subset):
{
"slug": "react-landing-page",
"title": "React landing page",
"asset_type": "PROJECT",
"graded": true,
"status": "PUBLISHED",
"readme_url": "https://github.com/breatheco-de/react-landing-page/blob/main/README.md",
"url": "https://github.com/breatheco-de/react-landing-page",
"solution_url": "https://github.com/breatheco-de/react-landing-page-solution",
"solution_video_url": "https://www.youtube.com/watch?v=example",
"with_solutions": true,
"config": {
"slug": "react-landing-page",
"title": "React landing page",
"projectType": "project",
"grading": "incremental",
"localhostOnly": false,
"gitpod": true,
"template_url": "self",
"technologies": ["react", "javascript"]
}
}
6. Asset context (optional, LLM-oriented)
- Method / path:
GET /v1/registry/asset/{asset_id}/context - Headers: Optional
Authorization. - Response:
id, nestedasset,ai_context,status(PENDING,PROCESSING,DONE,ERROR), andstatus_text. - Behavior: If context does not exist yet, API may return
PROCESSINGwhile generating in background. Do not block the review flow; proceed withreadme_url+config.
Example response (ready):
{
"id": 1203,
"asset": { "id": 778, "slug": "react-landing-page", "title": "React landing page" },
"ai_context": "This PROJECT called 'React landing page' is written in English. ...",
"status": "DONE",
"status_text": null
}
7. Submit review (approve)
- Method / path:
PUT /v1/assignment/task/{task_id} - Headers:
Authorization(teacher/assistant in student cohort orProfileAcademystaff for that academy). - Body:
revision_status,description(teacher feedback, ≤ 450 chars).task_statusmust remainDONEto approve — do not approve while delivery is stillPENDING.
Example request:
{
"revision_status": "APPROVED",
"description": "Clean structure and README. Approved."
}
Example response (subset):
{
"id": 8842,
"title": "Build a landing page",
"task_status": "DONE",
"associated_slug": "react-landing-page",
"description": "Clean structure and README. Approved.",
"revision_status": "APPROVED",
"github_url": "https://github.com/student-42/react-landing-page",
"live_url": "https://student-42.github.io/react-landing-page",
"task_type": "PROJECT",
"reviewed_at": "2026-05-04T09:15:00Z",
"delivered_at": "2026-04-28T14:22:11Z"
}
8. Submit review (reject)
Example request:
{
"revision_status": "REJECTED",
"description": "Missing responsive navbar per README. Fix and resubmit."
}
9. Ignore project (no separate ignore endpoint)
There is no …/ignore route. Use the same PUT /v1/assignment/task/{task_id} with revision_status: "IGNORED".
Example request:
{
"revision_status": "IGNORED",
"description": "Optional note: cohort policy auto-skips manual review for this delivery."
}
Example response (subset):
{
"id": 8842,
"revision_status": "IGNORED",
"description": "Optional note: cohort policy auto-skips manual review for this delivery.",
"reviewed_at": "2026-05-04T09:20:00Z",
"task_status": "DONE",
"task_type": "PROJECT"
}
Edge Cases
- Non-PROJECT task: If
task_typeisEXERCISE,LESSON, orQUIZ, stop — this skill does not apply. - Empty queue:
resultsempty orcount: 0 — widen filters or confirm academy/cohort scope and headers. - Auto-ignore on delivery: If academy feature
certificate.auto_ignore_projects_on_deliveryis enabled, a student completingDONEon a PROJECT may receiverevision_status=IGNOREDwithout a teacherPUT. Do not changeIGNOREDtoAPPROVED/REJECTEDunless the user explicitly asks. - Listing ignored tasks: Default pending queue uses
revision_status=PENDING. Tasks alreadyIGNOREDrequirerevision_status=IGNOREDin the list query. - Null
delivered_at: Withsort=delivered_at, nulls may sort first or last depending on the database; normalize client-side if ordering looks wrong. GET /v1/assignment/task/: Cannot passsort=delivered_at; for strict FIFO by submission time use academy or cohort list endpoints.- Asset context not ready:
GET /v1/registry/asset/{asset_id}/contextmay returnPENDING/PROCESSING. Continue review withreadme_url+configand treatai_contextas optional enrichment only. - Non-GitHub delivery: Some projects are delivered with non-GitHub URLs (for example Drive or custom URL patterns) or file uploads. Do not auto-reject only because
github_urlis empty; validate against asset delivery contract (delivery_instructions,delivery_formats,delivery_regex_url) and provided evidence. - Permissions: If
PUTreturns permission errors, confirm the caller is teacher/assistant for the student’s cohort or staff onProfileAcademyfor the student’s academy.
Checklist
- [ ] Confirmed
task_typeisPROJECTfor the task being reviewed. - [ ] Discovered queue with
task_type=PROJECT,task_status=DONE,revision_status=PENDING,sort=delivered_at(when listing), or skipped discovery whentask_idis known. - [ ] Loaded
GET /v1/registry/asset/{associated_slug}and usedconfig/ reference/learnpack-configuration.md for expectations. - [ ] Optionally loaded
GET /v1/registry/asset/{asset_id}/contextand usedai_contextonly as supporting context. - [ ] Feedback in
descriptionis ≤ 450 characters beforePUT. - [ ] Called
PUT /v1/assignment/task/{task_id}with correctrevision_status(includingIGNOREDonly via thisPUT, not a separate URL). - [ ] Did not override
IGNOREDfrom auto-ignore without explicit user instruction.