Repository navigation
Conversation
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.
Summary
Accept either supported benchmark suite marker when checking a single-file push against the remote default tree. A suite with
SUITE.yamlwas already accepted by the suite loader but everypush --file --pathinto its tasks was rejected for missingsuite.yaml.Type of Change
Test Plan
Type checking passes (
npm run typecheck, includingnpx tsc --noEmit).npm run lintpasses in full (oxlint passes; baseline documentation failures detailed below).Relevant test file passes; no shared runner, helper or configuration changes require the entire suite.
Added/updated regression tests.
Runtime change verified with the real CLI in an isolated world; record below.
Regression-first proof: Before the fix, the same E2E case passes with
suite.yamland fails withSUITE.yaml. In the world,teamai --dry-run push --file new-task.yaml --path benchmarks/frontend/tasks/new-task.yamlchanges from exit 1 (missing lowercase marker) to exit 0 (Would propose ...,Dry run — no changes made).npm run test:e2e -- src/__tests__/e2e/push-file-path-1402.test.ts: 22 passed on Linux.npm run typecheck: passed.npm run lint: oxlint passed with 0 warnings and 0 errors. Documentation checking fails in two groups also reproduced on the untouched main snapshot: the internal-tool inventory expectsworkbuddypro, and three shipped runtime-driver guide blocks differ from their YAML. No documentation/default driver files are changed here.Real-CLI record, 2026-12-02, Alpine Linux / Node v22.23.5 in an isolated WSL chroot (Windows itself does not support verify worlds):
The Linux checkout is a source-content snapshot with its own synthetic Git commit, so
build.commitdiffers from the PR commit. Each repair was applied and tested independently; the world packed and installed the CLI before the commands above. The published branch was created through GitHub's Git Data API after Git transport failed TLS; its full tree hash was checked against the local repair branch. The temporary proof helper only prepares local fixtures and invokes the installed real CLI in the world's empty environment; it is not shipped.Related Issues
Fixes #2269
Notes for Reviewers
The full E2E file covers dedicated git and self mode, a dirty team clone, repeat pushes/PR updates, exact-file proposals and symlink refusals. HTTP stays read-only. User/workspace scope and namespace/default-layer routing use the same tree check. No supported tool path or driver/runtime capability changes, and no checkout anchoring changes for linked worktrees, submodules, workspace children or bare repos. The real world uses git workspace scope; extra tool/provider combinations remain for CI.
The world uninstall ledger is clean. Documentation and skill-data wording were checked; existing guidance stays accurate. No shipped always-loaded text or hook/pull process counts grow. Windows CI and additional tool/provider combinations remain for CI; local Windows symlink-dependent tests are restricted by the host.
CI baseline cross-check: the representative Windows job fails five existing tool-inventory assertions in
locate-mcp.test.ts,tools-channels.test.tsandtools.test.ts(including WorkBuddy Pro). Running those same files on untouchedorigin/main1877feb on Windows reproduces exactly 5 failed / 889 passed. The CI lint log also fails the internal-tool documentation inventory, matching the baseline documentation check above. These files/tool descriptors are outside this repair. Other CI jobs were still running at the check; this PR does not claim a green full matrix.