Skip to content

chore: add the Python baseline and a graph plugin skeleton - #2

Closed
tbhb-agent wants to merge 3 commits into
mainfrom
agent/graph-baseline-fix
Closed

tbhb-agent wants to merge 3 commits into
mainfrom
agent/graph-baseline-fix

Conversation

@tbhb-agent

Copy link
Copy Markdown
Collaborator

Why

The repository has no build, lint, or test setup and no package yet. The context graph needs a public tbhbgraph package that adds a graph command to tbhbdev before any feature work starts.

Behavior change

The repository gets the shared public Python baseline: mise, bazel, CI, hooks, vale, cspell, REUSE, and the Apache-2.0 license. A new tbhbgraph package registers in the tbhbdev.plugins entry-point group and adds a graph click group. tbhbdev graph --version prints the package version. The //:bazel_env target is incompatible with Windows. The Windows CI job skips it.

Decisions

Chose click over argparse for the group, as the coordinator asked, and exposed a TOOLS mapping and a config function, as the plugin loader reads them. Chose the name tbhbgraph for the distribution, the package, and the entry point. Marked bazel_env Windows-incompatible the way event-gateway does, with canonical @@platforms labels because @platforms doesn't resolve in this repository.

Deviations from the task

This replaces the first pull request, whose Windows job failed building //:bazel_env. Its head is unchanged except for the one fix commit.

Needs human judgment

The package requires Python 3.15, like the other tbhb-dev plugins. Confirm that suits a package other repositories install.

Verification

The fix run reported that bazelisk test //... passed all 26 tests, that bazelisk run //:format left the tree unchanged, and that bazel treats the target as incompatible with a Windows platform. CI checks this head again, including the Windows job.

Opened-by: LLM effort=medium;harness=claude-code:2.1.331;model=anthropic:claude-sonnet-5-5;session=sha-256-64:c0f9bb806fecbdfc;surface=cli
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:533998b62cc6fcb4;surface=exec
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:d4bf8ee3e1e76827;surface=exec
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:06f6c46932743b4c;surface=exec
Assisted-by: LLM effort=medium;harness=claude-code:2.1.331;model=anthropic:claude-sonnet-5-5;session=sha-256-64:c0f9bb806fecbdfc;subagent=sha-256-64:70337838fef22f83;surface=cli

Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:533998b62cc6fcb4;surface=exec
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:d4bf8ee3e1e76827;surface=exec
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:06f6c46932743b4c;surface=exec
@tbhb-agent

Copy link
Copy Markdown
Collaborator Author

superseded by the PR that enables runfiles on Windows

Generated-by: LLM effort=medium;harness=claude-code:2.1.331;model=anthropic:claude-sonnet-5-5;session=sha-256-64:c0f9bb806fecbdfc;subagent=sha-256-64:70337838fef22f83;surface=cli

@tbhb-agent tbhb-agent closed this Nov 24, 2026
@tbhb-agent
tbhb-agent deleted the agent/graph-baseline-fix branch November 24, 2026 20:30
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