specprism_push_surface
Normalize and attach a local .specprism surface scan to a cloud project ID, grounding compliance checks and test paths in the real codebase without GitHub OAuth.
Instructions
Normalize and optionally attach a local .specprism/surface.json brownfield repository scan (detected frameworks, ORMs, testRunners, samplePaths) onto a cloud projectId so Stages 1-4 ground malicious-compliance checks and TC-* file paths in the real codebase without requiring GitHub repo OAuth.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"surface": "<surface>"
},
"name": "specprism_push_surface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| surface | Yes | JSON object produced by scan-repo.mjs (.specprism/surface.json) with frameworks, orms, testRunners, codeFileCount, and samplePaths. | |
| projectId | No | Optional cloud project UUID to persist the normalized repoSurface onto. |