Skip to content

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

Merged
tbhb-agent merged 4 commits into
mainfrom
agent/graph-baseline-fix2
Nov 24, 2026
Merged

tbhb-agent merged 4 commits into
mainfrom
agent/graph-baseline-fix2

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, and .bazelrc enables runfiles trees on Windows.

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. Copied the Windows runfiles settings from event-gateway's .bazelrc.

Deviations from the task

This replaces the earlier pull requests. The first failed building //:bazel_env on Windows. The second failed 25 of 26 tests there, since Windows doesn't build a runfiles tree by default.

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 on macOS, and that bazelisk run //:format left the tree unchanged. It couldn't run Windows. CI checks this head, 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
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:c21482cd3aa56e73;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
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:c21482cd3aa56e73;surface=exec
@tbhb-agent
tbhb-agent marked this pull request as ready for review November 24, 2026 17:37
@tbhb-agent
tbhb-agent merged commit 526b32a into main Nov 24, 2026
8 checks passed
@tbhb-agent
tbhb-agent deleted the agent/graph-baseline-fix2 branch November 24, 2026 20:29
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