Skip to content

Document forced proposal status for memory schemas - #921

Merged
zlareb1 merged 2 commits into
mainfrom
docs/memory-schema-propose-status
Nov 18, 2026
Merged

zlareb1 merged 2 commits into
mainfrom
docs/memory-schema-propose-status

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Documentation

Why

memory_schema.propose stores and returns proposed regardless of the supplied status. Its shared model comments describe active as immediately writable without explaining this override, so the generated proposal reference suggests a status the operation never stores.

Scope and risk

Clarify the input and output status comments for both memory_schema.register and memory_schema.propose, then regenerate their reference tables. The input default remains active; the proposal handler still overrides it. Types, validation and handler behavior are unchanged. SDK and MCP schemas do not consume these source comments.

Compatibility, rollout and rollback

  • Wire and operator steps: none.
  • Reverting restores the incomplete descriptions; stored schemas are unaffected.

Tests

  • Normal python -m scripts.codegen.docs_reference generation and --check pass.
  • Ruff lint and formatting checks pass for the changed Python file.
  • git diff --check passes. The source module AST is identical before and after the comment changes.
  • No tests were added or run for this documentation correction. Required GitHub CI runs before merge.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated: Codex corrected the model comments and ran the maintained generator. The descriptions were checked against the proposal override and registration response.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • Required GitHub CI passes on the current head.
  • Generated reference tables are regenerated by the maintained generator.
  • Documentation describes current behavior and preserves the wire default.
  • Commits are signed off.

The shared status comments distinguish registration from the proposal override. Regenerate both operation tables while preserving input defaults, types and handler behavior.

Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 merged commit b389a8c into main Nov 18, 2026
51 checks passed
@zlareb1 zlareb1 mentioned this pull request Nov 18, 2026
6 tasks done
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