feat: tracking traces, replay and debugging tools
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, json, node.js, playwright, typescript
- Domain
- observability, testing, tooling
Research direction
Start by reading the related issue #5 and inspect tests/helpers/frames.ts to understand the existing frame data. The proposal also names scripts/trace-diff.mjs and check-agent-docs.mjs; check which trace tasks are unclaimed and how the Node integration tests run. Done means same-build traces report no difference and a deliberate filter change reports one, with a baseline versus facade diff available for #5.
Written by the indexing model from the issue text.
Description
Part of Phase 1 (#1). Gives #5 an objective "same behaviour" check.
Context
#5 is accepted when the e2e tests behave the same with less tracking code. The e2e tests check that tracking works, not how it behaves frame by frame. Traces make the comparison measurable.
Proposal
- Trace format: JSONL with one record per frame (the
FrameResultshape: per-marker pose, found / lost transitions, timing), plus a header with the settings and the jsartoolkit-nft version. - Recording: from the browser (an Inspector option, or a
debug.tracenode) and from the Node integration tests. - Replay: a deterministic replay in Node from recorded frames (
tests/helpers/frames.ts). - Diff:
scripts/trace-diff.mjscompares two traces and reports pose deltas, found / lost timing and jitter. Uses:ArtkSessionvs the facade, or two jsartoolkit-nft versions. - Agent tooling:
- a
.mcp.jsonwith Playwright MCP (drive the studio with the fake camera) and Chrome DevTools MCP (console including the worker, network for the 404 hosting rule, performance traces of the tracking loop), versions pinned, Chrome DevTools started with--isolated; - a
tracking-debuggerskill or agent that reproduces, records, diffs and reports.
- a
Tasks
- Trace format and recorder (Node)
- Recorder in the browser
- Replay and
trace-diff - Baseline traces of the current
ArtkSessionbefore the facade lands -
.mcp.json(Playwright, Chrome DevTools);check-agent-docs.mjsvalidates it -
tracking-debuggerskill
Acceptance
trace-diffon two runs of the same build reports no difference; on a deliberate filter change it reports one.- #5 can attach a baseline vs facade diff to its PR.
Generated by Claude Code
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 2d 15m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from webarkit/webarkit-studio
-
Plugin API: load node packages from outside the studio (jsartoolkitNFT first, then artoolkit5-ts)Openeditor enhancement runtime tracking
Difficulty 5/5 Over a week Newbie friendliness 20/100
webarkit/webarkit-studio#12 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
webarkit/webarkit-studio#10 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Agent instructions for AI coding tools (Claude Code, Copilot, Gemini, Antigravity, Codex, Cursor)Possibly taken @kalwalt claimed this 11 days ago. OpenAI - agents documentation enhancement
webarkit/webarkit-studio#7 · 1 comment · 1 assignee ·
-
jsartoolkitNFT roadmap
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in webarkit/webarkit-studio
Similar issues
-
backend refactor
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
NIAEFEUP/tts#927 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
callstackincubator/react-native-harness#296 ·
Maintainers usually reply within 1 day
-
status:in-linear
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
n8n-io/n8n#42293 · 1 comment ·
Maintainers usually reply within 1 day
-
verified
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 5 days
-
Add inputmode attribute support (forwarded to the inner input)May be free again A pull request for this issue was closed without being merged. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Neovici/cosmoz-input#467 ·
Maintainers usually reply within 1 day