Skip to content

Latest commit

 

History

History
70 lines (60 loc) · 4.22 KB

AGENTS.md

File metadata and controls

70 lines (60 loc) · 4.22 KB

AGENTS.md

Research tracking (research-hub)

This project is tracked by research-hub: STATUS.md holds the current state, experiments/ holds measurement records, and a hub on the user's PC syncs both to Plane. You never call Plane yourself.

Before work

  • Read STATUS.md (state, current focus, next steps, blockers).
  • Read .research/TASKS.md if it exists. It lists the open Plane tasks for this project and is regenerated by the hub, so don't edit it.

While working

  • Every benchmark or experiment gets a record: copy experiments/TEMPLATE.md to experiments/YYYY-MM-DD-<slug>.md and fill in setup, exact command, commit, results, conclusion. Put real numbers in it, including failed runs.

After each meaningful unit of work, and before you end a session, report it:

python3 .research/report.py \
  --task "QKV optimization" \
  --result "+8.3% throughput (61.7 -> 66.8 tok/s, c6)" \
  --next "test tile=256" \
  --metric tok_s=66.8 --experiment experiments/2026-10-16-qkv-tile.md --label benchmark
  • --task is the Plane work item: its ID (FURIOSA-12) if .research/TASKS.md shows one, or a short title (the hub creates the work item on first use).
  • Add --done when the task is finished, --review when it works but still needs verification (parity, repeat runs, a human check), or --state blocked --blocker "<why>" when you are stuck.
  • Add --todo "<follow-up>" (repeatable) for concrete follow-up work; each becomes a Plane task under this one. Put loose ideas in STATUS.md Open questions instead.
  • Use the metric keys listed at the top of .research/TASKS.md for --metric whenever they apply, so results chart as a time series; add new keys only for genuinely new quantities.
  • For a measured run, also pass its configuration as --param key=value (tile, batch, concurrency, SDK version, ...) and attach result files with --artifact <path> (plots, CSV, profile JSON, logs; <= 8 MB each). The hub turns every report with metrics/params/artifacts into an MLflow run, so runs can be compared and plotted side by side.
  • Tag the task with --label <name> (repeatable): a work type (experiment, benchmark, bug, analysis, docs, infra, paper) plus any project label listed at the top of .research/TASKS.md.
  • On Windows use python instead of python3.
  • The script updates the STATUS.md header and log and appends to .research/events.jsonl. Edit the free-form sections of STATUS.md (Findings, Open questions) directly when they change.
  • If you commit, include STATUS.md, experiments/ and .research/events.jsonl with the related code. Don't make commits only for reporting.

Contribution flow

Follow the organization guide, ai-computing/.github CONTRIBUTING.md (GitHub flow). For agents that means:

  • Issue first for a bug, feature, performance change or API change: Problem, Evidence, Scope, Done when, Owner (the repository's Issue templates). Research: one Issue per hypothesis, runs linked to it. Typos and small obvious fixes may go straight to a PR. Plane tasks (research-hub) track research progress; GitHub Issues track code changes; link one from the other.
  • Branch per change from the latest main: <type>/<issue#>-<slug> (feat, fix, perf, docs, exp), in your own worktree. Never commit to main. Name the branch before opening the PR: renaming the head branch of an open PR closes it.
  • PR with one purpose, filled in from the PR template: Background, Changes, Verification (commands and results; for hardware or performance numbers: commit SHAs, hardware and SDK versions, inputs, correctness criterion, method, results, how to reproduce), Compatibility and limits, Related Issue (Closes #N only when the PR finishes it). Long work starts as a Draft PR.
  • Experiment records, STATUS.md and .research/events.jsonl go in the PR of the work they describe, or in a docs PR of their own.
  • Before pushing: python3 .research/check_sensitive.py; name hosts by role (e.g. "RNGD+ATOM host"), not by hostname or IP, in new prose.
  • The maintainer reviews and merges (Squash and merge); agents do not merge to main.