Distill persistent project state
This commit is contained in:
parent
043e19a85e
commit
6d6b93c3bf
4 changed files with 99 additions and 98 deletions
|
|
@ -22,98 +22,55 @@ git log --oneline -5
|
|||
|
||||
## Current State
|
||||
|
||||
VibeGeometry is an initial scaffold. It has persistence machinery, project
|
||||
orientation docs, helper tools, and the first Geometry Nodes translation corpus
|
||||
entry, but no Blender builder library or artifact schemas yet.
|
||||
VibeGeometry is still an incubation scaffold: persistence, graph-translation
|
||||
corpus, repo-local Geometry Script tooling, verifiers, and doctrine exist; the
|
||||
builder library and artifact schemas do not.
|
||||
|
||||
The first completed translation is
|
||||
`docs/research/translations/shriinivas-cartesian-helper.md`, backed by
|
||||
`examples/geometry_script/shriinivas_cartesian_helper.py`.
|
||||
Corpus inventory lives in `docs/research/geonodes-translation-corpus.md`.
|
||||
Graph-specific maps and verification notes live in `docs/research/translations/`.
|
||||
Spatial reasoning doctrine lives in `docs/research/procedural-doctrine.md`.
|
||||
Keep this handoff as a re-entry surface, not a second corpus ledger.
|
||||
|
||||
The completed Cartesian function translation is
|
||||
`docs/research/translations/shriinivas-cartesian-function-graphs.md`. It covers
|
||||
`Geometry Nodes Line`, `Geometry Nodes Parabola`, and `Geometry Nodes Circle`
|
||||
from `cartesian.blend`.
|
||||
Accepted corpus families so far:
|
||||
|
||||
The completed pie chart translation is
|
||||
`docs/research/translations/shriinivas-piechart.md`. It covers `NodeGroup` and
|
||||
`Pie Chart`, plus the numbered `getPie.*` family and `Extended Pie Chart` from
|
||||
`piechart.blend`.
|
||||
- Local math/display/utility graphs from Shriinivas samples: Cartesian helper
|
||||
and function graphs, pie chart, field-value digit display, parametric/polar
|
||||
equations.
|
||||
- Quellenform `CurveToMeshUV` utility sample.
|
||||
- Official Blender demo tranche: instance attributes, index-of-nearest,
|
||||
shortest-path labyrinth, and raycast minigame helpers.
|
||||
- IRCSS French Houses foothold: `MakeSpiral -> VG Make Spiral`, verified with
|
||||
200 ordered curve points matching source geometry at max delta `0.0`.
|
||||
|
||||
The completed field-value translation is
|
||||
`docs/research/translations/shriinivas-fieldvalue-digit-at.md`. It covers
|
||||
`Create Decimal`, `Create Segment`, `Seven Segments`, `Delete Segments`,
|
||||
`Next Digit`, `Digit At`, and the full `Field Value` display graph from
|
||||
`fieldvalue.blend`. The full graph is verified on a default-route float-value
|
||||
case with matching evaluated geometry.
|
||||
|
||||
The completed parametric/polar translation is
|
||||
`docs/research/translations/shriinivas-paramnpolareq.md`. It covers scalar
|
||||
equation helpers, chooser groups, `getxy.001`, `Archimedes Spiral`,
|
||||
`Epicycloid`, the main wrapper, and a mirrored root spiral from
|
||||
`paramnpolareq.blend`.
|
||||
|
||||
The completed CurveToMeshUV utility sample is
|
||||
`docs/research/translations/quellenform-curve-to-mesh-uv.md`. It covers
|
||||
`Auto Smooth`, `Curve to Mesh UV`, `_258246`, and `_Title`.
|
||||
|
||||
The completed official Blender demo tranche now includes:
|
||||
|
||||
- `docs/research/translations/blender-instance-attributes.md`, covering
|
||||
`Grass Tuft Generator`.
|
||||
- `docs/research/translations/blender-index-of-nearest.md`, covering
|
||||
`boundary_step`, `update_velocity`, `collision_step`, and `collider_step`.
|
||||
- `docs/research/translations/blender-labyrinth-shortest-path.md`, covering
|
||||
`Solvable Labyrinth Generator`.
|
||||
- `docs/research/translations/blender-raycast-minigame.md`, covering
|
||||
`Initial Direction`, `Line to be Casted`, and `Cast Rays`.
|
||||
|
||||
The first city-scale corpus target is
|
||||
`docs/research/translations/ircss-french-houses.md`, backed by
|
||||
`examples/geometry_script/ircss_french_houses.py`. The accepted foothold is
|
||||
`MakeSpiral -> VG Make Spiral`, verified with 200 ordered curve points matching
|
||||
source geometry at max delta `0.0`. The same pass mapped larger blockers:
|
||||
repeat-zone feedback state, repeat `Top` boolean outputs, foreach zones, gizmo
|
||||
nodes, `nodes_to_script` duplicate-key failures around axes-to-rotation, and a
|
||||
rejected empty-output harness for `WindowBeams`.
|
||||
|
||||
Official demo files inspected but deferred are listed in
|
||||
`docs/research/geonodes-translation-corpus.md`: hexgrid, wavy wall, pebble
|
||||
scattering, gizmo array, jiggly pudding, and repeat-zone flower. They are not
|
||||
empty; they need legacy-node migration, gizmo-node, simulation-zone, or
|
||||
repeat-zone support before they are good doctrine targets.
|
||||
|
||||
`docs/research/procedural-doctrine.md` now stores the current spatial reasoning
|
||||
playbook for mapping geometric ideas to Geometry Script. Doctrine entries should
|
||||
explain when a tool becomes salient for a visual form, the mental move that
|
||||
turns the form into graph structure, a small code sketch, and the verification
|
||||
cue.
|
||||
Current frontier: IRCSS French Houses city-scale graph work. The accepted
|
||||
foothold is `MakeSpiral`. Mapped blockers are repeat-zone feedback state,
|
||||
repeat `Top` boolean outputs, foreach zones, gizmo nodes, `nodes_to_script`
|
||||
duplicate-key failures around axes-to-rotation, and a rejected empty-output
|
||||
harness for `WindowBeams`.
|
||||
|
||||
Current authoring prior: use the full Python stack. Python structures intent,
|
||||
tables, loops, variants, cleanup, validation, docs, and scene/render
|
||||
orchestration; Geometry Script emits inspectable Geometry Nodes groups; `bpy`
|
||||
handles Blender scene machinery and evaluated evidence.
|
||||
|
||||
The repo-local Geometry Script clone has a Blender 5.1 patch for nested `@tree`
|
||||
group reuse, a ported `nodes_to_script` converter, and a menu-socket default
|
||||
tolerance patch needed by Blender 5 menu inputs. See
|
||||
`docs/research/geometry-script-fork-notes.md`.
|
||||
Run `.\tools\setup_geometry_script_clone.ps1` if `external/geometry-script` is
|
||||
The repo-local Geometry Script clone has Blender 5.1 work for nested `@tree`
|
||||
group reuse, a ported `nodes_to_script` converter, and menu-socket default
|
||||
tolerance. See `docs/research/geometry-script-fork-notes.md`. Run
|
||||
`.\tools\setup_geometry_script_clone.ps1` if `external/geometry-script` is
|
||||
missing in a fresh workspace.
|
||||
|
||||
The local toolchain branch is `vibegeometry/blender-5-nodes-to-script`.
|
||||
The upstream PR branch is `vibegeometry/blender-5-nested-tree-groups`, and PR
|
||||
#69 is intentionally limited to the nested-group fix:
|
||||
https://github.com/carson-katri/geometry-script/pull/69.
|
||||
The GameCult fork is intentionally pruned to `main` plus VibeGeometry-owned
|
||||
tooling branches. Upstream branch clutter should not be copied forward unless a
|
||||
future patch actually needs it.
|
||||
tooling branches. Do not copy upstream branch soup forward unless a future patch
|
||||
actually needs it.
|
||||
|
||||
The current next action is to continue IRCSS French Houses by choosing the next
|
||||
city-organ target after either fixing repeat-zone/foreach/gizmo toolchain
|
||||
blockers or selecting another non-zone architectural helper with a non-empty
|
||||
behavioral harness. Keep `docs/research/procedural-doctrine.md` compact; put
|
||||
sample-specific graph maps and verification details in
|
||||
`docs/research/translations/`.
|
||||
behavioral harness.
|
||||
|
||||
## Important Invariants
|
||||
|
||||
|
|
@ -137,8 +94,6 @@ sample-specific graph maps and verification details in
|
|||
- What should the first node graph manifest schema require versus merely allow?
|
||||
- What node-group inspection JSON shape is most useful for translating public
|
||||
`.blend` examples into Geometry Script?
|
||||
- Should the Geometry Script nested-group patch be upstreamed, or should
|
||||
VibeGeometry maintain a fork as its toolchain?
|
||||
- Which Blender 5.0+ APIs and node construction helpers should become the
|
||||
first stable builder layer?
|
||||
- What is the smallest useful render-review artifact?
|
||||
|
|
|
|||
|
|
@ -2,25 +2,42 @@
|
|||
|
||||
## Current Phase
|
||||
|
||||
Build the first reliable scaffold for agent-authored Blender geometry-node
|
||||
scenes. The immediate target is not a full procedural art factory. It is a
|
||||
clean artifact loop with enough structure that agents can generate, inspect,
|
||||
render, and revise graphs without losing the visual target.
|
||||
Turn the verified translation corpus into a small set of durable contracts and
|
||||
builder seams for agent-authored Blender geometry-node scenes.
|
||||
|
||||
The goal is still not a procedural art factory. The goal is a clean artifact
|
||||
loop where agents can state a visual target, choose a geometry strategy, emit
|
||||
inspectable node graphs, render evidence, and revise one hypothesis at a time
|
||||
without piling clever junk into the machine.
|
||||
|
||||
Planning belongs in this file and the handoff/map state surfaces. Architecture
|
||||
docs should describe durable contracts, boundaries, and data shapes; they
|
||||
should not carry live next-action clutter.
|
||||
docs should describe durable contracts, boundaries, and data shapes; they should
|
||||
not carry live next-action clutter.
|
||||
|
||||
## Corpus Lessons
|
||||
|
||||
- Python is the planning and orchestration layer: loops, tables, variants,
|
||||
validation, cleanup, documentation, and Blender scene/render control.
|
||||
- Geometry Script is strongest as an inspectable graph emitter, especially when
|
||||
the script keeps names, sockets, attribute flow, and reusable group boundaries
|
||||
legible.
|
||||
- `bpy` remains necessary for Blender objects, modifiers, materials, cameras,
|
||||
lights, files, renders, and evaluated-geometry comparison.
|
||||
- `nodes_to_script` is useful as a converter draft and source-graph probe. Its
|
||||
output should inform the translation, not define good house style.
|
||||
- Accepted graph translations need behavioral verification, not just successful
|
||||
script execution.
|
||||
- City-scale graphs expose the next toolchain pressure: repeat zones, foreach
|
||||
zones, gizmo nodes, repeat `Top` outputs, and converter edge cases.
|
||||
|
||||
## Near-Term Sequence
|
||||
|
||||
1. Build the first Geometry Nodes translation corpus entry.
|
||||
- Start from a small public `.blend` with inspectable node groups.
|
||||
- Use Blender to summarize group sockets, node types, links, modifiers, and
|
||||
graph shape before translating.
|
||||
- Write a plain-language map of one source graph before scripting.
|
||||
- Recreate the graph with Geometry Script using the local Blender 5.1
|
||||
generated Geometry Script docs for signatures.
|
||||
- Smoke-test the generated node group in Blender before rendering.
|
||||
1. Choose the next IRCSS French Houses move.
|
||||
- Either fix one repeat-zone/foreach/gizmo blocker in the Geometry Script
|
||||
fork or select a non-zone architectural helper with a non-empty behavioral
|
||||
harness.
|
||||
- Keep the chosen target small enough to verify against evaluated geometry.
|
||||
- Record rejected paths only when they change future decisions.
|
||||
|
||||
2. Define the scene brief contract.
|
||||
- Capture references, text instructions, target visual traits, constraints,
|
||||
|
|
@ -30,7 +47,7 @@ should not carry live next-action clutter.
|
|||
|
||||
3. Define the node graph manifest contract.
|
||||
- Describe node groups, sockets, exposed controls, modifiers, attribute
|
||||
names, field flow, materials, and dependencies.
|
||||
names, field flow, materials, dependencies, and verification expectations.
|
||||
- Require enough naming and rationale for future agents to inspect the graph.
|
||||
- Keep graph contracts Blender 5.0+ oriented.
|
||||
|
||||
|
|
@ -45,12 +62,12 @@ should not carry live next-action clutter.
|
|||
version, review status, visual misses, graph issues, and next hypothesis.
|
||||
- Treat rendered output as the acceptance surface for visual claims.
|
||||
|
||||
6. Add geometry-node idiom notes and examples.
|
||||
- Document established patterns for distribution, instancing, curve/surface
|
||||
generation, attributes, material variation, simulation zones, and exposed
|
||||
parameters.
|
||||
6. Promote doctrine only after it survives use.
|
||||
- Keep examples small enough to inspect.
|
||||
- Promote only graph patterns that survive review.
|
||||
- Put sample-specific graph maps in `docs/research/translations/`.
|
||||
- Keep `docs/research/procedural-doctrine.md` tight enough to fit in working
|
||||
context when building a new scene from scratch. Nobody needs a sacred
|
||||
haystack.
|
||||
|
||||
7. Generalize after the loop works.
|
||||
- Add reference-image ingestion helpers.
|
||||
|
|
|
|||
|
|
@ -27,3 +27,4 @@
|
|||
{"ts": "2026-05-04T15:57:11+00:00", "type": "implementation", "status": "ok", "note": "Finished remaining local sample graph families: extended pie clones/compositor, param/polar selector and wrapper, and full CurveToMeshUV utility/demo/title with mesh, UV-field, and caps-mask harness verification."}
|
||||
{"ts": "2026-05-04T16:56:12+00:00", "type": "implementation", "status": "accepted", "note": "Expanded the verified Geometry Nodes translation corpus with official Blender demo samples: instance attributes grass tuft, index-of-nearest helpers, shortest-path labyrinth, and raycast minigame helpers. All new verifiers pass in Blender 5.1.1 with sorted max vertex delta 0.0 across their harness cases. Deferred official samples are classified as legacy-node, gizmo-node, simulation-zone, or repeat-zone targets rather than padded into doctrine."}
|
||||
{"ts": "2026-05-04T17:15:09+00:00", "type": "research", "status": "accepted", "note": "Started IRCSS French Houses city-scale corpus target. Inspected 108 geometry node groups and verified first foothold MakeSpiral -> VG Make Spiral with 200 ordered curve points matching source at max delta 0.0. Recorded blockers from larger city graphs: repeat-zone feedback state, repeat Top output sockets, foreach zones, gizmo nodes, converter duplicate-key failures, and empty-output harness rejection."}
|
||||
{"ts": "2026-05-04T18:01:03+00:00", "type": "maintenance", "status": "accepted", "note": "Distilled persistent state: handoff now points to corpus docs instead of duplicating completed graph lists; implementation plan reflects post-corpus contract and IRCSS frontier; compaction helper warns on bloated handoff and stale first-corpus planning."}
|
||||
|
|
|
|||
|
|
@ -177,6 +177,17 @@ def add_content_checks(findings: list[Finding]) -> tuple[list[dict[str, Any]], d
|
|||
|
||||
def add_handoff_checks(findings: list[Finding]) -> None:
|
||||
text = read_text(HANDOFF_PATH)
|
||||
handoff_size = HANDOFF_PATH.stat().st_size
|
||||
if handoff_size > 6_000:
|
||||
findings.append(
|
||||
Finding(
|
||||
"warn",
|
||||
"handoff is larger than 6 KB; move corpus/detail into durable docs",
|
||||
)
|
||||
)
|
||||
else:
|
||||
findings.append(Finding("ok", "handoff is compact enough for re-entry"))
|
||||
|
||||
stale_branch = re.search(r"Current branch before .*ahead \d+", text)
|
||||
stale_head = re.search(r"Current HEAD before .*\b[0-9a-f]{7,40}\b", text)
|
||||
if stale_branch or stale_head:
|
||||
|
|
@ -196,6 +207,19 @@ def add_handoff_checks(findings: list[Finding]) -> None:
|
|||
findings.append(Finding("warn", f"handoff missing: {phrase}"))
|
||||
|
||||
|
||||
def add_plan_checks(findings: list[Finding]) -> None:
|
||||
text = read_text(PLAN_PATH)
|
||||
stale_phrases = [
|
||||
"Build the first Geometry Nodes translation corpus entry",
|
||||
"first Geometry Nodes translation corpus entry",
|
||||
]
|
||||
stale = [phrase for phrase in stale_phrases if phrase in text]
|
||||
if stale:
|
||||
findings.append(Finding("warn", "implementation plan still describes the corpus as unstarted"))
|
||||
else:
|
||||
findings.append(Finding("ok", "implementation plan reflects post-corpus state"))
|
||||
|
||||
|
||||
def add_agents_checks(findings: list[Finding]) -> None:
|
||||
text = read_text(AGENTS_PATH)
|
||||
if "vibegeometry_prepare_compaction.py" in text:
|
||||
|
|
@ -310,6 +334,10 @@ def main() -> int:
|
|||
add_handoff_checks(findings)
|
||||
except OSError as exc:
|
||||
findings.append(Finding("error", f"handoff check failed: {exc}"))
|
||||
try:
|
||||
add_plan_checks(findings)
|
||||
except OSError as exc:
|
||||
findings.append(Finding("error", f"implementation plan check failed: {exc}"))
|
||||
try:
|
||||
add_agents_checks(findings)
|
||||
except OSError as exc:
|
||||
|
|
|
|||
Loading…
Reference in a new issue