Title: feat(forge-git): hook installation, lifecycle management, and hooks configuration schema · Issue #130 · elcode-id/elcode-forge · GitHub
Open Graph Title: feat(forge-git): hook installation, lifecycle management, and hooks configuration schema · Issue #130 · elcode-id/elcode-forge
X Title: feat(forge-git): hook installation, lifecycle management, and hooks configuration schema · Issue #130 · elcode-id/elcode-forge
Description: Part of Epic #129. Goal Implement git hook configuration schema in \ orge-core\ and hook lifecycle management in \ orge-git. Requirements \crates/forge-core/src/config.rs: Add \pub hooks: Option\ to \ForgeConfig. \HooksConfig\ with \pre_...
Open Graph Description: Part of Epic #129. Goal Implement git hook configuration schema in \ orge-core\ and hook lifecycle management in \ orge-git. Requirements \crates/forge-core/src/config.rs: Add \pub hooks: Option\ t...
X Description: Part of Epic #129. Goal Implement git hook configuration schema in \ orge-core\ and hook lifecycle management in \ orge-git. Requirements \crates/forge-core/src/config.rs: Add \pub hooks: Option\ t...
Opengraph URL: https://github.com/elcode-id/elcode-forge/issues/130
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(forge-git): hook installation, lifecycle management, and hooks configuration schema","articleBody":"Part of Epic #129.\n\n### Goal\nImplement git hook configuration schema in \\\forge-core\\ and hook lifecycle management in \\\forge-git\\.\n\n### Requirements\n1. **\\crates/forge-core/src/config.rs\\:**\n - Add \\pub hooks: Option\u003cHooksConfig>\\ to \\ForgeConfig\\.\n - \\HooksConfig\\ with \\pre_commit: Option\u003cHookActionConfig>\\ and \\pre_push: Option\u003cHookActionConfig>\\.\n - \\HookActionConfig\\ with fields: \\enabled: bool\\, \\\fail_on: Option\u003cSeverity>\\, \\\fast: Option\u003cbool>\\, \\staged_only: Option\u003cbool>\\.\n2. **\\crates/forge-git/src/hooks.rs\\:**\n - \\HookType\\: \\PreCommit\\, \\PrePush\\, \\All\\.\n - \\install_hooks(repo_root: &Path, hook_type: HookType, force: bool) -> Result\u003cHookInstallResult, ForgeError>\\.\n - \\uninstall_hooks(repo_root: &Path, hook_type: HookType) -> Result\u003cHookUninstallResult, ForgeError>\\.\n - \\get_hooks_status(repo_root: &Path) -> Result\u003cHookStatusReport, ForgeError>\\.\n - Non-destructive backup preservation: if an existing hook was not created by \\eforge\\, back it up to \\\u003chook>.forge-backup\\.\n - Executable permissions enforcement (\\","author":{"url":"https://github.com/luksluki","@type":"Person","name":"luksluki"},"datePublished":"2026-10-21T01:45:54Z","url":"https://github.com/elcode-id/elcode-forge/issues/130"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:20c6bafc-b639-d645-1895-d3238743e9c0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FD0:20252D:18123C:210783:6B059842 |
| html-safe-nonce | 454cbbc402948e0355fc3ccef52e671040119f5a552517ac8bf5ebd6faab93ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkQwOjIwMjUyRDoxODEyM0M6MjEwNzgzOjZCMDU5ODQyIiwidmlzaXRvcl9pZCI6IjE5NTExMzU3ODM4ODUwNTE5NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 76a98efb7fbbfc1c639af9f08295ad3af7041226ecd815c295b3ffa7d9806592 |
| hovercard-subject-tag | issue:5952772015 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/elcode-id/elcode-forge/130/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9f458b4412e020d9308e1e38ede9f14c1f02effbe50537dc83523f5f1d458a28/elcode-id/elcode-forge/issues/130 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9f458b4412e020d9308e1e38ede9f14c1f02effbe50537dc83523f5f1d458a28/elcode-id/elcode-forge/issues/130 |
| og:image:alt | Part of Epic #129. Goal Implement git hook configuration schema in \ orge-core\ and hook lifecycle management in \ orge-git. Requirements \crates/forge-core/src/config.rs: Add \pub hooks: Option\ t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | luksluki |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3b72fd2385d76a50ce0fe937d50bb4a81434432c4fd47866074a26f6cd03623f |
| turbo-cache-control | no-preview |
| go-import | github.com/elcode-id/elcode-forge git https://github.com/elcode-id/elcode-forge.git |
| octolytics-dimension-user_id | 337957755 |
| octolytics-dimension-user_login | elcode-id |
| octolytics-dimension-repository_id | 1423983661 |
| octolytics-dimension-repository_nwo | elcode-id/elcode-forge |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1423983661 |
| octolytics-dimension-repository_network_root_nwo | elcode-id/elcode-forge |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58e2bd32336f3dcee343ec627a4d09c7c444e214 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width