Skip to content

(feat) [TEL5-P3-S2] Record types, generated schema, gate, install ID file, and sender #14031

Description

@wscurran

Stage TEL5-P3-S2 of the v1 telemetry epic #13995.

What

Create the telemetry module in crates/nemoclaw-cli/src/telemetry/:

  • record.rs: the 5.0 record as Rust types with closed lists of values. The JSON schema is generated from these types.
  • gate.rs: one decision at process start. Nothing is sent when NEMOCLAW_DISABLE_TELEMETRY or a CI variable is set (present, not empty, and not false or 0 in any letter case, so 1, yes, and TRUE all turn telemetry off), when the test label is malformed, or under tests.
  • identity.rs: reads or creates a local file holding a random install ID and the last version seen. The ID is not derived from the machine.
  • send.rs: one POST, 3 second limit, errors ignored. Fixed endpoint or loopback only.

The module stays under 600 lines plus tests.

Follows

TEL5-P1-S0 and TEL5-P1-S4, and the security and privacy review answer.

Done when

  • Every record validates against the generated schema.
  • Two runs on one machine share one installId; firstRun is true only the first time.
  • A version change sets previousVersion.
  • The gate test cases pass, with no network.

Activity

  1. added this to the Roadmap: Q4 2026 milestone on Oct 30, 2026
  2. self-assigned this
    on Oct 30, 2026
  3. added
    area: cli
    area: observability
    v1
    on Oct 30, 2026
  4. added theissue type on Oct 30, 2026
  5. changed the title [-]Build the v1 telemetry sender in nemoclaw-cli[/-] [+](feat) [TEL5-P3-S2] Record types, generated schema, gate, install ID file, and sender[/+] on Nov 20, 2026
  6. changed the issue type fromtoon Nov 20, 2026
  7. wscurran commented on Nov 20, 2026

    @wscurran
    ContributorAuthor

    Work on this stage has started. The design has been reviewed and the 5.0 schema is uploaded to TEST.

  8. added a commit that references this issue on Nov 23, 2026
    105e002
  9. wscurran commented on Nov 23, 2026

    @wscurran
    ContributorAuthor

    Done in #14792, merged into v1.

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

Metadata

Metadata

Assignees

Labels

area: cliarea: observabilityv1

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions