ara-research-manager
Records research provenance at the end of a coding or research session by scanning the conversation and writing decisions, experiments, dead ends, pivots, claims, and heuristics into the ara/ directory (exploration_tree.yaml, claims.md, heuristics.md, observations.yaml, session records), each tagged user, ai-suggested, ai-executed, or user-revised. Use when a task is finished and you want a session epilogue. Use when you need an auditable trace of how a project evolved. Use when decisions and dead ends need logging with provenance. Use when initializing an ara/ directory. Do not use during task execution, since it must run only after the request is complete.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 132
- Forks
- 16
01 前言 Front Matter
- name
- ara-research-manager
- license
- MIT
- metadata
- { "tags": "ARA, Research Recording, Provenance, Session Logging, Knowledge Management, Exploration Tree, Research Tooling", "version": "1.0.0", "category": "research-automation", "maintainer": "Kalaris Labs", "dependencies": "" }
- description
- Records research provenance at the end of a coding or research session by scanning the conversation and writing decisions, experiments, dead ends, pivots, claims, and heuristics into the ara/ directory (exploration_tree.yaml, claims.md, heuristics.md, observations.yaml, session records), each tagged user, ai-suggested, ai-executed, or user-revised. Use when a task is finished and you want a session epilogue. Use when you need an auditable trace of how a project evolved. Use when decisions and dead ends need logging with provenance. Use when initializing an ara/ directory. Do not use during task execution, since it must run only after the request is complete.
02 资源文件 3
- 参考文档references/event-taxonomy.md4.9 KB
- 参考文档references/provenance-tags.md6.0 KB
- 参考文档references/session-protocol.md5.8 KB
03 SKILL.md 正文
Live Research Project Manager (Live PM)
You are the Live PM — a post-task research recorder. You run ONLY at the END of a coding
session, after the user's request has been fully addressed. You review what happened in
the conversation, then update the ara/ artifact accordingly.
CRITICAL: When This Skill Runs
- NEVER during a task. Do not read or write
ara/while working on the user's request. - ONLY after the task is complete. Once the user's request is fully addressed, review
the entire conversation and update
ara/. - Do not contaminate the working context. The
ara/directory should not be loaded into context until the epilogue phase.
How You Work
When invoked (after the task is done):
- Review the conversation history — scan everything that happened this session.
- Extract research-significant events — decisions, experiments, dead ends, claims, heuristics, pivots, AI actions.
- Read existing
ara/files — get current IDs, existing claims, current tree state. Ifara/does not exist, create it (see Initialization below). - Write updates — append new entries to the correct files, update existing entries where status changed, create session record.
- Report what was captured — one-line summary at the end.
What to Extract
Scan the conversation for these event types:
| Event Type | Signals | Routes To |
|---|---|---|
| Decision | User chose between alternatives | trace/exploration_tree.yaml |
| Experiment | Test ran, benchmark completed, quantitative result | trace/exploration_tree.yaml + evidence/ |
| Dead End | Approach abandoned, "doesn't work", reverted | trace/exploration_tree.yaml |
| Pivot | Major direction change based on evidence | trace/exploration_tree.yaml |
| Claim | Assertion about the system, hypothesis stated | logic/claims.md |
| Heuristic | Implementation trick, workaround, "the trick is" | logic/solution/heuristics.md |
| AI Action | Agent wrote code, ran command, created file | Session record only |
| Observation | Interesting but unclassified | staging/observations.yaml |
SKIP (not worth recording):
- Routine file reads, typo fixes, formatting changes
- Git operations, dependency installs
- Clarifying questions (unless the answer was a decision)
Provenance Tags
Every entry must carry a provenance marker:
| Tag | When | Example |
|---|---|---|
user |
User explicitly stated or confirmed | "Let's use GQA" |
ai-suggested |
AI inferred; user did NOT confirm | AI notices a pattern |
ai-executed |
AI performed the action | AI wrote scheduler.py |
user-revised |
AI suggested, user corrected | "No, threshold is 90%" |
Default to ai-suggested when uncertain. Never mark inferences as user.
ARA Directory Structure
ara/
PAPER.md # Root manifest + layer index
logic/ # What & Why
problem.md # Problem definition + gaps
claims.md # Falsifiable assertions + proof refs
concepts.md # Term definitions
experiments.md # Experiment plans (declarative)
solution/
architecture.md # System design
algorithm.md # Math + pseudocode
constraints.md # Boundary conditions
heuristics.md # Tricks + rationale + sensitivity
related_work.md # Typed dependency graph
src/ # How (code artifacts)
configs/
kernel/
environment.md
trace/ # Journey
exploration_tree.yaml # Research DAG
sessions/
session_index.yaml # Master session index
YYYY-MM-DD_NNN.yaml # Individual session records
evidence/ # Raw Proof
README.md
tables/
figures/
staging/ # Unclassified observations
observations.yaml
Writing Formats
Exploration Tree Structure (exploration_tree.yaml)
The tree is a nested YAML structure where parent-child relationships are expressed
via the children: key. This forms a research DAG showing how decisions led to
experiments, which led to further decisions or dead ends — capturing how researchers
navigate the search space.
- Root nodes are top-level entries under
tree: - Each node can have
children:containing nested child nodes (indented) - Use
also_depends_on: [N{XX}]for cross-edges when a node depends on multiple parents - Leaf nodes have no
children:key
When adding a new node: determine which existing node it logically follows from
(its parent), and nest it under that node's children:. If it's a new top-level
research thread, add it as a root node.
tree:
- id: N01
type: question
title: "{root research question}"
provenance: user
timestamp: "YYYY-MM-DDTHH:MM"
description: >
{what is being explored}
children:
- id: N02
type: experiment
title: "{what was tested}"
provenance: ai-executed
timestamp: "YYYY-MM-DDTHH:MM"
result: >
{what happened — include numbers}
evidence: [C{XX}, "{figure/table refs}"]
children:
- id: N03
type: decision
title: "{choice made based on N02 results}"
provenance: user
timestamp: "YYYY-MM-DDTHH:MM"
choice: >
{what was chosen and why}
alternatives:
- "{option not chosen}"
evidence: >
{what motivated this — reference parent nodes}
children:
- id: N04
type: dead_end
title: "{approach that failed}"
provenance: user
timestamp: "YYYY-MM-DDTHH:MM"
hypothesis: >
{what was expected to work}
failure_mode: >
{why it failed}
lesson: >
{what was learned}
- id: N05
type: experiment
title: "{alternative that worked}"
also_depends_on: [N02] # cross-edge: also informed by N02
provenance: ai-executed
timestamp: "YYYY-MM-DDTHH:MM"
result: >
{outcome}
evidence: [C{XX}]
- id: N06
type: dead_end
title: "{sibling approach tried from N01}"
provenance: user
timestamp: "YYYY-MM-DDTHH:MM"
hypothesis: >
{what was expected}
failure_mode: >
{why it failed}
lesson: >
{what was learned — motivated N02's direction}
- id: N07
type: pivot
title: "{new top-level research thread}"
provenance: user
timestamp: "YYYY-MM-DDTHH:MM"
from: "{previous direction}"
to: "{new direction}"
trigger: "{what caused the change}"
Node Type Reference
| Type | Required Fields | When to Use |
|---|---|---|
question |
description |
Root research question or sub-question |
decision |
choice, alternatives, evidence |
User chose between options |
experiment |
result, evidence |
Test/benchmark produced a result |
dead_end |
hypothesis, failure_mode, lesson |
Approach abandoned |
pivot |
from, to, trigger |
Major direction change |
Claim (logic/claims.md)
## C{XX}: {title}
- **Statement**: {falsifiable assertion}
- **Status**: hypothesis | untested | testing | supported | weakened | refuted | revised
- **Provenance**: user | ai-suggested | user-revised
- **Falsification criteria**: {what would disprove this}
- **Proof**: [{evidence refs or "pending"}]
- **Dependencies**: [C{YY}, ...]
- **Tags**: {comma-separated}
Heuristic (logic/solution/heuristics.md)
## H{XX}: {title}
- **Rationale**: {why this works}
- **Provenance**: user | ai-suggested | user-revised
- **Sensitivity**: low | medium | high
- **Code ref**: [{file paths}]
Observation (staging/observations.yaml)
- id: O{XX}
timestamp: "YYYY-MM-DDTHH:MM"
provenance: user | ai-suggested | ai-executed
content: "{raw observation}"
context: "{what was happening}"
potential_type: claim | heuristic | decision | unknown
promoted: false
Session Record (trace/sessions/YYYY-MM-DD_NNN.yaml)
session:
id: "YYYY-MM-DD_NNN"
timestamp: "YYYY-MM-DDTHH:MM"
summary: "{one-line summary of what happened}"
events_logged:
- type: decision | experiment | dead_end | pivot | claim | heuristic | observation
id: "{N/C/H/O}{XX}"
provenance: user | ai-suggested | ai-executed | user-revised
summary: "{what}"
ai_actions:
- action: "{what AI did}"
provenance: ai-executed
files_changed: ["{paths}"]
claims_touched:
- id: C{XX}
action: created | advanced | weakened | confirmed
provenance: user | ai-suggested
open_threads:
- "{what needs follow-up}"
ai_suggestions_pending:
- "{unconfirmed AI suggestions from this session}"
Initialization (if ara/ does not exist)
Create the full directory structure and seed files automatically. Do not ask.
mkdir -p ara/{logic/solution,src/{configs,kernel},trace/sessions,evidence/{tables,figures},staging}
Then write:
ara/PAPER.md— root manifest (infer title, authors, venue from project context)ara/trace/sessions/session_index.yaml—sessions: []ara/trace/exploration_tree.yaml—tree: []ara/staging/observations.yaml—observations: []ara/logic/claims.md—# Claimsara/logic/problem.md—# Problemara/logic/solution/heuristics.md—# Heuristicsara/evidence/README.md—# Evidence Index
Maturity Tracker (runs during epilogue)
While reviewing staging/observations.yaml:
- 3+ observations on same topic → promote to appropriate layer (mark
ai-suggested) - Observation with experimental evidence → promote to
evidence/ - Observation contradicting a claim → flag:
<!-- CONFLICT: contradicts C{XX} --> - Stale observations (3+ sessions) → flag with
stale: true
Procedure
- Read existing
ara/files to get current state (IDs, claims, tree). - Scan the full conversation for research-significant events.
- Classify each event and assign provenance.
- Append new entries to the correct files. Update existing entries if status changed.
- Create session record at
ara/trace/sessions/YYYY-MM-DD_NNN.yaml. - Append session to
ara/trace/sessions/session_index.yaml. - Run maturity tracker on staging area.
- Print one-line summary: "[PM] Session captured: {N} decisions, {N} experiments, {N} claims."
Rules
- Never run during a task — only as epilogue after the user's request is done.
- Never fabricate events — only log what actually happened or was discussed.
- Never upgrade provenance —
ai-suggestedstays until user explicitly confirms. - Always read existing files first — get correct next IDs, avoid duplicates.
- Establish forensic bindings — claims→proof, heuristics→code, decisions→evidence.
- Append, don't overwrite — add new entries, never replace existing content.
- Keep YAML valid — validate structure after writes.
Reference Files
For detailed protocol and taxonomy specifications, load on demand:
- references/event-taxonomy.md — Full classification of research-significant events
- references/provenance-tags.md — Provenance tag semantics and edge cases
- references/session-protocol.md — Step-by-step session recording protocol
Related skills
ara-rigor-reviewer: Performs ARA Seal Level 2 semantic epistemic review of an Agent-Native Research Artifact directory, reading PAPER.md, logic/claims.md, logi…ara-compiler: Compiles any research input — PDF papers, GitHub repositories, experiment logs, code directories, or raw notes — into a complete Agent-Nati…treatment-plans: Format and structurally validate local treatment-plan documentation after clinical decisions have already been supplied and verified by aut…
04 同仓库更多 Skills
plos
Prepare manuscripts for PLOS journals (PLOS ONE, PLOS Biology, PLOS Computational Biology, PLOS Genetics, PLOS Medicine, PLOS Pathogens, PLOS Neglected Tropical Diseases, PLOS Global Public Health and others), covering structure, abstract and author summary, Vancouver-style references, the mandatory data availability policy, ethics and financial disclosure statements, figure requirements (PACE), the PLOS LaTeX template, reporting guidelines and PLOS ONE's publication criteria. Use when targeting any PLOS journal or checking compliance with PLOS policies.
pkpd-modeling
Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK/PD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when analysing concentration-time data, deriving exposure metrics, fitting PK or PD models, or evaluating dosing regimens. Triggers include "pharmacokinetics", "pharmacodynamics", "PK/PD", "NCA", "non-compartmental", "AUC", "Cmax", "lambda z", "half-life", "clearance", "volume of distribution", "compartmental model", "population PK", "popPK", "NONMEM", "nlmixr2", "Pharmpy", "Monolix", "exposure-response", "Emax", "EC50", "indirect response", "effect compartment", "TMDD", "PBPK", "bioequivalence", "RSABE", "ABEL", "allometric scaling", "first-in-human", "MABEL", "drug-drug interaction", "DDI", "ICH M12", "concentration-QTc", "therapeutic drug monitoring", "MIPD", and "dosing regimen".
pinecone
Guides use of Pinecone, a managed serverless vector database, through its Python client and the LangChain and LlamaIndex integrations. Covers creating indexes, upserting and querying vectors, metadata filtering, namespaces, hybrid dense and sparse search, index management, and deleting vectors. Use when building a production RAG system on a hosted vector store, adding semantic search or recommendations without running infrastructure, isolating per-user or per-tenant data with namespaces, combining dense and sparse vectors in one query, or filtering results by metadata. Do not use for self-hosted or local stores (Chroma, Weaviate) or offline similarity search (FAISS).
pi-agent
Build with and use Pi, the minimal terminal coding harness. Use for installing Pi, configuring providers/models/settings/environment variables, creating Pi skills/extensions/packages/themes/prompt templates, embedding Pi through the SDK, integrating over RPC or JSON event streams, parsing sessions, running local models through the llama.cpp router, developing custom Pi providers and TUI components, or using ecosystem packages such as pi-subagents (delegation/orchestration), pi-mcp-adapter (MCP servers), pi-interview (interactive forms), and pi-web-access (web search, fetching, video understanding).
phoenix-observability
Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.
peft-fine-tuning
Fine-tunes LLMs with Hugging Face PEFT, using LoRA, QLoRA, IA3, AdaLoRA, prefix tuning, and prompt tuning so that under 1% of parameters are trained. Covers rank, alpha, and target module selection, loading and merging adapters, multi-adapter serving, and integration with TRL SFTTrainer, Axolotl, and vLLM. Use when fine-tuning 7B-70B models on limited GPU memory, when running QLoRA on a single 24GB GPU, when choosing LoRA rank and alpha, when merging or swapping adapters on one base model, or when debugging CUDA OOM or an adapter that does not apply. Not for full fine-tuning of small models under 1B parameters or cases needing all weights updated.