Skip to content

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
mainfrom
claude/arn-68-declare-keys
Draft

feat(specs): declare [[key]] on File/Directory/SessionEntry (ARN-68) — DO NOT DEPLOY before temper#326#439
rita-aga wants to merge 1 commit into
mainfrom
claude/arn-68-declare-keys

Conversation

@rita-aga

Copy link
Copy Markdown
Collaborator

Declares the business keys behind the 413 as Temper-native [[key]] (ADR-0153), so the kernel indexes them into entity_key_index for O(log n) present/absent reads:

  • File: (WorkspaceId, Path)
  • Directory: (Name, WorkspaceId, ParentId)
  • SessionEntry: (SessionId, EntryId)

⚠️ HARD DEPLOY 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 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

…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant