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: .claude/agents/pr-creator.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ Using the `.github/pull_request_template.md` structure, draft:
49
49
-**Changes table**: list each file modified and what changed.
50
50
-**Closes**: `Closes #<issue-number>` to auto-close the linked issue.
51
51
-**Test plan**: check off which verification steps were run.
52
+
-**Hardening note**: when config-derived regex or pattern compilation is touched, state how invalid enabled config fails startup and which regression tests cover that path.
52
53
-**Checklist**: verify each item applies.
53
54
54
55
### 5. Create the PR
@@ -172,6 +173,7 @@ Do **not** use labels as a substitute for types.
172
173
- Use sentence case for the title.
173
174
- Use imperative mood (e.g., "Add caching to proxy" not "Added caching").
174
175
- The summary should focus on _why_, not just _what_.
176
+
- Do not describe config-derived regex/pattern compilation as safe unless invalid enabled config is handled without `panic!`, `unwrap()`, or `expect()`.
175
177
- Always base PRs against `main` unless told otherwise.
176
178
- Always assign the PR to the current user (`--assignee @me`).
177
179
- Never force-push or rebase without explicit user approval.
Copy file name to clipboardExpand all lines: .claude/agents/pr-reviewer.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,8 @@ For each changed file, evaluate:
78
78
-`expect("should ...")` instead of `unwrap()` in production code
79
79
-`error-stack` (`Report<E>`) with `derive_more::Display` for errors (not thiserror/anyhow)
80
80
-`log` macros (not `println!`)
81
+
- Config-derived regex/pattern compilation must not use panic-prone `expect()`/`unwrap()`; invalid enabled config should surface as startup/config errors
82
+
- Invalid enabled integrations/providers must not be silently logged-and-disabled during startup or registration
81
83
-`vi.hoisted()` for mock definitions in JS tests
82
84
- Integration IDs match JS directory names
83
85
- Colocated tests with `#[cfg(test)]`
@@ -105,6 +107,7 @@ For each changed file, evaluate:
105
107
106
108
- Are new code paths tested?
107
109
- Are edge cases covered (empty input, max values, error paths)?
110
+
- If config-derived regex/pattern compilation changed: are invalid enabled-config startup failures and explicit `enabled = false` bypass cases both covered?
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Security
11
+
12
+
- Validate synthetic ID format on inbound values from the `x-synthetic-id` header and `synthetic_id` cookie; values that do not match the expected format (`64-hex-hmac.6-alphanumeric-suffix`) are discarded and a fresh ID is generated rather than forwarded to response headers, cookies, or third-party APIs
13
+
10
14
### Added
11
15
12
16
- Implemented basic authentication for configurable endpoint paths (#73)
0 commit comments