weldone-hybrid-seam-replay-debug
Skill2 starsChanged 6 months agoApache-2.0View on GitHub
Weldone hybrid seam replay debugging for single-machine or dual-arm reconstruction packages, LaserPoint RANSAC failures, Arc fitting thresholds, weak Arc diagnostics, tangent continuity, replay-single-hybrid, and replay-dualarm-hybrid.
In this repository60 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- add-diag-instrumentationSkill
- add-diag-logsSkill
- archive-importSkill
- archive-sessionSkill
- archiveSkill
- ask-mattSkill
- build-publish-runSkill
- coarse-compensation-fitSkill
- codebase-designSkill
- code-simplifySkill
- commitSkill
- create-weld-docSkill
- DDD-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- feishu-webhookSkill
- git-branch-mergeSkill
- gitlab-issueSkill
- gitlab-merge-requestSkill
- gitlab-opsSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- improve-codebase-architectureSkill
- knowledge-reorgSkill
- modelbase-fsmSkill
- modelbase-fsm-updateSkill
- opsx-reindexSkill
- opsx-searchSkill
- parallel-featureSkill
- periodic-reviewSkill
- prototypeSkill
- read-diag-capturesSkill
- robim-data-explorerSkill
- robimweld-release-checkSkill
- robimweld-source-debugSkill
- robot-to-worldSkill
- setup-matt-pocock-skillsSkill
- skill-creatorSkill
- superpowersSkill
- tddSkill
- teachSkill
- three-blazor-devSkill
- to-issuesSkill
- to-prdSkill
- triageSkill
- weldone-animationSkill
- weldone-current-urdfSkill
- weldone-db-migrationSkill
- weldone-mapmatrix-domain-knowledgeSkill
- weldone-project-logsSkill
- weldone-transition-line-domain-knowledgeSkill
- weldone-wsg-merge-domain-knowledgeSkill
- weld-plan-debugSkill
- weld-seam-normal-vectorsSkill
- world-to-robotSkill
- writing-great-skillsSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use this skill when the user mentions any of these:
- Distinctive: line 28
Read AGENTS.md and CLAUDE.md in the Weldone repo before changing code.
- Distinctive: line 32
Never overwrite the original replay package.
- Distinctive: line 33
After CLI replay, inspect:
- Very specific: line 37
Use scripts/summarize_replay_arc_diagnostics.py REPLAY_JSON_OR_DIRECTORY to summarize Arc diagnostics quickly.
- Very specific: line 38
If CLI execution modifies src/Weldone.Cli/Logs/logs.txt, restore it unless the user explicitly wants log changes committed.
- Distinctive: line 39
Add or update focused tests before finalizing:
- Distinctive: line 46
Treat Arc RANSAC hard failures as point-cloud quality failures only:
- Very specific: line 52
Treat RadiusDeviation and CenterDeviation as diagnostics, not hard failures.
- Distinctive: line 64
Check these files first:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Weldone Hybrid Seam Replay Debug
Overview
定位 Weldone 混合焊缝重构问题时,优先围绕 replay 包复现、RANSAC 拟合质量、Arc 弱诊断和重构几何连续性推进。目标是用最少代码改动判断是点云质量问题、阈值策略问题、端点/相切几何问题,还是 replay 包/CLI 保存链路问题。
Trigger Scenarios
Use this skill when the user mentions any of these:
SingleHybridReconstructionReplayPackage.jsonorReconstructionReplayPackage.json.replay-single-hybrid,replay-dualarm-hybrid, or "新的 replay 包能不能存下来".- 单机混合焊缝、双机混合焊缝、HybridSeam、LaserPoint RANSAC、Arc 拟合失败。
- 半径偏差、圆心偏差、短弧 3 点、弦高、相切关系、端头锚点、未扫描 arc 对齐。
- Logs containing
HybridRansacFitException,LaserPoint Arc RANSAC,RadiusDeviation,CenterDeviation,MaxResidual, orInlierRatio.
Fast Workflow
- Read
AGENTS.mdandCLAUDE.mdin the Weldone repo before changing code. - Identify package type:
SingleHybridReconstructionReplayPackage.json-> runjust replay-single-hybrid "INPUT_PATH" "OUTPUT_PATH".ReconstructionReplayPackage.json-> runjust replay-dualarm-hybrid "INPUT_PATH" "OUTPUT_PATH".
- Never overwrite the original replay package. Always write a timestamped output beside it or into a temp/debug folder.
- After CLI replay, inspect:
FailureExceptionType/FailureMessage.LineFitDiagnostics,ArcFitDiagnostics,CommonTangentDiagnostics.- Reconstructed segment count, endpoint anchor error, tangent continuity logs.
- Use
scripts/summarize_replay_arc_diagnostics.py REPLAY_JSON_OR_DIRECTORYto summarize Arc diagnostics quickly. - If CLI execution modifies
src/Weldone.Cli/Logs/logs.txt, restore it unless the user explicitly wants log changes committed. - Add or update focused tests before finalizing:
HybridSeamSegmentFitterTestsfor domain fitting behavior.HybridSinglePointReconstructionTestsfor single-machine application behavior when relevant.- Replay CLI verification with a field package when available.
Arc Threshold Policy
Treat Arc RANSAC hard failures as point-cloud quality failures only:
InlierRatioat least0.6.RmsResidualat most1.0mm.MaxResidualat most2.0mm.
Treat RadiusDeviation and CenterDeviation as diagnostics, not hard failures. Short arcs can have large radius or center deviation while still being acceptable if the captured points are self-consistent and the reconstructed geometry stays continuous.
Mark weak Arc reconstruction for observability, not rejection, when any of these are true:
PointCountat most3.SagittaRatioless than0.05.ChordRadiusRatioless than0.30.RadiusDeviationRatiogreater than0.20.MaxOriginalRadialDeviationgreater than30mm.
Code Map
Check these files first:
src/Weldone.Domain/WeldProcedure/HybridSeam/HybridConstrainedRansacFitter.cs- RANSAC candidate scoring and hard failure thresholds.src/Weldone.Domain/WeldProcedure/HybridSeam/HybridSeamSegmentFitter.cs- segment fitting, endpoint resolution, tangent handling, andLast*Diagnostics.src/Weldone.Domain/WeldProcedure/HybridSeam/HybridRansacFitQuality.cs- diagnostic records and log formatting.src/Weldone.Application/Scanning/HybridSeam/HybridWeldSeamCalibrationService.cs- replay package creation/saving and field debug package capture.src/Weldone.Application/Scanning/HybridSeam/*ReplayPackage.cs- replay package schemas.src/Weldone.Cli/Commands/ReplaySingleHybridCommand.cs- single-machine replay CLI.src/Weldone.Cli/Commands/ReplayHybridCommand.cs- dual-arm replay CLI.test/Weldone.Domain.Tests/WeldProcedure/HybridSeamSegmentFitterTests.cs- domain regression tests.
Detailed Reference
Load references/hybrid_replay_debug_workflow.md when the task needs root-cause analysis, code changes, threshold design, or a final explanation of replay results.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

