System Go Http Api¶
Resolve a Go HTTP API service with an independently consumed public contract.
Generated example
This page is generated from evaluations/scenarios/system-go-http-api.yaml. The scenario YAML remains the executable source of truth.
Request¶
Implement a public API endpoint in this Go HTTP service.
Repository evidence¶
go.mod¶
main.go¶
Expected resolution¶
| Resolution layer | Expected |
|---|---|
| Profile | backend-service |
| Modifiers | public-api |
| Language adapters | go |
| Framework adapters | — |
Normalized context¶
Skill modes¶
| Item | Expected |
|---|---|
api-and-compatibility |
external-api |
distributed-reliability |
synchronous-transactional |
Conflict decisions¶
None.
Significant decisions¶
preserve-public-contracts
Principles under test¶
Forbidden outcomes¶
- expose implementation details as API by accident
Scenario source¶
schema_version: 0.10.0
id: system-go-http-api
description: Resolve a Go HTTP API service with an independently consumed public contract.
input:
request: Implement a public API endpoint in this Go HTTP service.
repository_signals:
go.mod: 'module example.com/service
'
main.go: package main
expected:
context:
artifact_type: backend-service
exposure:
- external-integration
profile: backend-service
modifiers:
- public-api
language_adapters:
- go
framework_adapters: []
significant_decisions:
- preserve-public-contracts
skill_modes:
api-and-compatibility: external-api
distributed-reliability: synchronous-transactional
conflicts: {}
forbidden:
- expose implementation details as API by accident
principles_under_test:
- backward-compatibility
- parse-dont-validate