Repository navigation
Conversation
… the built-ins A source run now reads, links and prints the versioned copy under TACK_BUILTINS_DIR, and every run that keeps copies prunes the folder it uses. An eval arm names an edited built-ins folder, which the task container reaches through the setting; the per-file skill overrides and the fixed-path mount go.
Deploying tack-website with
|
| Latest commit: |
63b577e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ac58b2d0.tack-ayg.pages.dev |
| Branch Preview URL: | https://feat-release-builtins-dir.tack-ayg.pages.dev |
This branch has not been deployed
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.
Why
An eval could not compare two versions of Tack's built-in skills or of the
tack guidetext without a mount over a fixed path of the image.TACK_BUILTINS_DIRalready says where an installed Tack keeps its built-ins, but a source run ignored it, and so did the removal of old copies. With the setting honoured everywhere, an eval arm, or anyone outside Docker, can point Tack at an edited copy and compare.What
TACK_BUILTINS_DIR. A source run with the setting makes and uses one copy there, as a package does: it reads, links and prints that copy, extensions included. Without the setting, it reads its checkout as before. An empty value counts as unset, and a relative path resolves against the current folder.~/.tack/builtins. The rule is the same: not the running version, not the newest other one, not one a link points into. A link now also counts when it reaches the folder through another symbolic link, and a removal that fails no longer fails the sync."builtins": { "folder": "..." }, an edited copy that Tack made. The plan binds one SHA-256 over every file, shows it in the dry run, and refuses a folder that changes later. It combines withprofileBundle.skillsoverrides, the mount over/opt/tack/builtinsand the image's symlink. The task container gets the folder at/builtinsandTACK_BUILTINS_DIRnames it, for the baseline too, so arms differ only in the files.Related to
TACK_BUILTINS_DIR.Details
VERSION+dev, whatever the commit: delete it to take a changed checkout's files. Removal of old copies includes edited ones; the docs say so.skillsis refused.Tests run:
builtins-dir) and the coverage budget, which is unchanged./instructions, in the folder Tack uses, and through the linkstack syncmade. It differs from the baseline in those two files only, andtack guidediffers only for the edited guide.setup.md, which this PR edits. The path that Tack reports for its built-ins changes from/opt/tack/builtinsto/builtins/VERSION.