feat(mcp): add durable product federation receipts

This commit is contained in:
ogt
2026-07-15 08:37:32 +08:00
parent 97c111bc75
commit ba91ce36b7
16 changed files with 2529 additions and 7 deletions

View File

@@ -863,6 +863,32 @@ class Settings(BaseSettings):
le=30,
description="Bounded timeout for one allowlisted Smithery or mcp.so read.",
)
ENABLE_MCP_FEDERATION_RECEIPT_WORKER: bool = Field(
default=True,
description=(
"True=collect the exact allowlisted EwoooC/MOMO production MCP-RAG "
"aggregate receipt in the dedicated signal worker. No credential, "
"raw payload, tool output, or external RAG content is stored."
),
)
MCP_FEDERATION_INTERVAL_SECONDS: int = Field(
default=21_600,
ge=900,
le=86_400,
description="Read-only MCP/RAG federation cadence; defaults to six hours.",
)
MCP_FEDERATION_STARTUP_SLEEP_SECONDS: int = Field(
default=45,
ge=0,
le=900,
description="Delay before the first EwoooC/MOMO federation receipt run.",
)
MCP_FEDERATION_SOURCE_TIMEOUT_SECONDS: int = Field(
default=10,
ge=3,
le=30,
description="Timeout for the fixed mo.wooo.work public aggregate endpoint.",
)
AWOOOP_ANSIBLE_CANDIDATE_BACKFILL_INTERVAL_SECONDS: int = Field(
default=600,
ge=60,