Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e1e19bd
fix(agent): exclude lifecycle-only traces
Pepps233 Aug 22, 2026
4cd9fb9
fix(agent): reject shutdown evidence
Pepps233 Aug 22, 2026
072e03c
fix(agent): strip shutdown trace metadata
Pepps233 Aug 22, 2026
0cfd9d2
fix(agent): create traces on demand
Pepps233 Aug 22, 2026
a57eae0
fix(agent): scope lifecycle diagnostics
Pepps233 Aug 22, 2026
d9e7bfb
fix(agent): persist evidence exclusions
Pepps233 Aug 22, 2026
3ab87ad
fix(agent): consume excluded trace ranges
Pepps233 Aug 22, 2026
6cc2c49
fix(agent): align eligible evidence totals
Pepps233 Aug 22, 2026
7e8b619
fix(agent): cap leaf reflection lessons
Pepps233 Aug 22, 2026
75cbb30
fix(agent): separate lesson limits
Pepps233 Aug 22, 2026
0096ceb
fix(agent): account provider rounds
Pepps233 Aug 22, 2026
47c4939
fix(agent): bound reflector nodes
Pepps233 Aug 22, 2026
926b1ee
fix(agent): bound reflection runtime
Pepps233 Aug 22, 2026
7989a8f
fix(agent): persist reflector runtime
Pepps233 Aug 22, 2026
53056aa
fix(agent): parallelize leaf reflection
Pepps233 Aug 22, 2026
e16c6d0
fix(agent): require actionable evolution
Pepps233 Aug 22, 2026
6356080
fix(agent): propagate prompt lineage
Pepps233 Aug 22, 2026
dd583e0
fix(agent): cover lifecycle evolution flows
Pepps233 Aug 22, 2026
4a744a1
fix(agent): anchor evolution evidence
Pepps233 Aug 22, 2026
6f1095c
fix(coding-agent): exclude lifecycle-only traces
Pepps233 Aug 22, 2026
8ab3ba3
fix(agent): bootstrap empty evolution memory
Pepps233 Aug 22, 2026
4a2a747
feat(agent): number evolution lessons
Pepps233 Aug 22, 2026
bd779f6
feat(agent): compact lesson numbering
Pepps233 Aug 22, 2026
dc35252
fix(agent): version harness manifests
Pepps233 Aug 23, 2026
d2dc737
fix(agent): reject malformed UTF-16
Pepps233 Aug 23, 2026
fff7c67
feat(coding-agent): add evolution toggle
Pepps233 Aug 23, 2026
332eed4
feat(agent): clarify evolution identities
Pepps233 Aug 23, 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
1 change: 1 addition & 0 deletions packages/coding-agent/src/core/agent-session-lifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export type InvocationSessionAttachmentReason = "startup" | "resume" | "new" | "

export interface AgentSessionOperationSettlement {
operationId: string;
taskLineageId?: string;
sessionManager: SessionManager;
firstEntryOrdinal: number;
}
Expand Down
10 changes: 8 additions & 2 deletions packages/coding-agent/src/core/agent-session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1373,12 +1373,14 @@ export class AgentSession {
callback: (telemetryContext: TelemetryContext) => Result | Promise<Result>,
): Promise<Result> {
const operationId = uuidv7();
const taskLineageId = kind === "prompt" ? operationId : undefined;
const firstEntryOrdinal = this.sessionManager.getEntryCount();
const operation = startCodingAgentSpan(
this.agent.telemetryContext,
"diffex.coding_agent.operation",
{
"diffex.operation.id": operationId,
...(taskLineageId === undefined ? {} : { "diffex.task.lineage.id": taskLineageId }),
"diffex.session.id": this.sessionId,
"diffex.operation.kind": kind,
},
Expand Down Expand Up @@ -1406,10 +1408,14 @@ export class AgentSession {
}
},
);
return operation.finally(() => this._notifyOperationSettled({ operationId, firstEntryOrdinal }));
return operation.finally(() => this._notifyOperationSettled({ operationId, taskLineageId, firstEntryOrdinal }));
}

private async _notifyOperationSettled(options: { operationId: string; firstEntryOrdinal: number }): Promise<void> {
private async _notifyOperationSettled(options: {
operationId: string;
taskLineageId?: string;
firstEntryOrdinal: number;
}): Promise<void> {
try {
await this._lifecycleObserver?.operationSettled({
...options,
Expand Down
Loading