docs: correct the module lists in AGENTS.md and CLAUDE.md
This commit is contained in:
1 parent
10c8b21cf5
commit
581ca67bf8
2 files changed
+41
-26
No files matched your search
@@ -47,26 +47,33 @@ the FastAPI adapter and the "core stays web-free" boundary.
|
||||
|
||||
```
|
||||
src/aegis_gitea_mcp/
|
||||
catalog/ generated tool catalog: model.py (done), tools.json + loader (chunk B2)
|
||||
gitea/ executor: templating, HTTP, pagination, errors, envelope (chunk B3)
|
||||
server.py SDK low-level Server, list/call dispatch, filters (chunk B4)
|
||||
transports stdio entry, streamable HTTP app, /health, bind checks (chunk B4)
|
||||
oauth/ SDK OAuth provider proxying Gitea, token store, verifier (chunk B5)
|
||||
setup.py `aegis-gitea-mcp setup` command (chunk B6)
|
||||
cli.py argparse entry: serve (default), setup, version (skeleton done)
|
||||
config.py pydantic-settings Settings, get_settings()/reset_settings()
|
||||
identity.py Identity(login, mode, token) carried through each call
|
||||
errors.py ToolError, GiteaAPIError(status, kind, message)
|
||||
audit.py hash-chained audit log; security.py secret masking;
|
||||
catalog/ generated tool catalog: model.py (Operation, Parameter), build.py
|
||||
(swagger to catalog, annotations), naming.py, schema.py,
|
||||
tools.json (generated, never hand-edited), __init__.py (loader)
|
||||
gitea/ executor: executor.py (HTTP, envelope, redaction, limits),
|
||||
encoding.py (path, query, body, upload building), pagination.py,
|
||||
redaction.py (exact-match secret redaction)
|
||||
setup_cmd.py `aegis-gitea-mcp setup`: verify instance, register OAuth app, write .env
|
||||
setup_snippets.py client config snippets printed by setup
|
||||
setup_template.py built-in .env template used by setup
|
||||
cli.py argparse entry: serve (default), setup, version
|
||||
config.py pydantic-settings Settings, get_settings()/reset_settings()
|
||||
identity.py Identity(login, mode, token) carried through each call
|
||||
errors.py ToolError, GiteaAPIError(status, kind, message)
|
||||
audit.py hash-chained audit log; security.py secret masking;
|
||||
response_limits.py, rate_limit.py (HTTP), request_context.py, logging_utils.py
|
||||
scripts/ generate_catalog.py (B2), validate_audit_log.py, check_docs.py (B11)
|
||||
server.py, transports, oauth/ planned (chunks B4, B5), not present yet
|
||||
scripts/ generate_catalog.py, validate_audit_log.py, ci/, check_docs.py (B11)
|
||||
spec/ pinned Gitea swagger
|
||||
tests/integration/ live Gitea in Docker (harness.py), opt-in
|
||||
```
|
||||
|
||||
Modules marked with a chunk id do not exist yet. Request flow (target):
|
||||
Modules marked planned do not exist yet. Request flow (target):
|
||||
client -> SDK transport and auth verifier -> `Identity` -> toolset/read-only
|
||||
filters -> schema validation -> executor (Gitea call with the identity's token,
|
||||
optional `sudo`) -> limits and masking -> result envelope (ADR 0005) -> audit.
|
||||
The executor and the catalog exist; the server and transports that connect them
|
||||
to MCP clients do not yet.
|
||||
|
||||
## Commands
|
||||
|
||||
|
||||
Reference in new issue
Block a user