File tree Expand file tree Collapse file tree
plugins/corbits-skills/skills/lexicon Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ Linear issues for drift.
2525All comparisons in one run use a single pinned commit of the agents
2626checkout — never float mid-run.
2727
28- 1 . Resolve the checkout (default ` /Users/thegreataxios/abklabs/agents ` ;
29- accept an operator override path).
28+ 1 . Resolve the checkout — probe ` ../agents ` beside this repo, then
29+ ` $AGENTS_CHECKOUT ` when set, else ask the operator for the path.
30+ Never assume a machine-specific default.
30312 . Record the pin: ` git -C <checkout> rev-parse HEAD ` .
31323 . Read every agents-side file with ` git show <pin>:<path> ` so local
3233 working-tree edits cannot skew the diff.
Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ describe("lexicon skill shape", () => {
3333 expect ( skill ) . toContain ( "linear-issue-workflow" ) ;
3434 } ) ;
3535
36+ test ( "checkout resolution is portable (no hardcoded machine path)" , async ( ) => {
37+ const skill = await Bun . file ( skillPath ) . text ( ) ;
38+ expect ( skill ) . not . toMatch ( / \/ U s e r s \/ [ \w - ] + / ) ;
39+ expect ( skill ) . toMatch ( / A G E N T S _ C H E C K O U T / ) ;
40+ expect ( skill ) . toMatch ( / a s k t h e o p e r a t o r / ) ;
41+ } ) ;
42+
3643 test ( "lexicon is a slash command" , async ( ) => {
3744 const cmds = await loadSkillCommands ( pluginRoot ) ;
3845 expect ( defined ( cmds , "skill commands" ) . map ( ( c ) => c . name ) ) . toContain (
You can’t perform that action at this time.
0 commit comments