Repository navigation
Conversation
…3882) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Relates to #3882. Prototype, not to be merged. It exists to prove or discard sharing agent skills, rules and developer tools across frontend repositories through a read-only git submodule, before a full migration is planned.
The shared repository is blockscout/frontend-devkit, mounted at
devkit/. On this branch:check-github-cli,slack-file,update-glossary) and two rules (adr,docs) are replaced by symlinks into the submodule; thedoc-linkstool is deleted here and run fromdevkit/tools/doc-links/, with this repository's exclusions indevkit.config.json.post-checkout,post-mergeandpost-rewritehooks and thepreparescript, and initialised for agent-made worktrees by.claude/hooks/devkit-init.sh(session start, subagent start,EnterWorktree).devkit/**and apre-commitcheck that refuses a commit while the submodule has local changes.tsconfig, Vitest, ESLint and cspell each excludedevkit/with one line; the Checks workflow checks out submodules in the lint job.tools/devkit-probes/holds the scripts behind the results below, so they can be rerun.Environment variables
None
Minimum API version
None
Breaking or incompatible changes
None
Additional information
Results so far. A failed check in the first group discards the approach.
claude --worktreeEnterWorktreemid-sessiongit worktree addfollowed by a headless sessionpnpm installinitialises the submodule; without install, the first agent session doestsc, ESLint, cspell, Vitest with the submodule presentdoc-linksrun from the submodule, here and in a second repository on another TypeScript versiondoc-linksrunpre-commitsubmodules: trueand a check that the pointer is on the shared repository's main branch; other jobs unchanged.cursor/worktrees.json; shared skills missing without itKnown costs, accepted for now:
devkit/behind as an untracked directory.git reset --hardacross a pointer change leaves the submodule modified untilgit submodule update, or needs--recurse-submodules. A guard that only lets the pointer change through a dedicated script is planned for the full implementation.git worktree removeneeds--forceonce the submodule is initialised.Not tested: Dependabot updates of the pointer, and a shared tool with runtime dependencies of its own.
🤖 Generated with Claude Code