Skip to content

Add fail-closed AgentLoop SLS trace query smoke #100

Description

@shenjiecode

Scope

Add an opt-in, read-only AgentLoop trace query helper backed by the official Alibaba Cloud SLS Python SDK. Credentials must come only from a repository-external private file selected by TIANGONG_AGENTLOOP_QUERY_SECRET_FILE.

Acceptance

  • default path does not run cloud queries
  • missing/unsafe credential file fails closed
  • query output is bounded and never prints credential values or raw span content
  • service and expected Work/Task IDs are explicit inputs
  • deterministic contract tests require no cloud credential

This is diagnostics only and does not affect Tiangong authority, completion, authorization, or recovery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions