Skip to content
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
1831729
feat(session): add createdByAgentTool and subagentType columns
Astro-Han Apr 28, 2026
f53fa6c
feat(agent): mark child sessions with createdByAgentTool and subagent…
Astro-Han Apr 28, 2026
d356296
feat(message): extend SubtaskPart with subagent lifecycle fields
Astro-Han Apr 28, 2026
3fcf6a9
feat(session): add SubagentRun service with cap and per-row mutex
Astro-Han Apr 28, 2026
9ed1cb5
feat(prompt): add wasInterrupted query to AgentPromptOps
Astro-Han Apr 28, 2026
a039e52
feat(subagent-run): pin lifecycle events in recent_events ring
Astro-Han Apr 28, 2026
be8cb14
feat(session): single-writer guard for SubtaskPart lifecycle fields
Astro-Han Apr 28, 2026
b50815f
refactor(agent): scoped 8-step flow with slot finalizer and idempoten…
Astro-Han Apr 28, 2026
e24461e
feat(agent): tighten nested-deny gates to be unconditional
Astro-Han Apr 28, 2026
6daafe3
test(agent): cover subagent_session_id resume validation paths
Astro-Han Apr 28, 2026
b750dd2
feat(agent): structured output with status header and error sanitization
Astro-Han Apr 28, 2026
f643333
feat(subagent-run): implement recordRejected for cap rejection
Astro-Han Apr 28, 2026
0b6eb92
feat(agent_list): tool that lists subagents launched by parent session
Astro-Han Apr 28, 2026
e5a532e
feat(agent_output): tool that reads subagent result or transcript
Astro-Han Apr 28, 2026
efe15b8
feat(registry): register agent_list and agent_output tools
Astro-Han Apr 28, 2026
16a9d13
test(subagent-run): integration coverage for all five terminal states
Astro-Han Apr 28, 2026
be43372
test(subagent-run): assert slot/row lock ordering does not deadlock
Astro-Han Apr 28, 2026
0b4b2f7
fix(test): widen integration setup body error type
Astro-Han Apr 28, 2026
ae94857
fix(subagent-run): cap recent_events at 20, add readByToolCallID, nar…
Astro-Han Apr 28, 2026
5113c96
fix(agent): rely on wasInterrupted alone, isolate success-path finalize
Astro-Han Apr 28, 2026
26fcac1
fix(agent_output,agent_list): apply review fixes + migrate to Effect …
Astro-Han Apr 28, 2026
87cde6d
fix(agent_output): narrow catch tags and report total length on truncate
Astro-Han Apr 28, 2026
f345f9a
fix(agent_list): surface clock skew with "-" for negative elapsed
Astro-Han Apr 28, 2026
0984595
fix(subagent-run): tighten correctness, drop dead code, document cap
Astro-Han Apr 28, 2026
bc5d51f
fix(agent): sanitize at errorMessage entry, preserve cause, trim comment
Astro-Han Apr 28, 2026
d35edb1
fix(session): strengthen subtask lifecycle guard
Astro-Han Apr 28, 2026
58697a0
fix(prompt): self-clean interruptedSessions on read
Astro-Han Apr 28, 2026
e61b826
fix(session): allow first-write SubtaskParts so Session.fork still works
Astro-Han Apr 28, 2026
bf8039f
fix(agent_output): prefix canceled_by_user with status header in resu…
Astro-Han Apr 28, 2026
6bf8a1f
fix(agent): scrub Windows paths and tighten resume lookup catch
Astro-Han Apr 28, 2026
28e1227
fix(subagent-run): make patchSession single-assignment
Astro-Han Apr 28, 2026
98ed2bd
fix(session): guard immutable subtask linkage fields
Astro-Han Apr 28, 2026
23226e6
fix(subagent-run): refresh tool_call_id index on findLatestBySessionID
Astro-Han Apr 28, 2026
54bcb34
refactor(subagent-run): drop dead subagent_type from StartInput / Rej…
Astro-Han Apr 28, 2026
5bcf9cf
fix(subagent-run): persist lifecycle events on finalize and setConsumed
Astro-Han Apr 28, 2026
603e973
fix(agent): scan full child history for cancellation partial_result a…
Astro-Han Apr 28, 2026
fff327d
fix(subagent-run): hydrate subtask defaults for legacy rows
Astro-Han Apr 28, 2026
cb96c8e
refactor: drop unused last_activity, tighten agent_output cause swallow
Astro-Han Apr 28, 2026
81e3984
chore(agent): document why err-path keeps cause-rethrow
Astro-Han Apr 28, 2026
7ee356f
fix(subagent-run): tie-break newest-first sort on insertion index
Astro-Han Apr 28, 2026
c432d1b
fix(agent): squash cause before persisting outer-catch error message
Astro-Han Apr 28, 2026
027ad97
test(subagent-run): pin guard test to SubagentRunGuardViolation defect
Astro-Han Apr 28, 2026
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `session` ADD `created_by_agent_tool` integer DEFAULT false;--> statement-breakpoint
ALTER TABLE `session` ADD `subagent_type` text;
Loading
Loading