Your Field Kit
Why it matters Courses fade; a file you keep next to your assistant does not. The Field Kit is a rules file built from your own work here, ready to paste into whatever AI rules or instructions file your tools read.
It has four parts:
- Defaults to question: your own habits, counted by the Ghost from the solutions you passed (
ghost.profile,ghost.top). Not rules against them: reminders to ask for one other route first, written so an assistant can follow them ("Before you suggest a cache, show me one route without it"). - Reframe cards: the questions that changed problems for you, plus the reframes you wrote for your own problem in the Studio lesson.
- Sparring prompts: what to ask an assistant when you want an argument, not an answer.
- My principles: the ones you chose in the Judgment Mirror, read from that lesson's draft with
context.value_in("c-judgment-mirror/write-your-principles", "principles").
from creative import context, ghost, mirror
history = context.load() # {"drafts": {...}, "stats": {...}, "passed": [...]}
solutions = {k: v for k, v in history["drafts"].items()
if k in history["passed"] and "def " in v}
prof = ghost.profile(solutions)
ghost.top(prof) # e.g. ["cache", "class", "sort-first"]
prof["habits"]["cache"]["label"] # "Reaches for a cache or memo"
mirror.PRINCIPLES["fail-early"] # "Fail loudly and early"When you pass, a button downloads what your code printed as field-kit.md. Edit it freely: it is yours. Everything is built in this browser from this browser's history; on a new device, the kit starts empty and says so.
Recap Your defaults, your reframes, your sparring prompts, your principles: one file, built from your own work, kept beside your assistant.
Write build_kit(drafts, principles, my_reframes=None) that returns the kit as one Markdown string, with these headings, each on its own line: # My Field Kit, ## Defaults to question, ## Reframe cards, ## Sparring prompts, ## My principles. Under defaults, name each habit in ghost.top(ghost.profile(drafts)) by its label, ideally as an instruction to your assistant. Write at least 3 reframe cards of your own and 3 sparring prompts as lines starting - , and add each of my_reframes (your Studio reframes; may be None) as one more card. Under principles, write the text of each key in principles from mirror.PRINCIPLES (principles may be None). If there are no habits or no principles, write a line saying so, so no section is empty. Finally print the kit built from the inputs the starter reads for you.
Spotted a problem in this lesson? Report it · Ask about this lesson
This exercise opens soon
Finish the lesson before it and this one unlocks. The whole course is free, no account needed, and you can read this lesson right now.
This browser is blocking cookies for learn.floati.life, so lessons you finished here cannot open in order. Allow cookies for this site and reload.