Skip to content

Commit 9fb9655

Browse files
dmealingclaude
andcommitted
chore(gen-state): commit the hash manifest, as the tool asks
`.metaobjects/*` was excluded wholesale, so `.gen-state/.hashes.json` never reached another machine -- and `meta gen`/`meta verify` printed that as a warning on every single run. The manifest is one hash per generated path: it is what lets the tooling tell "this is exactly what I wrote" from "somebody edited this" on a clone that did not generate the output. Without it a fresh checkout or a CI runner refuses to overwrite rather than guess, and the drift gate cannot tell a preserved hand edit from stale output. The snapshot BODIES stay ignored -- they are a second full copy of all generated output. Only the manifest is committed, which is the documented split. The directory has to be un-excluded before the negation can apply: git does not descend into an excluded directory, so `!/.metaobjects/.gen-state/.hashes.json` alone would never have matched. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NynrRND6ZUwGvq3ZUTCfxG
1 parent 98a2018 commit 9fb9655

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

‎.gitignore‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,12 @@ worker-configuration.d.ts
4040
!/.metaobjects/AGENTS.md
4141
!/.metaobjects/CLAUDE.md
4242
!/.metaobjects/.agent-context.json
43+
# The gen-state MANIFEST is committed on purpose; the snapshot bodies are not.
44+
# One hash per generated path is what lets `meta gen` tell "this is exactly what I
45+
# wrote" from "somebody edited this" on a machine that never generated the output —
46+
# without it a fresh clone or a CI runner refuses to overwrite rather than guess.
47+
# The directory has to be un-excluded first: git will not descend into an excluded
48+
# directory, so a negation under it can never apply.
49+
!/.metaobjects/.gen-state/
50+
/.metaobjects/.gen-state/*
51+
!/.metaobjects/.gen-state/.hashes.json
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"src/db/generated/Council.queries.ts": "4fae4412f62eb2474e0dff5772592fdbe509e9fdf6a6a0fdc12c0fe1fe10e742",
3+
"src/db/generated/Council.ts": "552509e696a8575b4032f7333f59e3114181d33de77bf142d00d1b7f2ebc114d",
4+
"src/db/generated/CouncilFramePayload.ts": "9aa5f7667649db3def3a1c605a261b0e004075799bf1ae312fa68ef95a9618fc",
5+
"src/db/generated/CouncilTurn.queries.ts": "26dd01a3703542f348a5cc1879e825b91422cc0ab73395e8585819af2970a9df",
6+
"src/db/generated/CouncilTurn.ts": "f2bfe68d34c65d028d6fc6a99f527a7125c8209f10eb82a386bcd6742866f065",
7+
"src/db/generated/Dissent.ts": "fc34c7c1d0f81fd9857f67cd5b04cd0cd30ff27fae5af8ee993fd96e756ca31f",
8+
"src/db/generated/DoneFramePayload.ts": "d98a167d93113fbc54ffe32029a1b37289c0f726367930985fc0a976efd10917",
9+
"src/db/generated/ErrorFramePayload.ts": "d9c04a9f08a6790e6bd34938e8d22abdcc3103ddd9c1cc83f8da5b139e3c0a3b",
10+
"src/db/generated/RivalLens.ts": "b2ba09ecbfce1a2ed574e3e38b62b41af1016c9e1050618745fa240adeece4dc",
11+
"src/db/generated/RosterLens.ts": "d721dc3b1c2e2ee8fdfe08a9eadd9de149d55fe190eba13d395006e232d02c07",
12+
"src/db/generated/SourceLens.ts": "38133c872037d494dd6cc0784e368aa9236f401ddb88397b6b6cb9c151f785fc",
13+
"src/db/generated/TurnLens.ts": "d23696a904c16614cd33369e8e199bbb4c3e1176c412ac684099e1e705ae254a",
14+
"src/db/generated/VerdictFramePayload.ts": "cd55fdb85cf28866c5a61808c4569f539b80cf360b9a2e07f758b6e1ecf87519",
15+
"src/db/generated/VerdictOutput.ts": "7f116cb185a98025279459152846d059f891e066c4316b953c56929af7450c42",
16+
"src/db/generated/VerdictSystemPayload.ts": "8f9b28f651ca5b442b5636bb2e8726388089af2a3d8edf013c5716f835fd78ac",
17+
"src/db/generated/VerdictUserPayload.ts": "19333078f1464dc91c6c3c14b5785ffb26cc808cde84ef5f8ee7a4e632354a1b",
18+
"src/db/generated/Wizard.ts": "18d4a6e8280977da076fbc3a49befd29fc0e85dbb90992bf235e6d5a293857d4",
19+
"src/db/generated/WizardFramePayload.ts": "e83fcca53c9ff883ca5bff06497c7d592fedc6b2cf36cf49df1685ab9a321028",
20+
"src/db/generated/WizardOutput.ts": "b2d8a8d074b18f3a57d525d764a951c7dccb1fca7598c95e39173c68ecbc1906",
21+
"src/db/generated/WizardSystemPayload.ts": "5298be17ca14d24fe11af15f1c5a66b0f2206e6db4310d60da1458710ef1f054",
22+
"src/db/generated/WizardUserPayload.ts": "baf25acac7a995f8afa5afd9684dcc49d354e06033452f176e72d36d7c5078f8",
23+
"src/db/generated/enums.ts": "977991f32f1beed9082d28b29aca6fbb6ba6f72d0468210ff633fdc6af1a6b12",
24+
"src/db/generated/index.ts": "34aa15e357f57f202bd8e35da014aae0d230deab6f3f3231edef9485bdb77416",
25+
"src/llm/generated/toolcalls.ts": "51779866fcc6dd751ab89f42880e532d4ae63588cdb0391cd88f9dac196ae96b",
26+
"src/personas/generated/registry.ts": "cfbb127b33636eecdbfe825ad681b6ab993970c1304fc6c5762d81207fe912d6",
27+
"src/personas/generated/wizards.ts": "45c28aea4862cf75651f00581c8a19c2507b14a72651e89df622a83b72a88ce9",
28+
"src/render/generated/prompts.ts": "96e7e9d2b2c09e8658e47dd5db66140dd20a4912f68ab58a11dd0e32002efa7c",
29+
"src/render/generated/templates.ts": "1ffb203e31b46e2ebb83ab5746c6bcba961b47bee82436b6df1f798fc95390eb",
30+
"src/web/generated/council-frames.ts": "182411b74cac93722d380a9417b647f4972be6a1f585eb23f31c618e9d3f81c2"
31+
}

0 commit comments

Comments
 (0)