-
Notifications
You must be signed in to change notification settings - Fork 0
fix(introspection): Add 'schemas' layer to known_layers list (40→41 l… #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -262,7 +262,7 @@ async def list_layers(request: Request): | |
| # List of all known layers (from layers.py + Session 28-30 additions) | ||
| known_layers = [ | ||
| "services", "personas", "feature_flags", "containers", "endpoints", | ||
| "screens", "literals", "agents", "infrastructure", "requirements", | ||
| "schemas", "screens", "literals", "agents", "infrastructure", "requirements", | ||
| "planes", "connections", "environments", "cp_skills", "cp_agents", | ||
|
Comment on lines
263
to
266
|
||
| "runbooks", "cp_workflows", "cp_policies", "components", "hooks", | ||
| "ts_types", "mcp_servers", "prompts", "security_controls", "projects", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding 'schemas' fixes the layer count, but introspection still cannot locate a JSON Schema file for the 'schemas' layer (schema/schemas.schema.json or schema/schema.schema.json is not present, and _get_schema_path has no special-case mapping). As a result, /model/layers will report has_schema=false for 'schemas' and /model/schema-def/schemas will 404; either add the schema file or extend _get_schema_path mappings so this layer can be introspected like the others.