Add example notes_on provider#15
Merged
Merged
Conversation
Closed
ea68c05 to
5c5600f
Compare
5c5600f to
0c217c0
Compare
6722c08 to
cece88a
Compare
cece88a to
c38d1ec
Compare
levonkorganyan
approved these changes
Jun 8, 2026
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.
Summary
Adds
notes_on, an optional Agents Schema provider underexamples/providers/notes_onfor teams that want a durable note layer on warehouse schemas, tables, and columns. It is useful as-is for agents, catalogs, review workflows, or analytics tooling that need object-scoped notes.This is not a built-in/core provider and does not require everyone adopting Agents Schema to adopt this note shape. It does not change the core
agents-schemaCLI, coreROOT_ENTRIES, reusable workflows, package metadata, or the officialSPEC.md.The provider publishes durable object-scoped notes using provider-prefixed tables:
AGENTS.NOTES_ON_SCHEMATAAGENTS.NOTES_ON_TABLESAGENTS.NOTES_ON_COLUMNSIt also upserts provider-authored
AGENTS.ROOTrows at runtime. Those rows are deployment/provider metadata, not new core registry entries.Implementation
The package includes:
agents-schema-notes-onCLINOTES_ON_*tablesAGENTS.ROOTupsert behaviorPositioning
This reframes the old memory idea as an optional provider rather than a core Agents Schema feature. The shape is intentionally narrow: physical schema/table/column notes, no agent memory state, no write-back semantics, no polymorphic anchors, and no requirement that other providers or consumers adopt these opinions.
The useful distinction from database comments is still preserved: multiple authors, provenance, tags, confidence, importance, and history without overwriting a single canonical object comment.
Context view compatibility
The provider id is
notes_on, so the table names line up with the context-view naming scheme from #12. Since the source tables are one row per note, anyAGENTS.SCHEMATA/TABLES/COLUMNSenrichment should aggregate to object grain before joining. The example uses anotes_on_notesVARIANT array rather than concatenated text so note boundaries and provenance are preserved.Verification