feat(specs): declare [[key]] on File/Directory/SessionEntry (ARN-68) — DO NOT DEPLOY before temper#326 - #439
Draft
rita-aga wants to merge 1 commit into
Draft
feat(specs): declare [[key]] on File/Directory/SessionEntry (ARN-68) — DO NOT DEPLOY before temper#326#439rita-aga wants to merge 1 commit into
rita-aga wants to merge 1 commit into
Conversation
…eyed index (ARN-68) Declares the business keys that 413 today as Temper-native [[key]] (ADR-0153): - File: (WorkspaceId, Path) - Directory: (Name, WorkspaceId, ParentId) [non-root; root has a null component] - SessionEntry: (SessionId, EntryId) The deployed kernel indexes these into entity_key_index for O(log n) present/absent reads, eliminating the workspace scan behind the 413. PascalCase per OData/CSDL; the kernel matches case-tolerantly to the snake_case Create-param fields. DEPLOY ORDER (HARD GATE): the CURRENTLY DEPLOYED kernel cannot parse [[key]] — its parser would absorb the block's name=/properties= lines into the preceding section and corrupt the spec. These specs MUST NOT be published to Genesis / installed until the kernel with ADR-0153 [[key]] support (temper#326) is live. Draft until then. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MfDeyvWdKTTrsJ8QXaB1sU
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Declares the business keys behind the 413 as Temper-native
[[key]](ADR-0153), so the kernel indexes them intoentity_key_indexfor O(log n) present/absent reads:The currently deployed kernel cannot parse
[[key]]— its parser would absorb the block'sname=/properties=lines into the preceding section and corrupt the spec. These specs MUST NOT be published to Genesis / installed until the kernel with ADR-0153[[key]]support (temper#326) is live in prod. Keep this PR draft until then.Deploy order: temper#326 (kernel) → publish these specs to Genesis → backfill → verify.
Part of ARN-68 / Path A. Kernel PR: nerdsane/temper#326.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MfDeyvWdKTTrsJ8QXaB1sU