AMPR-263 #664: Add TableWriteIntent core primitives and PlugManifest capability gating - #679
Merged
wow-miley merged 1 commit intoAug 1, 2026
Conversation
…capability gating Written by Claude, following the AMPR-263 write-back verdict (append-row and update-cell as provider-delegated intents, no whole-table replace): adds TableWriteIntent/RowRef/Capability/Failure and a TableWriteSink guard base that enforces the capability gate before any dispatch, plus a matching PlugManifest.tableWriteCapabilities declaration and validator rules. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Concept staleness check — 3 warning(s). These changes touched files listed under a concept's Validator output |
wow-miley
deleted the
miley/ampr-263-table-write-back-spike-preserve-and-merge-over-cell-edits-or
branch
August 1, 2026 16:20
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.
Closes #664
Written by Claude (Sonnet 5), implementing the core, provider-neutral half of the AMPR-263 write-back verdict (append-row and update-cell as provider-delegated intents, never a whole-table replace):
TableWriteIntent/TableRowRef/TableWriteCapability/TableWriteFailure, and aTableWriteSinkguard base that enforces the capability gate before any dispatch, mirroringWritableCanonAdapter's guard shape. Adds a matchingPlugManifest.tableWriteCapabilitiesdeclaration and validator rules (undeclared-TABLE-contract and canon-external contradictions), mirroring the existingisCanonExternalcarve-out pattern.Concrete Notion/Sheets/CSV sink implementations are intentionally not included — no real transport for any provider exists yet in this repo to implement them against.
Test plan
./gradlew :ampere-core:jvmTest(full suite)./gradlew :ampere-core:compileCommonMainKotlinMetadata./gradlew :ampere-core:compileTestKotlinIosSimulatorArm64./gradlew :ampere-core:ktlintFormat(no changes needed)🤖 Generated with Claude Code