diff --git a/docs/service-topology.md b/docs/service-topology.md new file mode 100644 index 0000000..24b91fd --- /dev/null +++ b/docs/service-topology.md @@ -0,0 +1,9 @@ +# Cross-repository service topology + +CodeDecay's service-topology foundation models explicitly configured repositories, packages, services, deployment units, APIs, event topics, schemas, datastores, jobs, environments, and teams. It performs no repository cloning, network discovery, command execution, model calls, or telemetry. + +Topology manifests use schema version `1` and may be JSON or YAML. Every node and edge has stable IDs, confidence, freshness, trust class, limitations, and at least one source containing a repository ID and revision. Local repository roots are explicit; missing roots remain visible as unavailable partial checkouts. + +Dependency analysis follows declared consumer relationships to changed contracts and reports connected deployment units and owners. Stale or inferred relationships produce verification gaps and never become trusted evidence by themselves. Normalized artifacts are written to `.codedecay/local/service-topology.json` and remain inspectable. + +This foundation does not yet expose CLI or MCP commands and does not yet parse OpenAPI or asynchronous contracts. Those adapters should use maintained OSS parsers and feed this model rather than creating a second topology engine. diff --git a/judge-lab/app/globals.css b/judge-lab/app/globals.css index 085d35b..dfffa3a 100644 --- a/judge-lab/app/globals.css +++ b/judge-lab/app/globals.css @@ -577,7 +577,7 @@ a:focus-visible { text-transform: uppercase; } -.use-grid pre { +.command-snippet { background: #0b0b0a; border: 1px solid var(--line); color: #c8c4b9; @@ -587,7 +587,9 @@ a:focus-visible { margin: 20px 0; overflow-x: auto; padding: 18px; + resize: none; white-space: pre; + width: 100%; } .scenario-picker { diff --git a/judge-lab/app/judge-lab.tsx b/judge-lab/app/judge-lab.tsx index c391577..7ac31b5 100644 --- a/judge-lab/app/judge-lab.tsx +++ b/judge-lab/app/judge-lab.tsx @@ -261,10 +261,15 @@ export function JudgeLab({ engineVersion, sourceCommit, scenarios }: JudgeLabPro
TRY ON YOUR REPO

Run the CLI where your code lives.

-
-              {`npx @submuxhq/codedecay@0.4.1 redteam --base main --head HEAD --format markdown
-npx @submuxhq/codedecay@0.4.1 agent --base main --head HEAD`}
-            
+