Files
scaffold/tools
ZencacheandClaude Opus 4.6 386d5ce155 v2.6.5: format markers (_format), bundled example schema, schema.md
Add _format metadata key to tool schemas and presets to prevent
cross-loading (e.g., loading a preset as a tool schema). Three-tier
enforcement: correct value loads silently, missing value warns (tools)
or accepts silently (presets for backwards compat), wrong value hard
rejects with clear error.

- Add _format check to tool loading path (after JSON parse, before
  validate_tool)
- Add _format check to preset loading path (silent for missing)
- Include _format: scaffold_preset in serialize_values output
- Add _format: scaffold_schema to all 10 bundled tool schemas
- Bundle example.json as a reference schema demonstrating every feature
- Add schema.md (JSON schema specification) to the repo
- Update PROMPT.txt and schema.md with _format in spec and examples
- Add Section 45 tests (format marker behavior, 17 new assertions)
- Patch test_manual_verification.py for missing-format dialog handling

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 22:47:22 -04:00
..