docs: CFG-11 and CFG-18, APP-2/3, CMP-2, FAC-11, the config page and the changelog
The spec now says a config loads once, in QuickMCP or before it in
load_config(), and CFG-18 sets out the loader: what LoadedConfig holds,
that QuickMCP(loaded=...) reads nothing again, what it refuses beside
loaded=, and that one load builds one server. The config page shows a
server reading its config before building itself, and the changelog
gets its line.
From the whole-branch review: tests for the lifespan running inside the
components, for QuickMCP's None defaults, and for a register that raises
leaving the load claimed; the register loop's comment back above it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent: done
docs: CMP-2 to 6 and TEL-20 built; the app, config, telemetry, delivery and facade rows; README and changelog
The spec rows say what was built, the components page gains the built-ins'
tables and a component example, and [Unreleased] gains the Added lines and
the BREAKING ones. The whole-branch review's fixes come with them: run()
refuses serving keys in its options, LOG_LEVEL is read case-insensitively,
the telemetry line never shows userinfo however the address is written, a
clash with a built-in's name suggests hooking it, and the runtime masking
and cancellation paths are tested.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent: done
docs: CFG-7 to 10 and 12 to 14, the config page's operator and author sections, APP-2/3, FAC-11, the README and the changelog
The config rows lose (proposed) and say what the code does: literal env and
flag names refused at composition when malformed, duplicated, reserved or
unreadable; sensitive means a secret type; one YAML file, env vars and flags
merged deep over the defaults; provenance and the boot line; every load error
at once, with no value quoted by quick-mcp or pydantic. The config page gains
"Setting the config" for an operator and "Writing a server's config" for an
author. The README passes argv=sys.argv[1:], and [Unreleased] says what a
server writes now.
The whole-branch review's fixes: an error path matches every key a field
accepts, so a secret behind AliasChoices or by-name validation prints no key
below it, and env=/arg= on a field with a non-str alias is refused; a
default_factory model is merged over like a default instance; every YAML
failure and a self-referencing mapping are "is not valid YAML"; tokens after
-- are positionals; the boot line is built only when INFO is on. The plan's
design items 5 and 7 and its Global Constraints record the rules settled.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent: done
docs: the config rows, APP-2/3/8, DI-12, FAC-11, the README and the changelog
The config core's rows lose (proposed) and read as built: sections by key,
one composed strict config, loaded at construction, injected by section, and
one schema written without FastMCP. APP-2/3/8, DI-12 and FAC-11 follow, and
the changelog gets the Added and BREAKING lines.
The whole-branch review's fixes come with it: a sensitive field is kept out
of the repr, today's call shapes are tested through QuickMCP(...),
sections=None and a nested RootModel get errors that say what to do, the
schema warning that printed a default is suppressed, and pydantic's floor
is 2.12, as FastMCP already requires.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent: done
Merge wiki master (0.2.0) into issue-12
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
# superpowers/specs/facade.md
feat(delivery): resolve the delivery inputs and the prefix by levels, falling through
Each request resolves X-MCP-Resource-Prefix, X-MCP-Resources and
X-MCP-Listed once, in a new _ResolveScope middleware between the call
scope and the plugin pin. Each input walks its sources in order: the
header, then the query parameter, then the config's delivery default,
then the built-in one. An invalid value, the gateway prefix's included,
falls through to the next source, with one warning that names the
source. Warn-once is keyed on (session, source, value) and bounded at
4096, the least recently warned forgotten first. FastMCP 4.2.5 gives a
middleware no signal when a session ends. The handshake resolves without
warning, since its session has no id yet.
gateway.prefix() now reads the resolution, and HEADER, QUERY,
_VALID and request._first_time are removed. kubed.mcp exports Delivery.
DLV-1 to DLV-5 are built; GW-1, GW-3, FAC-1 and FAC-2 follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs: FAC-11, TEL-3 and TEL-15 in the spec, and the changelog (#34)
FAC-11 states what importing kubed.mcp loads: every name in __all__ but
Telemetry and TelemetrySettings resolves on first use, so a config layer can
embed TelemetrySettings without FastMCP. TEL-3 points to it, and TEL-15 takes
Dr K's row 11 ruling on root's handlers. The telemetry design, the
OpenTelemetry plan and this plan record it. The package docstring says the
same as FAC-11, and the fresh-interpreter tests show a failing child's stderr.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent: done
telemetry: record each tool call and prompt render with FastMCP's call metrics (#15)
Task 1 of the plan. With telemetry.otel on, QuickMCP puts FastMCP's
UsageMiddleware(user_id="omit") first in the server's middleware,
ahead of the call scope, so mcp.server.operation.duration records what
the client received, a transient's teardown error included. The
middleware is imported only when otel is on, and a failure to build
it is one error by type: the server serves without it.
This also merges issue-12 for the dependency audit of the telemetry
extra, and brings #14's wiki commit into the wiki branch, so TEL-1 to
TEL-15 read as built here too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs: app: websocket_route (APP-13), get_tool (APP-14); facade: request_values(request) (FAC-10)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spec: skills area (SKL-1 to SKL-23), FAC-7 built, the design's History
kubed.mcp.skills is the serving rules the plugin layer applies to every
skill, lifted from selenium-flow#194: catalogues with nested paths, strict
loading, the entry-only listing, reserved names, folders as directory
resources with their indexes, and the Skills extension. FAC-7 says it
re-exports Skill alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spec: app, container and facade areas; the design is built
app.md (APP), container.md (DI) and facade.md (FAC) hold what QuickMCP,
its container, Inject[T], the facade and request_values() now do, with
kubed.mcp.skills as FAC-7, proposed. PKG-9 moves the pin to
fastmcp>=4.2,<5 with the tasks extra, and PKG-21 is the py.typed marker.
The design's History header says what shipped and what was overtaken.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>