documentation cleanse, sprints work and planning. remaining non EF DAL migration to EF

This commit is contained in:
master
2026-02-25 01:24:07 +02:00
parent b07d27772e
commit 4db038123b
9090 changed files with 4836 additions and 2909 deletions

View File

@@ -0,0 +1,5 @@
{
"approved": true,
"reason": "Direct Tier 2 evidence confirms missing API surfaces and compose-contract mismatch.",
"revisedRootCause": "Feature documentation overstates implemented SmRemote API surface; Program.cs only exposes /status, /sign, /verify (SM2) while claimed /health, /hash(SM3), /encrypt(SM4), /decrypt(SM4) endpoints are absent. Compose overlay file is not runnable standalone despite feature claim."
}

View File

@@ -0,0 +1,8 @@
GET /status
POST /sign
POST /verify
GET /health (feature-claimed health endpoint)
POST /hash (feature-claimed SM3 endpoint)
POST /encrypt (feature-claimed SM4 endpoint)
POST /decrypt (feature-claimed SM4 endpoint)
docker compose -f devops/compose/docker-compose.sm-remote.yml config

View File

@@ -0,0 +1,14 @@
{
"filesChecked": [
"src/SmRemote/StellaOps.SmRemote.Service/Program.cs",
"devops/compose/docker-compose.sm-remote.yml"
],
"found": [
"src/SmRemote/StellaOps.SmRemote.Service/Program.cs",
"devops/compose/docker-compose.sm-remote.yml"
],
"missing": [
],
"verdict": "pass"
}

View File

@@ -0,0 +1,19 @@
{
"project": "src/SmRemote/StellaOps.SmRemote.Service/StellaOps.SmRemote.Service.csproj",
"buildResult": "pass",
"testResult": "pass",
"command": "dotnet build src/SmRemote/StellaOps.SmRemote.Service/StellaOps.SmRemote.Service.csproj -c Release --nologo; dotnet test src/SmRemote/StellaOps.SmRemote.sln -c Release --nologo",
"testProjects": [
"src/SmRemote/StellaOps.SmRemote.sln"
],
"testsRun": 0,
"testsPassed": 0,
"testsFailed": 0,
"errors": [
],
"warnings": [
],
"runAtUtc": "2026-02-11T07:42:43.2855512Z"
}

View File

@@ -0,0 +1,104 @@
{
"type": "api",
"module": "smremote",
"feature": "sm-remote-crypto-service",
"runId": "run-001",
"baseUrl": "http://127.0.0.1:10311",
"capturedAtUtc": "2026-02-11T07:42:43.2855512Z",
"requests": [
{
"description": "Status endpoint reports availability",
"method": "GET",
"path": "/status",
"expectedStatus": 200,
"actualStatus": 200,
"assertion": "service reports available provider",
"evidenceFile": "evidence/01-status.txt",
"result": "pass"
},
{
"description": "SM2 sign operation succeeds",
"method": "POST",
"path": "/sign",
"expectedStatus": 200,
"actualStatus": 200,
"assertion": "signature returned for valid payload",
"evidenceFile": "evidence/02-sign.txt",
"result": "pass"
},
{
"description": "SM2 verify operation succeeds",
"method": "POST",
"path": "/verify",
"expectedStatus": 200,
"actualStatus": 200,
"assertion": "valid=true for signed payload",
"evidenceFile": "evidence/03-verify.txt",
"result": "pass"
},
{
"description": "Negative sign input returns bad request",
"method": "POST",
"path": "/sign",
"expectedStatus": 400,
"actualStatus": 400,
"assertion": "missing fields rejected",
"evidenceFile": "evidence/09-sign-missing-fields.txt",
"result": "pass"
},
{
"description": "Feature-claimed health endpoint exists",
"method": "GET",
"path": "/health",
"expectedStatus": 200,
"actualStatus": 404,
"assertion": "health endpoint missing",
"evidenceFile": "evidence/04-health.txt",
"result": "fail"
},
{
"description": "Feature-claimed SM3 hash endpoint exists",
"method": "POST",
"path": "/hash",
"expectedStatus": 200,
"actualStatus": 404,
"assertion": "SM3 API surface missing",
"evidenceFile": "evidence/05-sm3-hash.txt",
"result": "fail"
},
{
"description": "Feature-claimed SM4 encrypt endpoint exists",
"method": "POST",
"path": "/encrypt",
"expectedStatus": 200,
"actualStatus": 404,
"assertion": "SM4 encryption API surface missing",
"evidenceFile": "evidence/06-sm4-encrypt.txt",
"result": "fail"
},
{
"description": "Feature-claimed SM4 decrypt endpoint exists",
"method": "POST",
"path": "/decrypt",
"expectedStatus": 200,
"actualStatus": 404,
"assertion": "SM4 decryption API surface missing",
"evidenceFile": "evidence/07-sm4-decrypt.txt",
"result": "fail"
}
],
"environmentChecks": [
{
"description": "Compose overlay config resolves as standalone file",
"expected": "valid compose config",
"actual": "service \"signer\" has neither image nor build context",
"evidenceFile": "evidence/08-compose-config.txt",
"result": "fail"
}
],
"behaviorVerified": [
"Current service provides SM2 status/sign/verify surface.",
"Feature-claimed health, SM3 hash, and SM4 encrypt/decrypt surfaces are not implemented in this service."
],
"verdict": "fail"
}

View File

@@ -0,0 +1,10 @@
{
"rootCause": "Feature documentation overstates implemented SmRemote API surface; Program.cs only exposes /status, /sign, /verify (SM2) while claimed /health, /hash(SM3), /encrypt(SM4), /decrypt(SM4) endpoints are absent. Compose overlay file is not runnable standalone despite feature claim.",
"category": "missing_code",
"affectedFiles": [
"docs/features/unchecked/smremote/sm-remote-crypto-service.md",
"src/SmRemote/StellaOps.SmRemote.Service/Program.cs",
"devops/compose/docker-compose.sm-remote.yml"
],
"confidence": 0.98
}