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
{{ message }}
Repository navigation
Add the API's front door: start it, bind localhost, tie it to firstmate's session #27
The API server exists and lives with firstmate. Firstmate starts it on its own startup and stops it at teardown, the server binds to localhost only, and it reads its port and firstmate home from firstmate's config with no hardcoded paths. It answers a health check that names its version and the home it serves. This ticket also builds the test seam every later ticket uses: a throwaway firstmate home with fixture folders, the server started against it on an ephemeral port, and tests that speak real HTTP.
Acceptance criteria
Starting firstmate brings the API up; teardown takes it down with it
The server answers only on localhost
Port and home come from firstmate config; another machine's layout works
A health endpoint reports version and the served home
Tests run against a throwaway home over real HTTP, under the repo's normal test entry point
changed the title [-]API ticket 1: open the front door[/-][+]Add the API's front door: start it, bind localhost, tie it to firstmate's session[/+]on Aug 27, 2026
Done. The API starts and stops with firstmate, binds 127.0.0.1 only, and is tied to firstmate's session (bin/fm-api.sh, bin/fm-api-server.mjs on main).
Activity
[-]API ticket 1: open the front door[/-][+]Add the API's front door: start it, bind localhost, tie it to firstmate's session[/+]EvanAgee commentedon Aug 27, 2026
Done. The API starts and stops with firstmate, binds 127.0.0.1 only, and is tied to firstmate's session (bin/fm-api.sh, bin/fm-api-server.mjs on main).