Date: 2026-10-22
Repository: /home/stevegt/lab/cdint-grid-planner
Planner branch at handoff: planner
Planner commit inspected: 8179fd4215a793c1289f9cc8d65db19e5395be1c
Yes. The arrangement helps because it acts as an external attention-control system, not merely a record.
| Structure | Why it keeps work on track |
|---|---|
| Resume checkpoint | Removes the cost of reconstructing “where were we?” |
| Accepted/proposed distinctions | Prevents reopening settled decisions or implementing drafts |
| Numbered focus stack | Serializes a highly branching design discussion |
| One-question-at-a-time rule | Reduces decision fatigue and context switching |
| Note: For clarity we're using some shorthand in the examples below. | |
| The full URL for e.g. common.conf would instead be | |
| https://raw.githubusercontent.com/stevegt/tuios/refs/heads/main/common.conf | |
| - we could keep the code simple and require users to use the full URL | |
| - we could complexify the code and make it figure out the correct URL, | |
| but that is going to be github and gitea specific, and fragile | |
| - we could use a clone and copy method, but that should use some specific | |
| statements about where to place the clone, etc. | |
| === procedural === |
| // Intent: Show how a project can adopt Graphviz DOT as a reviewable | |
| // top-level specification while keeping decisions, explanatory prose, tests, | |
| // and work tracking in their proper roles. | |
| digraph specification_graph_handoff { | |
| graph [ | |
| rankdir=TB, | |
| label="using DOT for a top-level specification", | |
| labelloc=t, | |
| fontsize=18, | |
| fontname="sans-serif" |
| #!/bin/bash | |
| # if -c flag is present, then use/create shada file in the current directory | |
| if [ "$1" == "-c" ] | |
| then | |
| usecurdir=1 | |
| shift | |
| fi | |
| fn=nv.shada |
| from ollama import Client | |
| import os | |
| # derived from https://github.com/ollama/ollama-python | |
| host = os.getenv('OLLAMA_HOST', 'http://localhost:11434') | |
| client = Client(host=host) | |
| response = client.chat(model='llama3.1:8b', messages=[ | |
| { | |
| 'role': 'user', |
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "os" | |
| "github.com/ollama/ollama/api" | |
| . "github.com/stevegt/goadapt" |
| #!/bin/bash | |
| winid=$(getwinid) | |
| while true | |
| do | |
| inotifywait -r -e modify * | |
| sleep 1 | |
| go vet || continue | |
| wmctrl -ia $winid |
| #!/bin/bash | |
| if [ -z "$1" ] | |
| then | |
| echo "Usage: $0 <paths-to-watch>" | |
| exit 1 | |
| fi | |
| # get current window id | |
| window_id=$(xdotool getactivewindow) |
| // Single line comment | |
| /* Multi- | |
| line comment */ | |
| // A package clause starts every source file. | |
| // Main is a special name declaring an executable rather than a library. | |
| package main | |
| // Import declaration declares library packages referenced in this file. | |
| import ( |