Claude Code on a real ticket.
Watch.
AUTH-1247 · JIRA
Session timeout fails silently
Users report being logged out mid-session with no error message and no auth event in the audit log. Reproducible under load. Started after the v4.8 release.
$ claude -p "fix AUTH-1247"
→ searching codebase for "session"…
→ 47 matches in src/auth, src/middleware
- if (session.expires_at < Date.now())
+ if (session.expires_at <= Date.now() + GRACE_MS)
→ running pytest tests/auth/…
✗ test_session_timeout_audit_log FAILED
(the fix didn't write the audit-log entry the test expects)
baseline · no wiki
10%
AUTONOMOUS TICKET-FIX RATE
$ /doc-wiki:atlas
src/auth/*.py
jira: AUTH-892, AUTH-1102
confluence: session-design
schema: postgres.sessions
github: PR #4421 (reverted)
aws: CloudWatch session-svc
wiki/auth/session-management.md
wiki/auth/audit-log-policy.md
wiki/data-model/sessions.md
wiki/integrations/jira-AUTH-892.md
wiki/decisions/reverted-PR-4421.md
wiki/operations/session-svc-cloudwatch.md
atlas spend: $0.00 · 6 sources → 0 wiki pages
SAME PROMPT · SAME MODEL · WIKI IN CONTEXT
AUTH-1247 · JIRA
Session timeout fails silently
Users report being logged out mid-session with no error message and no auth event in the audit log.
$ claude -p "fix AUTH-1247"
→ reading wiki/auth/session-management.md
→ reading wiki/decisions/reverted-PR-4421.md
→ reading wiki/auth/audit-log-policy.md
→ grace-period fix tried in PR #4421 broke audit log
+ if (session.expires_at <= Date.now() + GRACE_MS)
+ audit.emit('session.timeout', { sid, user_id, ... })
→ running pytest tests/auth/…
✓ 4 passed in 0.83s
with doc-wiki
50%
AUTONOMOUS TICKET-FIX RATE
AUTHOR'S ENTERPRISE CODEBASE · 50 REAL JIRA TICKETS
10%
baseline
50%
with doc-wiki
doc·wiki
github.com/narailabs/doc-wiki · Apache 2.0 forever