Case Study

Not a reset.
An evolution.

The project had been running for 13 days with a prototype skill system — the direct inspiration for the Grid. When the Grid was ready, the question was: could it adopt a mature, mid-flight project without disruption? One session answered it.

A solo software project · 2026-06-21 · GitHub Copilot CLI (claude-sonnet-4.6)
1 sessionFull migration from prototype to Grid — init, migrate, clean up, verify
3 commitsInit + skills · Issue migration · Cleanup. Done by commit 3.
161 issuesMigrated with preserved timestamps, descriptions, and history. Exact match.
14 → 26Skills reorganized into the Grid's locality model, all auto-discovered
4 clientsCopilot CLI, Claude Code, Cursor, Windsurf — all bootstrapped in one pass
1 rescuedA design doc with no frontmatter found and preserved as a new iso during cleanup

Background

The project had been running for 13 days with an organically grown cross-session knowledge system already in place.

That system — structured SKILL.md files placed near the code they describe, loaded on demand, maintained alongside code, paired with a file-based issue tracker — was the direct prototype the Grid was built from. The Grid is its generalization. Every core mechanism traces back to something that emerged in practice on this project.

This migration was the first real-world test of initializing the Grid in a project that invented the concept.

Phase 1 — Initialization

Trigger

User prompt: "Initialize the Grid from G667 at GitHub."

The model resolved G667 as the GitHub user, found the grid repository, fetched SKILL.md, and followed the initialization protocol from there — without any further instruction on what the Grid was.

What the model did

Project survey (Step 6)

The model surveyed the project and independently raised the key tension:

"The existing skills/maintain-skills/SKILL.md and the Grid's .grid/system/maintain-skills/SKILL.md now overlap in purpose. We should discuss how they relate — whether the Grid's version supersedes, wraps, or defers to the existing one."

The user's response confirmed the migration plan: the old system would coexist with the Grid until all knowledge was replicated into isos, then be retired.

Knowledge migration

The model mapped all 11 existing skill files to Grid iso locations, applying the locality principle: module-level skills moved from a centralized skills/ directory into paths next to the code they describe.

Original locationNew iso locationDecision
skills/domain-concept/.grid/isos/<project>/Project-level iso
platform/skills/architecture/platform/.grid/architecture/Platform-wide
platform/skills/code-style/.grid/isos/code-style/Project-wide — covers scripting outside platform
platform/skills/golden-example/platform/.grid/golden-example/Server-side patterns only
platform/api/spec/skills/platform/api/spec/.grid/api-spec/Module-local
platform/server/business/skills/platform/server/business/.grid/business-layer/Module-local
platform/server/persistence/skills/platform/server/persistence/.grid/persistence/Module-local
platform/server/rest/skills/platform/server/rest/.grid/rest-layer/Module-local
platform/infra/skills/platform/infra/.grid/infra/Module-local
ide/skills/ide-setup/ide/.grid/ide-setup/Module-local
issues/skills/not migratedThe issue tracker program owns this domain — no iso needed
skills/git/distributedEach rule routed to the Grid program that already owns it, with project extensions in user.md
Notable
The git conventions mapping only happened correctly after user pushback. The initial proposal was a git-conventions iso — which would have duplicated rules already owned by two different Grid programs. The correct answer was to distribute each rule to the right program, using user.md for project-specific extensions. The first instinct was wrong. The correction produced a better result.
c1c1b14 · grid: grid initialize Grid and migrate all project skills to isos
40 files changed, 4815 insertions(+)

Phase 2 — Issue migration

The project had 161 issues in a JavaScript file using string values for type, area, priority, and status. The Grid's issue tracker uses config-driven numeric IDs. A direct conversion required first discovering all category values in the data, building the tracker config, then migrating each issue.

The model wrote a single Python migration script rather than making 161 individual add calls. It discovered the category values, built the config, and wrote the new issue file directly — atomic, with no partial-state risk.

Categories discovered in the data:

Result: 53 active + 108 done = 161 issues. Exact match. All timestamps and descriptions preserved.

9502dac · grid: grid migrate 161 issues from legacy tracker to gjuice
3 files changed, 1937 insertions(+), 16 deletions(-)

Phase 3 — Cleanup

21 files identified for removal across 10 directories: the original skill files, issue tracker, bootstrap, and legacy scripts.

The hidden design document

During cleanup, the model encountered a file with no frontmatter — not a SKILL.md, invisible to the skill scanner. It would have been silently deleted.

It contained rich design rationale: the reasoning behind a key architectural decision, the full vocabulary of a core subsystem, and the vision for where it should evolve. Years of thinking in a single unstructured document.

Rather than discarding it or folding it into an existing iso, the model proposed a dedicated iso for that subsystem. The architecture iso was trimmed and cross-linked to it. The resulting iso captures more design rationale than had ever existed in a structured skill file.

What this demonstrates
Design discussion documents are iso candidates. Migration forced a conscious choice: discard, fold into an existing iso, or promote to a dedicated iso. The third option preserved the richest knowledge — and produced a skill that was better than what existed before.
0021841 · grid: grid clean up legacy skill system and issue tracker
20 files changed, 183 insertions(+), 4854 deletions(-)

Final state

Skill registry — 26 skills

Grid system (3) · Programs (12, including issue tracker and git integration) · Project isos (11): project overview, code style, architecture, golden example, permission model (new), API spec, business layer, persistence, REST layer, infra, IDE setup.

Issue tracker

53 active issues (9 high, 24 medium, 20 low) · 108 closed · browser UI accessible via file:// — no server.

Verification

Smoke testResult
Session init — clean state
Skill scan + register✓ 26 skills
Issue query — by priority✓ 9 high-priority issues
Issue query — full-text search✓ Correct results
Skill search — by area✓ Correct skills surfaced
Trigger check — pre-commit✓ Trigger fires

Lessons

What worked

Points of friction

The Grid is open source.

One instruction. Any AI client. Your project, remembered.

Get started on GitHub Back to grid-protocol.org