Home / Market / volcengine-tls

volcengine-tls

Use when operating Volcengine TLS (日志服务) through volclog in agent or CI sessions and you need a contract-first workflow for runtime selector resolution, discover/describe/exec routing, App resource or Topic resolution, envelope reading, large-result delivery, and error recovery without guessing commands, fields, or shortcut flows. 当用户提到火山引擎日志服务 TLS、volclog、日志检索/分析/导入/导出、 日志项目或日志主题等操作时调用。

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

Best Practices

Use this file only for runtime semantics, recovery posture, and credential handling. Routing belongs in routing.md; multi-step execution order belongs in sops.md.

Do not use this file to reopen surface selection once routing is already clear. This file refines the quick recovery map in SKILL.md; it does not override the main skill's default first response.

Contents

Runtime Signals

Read these signals in this order after routing is already clear:

  1. keep the chosen tool / workflow / raw surface fixed
  2. let CLI decide how the result is delivered
  3. inspect the flat error object only if the call failed

Key rules:

Contract View And Recovery Precedence

Dry-Run Scope

Envelope Filtering

Search, Histogram, And Analysis

Use this section to interpret result semantics after the surface has already been chosen.

Error Object

Failed envelopes use one flat error object.

Read it in this order:

  1. error.source
  2. error.kind
  3. error.hint
  4. error.code
  5. error.statusCode
  6. error.message
  7. error.details
  8. error.requestId

Interpretation rules:

Profile And Credential Selection

Credential selection is a host/runtime concern, not a business-input concern.

Preferred order:

  1. non-secret selector such as profile or environment label
  2. --secrets-file
  3. context.secrets_file
  4. process-scoped VOLCENGINE_ACCESS_KEY_ID / VOLCENGINE_ACCESS_KEY_SECRET only as fallback

Hard rule:

Doctor Boundary

Thin Client Boundary

The CLI validates contract shape and runtime preconditions. It does not validate business semantics for you.

What the CLI does validate:

What the CLI does not try to judge:

If the command reached the service without a local validation/decode/filesystem error, debug the business query and time window before assuming the CLI blocked something.

Recovery Signals

When the command already failed, follow the smallest next action:

| Signal | Smallest next action | | --- | --- | | unknown tool | Re-run tool list or workflow list for the group before guessing aliases or fallback names. | | missing --input | Re-read input_schema and input_encoding_hint, then resend inline JSON, stdin, or file input using the documented shape. | | filter matched no value | Inspect one unfiltered response first, then correct the --jmes-filter or execution.projection path. | | jmes filter returned literal null | Treat literal null as a successful projection result; only debug further if the command returned a real filter error instead. | | 401 Unauthorized | Run volclog doctor, then inspect credentials, region, and endpoint. | | 403 Forbidden | Check tenant/profile alignment first, then verify resource permissions before retrying. | | error.kind=server or 5xx | Read error.code, error.requestId, and error.statusCode first. Retry with backoff only when the operation contract permits it and the failure is clearly transient; otherwise reconcile or escalate with those identifiers. | | IndexNotExists | Inspect or create the index, then wait for readiness before retrying search. | | TopicAlreadyExist | Re-list topics in the target project, then switch to get or modify instead of repeating create. | | ProjectAlreadyExist | Re-list projects, then switch to get or modify instead of repeating create. | | ResultStatus=incomplete | Narrow the time range and rerun before trusting counts, rows, or empty results. | | search returned empty after write | Confirm selector, topic, time range, and index readiness before widening the query. | | huge stdout payload | Rerun with --output-mode file --output-dir <writable-dir>, or reduce stdout with --jmes-filter or execution.projection. | | unsupported_feature | Remove the unsupported capability such as page.all, or switch to a surface whose contract explicitly supports it. | | filesystem | Supply a writable --output-dir, or fix the local path and permissions before retrying. |

Known Traps