Skip to content

Trace: local mode — record AI coding sessions without a control plane #3582

Open

Description

@matiasinsaurralde

Problem

Chainloop Trace needs a control plane. The init step creates a workflow and needs a login, and a git push attests the session to the backend. So a developer cannot record AI coding sessions without an account, credentials, and a network. Some teams want local recording with no backend at all, for evaluation, air-gapped machines, privacy, or a trial before adopting the backend.

Proposal

Add a local mode. A repository records its sessions and stores them on disk, with no control plane. The mode is set in .chainloop.yml with traceStorage: LOCAL and an optional tracePath. The normal flow works: run the harness, write code, and push. The pre-push hook runs the same push-time assembly and stores the session under the path, and tells the user where it went. traceRequired replaces requireTrace. Exporting an already-recorded session on demand is a separate feature, left to a future spec.

Design spec: docs/specs/issue-3582-trace-evidence-export.md (PR #3583).

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions