-
Notifications
You must be signed in to change notification settings - Fork 0
Run Think on native git-warp v19 #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
flyingrobots
wants to merge
7
commits into
main
Choose a base branch
from
feature/git-warp-v19-cutover
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
20fc31b
feat: port Think runtime to git-warp v19
flyingrobots c68d787
feat: add guarded v19 mind cutover tooling
flyingrobots 2fee70b
feat: replace Think storage with native v19 pages
flyingrobots b6c6369
fix: preserve mixed-format captures during v19 conversion
flyingrobots 1bcf555
chore: update git-warp to 19.0.2
flyingrobots 949b8d4
perf: read native index pages concurrently
flyingrobots 3f7219a
docs: require git-warp 19.0.2 for cutover
flyingrobots File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,120 @@ | ||
| # Think's authored git-warp v19 application contract. | ||
| # | ||
| # Wesley owns deterministic operation metadata. Think's renderer binds that | ||
| # metadata to git-warp's public v19 Intent and Observer constructors. | ||
| # | ||
| # This is intentionally not a generic graph or property facade. The only | ||
| # retained property shapes exposed to application code are Think's three | ||
| # schema-versioned byte documents. | ||
|
|
||
| directive @intent( | ||
| kind: IntentKind! | ||
| subject: String | ||
| property: String | ||
| value: String | ||
| ) on FIELD_DEFINITION | ||
|
|
||
| directive @observer( | ||
| id: String! | ||
| reading: ReadingKind! | ||
| subject: String! | ||
| property: String | ||
| cardinality: ObserverCardinality! | ||
| decoder: ValueDecoder! | ||
| ) on FIELD_DEFINITION | ||
|
|
||
| enum IntentKind { | ||
| NODE_ADD | ||
| PROPERTY_SET_BYTES | ||
| } | ||
|
|
||
| enum ReadingKind { | ||
| PROPERTY | ||
| NODE_EXISTS | ||
| } | ||
|
|
||
| enum ObserverCardinality { | ||
| EXACTLY_ONE | ||
| } | ||
|
|
||
| enum ValueDecoder { | ||
| BOOLEAN | ||
| BYTES | ||
| } | ||
|
|
||
| type IntentBinding { | ||
| operation: String! | ||
| } | ||
|
|
||
| scalar Bytes | ||
|
|
||
| type Mutation { | ||
| declareMemoryObject(subject: ID!): IntentBinding! | ||
| @intent(kind: NODE_ADD, subject: "subject") | ||
|
|
||
| storeMemoryDocument(subject: ID!, value: Bytes!): IntentBinding! | ||
| @intent( | ||
| kind: PROPERTY_SET_BYTES | ||
| subject: "subject" | ||
| property: "think.memory-document.v1" | ||
| value: "value" | ||
| ) | ||
|
|
||
| storeMemoryIndex(subject: ID!, value: Bytes!): IntentBinding! | ||
| @intent( | ||
| kind: PROPERTY_SET_BYTES | ||
| subject: "subject" | ||
| property: "think.memory-index.v1" | ||
| value: "value" | ||
| ) | ||
|
|
||
| storeMemoryIndexPage(subject: ID!, value: Bytes!): IntentBinding! | ||
| @intent( | ||
| kind: PROPERTY_SET_BYTES | ||
| subject: "subject" | ||
| property: "think.memory-index-page.v1" | ||
| value: "value" | ||
| ) | ||
|
|
||
| } | ||
|
|
||
| type Query { | ||
| memoryDocument(subject: ID!): Bytes | ||
| @observer( | ||
| id: "think.memory.document" | ||
| reading: PROPERTY | ||
| subject: "subject" | ||
| property: "think.memory-document.v1" | ||
| cardinality: EXACTLY_ONE | ||
| decoder: BYTES | ||
| ) | ||
|
|
||
| memoryIndex(subject: ID!): Bytes | ||
| @observer( | ||
| id: "think.memory.index" | ||
| reading: PROPERTY | ||
| subject: "subject" | ||
| property: "think.memory-index.v1" | ||
| cardinality: EXACTLY_ONE | ||
| decoder: BYTES | ||
| ) | ||
|
|
||
| memoryIndexPage(subject: ID!): Bytes | ||
| @observer( | ||
| id: "think.memory.index-page" | ||
| reading: PROPERTY | ||
| subject: "subject" | ||
| property: "think.memory-index-page.v1" | ||
| cardinality: EXACTLY_ONE | ||
| decoder: BYTES | ||
| ) | ||
|
|
||
| memoryObjectExists(subject: ID!): Boolean! | ||
| @observer( | ||
| id: "think.memory.object-exists" | ||
| reading: NODE_EXISTS | ||
| subject: "subject" | ||
| cardinality: EXACTLY_ONE | ||
| decoder: BOOLEAN | ||
| ) | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Add a language hint to satisfy markdownlint (MD040).
📝 Proposed fix
🧰 Tools
🪛 markdownlint-cli2 (0.23.1)
[warning] 20-20: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents
Source: Linters/SAST tools