Receber por email
← Voltar para o catálogo

aria-probe

Run a 4-step validation probe for the aria-cowork spec. Tests whether this Cowork plugin can verify cwd, write to the user-attached knowledge folder, read a file pre-placed by aria-knowledge in Code, and capture or fall back gracefully on the transcript surface. Outputs structured results both to the conversation and to a probe-results file. Use when validating the aria-cowork spec before Phase 1

16estrelas
Atualizado há 3 meses

Ver no GitHub ↗ Licença: NOASSERTION

Como adicionar

/plugin marketplace add mikeprasad/aria-knowledge

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/aria-probe/svg)](https://www.skillteca.com.br/skills/aria-probe)

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

aria-probe

You are running a validation probe for the aria-cowork plugin spec. Your goal is to determine whether this Cowork environment supports the bidirectional knowledge folder pattern that aria-cowork's design depends on.

You will perform 4 probes in sequence. For each probe, output a clear PASS/FAIL/INCONCLUSIVE verdict to the conversation AND append a structured result line to probe-results-<timestamp>.md at the cwd root.

Setup

Before the first probe, ensure both expected folders are attached. Ask the user:

This probe needs two folder attaches for full coverage:
1. Required: your knowledge folder (e.g. ~/Projects/knowledge/) — used by probes 11, 2, 3, 7
2. Optional but recommended: ~/.claude/ — used by probe 12 (tests whether Cowork can read the legacy aria-knowledge.local.md config)
If both are attached via Cowork's folder picker, confirm the absolute paths. If only the knowledge folder is attached, probes 11/2/3/7 will run but probe 12 will be skipped. If neither is attached, attach at least the knowledge folder via Cowork's folder picker, then re-run /aria-probe.

If the user confirms at least the knowledge folder is attached, proceed. Probe 12 has its own gate that handles the absent-~/.claude/ case gracefully.

Once attached, create the results file at the cwd root with this header:

# aria-cowork validation probe results

**Date:** <ISO 8601 timestamp>
**Cowork version:** <ask user; if not known, write "unknown">
**Attached folder:** <absolute path the user confirmed>

---

## Results

Probe 11 — Folder attachment / cwd resolution

Question: Does cwd resolve to the user-attached folder?

Action:

  1. Output the current working directory.
  2. Compare to the path the user confirmed.

Verdict:

  • PASS — cwd matches the user-confirmed attached folder.
  • FAIL — cwd is different (e.g. resolves to a sandbox path or empty).
  • INCONCLUSIVE — cwd cannot be determined.

Append to results file:

### Probe 11 — Folder attachment
- cwd resolved to: `<actual cwd>`
- user-confirmed attach: `<user path>`
- **Verdict:** PASS | FAIL | INCONCLUSIVE

If FAIL, stop here and report. The remaining probes depend on this one.

Probe 2 — Filesystem write to attached folder

Question: Can this plugin write a new file under the user-attached folder?

Action:

  1. Generate a timestamp: YYYY-MM-DDTHH-MM-SS.
  2. Create a directory probe-test/ at cwd root if it doesn't exist.
  3. Write the following file at probe-test/cowork-write-test-<timestamp>.md:
---
written_by: aria-probe (running in Cowork)
written_at: <timestamp>
purpose: validation probe 2 — confirm Cowork plugin can write user folder
---

This file was written by aria-probe in Cowork to verify probe 2 of the aria-cowork validation gate.

If aria-knowledge (in Code) can read this file, probes 2 and 3 of the validation gate pass.
  1. Verify the file exists by reading it back.

Verdict:

  • PASS — file was created and read-back content matches what was written.
  • FAIL — write was rejected, or read-back failed, or content didn't match.
  • INCONCLUSIVE — error during the operation that doesn't clearly indicate write capability.

Append to results file:

### Probe 2 — Filesystem write
- write target: `probe-test/cowork-write-test-<timestamp>.md`
- write succeeded: yes | no
- read-back matches: yes | no
- error (if any): `<error text>`
- **Verdict:** PASS | FAIL | INCONCLUSIVE

Probe 3 — Cross-surface read

Question: Can this plugin read a file that aria-knowledge (in Code) wrote earlier?

Setup pre-condition: A fixture file should already exist at probe-test/code-write-test.md. (If not, the user is instructed via README.md to place it first.)

Action:

  1. Check whether probe-test/code-write-test.md exists.
  2. If it exists, read it.
  3. Validate that the content has the expected fixture marker (the fixture file contains the literal string FIXTURE_MARKER:ARIA_PROBE_3_CODE_SIDE_WROTE_THIS).

Verdict:

  • PASS — file was found, read, and contained the expected marker.
  • FAIL — file was not found, or didn't contain the expected marker.
  • INCONCLUSIVE — read attempt errored in a way that doesn't indicate file absence (e.g. permission error mid-read).

Append to results file:

### Probe 3 — Cross-surface read
- target: `probe-test/code-write-test.md`
- file found: yes | no
- expected marker present: yes | no
- file contents (first 200 chars): `<excerpt>`
- error (if any): `<error text>`
- **Verdict:** PASS | FAIL | INCONCLUSIVE

Probe 7 — Transcript capture surface

Question: Can this plugin capture the current conversation transcript, or must it fall back to user-paste?

Action:

  1. Attempt to read the conversation history. Cowork may expose this via:
  2. A built-in tool (try invoking it if you know one)
  3. A file in the Cowork app data directory (try common paths if any are documented)
  4. No mechanism (then fall back to user-paste)
  5. If automated capture works, write a snippet of the conversation to probe-test/transcript-capture-<timestamp>.md.
  6. If no automated capture, prompt the user: "Cowork does not appear to expose a transcript API. Paste the relevant part of this conversation here, or skip this probe."

Verdict:

  • PASS (auto) — transcript captured automatically.
  • PASS (paste) — user-paste fallback works (acceptable degraded mode).
  • FAIL — neither automated nor paste-fallback succeeded.
  • SKIPPED — user chose to skip.

Append to results file:

### Probe 7 — Transcript capture
- automated capture attempted: yes | no
- automated capture worked: yes | no
- mechanism (if any): `<description>`
- fallback used: paste | skip | none
- **Verdict:** PASS (auto) | PASS (paste) | FAIL | SKIPPED

Probe 12 — Legacy aria-knowledge config readability (v0.2.0 addition)

Question: If the user attaches ~/.claude/ as an additional workspace folder, can this Cowork plugin read ~/.claude/aria-knowledge.local.md (the existing aria-knowledge config from Code)?

Why this matters: if YES, aria-cowork doesn't need to relocate config to <knowledge_folder>/aria-config.md — it can read the existing aria-knowledge config directly, retiring the planned aria-knowledge v2.13.0 migration entirely. ADR-002 simplifies. If NO, the current relocation plan stands.

Action:

  1. Detect whether ~/.claude/ is attached. Scan /sessions/*/mnt/ for a folder whose name matches .claude OR whose contents look like a Claude Code config dir (presence of aria-knowledge.local.md, settings.json, or projects/).
  2. If ~/.claude/ is NOT attached: mark probe 12 as NOT_TESTED and report: "~/.claude/ not attached to this session. Attach it and re-run /aria-probe to test probe 12. (Optional — probe 12 only affects ADR-002's config-relocation decision.)"
  3. If ~/.claude/ IS attached:

a. Compute the absolute path equivalent: /Users/<user>/.claude/aria-knowledge.local.md (use $HOME resolution if the user shell is reachable, or ask the user to confirm their home directory absolute path). b. Try reading the file via BOTH:

  • The sandbox-mount path (<sandbox-mount-of-.claude>/aria-knowledge.local.md)
  • The absolute path (/Users/<user>/.claude/aria-knowledge.local.md)

c. Report which paths worked. d. If the read succeeded, validate that the file contains a knowledge_folder: field in YAML frontmatter (proves it's a real aria-knowledge config, not an unrelated file at the same path).

  1. Edge case — file doesn't exist: if ~/.claude/ IS attached but aria-knowledge.local.md is missing (user hasn't set up aria-knowledge in Code), mark CONFIG_NOT_FOUND and report: *"~/.claude/ is reachable but no aria-knowledge.local.md found there. This is normal if you've never run aria-knowledge'
Compartilhar X LinkedIn