[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DCK69PQK25JWJC32DNQKN6":3,"skill-same:01M7DCK69PQK25JWJC32DNQKN6":71},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7DCK69PQK25JWJC32DNQKN6","try-run-match",null,"spark-456\u002Ftilo","spark-456","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81423861?v=4","01M7DCJMDKDYQPWFPH6RT0M2XE","John K Regi","01M7DCJMEQVJ9J36CJ8DCQRCGT",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Ftry-run-match\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Try Run Match Scorer\n\nDeterministically scores how closely a dry\u002Ftry run matched a user's taught example sequence, verifying action order, additions, skips, and strict human-in-the-loop pause gates.\n\n## When to use\n\nUse this skill whenever:\n- Evaluating an automated try run (test or preview execution) against an established taught workflow.\n- Verifying safety boundaries: ensuring every `ask_me_first` step explicitly paused before execution.\n- Producing alignment feedback for users showing which steps matched, were added, or were skipped.\n- Enforcing read-only evaluation: try-run match analysis never executes, sends, or mutates any external state.\n\n## Steps\n\n1. **Validate inputs**: Confirm `taught_steps` and `recorded_steps` are structured step arrays conforming to the `(verb, object, tool, ask_me_first)` and `(verb, object, tool, paused)` schemas.\n2. **Check empty taught baseline**: If `taught_steps` is empty, immediately return `status: \"fail\"` with `match_percent: 0.0` and `failure_reason: \"empty_taught_example\"`.\n3. **Verify human-in-the-loop pauses**:\n   - Inspect every taught step marked with `ask_me_first: true`.\n   - Ensure an equivalent step in `recorded_steps` exists and has `paused: true`.\n   - If any `ask_me_first` step is missing or executed without pausing, immediately return `status: \"fail\"` with `match_percent: 0.0` and `failure_reason: \"missed_ask_first_pause\"`. A missed pause is a hard failure, not a reduced score.\n4. **Compute sequence alignment**:\n   - Use Longest Common Subsequence (LCS) alignment across step tuples `(verb, object, tool)` to determine matching order.\n   - Categorize remaining taught steps as `skipped_steps`.\n   - Categorize unaligned recorded steps as `added_steps`.\n5. **Calculate match percentage**:\n   - Compute `match_percent = round((len(matched_steps) \u002F max(len(taught_steps), len(recorded_steps))) * 100.0, 1)`.\n   - Return `status: \"pass\"`, `failure_reason: null`, along with categorized steps.\n\n## Quality bar\n\n- **Strict determinism**: The scorer must always produce identical outputs for identical inputs without model dependencies or probabilistic heuristics.\n- **Safety guarantee**: A missed `ask_me_first` pause must NEVER be treated as a partial degradation; it is always an absolute failure (`status: \"fail\"`, `match_percent: 0.0`).\n- **Zero side effects**: Evaluating a try run reads telemetry only and never calls mutation tools or updates live records.\n\n## Checklist\n\n- [ ] `taught_steps` verified non-empty.\n- [ ] All `ask_me_first: true` steps paused during the try run.\n- [ ] Longest Common Subsequence computed to preserve sequence order.\n- [ ] `matched_steps`, `added_steps`, and `skipped_steps` cleanly partitioned.\n- [ ] `match_percent` rounded to 1 decimal place between 0.0 and 100.0.\n- [ ] Output passes Draft 2020-12 schema validation.\n\n## Pitfalls\n\n- **Treating missed pauses as score penalties**: `ask_me_first` steps are explicit safety gates defined by the person. Bypassing a pause must fail completely, not merely deduct points.\n- **Ignoring step order**: Simply checking set membership without sequence alignment produces false 100% scores on out-of-order executions.\n- **Inventing mutations**: Scorer is purely an analytical verification function; it must never trigger actions or persist records.\n",{},"main","8cfd26d5509bfd3ed6c7800e505f323dbc081b30","skills\u002Fautomation\u002Ftry-run-match","https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo","https:\u002F\u002Fgithub.com\u002Fspark-456","What a wonderful day \r\n","2026-10-27 21:42:25",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add spark-456\u002Ftilo --skill try-run-match",{"tool":35,"command":36},"bunx","bunx skills add spark-456\u002Ftilo --skill try-run-match",{"tool":38,"command":39},"pnpm","pnpm dlx skills add spark-456\u002Ftilo --skill try-run-match","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Ftry-run-match\u002FSKILL.md",true,[43,49,53,59,63,67],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"examples\u002Fgolden_cases.json","REFERENCE","参考文档",10681,"https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Ftry-run-match\u002Fexamples\u002Fgolden_cases.json",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"README.md",1077,"https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Ftry-run-match\u002FREADME.md",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"scorer.py","SCRIPT","脚本",3753,"https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Ftry-run-match\u002Fscorer.py",{"path":60,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":61,"sourceHtmlUrl":62},"skill.yaml",5118,"https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Ftry-run-match\u002Fskill.yaml",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"tests\u002Ftest_FR_SKL_03_callable_scorer.py",4304,"https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Ftry-run-match\u002Ftests\u002Ftest_FR_SKL_03_callable_scorer.py",{"path":68,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":69,"sourceHtmlUrl":70},"tests\u002Ftest_FR_SKL_03_try_run_match.py",8710,"https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Ftry-run-match\u002Ftests\u002Ftest_FR_SKL_03_try_run_match.py",[72,78,84,90,96,102],{"skillNo":73,"name":74,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7DCMR7VZN21NXYCWSBGJ94Z","web-research","https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fweb-research\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M7DCMNCCVFTN4P3ZDFY3QT9N","quiz-assessment","https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fquiz-assessment\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7DCMKN8K2S0HYJ629MQ1A42","question-bank-extraction","https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fquestion-bank-extraction\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M7DCMG3KKC2PZZN80PA8V5A8","weekly-status-report","https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-status-report\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M7DCMCDYFX2BQAQ5MJHD6BZA","supplier-research-compare","https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fsupplier-research-compare\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":18},"01M7DCM955753ARK84VRX3WG9N","summarise-public-url","https:\u002F\u002Fgithub.com\u002Fspark-456\u002Ftilo\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fsummarise-public-url\u002FSKILL.md",[],[]]