Skip to content

chore: remove stray teamai init test artifacts from repo root - #284

Merged
jeff-r2026 merged 1 commit into
mainfrom
chore/remove-stray-member-registration
Aug 6, 2026
Merged

chore: remove stray teamai init test artifacts from repo root#284
jeff-r2026 merged 1 commit into
mainfrom
chore/remove-stray-member-registration

Conversation

@jeff-r2026

Copy link
Copy Markdown
Collaborator

What

Remove 7 stray files that were accidentally committed to the repo root by 2117de1 ("[teamai] Register member: jeff-r2026").

Why

2117de1 committed the output of running teamai init against this repo itself — dogfooding artifacts, not product code:

  • teamai.yaml — a team config stub (team: my-team, points repo at this project)
  • members/jeff-r2026.yaml — a test member profile
  • docs/.gitkeep, env/.gitkeep, members/.gitkeep, rules/.gitkeep, skills/.gitkeep — empty scaffolding dirs teamai init creates for a team-resource repo

None of this is product source or a test fixture. Every code/test reference to teamai.yaml resolves it from a runtime/tmp repoPath (src/config.ts, src/source.ts, src/init.ts, tests write to tmpdirs) — never the repo root. So these files are inert clutter that also misleads anyone browsing the repo into thinking it ships a team config.

How

New deletion commit — history is not rewritten (this branch is on the public upstream + mirrored to TGit, so a rebase/reset is off the table).

Test plan

  • npm run build — success
  • npx tsc --noEmit — clean
  • npx vitest run — 147 files / 1946 tests passed (no fixture depended on the removed files)

🤖 Generated with Claude Code

Commit 2117de1 accidentally committed the output of running `teamai init`
against this repo itself: a member profile, a team teamai.yaml, and empty
skills/rules/env/docs/members scaffolding dirs. None of it is product code or
a test fixture (all code reads teamai.yaml from a runtime/tmp repoPath, never
the repo root). Remove the 7 stray files.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jeff-r2026
jeff-r2026 merged commit 8fd352f into main Aug 6, 2026
7 checks passed
@jeff-r2026
jeff-r2026 deleted the chore/remove-stray-member-registration branch August 6, 2026 08:52
jeff-r2026 added a commit that referenced this pull request Aug 6, 2026
Resolve merge conflict in src/init.ts (keep both resolveDotTarget and
resolveInheritUserScope). The stray dogfooding artifacts (teamai.yaml,
members/jeff-r2026.yaml, .gitkeep placeholders) are removed by main's #284.

Fixes from PR #277 review:
- pull.ts: guard auto-bootstrap with provider.isAuthenticated() so the
  session-start hook never triggers an interactive `gh auth login --web`
  that would hang until the hook timeout.
- pull.ts: normalize $HOME collision guard via resolveRealPath (matches
  init's resolveInitScope) instead of raw string compare.
- pull.ts: drop redundant hook reconcile inside bootstrap; the normal pull
  flow reconciles once via reconcileHooksAllScopes.
- git.ts: normalizeRemoteUrl now handles `ssh://git@host[:port]/path`
  remotes; export shared resolveRealPath (init.ts reuses it).
- hooks.ts: removeAll still cleans up shell-dependent (codebuddy/workbuddy)
  hooks when /bin/sh is absent, instead of skipping them.
- docs: note that auto-bootstrap skips interactive login when unauthenticated.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant