You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+40-26Lines changed: 40 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
3
3
## Project Overview
4
4
5
-
Cosmos is a Go monorepo with four HTTP modules: contract (interfaces), router (HTTP routing), problem (RFC 9457 errors), framework (complete framework). Go 1.25.0 workspace with replace directives.
5
+
Cosmos is a Go monorepo with four HTTP modules: contract (interfaces), router (HTTP routing), problem (RFC 9457 errors), framework (complete framework). Go workspace with replace directives.
Copy file name to clipboardExpand all lines: contract/AGENTS.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
3
3
## Module Overview
4
4
5
-
Contract module: service interfaces (Cache, Database, Session, Crypto, Hash) and request/response helpers. Zero dependencies except testing. Foundation for all Cosmos modules.
5
+
Contract module: service interfaces (Cache, Database, Session, Crypto, Hash) and request/response helpers. Foundation for all Cosmos modules.
6
6
7
7
Module: github.com/studiolambda/cosmos/contract
8
-
Dependencies: Zero (testify for tests, mockery as tool)
8
+
Dependencies: problem (request/hooks.go, request/session.go use problem types), testify for tests, mockery as tool
9
9
10
10
## Setup Commands
11
11
@@ -99,7 +99,7 @@ contract/
99
99
100
100
## Common Gotchas
101
101
102
-
-Zero dependencies: no external imports
102
+
-Depends on problem module (not zero-dep): request helpers use problem types
0 commit comments