René's URL Explorer Experiment


Title: feat(forge-ai): cost controls with budget enforcement, response cache, and usage ledger (closes #90) by luksluki · Pull Request #100 · elcode-id/elcode-forge · GitHub

Open Graph Title: feat(forge-ai): cost controls with budget enforcement, response cache, and usage ledger (closes #90) by luksluki · Pull Request #100 · elcode-id/elcode-forge

X Title: feat(forge-ai): cost controls with budget enforcement, response cache, and usage ledger (closes #90) by luksluki · Pull Request #100 · elcode-id/elcode-forge

Description: Summary of Changes Implements preflight_check, compute_cost_usd, and enforce_daily_budget in crates/forge-ai/src/budget.rs Implements ResponseCache in crates/forge-ai/src/cache.rs storing cached JSON responses in .eforge/ai-cache/.json\ with 64-char BLAKE3 hex keys and path traversal guards Implements UsageRecord, UsageSummary, �ppend_usage, and summarize_usage in crates/forge-ai/src/usage.rs logging to .eforge/ai-usage.jsonl\ with safe skipping of corrupted lines Re-exports all cost control APIs in crates/forge-ai/src/lib.rs Updated architecture state handover in docs/ARCHITECTURE_STATE.md Closes #90

Open Graph Description: Summary of Changes Implements preflight_check, compute_cost_usd, and enforce_daily_budget in crates/forge-ai/src/budget.rs Implements ResponseCache in crates/forge-ai/src/cache.rs storing cached J...

X Description: Summary of Changes Implements preflight_check, compute_cost_usd, and enforce_daily_budget in crates/forge-ai/src/budget.rs Implements ResponseCache in crates/forge-ai/src/cache.rs storing cached J...

Opengraph URL: https://github.com/elcode-id/elcode-forge/pull/100

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ae7fc051-2d9c-067c-a4d7-cb848079309c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA6CA:5B106:1D64431:287D2D9:6B059C2A
html-safe-noncedd56cda0f87f4a8de8571f4b6c7d7caf0e89abf5d4050cf1518b6c269089a0ed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkNBOjVCMTA2OjFENjQ0MzE6Mjg3RDJEOTo2QjA1OUMyQSIsInZpc2l0b3JfaWQiOiIxNDUyODQwMDIxODY5ODI5MTYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5caa503327657d1991b5bc789944a940edd75475571d8de8e6b9c916c1f362c9
hovercard-subject-tagpull_request:4923467774
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/elcode-id/elcode-forge/pull/100/files
twitter:imagehttps://avatars.githubusercontent.com/u/42430456?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/42430456?s=400&v=4
og:image:altSummary of Changes Implements preflight_check, compute_cost_usd, and enforce_daily_budget in crates/forge-ai/src/budget.rs Implements ResponseCache in crates/forge-ai/src/cache.rs storing cached J...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None8bd54b96ae4db60ce608a145a6b2fb16216749fbdb431d9879aabfa7459f1139
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/elcode-id/elcode-forge git https://github.com/elcode-id/elcode-forge.git
octolytics-dimension-user_id337957755
octolytics-dimension-user_loginelcode-id
octolytics-dimension-repository_id1423983661
octolytics-dimension-repository_nwoelcode-id/elcode-forge
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1423983661
octolytics-dimension-repository_network_root_nwoelcode-id/elcode-forge
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecda4791073b4da3005eb3d470dc0aef3956bbe34
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/elcode-id/elcode-forge/pull/100/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Felcode-id%2Felcode-forge%2Fpull%2F100%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Felcode-id%2Felcode-forge%2Fpull%2F100%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=elcode-id%2Felcode-forge
Reloadhttps://github.com/elcode-id/elcode-forge/pull/100/files
Reloadhttps://github.com/elcode-id/elcode-forge/pull/100/files
Reloadhttps://github.com/elcode-id/elcode-forge/pull/100/files
elcode-idhttps://github.com/elcode-id
elcode-forgehttps://github.com/elcode-id/elcode-forge
Codehttps://github.com/elcode-id/elcode-forge
Issueshttps://github.com/elcode-id/elcode-forge/issues
Pull requestshttps://github.com/elcode-id/elcode-forge/pulls
Actionshttps://github.com/elcode-id/elcode-forge/actions
Projectshttps://github.com/elcode-id/elcode-forge/projects
Security and qualityhttps://github.com/elcode-id/elcode-forge/security
Insightshttps://github.com/elcode-id/elcode-forge/insights
Sign up for GitHub https://github.com/signup?return_to=%2Felcode-id%2Felcode-forge%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Felcode-id%2Felcode-forge%2Fissues%2Fnew%2Fchoose
lukslukihttps://github.com/luksluki
develophttps://github.com/elcode-id/elcode-forge/tree/develop
feat/forge-090-ai-cost-controlshttps://github.com/elcode-id/elcode-forge/tree/feat/forge-090-ai-cost-controls
Conversation 0 https://github.com/elcode-id/elcode-forge/pull/100
Commits 1 https://github.com/elcode-id/elcode-forge/pull/100/commits
Checks 2 https://github.com/elcode-id/elcode-forge/pull/100/checks
Files changed https://github.com/elcode-id/elcode-forge/pull/100/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/100/files
feat(forge-ai): cost controls with budget enforcement, response cache, and usage ledger (closes #90) https://github.com/elcode-id/elcode-forge/pull/100/files#top
Show all changes 1 commit https://github.com/elcode-id/elcode-forge/pull/100/files
95544fa feat(forge-ai): cost controls with budget enforcement, response cache… luksluki Oct 19, 2026 https://github.com/elcode-id/elcode-forge/pull/100/commits/95544fa2c9d6b3c2e591ef71deb3c0d3dbe5d769
Clear filters https://github.com/elcode-id/elcode-forge/pull/100/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/100/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/100/files
budget.rs https://github.com/elcode-id/elcode-forge/pull/100/files#diff-f3a1c3663e52cc89a61f2a1fb5c6274c5f372be115b3b96cdbd8680477d12b1a
cache.rs https://github.com/elcode-id/elcode-forge/pull/100/files#diff-e3ddd7ee3ba37830988ed120d489c1fc4e09c17062d5690defd6cfab7523da64
lib.rs https://github.com/elcode-id/elcode-forge/pull/100/files#diff-89850fa1302264bc9a2640fef630efc8f67fd727f1a8579fed75b7ed451ecaec
usage.rs https://github.com/elcode-id/elcode-forge/pull/100/files#diff-c69ce3b4a041067cd39611023ee05ddef213c41f07f227af70dd33730ae74a29
ARCHITECTURE_STATE.md https://github.com/elcode-id/elcode-forge/pull/100/files#diff-afec48f4f0e556320eb04c370b8daca727e03e9ce35e8632fbb86ceb8b20a0c4
crates/forge-ai/src/budget.rshttps://github.com/elcode-id/elcode-forge/pull/100/files#diff-f3a1c3663e52cc89a61f2a1fb5c6274c5f372be115b3b96cdbd8680477d12b1a
View file https://github.com/elcode-id/elcode-forge/blob/95544fa2c9d6b3c2e591ef71deb3c0d3dbe5d769/crates/forge-ai/src/budget.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/100/{{ revealButtonHref }}
crates/forge-ai/src/cache.rshttps://github.com/elcode-id/elcode-forge/pull/100/files#diff-e3ddd7ee3ba37830988ed120d489c1fc4e09c17062d5690defd6cfab7523da64
View file https://github.com/elcode-id/elcode-forge/blob/95544fa2c9d6b3c2e591ef71deb3c0d3dbe5d769/crates/forge-ai/src/cache.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/100/{{ revealButtonHref }}
crates/forge-ai/src/lib.rshttps://github.com/elcode-id/elcode-forge/pull/100/files#diff-89850fa1302264bc9a2640fef630efc8f67fd727f1a8579fed75b7ed451ecaec
View file https://github.com/elcode-id/elcode-forge/blob/95544fa2c9d6b3c2e591ef71deb3c0d3dbe5d769/crates/forge-ai/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/100/{{ revealButtonHref }}
https://github.com/elcode-id/elcode-forge/pull/100/files#diff-89850fa1302264bc9a2640fef630efc8f67fd727f1a8579fed75b7ed451ecaec
https://github.com/elcode-id/elcode-forge/pull/100/files#diff-89850fa1302264bc9a2640fef630efc8f67fd727f1a8579fed75b7ed451ecaec
https://github.com/elcode-id/elcode-forge/pull/100/files#diff-89850fa1302264bc9a2640fef630efc8f67fd727f1a8579fed75b7ed451ecaec
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/100/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/100/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.