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
Commit 66b4ea4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@
37
37
- Use functions and plain objects, not classes.
38
38
- Start each source file with a comment that says what the file owns. Give each export a short JSDoc.
39
39
- Update `README.md` in the same change when behavior, config, or the control API changes.
40
-
- Test through a real proxy and a local upstream server in `packages/service/tests/`. Do not mock modules. Do not reach the internet.
40
+
- Test through a real proxy and a local upstream server in `packages/service/tests/`. Start them with `startTestService()` and `startUpstream()` of `tests/harness.ts`. Wrap a tight timing limit in `budget()`, so that it allows for coverage, unless coverage barely slows that check. Do not mock modules. Do not reach the internet.
41
41
- The proxy decrypts HTTPS. Never write a credential: every recording goes through `packages/service/src/secrets.ts`.
42
42
- The upstream host always comes from `allow`, never from the client.
43
43
- Write docs in ASD-STE100 English: common words, active voice, short sentences.
0 commit comments