Abhimanyu Saharan
532fbf1dc5
feat(config): make BASE_URL a required field and update related documentation
2026-03-05 01:36:07 +05:30
Abhimanyu Saharan
77870b0fc7
fix(agent): improve error handling for get_agent_soul method
2026-03-03 03:09:29 +05:30
Hanush H Nair
4c35cb03ad
fix(backend): Return None instead of 401 when agent not found in get_agent_auth_context_optional
2026-02-27 23:19:40 +05:30
Abhimanyu Saharan
c0eb1a14fd
Merge branch 'master' into fix/agent-auth-accept-bearer-in-optional-dep
2026-02-27 01:49:45 +05:30
Adam Grenier
3b20e799e2
fix: accept Authorization: Bearer in agent_auth_context_optional
...
The optional variant of get_agent_auth_context had accept_authorization=False,
which prevented agents using Authorization: Bearer from passing through the
ACTOR_DEP / BOARD_READ_DEP / TASK_DEP dependency chain.
This caused 401 on any agent route that resolves a board or task via the shared
ACTOR_DEP (e.g. PATCH /agent/boards/{id}/tasks/{id} and
POST /agent/boards/{id}/tasks/{id}/comments), even though the same token worked
fine on routes that use AGENT_CTX_DEP directly (accept_authorization=True).
Fix: set accept_authorization=True in get_agent_auth_context_optional so both
X-Agent-Token and Authorization: Bearer are accepted consistently.
Verified: PATCH and POST /comments now resolve board/task correctly when
Authorization: Bearer is used. No security regression — agent_token_hash
comparison rejects any non-agent bearer tokens.
2026-02-26 11:51:45 -08:00
Abhimanyu Saharan
58db8be117
fix(security): update security header names to lowercase and add tests
2026-02-25 03:39:49 +05:30
Abhimanyu Saharan
3f158940cd
Merge branch 'master' into docs/backend-doc-pass
2026-02-25 03:32:14 +05:30
Simone
3fd5fe5f8c
fix: make security headers configurable and add tests
2026-02-24 17:36:44 +01:00
Abhimanyu Saharan
24731667d4
feat: add gateway runtime compatibility checks and minimum version enforcement
2026-02-15 15:59:55 +05:30
Abhimanyu Saharan
efad1d4afc
refactor: increase dispatch throttle duration for improved queue processing
2026-02-15 13:09:22 +05:30
Abhimanyu Saharan
7e76cd1f68
refactor: improve webhook processing with enhanced logging and retry mechanisms
2026-02-15 13:02:55 +05:30
Abhimanyu Saharan
f9b14af477
refactor: migrate webhook queue to RQ with updated configuration
2026-02-15 13:02:55 +05:30
Abhimanyu Saharan
9a49768b52
chore: centralize webhook scheduler interval config
2026-02-14 23:46:07 +00:00
Abhimanyu Saharan
130f2b36f0
fix: resolve mypy typing issues in webhook queue dispatch
2026-02-14 23:46:07 +00:00
Abhimanyu Saharan
f07b4d5ea4
feat: add RQ-based webhook dispatch queue and delayed worker
2026-02-14 23:46:07 +00:00
Abhimanyu Saharan
8e72b7e0bc
feat(error_handling): improve error payload serialization for JSON compatibility
2026-02-12 20:10:30 +05:30
Abhimanyu Saharan
bf7b992cca
docs(auth): clarify bearer parsing and Clerk claim extraction
2026-02-12 14:18:23 +00:00
Abhimanyu Saharan
e9e0d6960a
docs(backend): clarify auth/error-handling via docstrings
2026-02-12 08:27:31 +00:00
Abhimanyu Saharan
571b4844d9
feat: update local authentication mode to require a non-placeholder token of at least 50 characters
2026-02-11 19:40:33 +05:30
Abhimanyu Saharan
06ff1a9720
feat: implement local authentication mode and update related components
2026-02-11 19:40:33 +05:30
Abhimanyu Saharan
8d0b2939a6
feat: enhance logging configuration and add request logging context
2026-02-11 16:49:43 +05:30
Abhimanyu Saharan
6bc38f4997
refactor: remove unused local agent workspace logic and simplify provisioning
2026-02-10 19:20:50 +05:30
Abhimanyu Saharan
01888062a6
refactor(auth): streamline authentication flow and enhance error logging
2026-02-10 18:40:42 +05:30
Abhimanyu Saharan
5c25c4bb91
chore(backend): upgrade deps and remove redis/rq
2026-02-10 16:05:49 +05:30
Abhimanyu Saharan
822b13e6eb
refactor: enhance error handling and optimize user profile fetching logic
2026-02-10 00:50:43 +05:30
Abhimanyu Saharan
55d4c482bc
refactor: implement user deletion functionality and enhance settings management
2026-02-10 00:17:06 +05:30
Abhimanyu Saharan
3326100205
refactor: update Clerk authentication integration and improve organization handling
2026-02-09 23:55:52 +05:30
Abhimanyu Saharan
8f6347dc8d
refactor: simplify code formatting and improve readability across multiple files
2026-02-09 20:44:05 +05:30
Abhimanyu Saharan
020d02fa22
refactor: replace DefaultLimitOffsetPage with LimitOffsetPage in multiple files and update timezone handling to use UTC
2026-02-09 20:40:17 +05:30
Abhimanyu Saharan
dddd1e9a7a
refactor: improve type coercion functions and enhance type hints across multiple files
2026-02-09 17:43:42 +05:30
Abhimanyu Saharan
7ca1899d9f
refactor: update module docstrings for clarity and consistency
2026-02-09 15:49:50 +05:30
Abhimanyu Saharan
752cf48a0e
refactor: add trace method to logging.Logger for enhanced logging capabilities
2026-02-09 02:58:59 +05:30
Abhimanyu Saharan
724b6601f3
fix(security): restrict local workspace writes to configured root
2026-02-08 21:49:26 +05:30
Abhimanyu Saharan
e03125a382
feat: add organization-related models and update schemas for organization management
2026-02-08 21:16:26 +05:30
Abhimanyu Saharan
844b521d00
Touch agent presence on authenticated requests
2026-02-07 04:34:16 +05:30
Abhimanyu Saharan
e71507e0bf
feat: allow extra context during board onboarding
2026-02-07 03:40:28 +05:30
Abhimanyu Saharan
19323e25de
feat: implement error handling middleware with request ID tracking for improved error responses
2026-02-07 03:14:30 +05:30
Abhimanyu Saharan
4bab455912
feat: implement task dependencies with validation and update handling
2026-02-07 00:21:44 +05:30
Abhimanyu Saharan
5611f8eb67
feat: reorder properties in various interfaces for improved consistency and readability
2026-02-06 21:56:16 +05:30
Abhimanyu Saharan
6c14af0451
feat: add is_chat field to board memory and task_id to approvals, update pagination and response models
2026-02-06 19:11:11 +05:30
Abhimanyu Saharan
d86fe0a7a6
feat: add validation for minimum length on various fields and update type definitions
2026-02-06 16:12:04 +05:30
Abhimanyu Saharan
f258b756e8
feat: refactor imports and clean up code formatting across multiple files
2026-02-06 02:43:08 +05:30
Abhimanyu Saharan
4cc6c42440
feat: add is_board_lead property to agent and board types
2026-02-05 19:06:32 +05:30
Abhimanyu Saharan
5e342e6906
feat(tasks): Enhance task streaming and comment validation with markdown support
2026-02-05 03:05:14 +05:30
Abhimanyu Saharan
2c24d8993f
feat(agent): Refactor agent provisioning and cleanup logic for improved functionality
2026-02-05 01:27:48 +05:30
Abhimanyu Saharan
51313a9272
feat(activity): Simplify query statements and improve code readability
2026-02-05 00:21:33 +05:30
Abhimanyu Saharan
c3357f92d9
feat(agents): Add identity and soul template fields to board creation
2026-02-04 20:21:33 +05:30
Abhimanyu Saharan
4dea771545
feat(boards): Store gateway config per board
...
Move gateway configuration into board settings and wire agent\nprovisioning, heartbeat templates, and gateway status lookups\nto use board-specific gateway settings. Adds board_id on agents\nand UI updates for board-scoped selection.\n\nCo-Authored-By: Claude <noreply@anthropic.com >
2026-02-04 16:04:52 +05:30
Abhimanyu Saharan
2dd0d1f2cf
fix(app): Normalize provisioning templates and Clerk props
...
Use autoescape for Jinja rendering to satisfy bandit checks and\nremove deprecated Clerk SignInButton props to restore type checks.\nAlso ignore tsbuildinfo artifacts and tidy boot instructions.\n\nCo-Authored-By: Claude <noreply@anthropic.com >
2026-02-04 15:16:28 +05:30
Abhimanyu Saharan
b0e3208fa3
feat: enhance agent management with session handling and UI improvements
2026-02-04 14:58:20 +05:30