Skip to content

feat(aidd-telemetry): record orchestration pauses and resumptions #970

Closed as not planned

Description

@blafourcade

Objective / Problem

An interactive SDLC run can wait for a person's decision on its contract, plan or final outcome. Telemetry currently records no explicit pause or resumption, so its journal cannot distinguish that wait from continued orchestration.

This requirement was deferred from #910 when #967 shipped.

Proposed Solution

Record orchestration pauses and resumptions, linked to the same session, orchestration and decision gate. Distinguish a human decision wait from an ordinary end of turn.

The orchestrator owns when it pauses and resumes; telemetry owns recording the observations. Measurement remains opt-in and never controls whether the workflow continues.

Context / Technical Constraints

  • Reuse the existing append-only journal and attribution contracts.
  • Record timestamps and gate identity without copying the user's response or artifact contents.
  • A rejection followed by revision and another pause remains attributable to the same orchestration.
  • Preserve existing journal readers and cost attribution.
  • Report redesign and changes to the SDLC's approval gates are outside this issue.

QA

  • An interactive run records each actual pause and resumption at the contract, plan and outcome gates.
  • Rejection, revision and another pause remain distinguishable without duplicate observations.
  • An autonomous run does not emit human approval waits.
  • Disabling telemetry leaves the orchestration unchanged and writes no observations.
  • Existing journal records still parse and existing cost attribution tests remain green.
  • Verify the behavior in Claude Code and Codex; document any host limitation.

References

Activity

  1. blafourcade commented on Oct 15, 2026

    @blafourcade
    ContributorAuthor

    Superseded by #993: release 1 measures tokens per session, task and ticket; orchestration events are not recorded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    Priority

    Medium

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions