Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .claude/memory/MEMORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Keep this file under 200 lines — anything longer is content bloat, not memory.
- [learnings/git-checkout-theirs-replaces-whole-file](learnings/2026-05-27-git-checkout-theirs-replaces-whole-file.md) — `git checkout --theirs <path>` during a merge replaces the WHOLE file, silently reverting unrelated edits earlier on the branch; verify with `git diff origin/<base>` afterwards (PR #29 round 1)
- [learnings/verify-ticket-issues-still-exist-on-main](learnings/2026-05-28-verify-ticket-issues-still-exist-on-main.md) — Re-read the ticket's target file in current `origin/<base>` before drafting; humans push small fixes direct-to-main between ticket creation and agent pickup (PR #29 ENG-30 round 1)
- [learnings/vercel-mcp-silently-hides-projects](learnings/2026-05-31-vercel-mcp-silently-hides-projects.md) — Vercel MCP can return only a subset of a team's projects even with the right teamId — `get_project(self-managing-codebase)` 404'd despite the project being healthy; use the curl+Vercel-bot fallback, don't assume it was deleted
- [learnings/sentry-firstseen-relative-rejected](learnings/2026-06-02-sentry-firstseen-relative-rejected.md) — Sentry `search_issues` tool description shows `firstSeen:-7d` as a valid filter but the API rejects it; use ISO timestamps or pass `statsPeriod` on the tool call instead

## Decisions
- [decisions/mcp-for-small-writes-checkout-for-big](decisions/2026-05-26-mcp-for-small-writes-checkout-for-big.md) — Single-file writes go through GitHub MCP; multi-file or test-needing changes use the mounted checkout + `git push`
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Sentry `search_issues` rejects `firstSeen:-7d` shape (tool docs are wrong)

The Sentry MCP `search_issues` tool description shows `firstSeen:-24h` /
`lastSeen:-7d` as example query filters, but the Sentry API actually
rejects that syntax:

```
HTTP 400: Error parsing search query: first_seen: Invalid date: >-7d.
Expected +/-duration (e.g. +1h) or ISO 8601-like (e.g. 2026-06-02T...).
```

(MCP-side translation rewrites `firstSeen:-7d` → `first_seen:>-7d`,
which the API then fails to parse — the leading `-` is read as part
of the date, not a relative-duration prefix.)

What works instead:
- Absolute ISO timestamps: `firstSeen:>2026-05-26T00:00:00`
- Just rely on the default time window — `is:unresolved` is
sufficient for the step-2 sweep; project-wide unresolved count is
what step 2 actually cares about. If you need a time bound, scope
with `statsPeriod='7d'` on the tool call instead of putting it in
`query`.

Don't trust the tool description's relative-time examples.