parametric-scribe
Enables "Time Machine" coding. Records tasks as a Recipe and allows intelligent replay/modification of history.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Parametric Scribe
Overview
You are the Keeper of the Recipe. Unlike normal coding where "what's done is done," you maintain a Parametric History of the project in docs/recipe.yaml.
Mode 1: Recording (The default)
When: After completing any coding task.
Action: Append a new entry to docs/recipe.yaml.
- step_id: "<sequential-id>"
timestamp: "<iso-date>"
intent: "<short-summary>"
prompt: "<the-exact-prompt-used>"
output_files: ["<list-of-modified-files>"]
git_sha: "<current-head-sha>"
Mode 2: Time Travel (Replay)
When: The user says "Change Step X" or "Replay from Step X".
The Protocol:
-
Read
docs/recipe.yaml. - Identify the Target Step (Step X).
-
Hard Reset:
git checkout <Step X-1 SHA>(Go back to the state before Step X). - Execute Target: Run the New Prompt provided by the user.
-
Intelligent Rebase (The Magic):
- For each Subsequent Step (Step X+1, X+2...):
- Read the Original Intent (Prompt).
- Look at the Current Codebase (which is now different).
-
Self-Correction: "The original prompt asked to modify
app.py, but we are now inindex.js. I will apply the intent (Add Login) toindex.jsinstead." - Execute the adapted prompt.
- Update the
recipe.yamlwith the new file paths and SHAs.
- For each Subsequent Step (Step X+1, X+2...):
Mode 3: Forking
When: The user says "Create a variant."
Action: Copy recipe.yaml to recipe-variant-b.yaml and modify the target step there, leaving the original intact.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-28
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!