René's URL Explorer Experiment


Title: feat(forge-core): AI configuration section, shared untrusted boundary, and ForgeError::Ai · Issue #85 · elcode-id/elcode-forge · GitHub

Open Graph Title: feat(forge-core): AI configuration section, shared untrusted boundary, and ForgeError::Ai · Issue #85 · elcode-id/elcode-forge

X Title: feat(forge-core): AI configuration section, shared untrusted boundary, and ForgeError::Ai · Issue #85 · elcode-id/elcode-forge

Description: Deterministic Codebase Intelligence, Architecture Analysis, Change Blast-Radius, Release Readiness & Native MCP Engine . built in Rust by ELCODE. - feat(forge-core): AI configuration section, shared untrusted boundary, and ForgeError::Ai · Issue #85 · elcode-id/elcode-forge

Open Graph Description: Deterministic Codebase Intelligence, Architecture Analysis, Change Blast-Radius, Release Readiness & Native MCP Engine . built in Rust by ELCODE. - feat(forge-core): AI configuration section, s...

X Description: Deterministic Codebase Intelligence, Architecture Analysis, Change Blast-Radius, Release Readiness & Native MCP Engine . built in Rust by ELCODE. - feat(forge-core): AI configuration sectio...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(forge-core): AI configuration section, shared untrusted boundary, and ForgeError::Ai","articleBody":"## 1. Context & Objective\nExtend `forge-core` with the `AiConfig` and `AiProviderKind` configuration structures (`ai:` section in `eforge.config.yaml`), promote `UntrustedEnvelope\u003cT>`, `detect_prompt_injection_signals`, and `wrap_untrusted_payload` from `forge-mcp::boundary` into `forge_core::untrusted` (re-exporting in `forge-mcp`), and add `ForgeError::Ai` and `ForgeError::AiBudgetExceeded` variants (PRD §19, §36, §39).\n\n- **Parent Epic:** #82\n- **GitFlow Branch:** `feat/forge-085-ai-config-and-boundary`\n- **Execution Wave:** `wave-9`\n- **DAG Dependencies:** None (root of Phase 4)\n- **Estimated Size:** ~250 LOC (`\u003c 400 LOC`)\n\n## 2. Target Files\n- `crates/forge-core/src/config.rs` *(MODIFY: add `AiConfig`, `AiProviderKind`, nested `ai:` parsing)*\n- `crates/forge-core/src/untrusted.rs` *(NEW: moved from `crates/forge-mcp/src/boundary.rs`)*\n- `crates/forge-core/src/error.rs` *(MODIFY: add `Ai { message: String }` and `AiBudgetExceeded { spent_usd: f64, limit_usd: f64 }`)*\n- `crates/forge-core/src/lib.rs` *(MODIFY: export `untrusted` module and new config/error types)*\n- `crates/forge-mcp/src/boundary.rs` *(MODIFY: re-export `forge_core::untrusted::*` for backward compatibility)*\n\n## 3. Public Contract\n```rust\npub enum AiProviderKind {\n    OpenAiCompatible,\n    Anthropic,\n    Gemini,\n}\n\npub struct AiConfig {\n    pub enabled: bool,                  // default: false\n    pub provider: Option\u003cAiProviderKind>,\n    pub model: Option\u003cString>,\n    pub base_url: Option\u003cString>,\n    pub api_key_env: Option\u003cString>,    // env var name only, NEVER raw key\n    pub max_tokens: u32,                // default: 1024\n    pub max_context_tokens: u32,        // default: 8000\n    pub temperature: Option\u003cf32>,       // default: Some(0.0)\n    pub timeout_secs: u64,              // default: 60\n    pub cache_enabled: bool,            // default: true\n    pub budget_daily_usd: Option\u003cf64>,\n    pub price_input_per_1k: Option\u003cf64>,\n    pub price_output_per_1k: Option\u003cf64>,\n}\n```\n- `ForgeConfig` gains `pub ai: AiConfig` while keeping flat `ai_enabled` synchronized with `ai.enabled` for backward compatibility.\n- Supported YAML keys under `ai:`: `enabled`, `provider`, `model`, `base_url`, `api_key_env`, `max_tokens`, `max_context_tokens`, `temperature`, `timeout_secs`, `cache`, `budget.daily_usd`, `pricing.input_per_1k`, `pricing.output_per_1k`.\n\n## 4. Security & Privacy Invariants\n- Secret-like keys (`api_key`, `token`, `secret`, `password`) under `ai:` MUST be rejected with `ForgeError::Config` instructing the user to store credentials in an environment variable and reference it via `api_key_env`.\n- `base_url` (when provided) MUST start with `http://` or `https://`.\n\n## 5. Definition of Done & Verification (Tier 3)\n- Unit tests covering full `ai:` YAML parsing, default values, rejection of `ai.api_key`, backward-compatible `ai_enabled`, and `forge_core::untrusted` prompt-injection detection.\n- All existing `forge-mcp` boundary tests pass without modification.\n- **Selective Verification Gate (Tier 3):**\n  1. `cargo fmt --all -- --check`\n  2. `cargo clippy --workspace --all-targets -- -D warnings`\n  3. `cargo test --workspace --lib --bins`","author":{"url":"https://github.com/luksluki","@type":"Person","name":"luksluki"},"datePublished":"2026-10-19T14:21:18Z","url":"https://github.com/elcode-id/elcode-forge/issues/85"}

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/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:04aa4245-0d7d-ddfa-296c-23378f7109ea
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA208:12E8E1:1C87D8E:272D6CE:6B059780
html-safe-nonceeeb2dd522c79ab68c52e2e9e45f3c731fdb9a6b4f72769ceef15dbfab6ea283b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjA4OjEyRThFMToxQzg3RDhFOjI3MkQ2Q0U6NkIwNTk3ODAiLCJ2aXNpdG9yX2lkIjoiMTY5NTU4OTU0MTkyMDIxNjk2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac22696460aaf4cc7478b6f82360c9886169060c2685365f79b336cef9db2d2ef3
hovercard-subject-tagrepository:1423983661
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/elcode-id/elcode-forge/issues/85
twitter:imagehttps://opengraph.githubassets.com/9b8d05eb3e68ccef67c29ed6fe256b5731cdfc3bf948270564a181228bcf2b2c/elcode-id/elcode-forge
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9b8d05eb3e68ccef67c29ed6fe256b5731cdfc3bf948270564a181228bcf2b2c/elcode-id/elcode-forge
og:image:altDeterministic Codebase Intelligence, Architecture Analysis, Change Blast-Radius, Release Readiness & Native MCP Engine . built in Rust by ELCODE. - feat(forge-core): AI configuration section, s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3b72fd2385d76a50ce0fe937d50bb4a81434432c4fd47866074a26f6cd03623f
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release58e2bd32336f3dcee343ec627a4d09c7c444e214
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/elcode-id/elcode-forge/issues/85#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Felcode-id%2Felcode-forge%2Fissues%2F85
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%2Fissues%2F85
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=elcode-id%2Felcode-forge
Reloadhttps://github.com/elcode-id/elcode-forge/issues/85
Reloadhttps://github.com/elcode-id/elcode-forge/issues/85
Reloadhttps://github.com/elcode-id/elcode-forge/issues/85
https://github.com/elcode-id/elcode-forge
New issuehttps://github.com/login?return_to=https://github.com/elcode-id/elcode-forge/issues/85
New issuehttps://github.com/login?return_to=https://github.com/elcode-id/elcode-forge/issues/85
feat(forge-core): AI configuration section, shared untrusted boundary, and ForgeError::Aihttps://github.com/elcode-id/elcode-forge/issues/85#top
forge-corehttps://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22forge-core%22
forge-mcphttps://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22forge-mcp%22
phase-4https://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22phase-4%22
wave-9https://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22wave-9%22
https://github.com/luksluki
lukslukihttps://github.com/luksluki
on Oct 19, 2026https://github.com/elcode-id/elcode-forge/issues/85#issue-5925645760
[EPIC] Phase 4A: AI Foundation & Provider Abstraction (forge-core + forge-ai) #82https://github.com/elcode-id/elcode-forge/issues/82
lukslukihttps://github.com/luksluki
forge-corehttps://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22forge-core%22
forge-mcphttps://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22forge-mcp%22
phase-4https://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22phase-4%22
wave-9https://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22wave-9%22
on Oct 19, 2026https://github.com/elcode-id/elcode-forge/issues/85#event-33653019970
lukslukihttps://github.com/luksluki
on Oct 19, 2026https://github.com/elcode-id/elcode-forge/issues/85#event-33655301775
feat(forge-core): AI configuration section, shared untrusted boundary…https://github.com/elcode-id/elcode-forge/commit/5601b73a3419c79f4a2b1c5d91b6370c1acf05a5
https://docs.github.com/articles/closing-issues-via-commit-messages
5601b73https://github.com/elcode-id/elcode-forge/commit/5601b73a3419c79f4a2b1c5d91b6370c1acf05a5
https://github.com/luksluki
lukslukihttps://github.com/luksluki
on Oct 19, 2026https://github.com/elcode-id/elcode-forge/issues/85#issuecomment-6271068363
#95https://github.com/elcode-id/elcode-forge/pull/95
#85https://github.com/elcode-id/elcode-forge/issues/85
lukslukihttps://github.com/luksluki
completedhttps://github.com/elcode-id/elcode-forge/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 19, 2026https://github.com/elcode-id/elcode-forge/issues/85#event-33659890261
Sign up for freehttps://github.com/signup?return_to=https://github.com/elcode-id/elcode-forge/issues/85
Sign in to commenthttps://github.com/login?return_to=https://github.com/elcode-id/elcode-forge/issues/85
forge-corehttps://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22forge-core%22
forge-mcphttps://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22forge-mcp%22
phase-4https://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22phase-4%22
wave-9https://github.com/elcode-id/elcode-forge/issues?q=state%3Aopen%20label%3A%22wave-9%22
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.