<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/tools/metrics_compare_base.py, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/tools/metrics_compare_base.py?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/tools/metrics_compare_base.py?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-04-29T05:59:40Z</updated>
<entry>
<title>metrics_compare_base: use git worktree add --detach</title>
<updated>2026-04-29T05:59:40Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-04-29T05:59:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=17572a960a53e27ffa07d7d7fda3486bfcc95a2d'/>
<id>urn:sha1:17572a960a53e27ffa07d7d7fda3486bfcc95a2d</id>
<content type='text'>
`git worktree add &lt;path&gt; &lt;branch&gt;` fails if &lt;branch&gt; is already checked out
elsewhere (main repo, another worktree). --detach checks out the ref at a
detached HEAD instead of claiming the branch, making the script work
regardless of what is currently checked out.

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>metrics_compare_base: catch TimeoutExpired; fix code-size skill docs</title>
<updated>2026-04-29T05:45:55Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-04-29T05:45:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=6ba8aeff1603ae54e0fcf2309b0f19e335a16cdc'/>
<id>urn:sha1:6ba8aeff1603ae54e0fcf2309b0f19e335a16cdc</id>
<content type='text'>
- run() now catches subprocess.TimeoutExpired (only triggered by `cmake --build`'s
  timeout=600) and returns CompletedProcess(rc=124) so the caller falls through to
  error reporting and worktree cleanup instead of crashing with a traceback.
- code-size SKILL.md: document the actual default filter (per-side absolute
  &lt;checkout&gt;/src/ path, not the old `tinyusb/src` substring) and adjust the
  reporting guidance to match what the report rows actually contain.

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Improve remote execution in `hil_ci.sh`</title>
<updated>2026-04-29T05:32:25Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-04-29T04:56:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=f5d6c6ba91e7176ddf5965608c361ccf5d515bde'/>
<id>urn:sha1:f5d6c6ba91e7176ddf5965608c361ccf5d515bde</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `code-size` skill and integrate `metrics_compare_base.py` tool</title>
<updated>2026-04-29T04:46:34Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-04-29T04:46:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=fd715afcc52b27127de4e7a6a89a7782fdef5676'/>
<id>urn:sha1:fd715afcc52b27127de4e7a6a89a7782fdef5676</id>
<content type='text'>
- Introduced a `code-size` skill under `.claude/skills` for evaluating TinyUSB code size changes between the base branch and current branch.
- Added `metrics_compare_base.py`, automating code size comparison with granular options for examples, boards, and CI-wide runs.
- Updated `AGENTS.md` to include quick references and usage guidance for the new feature.
</content>
</entry>
</feed>
