Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
692 commits
Select commit Hold shift + click to select a range
4bc5c96
test(durable): RED conformance for pending_input_count + steering wri…
RaviPidaparthi Jun 18, 2026
352b6c4
fix(durable): wire pending_input_count + serialize steering writes (s…
RaviPidaparthi Jun 18, 2026
f8cd2b4
fix(durable): finish spec 031 — drain conflict recovery, metadata ret…
RaviPidaparthi Jun 18, 2026
8801899
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 18, 2026
5453ac3
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 18, 2026
d351a44
test(durable): faithful local-provider lease rule exposes hosted drai…
RaviPidaparthi Jun 18, 2026
af72411
fix(durable): steering drain flips suspended->in_progress so the stee…
RaviPidaparthi Jun 18, 2026
f3a36c5
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 18, 2026
ea79cb3
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 18, 2026
dcc9609
build(demo): rebuild bundled wheels with spec 031 steering drain fix
RaviPidaparthi Jun 18, 2026
e8d8fc1
docs(durable): SOT — steering drain flips suspended->in_progress; lea…
RaviPidaparthi Jun 18, 2026
378153a
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 18, 2026
93eaca6
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 18, 2026
53c2736
samples(invocations): point durable-agent-demo at the working project…
RaviPidaparthi Jun 18, 2026
1b8ff15
samples(invocations): demo-client.sh auto-resolves endpoint from azd env
RaviPidaparthi Jun 18, 2026
e8e2f53
samples: hosted task-API 403 fixed — recommend hosted flow, local is …
RaviPidaparthi Jun 18, 2026
5679367
test(responses-durability): spec 032 P1 — hard depth gate + recovery-…
RaviPidaparthi Jun 18, 2026
1fcfa5b
test(durability): close B3 client-cancel-during-recovery + reconcile …
RaviPidaparthi Jun 18, 2026
119ece2
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 18, 2026
06b6aa0
fix(responses-durable): normalize agent_reference before persisting d…
RaviPidaparthi Jun 18, 2026
0b974f9
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 18, 2026
0aa8a59
build(agentserver): rebuild demo wheels — responses durability fix + …
RaviPidaparthi Jun 18, 2026
2c8d3d8
chore(agentserver-demos): commit azd env files for both durable demos
RaviPidaparthi Jun 18, 2026
52016f4
fix(responses-demo): make crash route recovery-aware (crash once, the…
RaviPidaparthi Jun 18, 2026
2672e44
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 18, 2026
a8a1813
test(responses-durable): close conformance gap — recovery with reques…
RaviPidaparthi Jun 18, 2026
a789d73
docs(agentserver-skills): correct API guidance that would misguide co…
RaviPidaparthi Jun 18, 2026
042ef86
Merge remote-tracking branch 'origin/main' into feature/agentserver-d…
RaviPidaparthi Jun 19, 2026
4bc53a4
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 19, 2026
06bfdde
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 19, 2026
5fe5b8c
fix(core-streaming): reopen FileBackedReplayEventStream after compact…
RaviPidaparthi Jun 19, 2026
6e2ddf0
fix(responses-durable): _persist_crash_failed terminal lands in clien…
RaviPidaparthi Jun 19, 2026
fc274be
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 19, 2026
8a54f80
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 19, 2026
74b0ec6
Spec 033 Phase 0: typed durable-recovery boundary (DurableResponseInput)
RaviPidaparthi Jun 24, 2026
fb36cd4
Spec 033 Phase 1: centralize durable dispatch (decide_disposition)
RaviPidaparthi Jun 24, 2026
e3cf818
Spec 033 Phase 2: decompose orchestrator god-methods (FR-005)
RaviPidaparthi Jun 24, 2026
9909fa1
fix(durability): preserve provider_created across cancel at created-t…
RaviPidaparthi Jun 24, 2026
f981511
test(durability): Spec 033 Phase 3 — pin streaming-wire seq single-au…
RaviPidaparthi Jun 24, 2026
8904ce6
style: black-format cancel-race regression test
RaviPidaparthi Jun 24, 2026
2674f7a
feat(core): public platform-contract surface for composed protocol la…
RaviPidaparthi Jun 24, 2026
79e5372
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 24, 2026
9308462
refactor(responses): consume public core platform-contract surface (F…
RaviPidaparthi Jun 24, 2026
0d1e184
refactor(responses): drop vestigial ctx_params dict in primitive sele…
RaviPidaparthi Jun 24, 2026
4195692
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 24, 2026
7f22e50
build(demo): rebuild bundled wheels with spec 033 changes
RaviPidaparthi Jun 24, 2026
4d93546
demo(responses): add DEMO_MODE input-integrity + clean-fail test routes
RaviPidaparthi Jun 25, 2026
d7b9658
test(demo): commit the hosted durable-responses battery + azd env
RaviPidaparthi Jun 25, 2026
f441de3
diag(demo): in-container oversized task-create HTTP trace capture
RaviPidaparthi Jun 25, 2026
14d93f3
diag(demo): A/B task-create trace (inline 201 vs attachment 500) + sh…
RaviPidaparthi Jun 25, 2026
b56ce6e
refactor(core): reframe durable->resilient terminology (spec 034 Phas…
RaviPidaparthi Jun 25, 2026
934db85
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
fd02683
refactor(responses): reframe durable->resilient terminology (Spec 034…
RaviPidaparthi Jun 25, 2026
0c86e24
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
832cc92
refactor(demo): reframe durable->resilient in invocations+responses s…
RaviPidaparthi Jun 25, 2026
2cc45a6
refactor(core): storage-prose accuracy in reframe (Spec 034 §2.9a)
RaviPidaparthi Jun 25, 2026
7f6b1b0
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
f441cd2
refactor(responses): storage-prose accuracy in reframe (Spec 034 §2.9a)
RaviPidaparthi Jun 25, 2026
ee9025b
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
a53ff27
refactor(responses): storage-prose in CHANGELOG (Spec 034 §2.9a)
RaviPidaparthi Jun 25, 2026
0ce0d0a
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
37b3a6c
build(demo): rebuild bundled wheels for core.tasks rename (Spec 034 P…
RaviPidaparthi Jun 25, 2026
972ff8a
chore(demo): update azd .env to deployed resilient agent endpoint (Sp…
RaviPidaparthi Jun 25, 2026
14287d6
docs(constitution): reframe durable->resilient terminology (Spec 034 …
RaviPidaparthi Jun 25, 2026
275619c
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
2aed9c8
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
2ab23a0
docs(skills): reframe durable->resilient in skills + wheels docs (Spe…
RaviPidaparthi Jun 25, 2026
f3b23f9
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
9a863bb
docs(core): drop fake "Resilient Functions" product name from reframe…
RaviPidaparthi Jun 25, 2026
333d74d
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
adbbede
docs(demo): final audit cleanup — storage-prose + stale branch refs (…
RaviPidaparthi Jun 25, 2026
34e5ad5
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
d23b123
fix(core): correct logger namespace mis-swap from reframe (Spec 034)
RaviPidaparthi Jun 25, 2026
be5fdc1
fix(responses): correct module-path mis-swap in import-lint docstring…
RaviPidaparthi Jun 25, 2026
ba9edc8
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
972dde7
fix(skills): correct module-path mis-swap core.agentserver -> core.ta…
RaviPidaparthi Jun 25, 2026
ef4bb61
docs(samples): clarify run-from-samples-dir for resilient_* invocatio…
RaviPidaparthi Jun 25, 2026
e853f8f
fix(samples): runnable-from-sample-dir + local preview deps for invoc…
RaviPidaparthi Jun 25, 2026
33ba2ce
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
a38cb73
fix(samples): install local preview agentserver packages for response…
RaviPidaparthi Jun 25, 2026
67e757b
fix(samples): add local core editable to langgraph/multiturn requirem…
RaviPidaparthi Jun 25, 2026
4b15a8a
refactor(invocations): move durable->resilient sample/test reframe to…
RaviPidaparthi Jun 25, 2026
a22e7b0
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
9749e2f
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
d294849
fix(samples): invocation-id dedup for resilient_copilot (fixes stuck …
RaviPidaparthi Jun 25, 2026
9e28ff0
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
7a81ec2
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
40174e4
fix(samples): make Copilot history the source of truth for resilient_…
RaviPidaparthi Jun 25, 2026
a8f70e1
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
6a7fc6d
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
477b7c3
fix(samples): close resilient_copilot SSE stream after turn completes
RaviPidaparthi Jun 25, 2026
2cdc5de
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
3c79b32
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
f879e16
fix(samples): close SSE stream producer-side when invocation completes
RaviPidaparthi Jun 25, 2026
859505d
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
fac78e4
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
03127a4
docs(samples): correct stream-close rationale comment
RaviPidaparthi Jun 25, 2026
078d2a4
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
0b7c5a7
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
738a7b6
docs(samples): use raw docstrings so usage curl commands copy-paste c…
RaviPidaparthi Jun 25, 2026
7bd2f49
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 25, 2026
774d5fb
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
60be586
docs(samples): use raw docstrings so responses usage curls copy-paste…
RaviPidaparthi Jun 25, 2026
3134dec
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 25, 2026
1db2edd
chore(agentserver): remove formatting churn and rewrite changelogs
RaviPidaparthi Jun 25, 2026
5b4a6af
fix(agentserver-core): resolve pylint/mypy/pyright findings in tasks …
RaviPidaparthi Jun 26, 2026
547c4b9
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 26, 2026
c9a9166
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 26, 2026
0af06d3
chore(agentserver-demo): rebuild preview wheels after core cleanup
RaviPidaparthi Jun 26, 2026
4a0c94c
Merge remote-tracking branch 'origin/main' into feature/agentserver-d…
RaviPidaparthi Jun 26, 2026
e8967c7
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 26, 2026
d958387
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 26, 2026
0626e4b
refactor(agentserver-core): fold state-path resolution into _config, …
RaviPidaparthi Jun 26, 2026
b784e6f
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 26, 2026
6f90aab
fix(agentserver-responses): import resolve_state_subdir from core._co…
RaviPidaparthi Jun 26, 2026
b1191d8
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 26, 2026
cbf9549
chore(agentserver-demo): rebuild preview wheels after core/responses …
RaviPidaparthi Jun 26, 2026
ceddd92
feat(tasks): add TaskManagerNotInitialized typed exception
RaviPidaparthi Jun 26, 2026
74cc640
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 26, 2026
becb59e
fix(responses): fail fast when a resilient task fails to start
RaviPidaparthi Jun 26, 2026
c14ea8a
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 26, 2026
00456bb
chore(agentserver-demo): rebuild preview wheels for typed-exception f…
RaviPidaparthi Jun 26, 2026
fcb42e9
chore(agentserver-demo): point demo + battery at gpt-5.4-nano Foundry…
RaviPidaparthi Jun 29, 2026
dd72380
docs(tasks-spec): correct LocalFileTaskProvider on-disk paths
RaviPidaparthi Jun 29, 2026
cbc47d9
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jun 29, 2026
042bb8d
docs(resilience-contract): codify request-time fail-fast on resilient…
RaviPidaparthi Jun 29, 2026
77c8f29
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 29, 2026
05e62cd
fix(responses): stable conversation_chain_id from embedded partition key
RaviPidaparthi Jun 30, 2026
2102514
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 30, 2026
0f2f2c9
chore(agentserver-demo): rebuild preview wheels for stable conversati…
RaviPidaparthi Jun 30, 2026
c3d7e7e
fix(responses): coerce AgentReference to JSON-safe dict in status-onl…
RaviPidaparthi Jun 30, 2026
9114913
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 30, 2026
397a0b3
chore(agentserver-demo): rebuild wheels with AgentReference snapshot fix
RaviPidaparthi Jun 30, 2026
eb699cc
fix(steering): host first steerable turn on the multi-turn primitive
RaviPidaparthi Jun 30, 2026
f3e09be
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jun 30, 2026
0c11218
build(demo): rebuild wheels with steerable first-turn primitive fix
RaviPidaparthi Jun 30, 2026
0742c0a
chore(demo): default to can-dev azd env and add .agentignore
RaviPidaparthi Jun 30, 2026
54a95ae
test(core-tasks): RED — RetryPolicy hard caps + module preset parity …
RaviPidaparthi Jul 1, 2026
1928359
feat(core-tasks): RetryPolicy hard caps (<=10 attempts, <=1h delay) +…
RaviPidaparthi Jul 1, 2026
1471338
test(core-tasks): RED — required name, timeout default/cap, input_id …
RaviPidaparthi Jul 1, 2026
118de5f
feat(core-tasks): required task name + 1-day timeout default/cap + in…
RaviPidaparthi Jul 1, 2026
9768b1c
test(core-tasks): RED — per-attachment cap raised to 10 MiB (spec 037…
RaviPidaparthi Jul 1, 2026
25bbf00
feat(core-tasks): raise per-attachment cap 2 MiB -> 10 MiB (spec 037 …
RaviPidaparthi Jul 1, 2026
fbc2a3a
docs(core-tasks): align task()/multi_turn_task() docstrings + overloa…
RaviPidaparthi Jul 1, 2026
fca2920
test(core-streaming): RED — terminal sentinel without emit_time + fil…
RaviPidaparthi Jul 1, 2026
4facb49
feat(core-streaming): durable terminal sentinel + stream-id filename …
RaviPidaparthi Jul 1, 2026
632e187
feat(core-streaming): ergonomic defaults for use_file_backed_replay (…
RaviPidaparthi Jul 1, 2026
83cea06
test(core-streaming): use_file_backed_replay ergonomic defaults (spec…
RaviPidaparthi Jul 1, 2026
a568f8d
docs(core): remove stale timeout-watchdog known-gap + clarify per-tur…
RaviPidaparthi Jul 1, 2026
8f3bcf5
fix(invocations-sample): remove unreachable 410 branch + adopt file-b…
RaviPidaparthi Jul 1, 2026
ff837f6
fix(core-tasks): keep two @overload defs (name required in both) so m…
RaviPidaparthi Jul 1, 2026
3836b19
fix(spec037 review): mark async input_id tests + close _safe_stream_f…
RaviPidaparthi Jul 1, 2026
7850ccf
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jul 1, 2026
a8e914c
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 1, 2026
7961b29
build(demo): rebuild wheels with spec 037 task/streaming parity changes
RaviPidaparthi Jul 1, 2026
94af4a7
Merge remote-tracking branch 'origin/main' into feature/agentserver-d…
RaviPidaparthi Jul 1, 2026
e233bd0
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jul 1, 2026
dd7dd2e
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 1, 2026
0e688af
feat(demo): bump responses protocol to 2.0.0 + rebuild wheels with pr…
RaviPidaparthi Jul 2, 2026
d7393b0
fix(responses): resilient persists use call_id=None + stamp record us…
RaviPidaparthi Jul 2, 2026
97081e2
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 2, 2026
9f13d03
build(demo): rebuild wheels with call_id=None resilient-persist fix
RaviPidaparthi Jul 2, 2026
516b242
fix(responses): omit call_id on Phase-2 UpdateResponse, not the whole…
RaviPidaparthi Jul 2, 2026
f89ca09
build(demo): rebuild wheels with Phase-2 UpdateResponse call_id fix
RaviPidaparthi Jul 2, 2026
e58108f
fix(responses): forward x-agent-user-id to storage (durable partition…
RaviPidaparthi Jul 2, 2026
c4f0dee
build(demo): rebuild wheels with user_id storage-forwarding fix
RaviPidaparthi Jul 2, 2026
a5b6416
fix(responses): create/get/delete forward user_id+call_id; only Phase…
RaviPidaparthi Jul 2, 2026
e5f2ef8
build(demo): rebuild wheels (Phase-2 update call_id omission)
RaviPidaparthi Jul 2, 2026
de35995
fix(responses): persist create-time call_id and reuse across resilien…
RaviPidaparthi Jul 2, 2026
9f9cba2
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 2, 2026
84475a7
build(demo): rebuild wheels with create-time call_id persistence fix
RaviPidaparthi Jul 2, 2026
9ae79ae
docs(responses): update living docs for protocol 2.0.0 platform_context
RaviPidaparthi Jul 2, 2026
b04aa8f
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 2, 2026
04b0a3d
feat(core-tasks): task-record schema cleanup — drop `_` key prefixes,…
RaviPidaparthi Jul 3, 2026
873f605
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jul 3, 2026
3ab813a
feat(responses): native per-case conversation chain ids (Spec 038 cha…
RaviPidaparthi Jul 3, 2026
63b2db0
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 3, 2026
6d581bc
build(demo): rebuild wheels with Spec 038 (schema cleanup + native ch…
RaviPidaparthi Jul 3, 2026
e096c8a
docs(responses): finish Spec 038 chain-id update in resilience SOT (4…
RaviPidaparthi Jul 3, 2026
68ab24a
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 3, 2026
36e87df
docs(core): complete Spec 038 wire-key update in task-streaming SOT (…
RaviPidaparthi Jul 3, 2026
79b4717
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jul 3, 2026
4fe24c7
docs(responses): de-underscore payload.steering ref in resilience SOT…
RaviPidaparthi Jul 3, 2026
c07d627
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 3, 2026
89f994f
fix(core-tasks): Spec 038 code-review remediation (pre-push gate + re…
RaviPidaparthi Jul 3, 2026
30f2190
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jul 3, 2026
17a6bc6
fix(responses): Spec 038 chain-id review finding — enforce strict Tas…
RaviPidaparthi Jul 3, 2026
2f66924
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 3, 2026
968a6bc
chore(demo): gitignore battery/runs artifacts (transient test output)
RaviPidaparthi Jul 3, 2026
142dfc3
chore(responses): remove stray demo build-context wheels from respons…
RaviPidaparthi Jul 3, 2026
f063099
chore(demo): stop tracking gitignored build-context wheels
RaviPidaparthi Jul 3, 2026
09ddae9
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 3, 2026
5bae5c6
build(demo): rebuild central wheels with Spec 038 code-review remedia…
RaviPidaparthi Jul 3, 2026
b0b71f5
chore(demo): stop tracking gitignored invocations-sample build-contex…
RaviPidaparthi Jul 3, 2026
01352c2
docs(core): document retry hard caps in tasks-guide; drop stale qualn…
RaviPidaparthi Jul 3, 2026
3df89fe
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jul 3, 2026
3b2c6c4
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 3, 2026
2c52b22
fix(responses): preserve handler-owned fields on framework-built term…
RaviPidaparthi Jul 10, 2026
1120e4d
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 10, 2026
c077b8d
chore(agentserver-demo): rebuild preview wheels with terminal-fidelit…
RaviPidaparthi Jul 10, 2026
19a0cd6
chore(agentserver-demo): commit reconstructed -can-dev azd env (rapid…
RaviPidaparthi Jul 10, 2026
b22a196
fix(core): normalize payload.turn_started_at to +00:00 offset (Spec 0…
RaviPidaparthi Jul 14, 2026
9c9adba
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jul 14, 2026
e6700bf
fix(responses): drop the _responses metadata mirror; source recovery …
RaviPidaparthi Jul 14, 2026
8ae0e55
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 14, 2026
581f7dd
chore(agentserver-demo): rebuild preview wheels with Spec 039 T1+R1
RaviPidaparthi Jul 14, 2026
78a7578
chore(agentserver-demo): bump can-dev deployed agent version pointer …
RaviPidaparthi Jul 14, 2026
7f03ecd
docs(responses): fix two stale disposition-metadata refs missed in Sp…
RaviPidaparthi Jul 14, 2026
7c36e10
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 14, 2026
13fb297
samples(responses): fix broken registration, leverage resilience prim…
RaviPidaparthi Jul 15, 2026
09b4e6d
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 15, 2026
443c1fa
samples(responses): rewrite sample_21 as real-time streaming LangGrap…
RaviPidaparthi Jul 15, 2026
660ae17
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 15, 2026
32372fa
test(responses): replace stale mock recovery tests for samples 19 & 2…
RaviPidaparthi Jul 15, 2026
9f39d0f
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 15, 2026
8b32c81
test(responses): add real crash-harness e2e for samples 20 & 22 — res…
RaviPidaparthi Jul 15, 2026
e8b3db3
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 15, 2026
aaac966
core+invocations: PY-1/PY-2 file-backed replay parity + delete copilo…
RaviPidaparthi Jul 15, 2026
6b8742f
test(responses): remove phantom sample_17 references (Spec 041 PY-4)
RaviPidaparthi Jul 15, 2026
f93cef4
samples(invocations): fix resilient_langgraph crash-recovery integrat…
RaviPidaparthi Jul 15, 2026
acfe581
samples(responses): fix latent checkpoint_ns KeyError in sample_21 fo…
RaviPidaparthi Jul 15, 2026
cb0988c
docs(core): add LangGraph fork / checkpoint_ns FAQ to tasks-guide (Sp…
RaviPidaparthi Jul 15, 2026
3c63318
core(tasks): auto-generate per-turn input_id for multi-turn tasks (Sp…
RaviPidaparthi Jul 15, 2026
af78626
demo(battery): deterministic crash-recovery proof + non-streaming GET…
RaviPidaparthi Jul 15, 2026
3049ada
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jul 15, 2026
2459932
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 15, 2026
1e669e4
chore(agentserver-demo): rebuild preview wheels after Spec 041 core c…
RaviPidaparthi Jul 15, 2026
4203f68
demo(battery): pin agent_session_id for crash session-affinity (Spec …
RaviPidaparthi Jul 15, 2026
a8d7f57
demo(battery): authoritative-GET terminal for crash cases + robust cr…
RaviPidaparthi Jul 15, 2026
fbec9d5
demo(client): fix interactive cross-terminal crash, endpoint self-dis…
RaviPidaparthi Jul 15, 2026
48c5e7c
demo(client): add UTC ISO-8601 timestamp banners to invocations demo-…
RaviPidaparthi Jul 15, 2026
76ccb83
Merge remote-tracking branch 'origin/main' into feature/agentserver-d…
RaviPidaparthi Jul 15, 2026
1eabb19
chore(agentserver): bump versions post main-merge (b7/b6/b8 already r…
RaviPidaparthi Jul 15, 2026
7fae6a6
Merge core (with origin/main) into responses; resolve conflicts + ver…
RaviPidaparthi Jul 15, 2026
65265fc
feat(agentserver-core): expose resolve_state_subdir on public core su…
RaviPidaparthi Jul 16, 2026
fe1b369
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jul 16, 2026
0673706
fix(agentserver-responses): consume public core resolve_state_subdir …
RaviPidaparthi Jul 16, 2026
baf06b6
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 16, 2026
5a9ddce
chore(agentserver-demo): rebuild preview wheels (core b8, invocations…
RaviPidaparthi Jul 16, 2026
b0cd086
chore(agentserver-demo): remove obsolete verify_crash_steer.py + stal…
RaviPidaparthi Jul 16, 2026
0716b89
test(agentserver-responses): add crash-while-steering resilience e2e
RaviPidaparthi Jul 16, 2026
11d42eb
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 16, 2026
bee217e
fix(agentserver): unblock+correct api.md generation (core, invocations)
RaviPidaparthi Jul 16, 2026
a490865
Merge branch 'feature/agentserver-durable-tasks' into feature/agentse…
RaviPidaparthi Jul 16, 2026
06423d4
chore(agentserver-responses): regenerate api.md (was stale since b29a…
RaviPidaparthi Jul 16, 2026
3878127
Merge branch 'feature/agentserver-responses-spec016' into feature/age…
RaviPidaparthi Jul 16, 2026
0952c12
Merge main into feature/agentserver-durable-tasks
shanmukha1200 Jul 22, 2026
7ae4e58
Merge feature/agentserver-durable-tasks into feature/agentserver-dura…
shanmukha1200 Jul 22, 2026
5bcd35c
Bump agentserver invocations to 1.0.0b8
shanmukha1200 Jul 22, 2026
fac355e
Merge durable-tasks bump and advance responses to 1.0.0b10
shanmukha1200 Jul 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions sdk/agentserver/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
specs/
.specify/
.github/
.vscode/

# Demo session state — regenerated each time the demo runs
.demo-session
23 changes: 23 additions & 0 deletions sdk/agentserver/azure-ai-agentserver-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Release History

## 2.0.0b9 (Unreleased)

### Features Added

- Task-record schema cleanup: framework-reserved wire keys in the persisted task record no longer carry a leading `_` (e.g. the `task_name` tag; the `schema_version` / `last_input_id` / `turn_started_at` / `retry_attempt` / `steering` payload keys; the `input` / `steering_input_<seq>` / `output` attachment keys) — only the `__attachment_ref__` discriminator keeps its marker. The `source` stamp now includes `hosting_environment` (from `FOUNDRY_HOSTING_ENVIRONMENT`), and the payload now carries a `schema_version` (currently `"1"`). Tasks persisted before this change (lacking `payload.schema_version`) are deleted rather than recovered by the recovery scan.

- Added a **resilient task primitive** for building long-running agents that survive container restarts, out-of-memory kills, and redeployments. Decorate an async function with `@task` (one-shot) or `@multi_turn_task` (multi-turn conversations); the framework persists task state to a task store and automatically recovers and re-invokes in-flight work after a crash. Available from `azure.ai.agentserver.core.tasks`, with `TaskContext`, `TaskRun`, configurable retries (`RetryPolicy`), cancellation, steering, and a typed exception set (`TaskFailed`, `TaskCancelled`, `TaskConflictError`, `TaskManagerNotInitialized`, and others). See the [Resilient Task Developer Guide](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/agentserver/azure-ai-agentserver-core/docs/tasks-guide.md).
- Added an **event streaming** API (`azure.ai.agentserver.core.streaming`) for publishing incremental task output to one or more subscribers, with in-memory and file-backed buffering and live or replay delivery. This makes it straightforward to serve Server-Sent Events (SSE) responses that a client can disconnect from and resume. See the [Streaming Developer Guide](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/agentserver/azure-ai-agentserver-core/docs/streaming-guide.md).
- Exposed `resolve_state_subdir(name)` on the public `azure.ai.agentserver.core` surface. It resolves an on-disk state subdirectory (e.g. `"tasks"`, `"streams"`, `"responses"`) under the shared agent-server state root (`AGENTSERVER_STATE_ROOT`, or `~/.agentserver` when unset), so protocol packages persist state under the same operator-controlled root.

### Other Changes

- `streams.use_file_backed_replay(...)` now has ergonomic defaults so the common case is a single call supplying only `cursor_fn`: `storage_dir` defaults to `resolve_state_subdir("streams")` (a `streams` directory under the agent-server state root, alongside `tasks`), `ttl_seconds` defaults to 600 (10 minutes), and serialization defaults to JSON.
- File-backed replay streams now sanitize the stream id before using it as an on-disk filename: well-formed ids (`[A-Za-z0-9._-]`, no `.`/`..` segment) are used verbatim, and any id containing a path separator or other unsafe character is SHA-256 hash-encoded to an `h_<hex>` filename so it can never escape the storage directory or collide with another stream. The file-backed terminal sentinel is now written as `{"__terminal__": true}` (the non-durable `emit_time` field was dropped; close-time is best-effort on rehydration).
- The per-attachment value cap was raised from 2 MiB to **10 MiB** (per-input payloads spill into `task.attachments`). The 1 MB `task.payload` budget, the inline-promotion thresholds (`_input` 200 KiB, steering input 20 KiB), and the 20-attachments-per-task limit are unchanged.
- `@task` / `@multi_turn_task` now require an explicit `name=` (the stable recovery/identity anchor); the previous `func.__qualname__` fallback is removed because it silently rebound task identity when a handler was renamed or moved, orphaning in-flight tasks. Omitting `name` (or passing whitespace) now raises `ValueError` at decoration.
- The per-turn task `timeout` now defaults to **1 day** when unset (previously unbounded) and enforces **1 day as a hard ceiling** — a larger or negative value is rejected at registration (`ValueError`). This caps a single handler invocation only; multi-turn chains still live indefinitely across turns (the budget resets each turn).
- A caller-supplied `input_id` on `Task.start` / `Task.run` (and the multi-turn equivalents) is now validated against the same charset/length pattern as `task_id`; an invalid id raises `ValueError` before any provider call.
- `RetryPolicy` now enforces hard caps at construction (fail-fast, not clamped): `max_attempts` must be 1–10 and `max_delay` must be 0–1 hour; out-of-range values raise `ValueError`. The zero-argument module-level presets (`exponential_backoff()`, `fixed_delay()`, `linear_backoff()`) now match their `RetryPolicy.<preset>()` classmethod values so retry cadence is identical across the Python and .NET implementations.
- Added `azure-core` as a dependency, and a `hosted` optional-dependencies extra (pulling in `azure-identity`) for hosted-agent deployments.
- `resolve_graceful_shutdown_timeout()` now honors the `AGENTSERVER_GRACEFUL_SHUTDOWN_TIMEOUT_SECONDS` environment variable, letting operators shorten shutdown so task checkpoints can flush before long-running requests finish.
- Added diagnostic logging (logger `azure.ai.agentserver.streaming`) to the event-streaming subsystem covering stream creation/deletion, crash-recovery rehydration of file-backed streams, and corruption/lock-contention failures, to aid debugging in production.

## 2.0.0b8 (2026-07-22)

### Features Added
Expand Down
1 change: 0 additions & 1 deletion sdk/agentserver/azure-ai-agentserver-core/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
include *.md
include LICENSE
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/__init__.py
include azure/ai/__init__.py
include azure/ai/agentserver/__init__.py
Expand Down
24 changes: 24 additions & 0 deletions sdk/agentserver/azure-ai-agentserver-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,29 @@ export APPLICATIONINSIGHTS_CONNECTION_STRING="InstrumentationKey=..."
python my_agent.py
```

### Resilient long-running agents

The `@task` decorator builds crash-resilient agents that survive container restarts, OOM kills, and redeployments. Task state is persisted to a task store, enabling automatic recovery and multi-turn suspend/resume patterns.

```python
from azure.ai.agentserver.core.tasks import task, TaskContext

@task
async def process_document(ctx: TaskContext[dict]) -> dict:
# ctx.entry_mode is "fresh" | "resumed" | "recovered".
# The framework re-invokes the handler from the top after a
# crash; ctx.input survives, so the handler picks up.
summary = await analyze(ctx.input["document_url"])
return {"summary": summary}

result = await process_document.run(
task_id="doc-42", input={"document_url": "..."},
)
print(result.output) # {"summary": "..."}
```

See the [Developer Guide](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/agentserver/azure-ai-agentserver-core/docs/tasks-guide.md) for streaming, multi-turn suspend/resume, retries, timeouts, steering, and the patterns reference.

## Troubleshooting

### Logging
Expand All @@ -193,6 +216,7 @@ To report an issue with the client library, or request additional features, plea
## Next steps

- Install [`azure-ai-agentserver-invocations`](https://pypi.org/project/azure-ai-agentserver-invocations/) to add the invocation protocol endpoints.
- Read the [Resilient Task Developer Guide](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/agentserver/azure-ai-agentserver-core/docs/tasks-guide.md) for crash-resilient long-running agents.
- See the [container image spec](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/agentserver) for the full hosted agent contract.

## Contributing
Expand Down
Loading
Loading