Skip to content

Conversation

@BridgeAR
Copy link
Collaborator

This adds a few improvements around handling types as well as how to write the code (using optional chaining and no for-in) while minimizing the document size. That way we use less tokens just for the reading this and overall gain better code output.

This adds a few improvements around handling types as well as how
to write the code (using optional chaining and no for-in) while
minimizing the document size. That way we use less tokens just for
the reading this and overall gain better code output.
@BridgeAR BridgeAR marked this pull request as ready for review January 20, 2026 16:29
@BridgeAR BridgeAR requested a review from a team as a code owner January 20, 2026 16:29
@github-actions
Copy link
Contributor

Overall package size

Self size: 4.42 MB
Deduped: 5.24 MB
No deduping: 5.24 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.0 | 68.46 kB | 797.03 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.12%. Comparing base (cb8bc8d) to head (427c323).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7285   +/-   ##
=======================================
  Coverage   86.12%   86.12%           
=======================================
  Files         513      513           
  Lines       22106    22106           
=======================================
  Hits        19039    19039           
  Misses       3067     3067           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pr-commenter
Copy link

pr-commenter bot commented Jan 20, 2026

Benchmarks

Benchmark execution time: 2026-01-20 16:36:49

Comparing candidate commit 427c323 in PR branch BridgeAR/2026-01-20-improve-agents-md with baseline commit cb8bc8d in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 233 metrics, 27 unstable metrics.

@sabrenner sabrenner self-assigned this Jan 20, 2026
Copy link
Collaborator

@sabrenner sabrenner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, i think this cuts down on context fed to agents succinctly! just added a few comments/questions, but not blocking, i think the cut down here does its job

@BridgeAR BridgeAR merged commit 10cb57e into master Jan 20, 2026
800 checks passed
@BridgeAR BridgeAR deleted the BridgeAR/2026-01-20-improve-agents-md branch January 20, 2026 20:24
dd-octo-sts bot pushed a commit that referenced this pull request Jan 21, 2026
This adds a few improvements around handling types as well as how
to write the code (using optional chaining and no for-in) while
minimizing the document size. That way we use less tokens just for
the reading this and overall gain better code output.
@dd-octo-sts dd-octo-sts bot mentioned this pull request Jan 21, 2026
BridgeAR added a commit that referenced this pull request Jan 22, 2026
This adds a few improvements around handling types as well as how
to write the code (using optional chaining and no for-in) while
minimizing the document size. That way we use less tokens just for
the reading this and overall gain better code output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants