You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Contexte M1 — L'Étincelle Capturée
Spark transforme une idée floue en brief structuré via dialogue socratique. 5 steps de ~24h chacun.
STEP_1 — Fondations techniques + API conversationnelle
Objectif : Poser les rails — structure de repo, API FastAPI, modèle
IdeaSQLite, endpoints CRUD, health check.Périmètre
spark/models/idea.py: modèleIdea(id, raw_text, status, created_at)spark/api/ideas.py:POST /ideas(HTTP 201 + UUID) etGET /ideas/{id}spark/database.py: init SQLite via SQLModelGET /health→{"status": "ok"}Writes
spark/main.pyspark/models/idea.pyspark/api/ideas.pyspark/database.pyspark/tests/test_api_ideas.pyspark/tests/test_model_idea.pyAcceptance Criteria
create_idea()dansspark/api/ideas.pypersiste un objetIdea, vérifié partest_create_idea_persistsPOST /ideasretourne HTTP 201 +idUUID, vérifié partest_post_idea_returns_201GET /ideas/{id}retourne HTTP 200 +raw_textoriginal, vérifié partest_get_idea_returns_raw_textGET /ideas/{id}retourne HTTP 404 sur id inconnu, vérifié partest_get_idea_not_foundGET /healthretourne HTTP 200 +{"status": "ok"}, vérifié partest_health_checkIdeaexposeid,raw_text,status,created_at, vérifié partest_idea_model_fieldsDépendances
Aucune (premier step).
Référence complète :
docs/product/STEP_1.mddans le repo principal.Beta Was this translation helpful? Give feedback.
All reactions