guild-cli 0.10.3__tar.gz → 0.11.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/guild/scripts/configure-repo.sh +26 -4
- {guild_cli-0.10.3 → guild_cli-0.11.0}/CHANGELOG.md +41 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/CLAUDE.md +1 -1
- guild_cli-0.11.0/LICENSE +201 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/PKG-INFO +4 -4
- {guild_cli-0.10.3 → guild_cli-0.11.0}/docs/skill-sources.md +12 -12
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/_provision_template.py +15 -2
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/create.py +22 -2
- {guild_cli-0.10.3 → guild_cli-0.11.0}/pyproject.toml +4 -4
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_cli_create.py +144 -2
- {guild_cli-0.10.3 → guild_cli-0.11.0}/uv.lock +1 -1
- guild_cli-0.10.3/LICENSE +0 -21
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/agent-config/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/agent-config/data/backend-fingerprints.yaml +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/agent-config/scripts/show.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/assign-to-workforce/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/assign-to-workforce/scripts/assign-to-workforce.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/cicd/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/cicd/scripts/_resolve-nick.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/cicd/scripts/portability-lint.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/cicd/scripts/pr-reply.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/cicd/scripts/pr-status.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/cicd/scripts/workflow.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/communicate/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/communicate/scripts/fetch-issues.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/communicate/scripts/mesh-message.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/communicate/scripts/post-comment.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/communicate/scripts/post-issue.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/communicate/scripts/templates/skill-new-brief.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/communicate/scripts/templates/skill-update-brief.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/doc-test-alignment/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/doc-test-alignment/scripts/check.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/guild/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/guild/scripts/create.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/guild/scripts/overview.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/onboard/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/onboard/scripts/onboard.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/outsource/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/outsource/prompts/explore.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/outsource/prompts/review.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/outsource/prompts/write.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/outsource/scripts/outsource.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/pypi-maintainer/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/pypi-maintainer/scripts/switch-source.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/run-tests/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/run-tests/scripts/test.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/sonarclaude/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/sonarclaude/scripts/sonar.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/spec-to-plan/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/spec-to-plan/scripts/spec-to-plan.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/teach/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/teach/scripts/teach.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/think/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/think/scripts/think.sh +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/version-bump/SKILL.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/version-bump/scripts/bump.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills.local.yaml.example +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.devague/frames/guildmaster-ships-teach-and-onboard-two-agent-firs.json +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.devague/plans/guildmaster-ships-teach-and-onboard-two-agent-firs.json +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.flake8 +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.github/workflows/publish.yml +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.github/workflows/tests.yml +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.gitignore +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/.markdownlint-cli2.yaml +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/README.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/culture.yaml +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/docs/cutover.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/docs/onboarding/reachy-mini-mcp.json +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/docs/plans/2026-05-24-guildmaster-ships-teach-and-onboard-two-agent-firs.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/docs/specs/2026-05-24-guildmaster-ships-teach-and-onboard-two-agent-firs.md +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/__init__.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/__main__.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/__init__.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/__init__.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/_broadcast.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/explain.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/learn.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/onboard.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/overview.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/show.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/teach.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_commands/whoami.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_errors.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_output.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/cli/_repo.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/scaffold/__init__.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/scaffold/instantiate.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/skills/__init__.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/skills/identity.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/skills/ledger.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/skills/render.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/guild/skills/sources.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/sonar-project.properties +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/__init__.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_broadcast_post.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_cli.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_cli_explain.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_cli_learn.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_cli_onboard.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_cli_overview.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_cli_show.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_cli_teach.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_cli_whoami.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_scaffold_instantiate.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_skills_convention.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_skills_identity.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_skills_ledger.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_skills_render.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_skills_sources.py +0 -0
- {guild_cli-0.10.3 → guild_cli-0.11.0}/tests/test_version_fallback.py +0 -0
|
@@ -43,6 +43,27 @@ command -v gh >/dev/null 2>&1 || { echo "configure-repo: 'gh' not on PATH" >&2;
|
|
|
43
43
|
|
|
44
44
|
say() { if $apply; then echo " ✓ $1"; else echo " would: $1"; fi; }
|
|
45
45
|
|
|
46
|
+
# Run a gh write that GitHub gates behind a paid plan for PRIVATE repos
|
|
47
|
+
# (environments, rulesets). The ✓/⚠ line is printed only AFTER the call returns,
|
|
48
|
+
# so the log never claims success before the attempt. On that specific 403 —
|
|
49
|
+
# "Upgrade to GitHub Pro or make this repository public" — warn (to stderr) and
|
|
50
|
+
# continue so a private `guild create` still succeeds on free-tier accounts; any
|
|
51
|
+
# other failure stays fatal (output re-emitted to stderr, and the non-zero
|
|
52
|
+
# return trips `set -e` in the caller).
|
|
53
|
+
pro_gated_apply() {
|
|
54
|
+
what="$1"; shift
|
|
55
|
+
if out="$("$@" 2>&1)"; then
|
|
56
|
+
echo " ✓ $what"
|
|
57
|
+
return 0
|
|
58
|
+
fi
|
|
59
|
+
if printf '%s\n' "$out" | grep -qiE 'Upgrade to GitHub Pro|make this repository public'; then
|
|
60
|
+
echo " ⚠ skipped $what — requires GitHub Pro/Team for private repos (apply after upgrade or when the repo is public)" >&2
|
|
61
|
+
return 0
|
|
62
|
+
fi
|
|
63
|
+
printf '%s\n' "$out" >&2
|
|
64
|
+
return 1
|
|
65
|
+
}
|
|
66
|
+
|
|
46
67
|
echo "── configure-repo: $repo $([ "$apply" = true ] && echo '(--apply)' || echo '(dry-run)') ──"
|
|
47
68
|
|
|
48
69
|
# 1. auto-delete-on-merge ---------------------------------------------------
|
|
@@ -53,9 +74,10 @@ fi
|
|
|
53
74
|
|
|
54
75
|
# 2. environments -----------------------------------------------------------
|
|
55
76
|
for env in "${ENVIRONMENTS[@]}"; do
|
|
56
|
-
say "ensure environment '$env'"
|
|
57
77
|
if $apply; then
|
|
58
|
-
gh api -X PUT "repos/$repo/environments/$env"
|
|
78
|
+
pro_gated_apply "environment '$env'" gh api -X PUT "repos/$repo/environments/$env"
|
|
79
|
+
else
|
|
80
|
+
say "ensure environment '$env'"
|
|
59
81
|
fi
|
|
60
82
|
done
|
|
61
83
|
|
|
@@ -65,8 +87,8 @@ if ! $apply; then
|
|
|
65
87
|
elif gh api "repos/$repo/rulesets" --jq '.[].name' 2>/dev/null | grep -Fxq "$RULESET_NAME"; then
|
|
66
88
|
echo " • ruleset '$RULESET_NAME' already present — skipping"
|
|
67
89
|
else
|
|
68
|
-
|
|
69
|
-
|
|
90
|
+
pro_gated_apply "ruleset '$RULESET_NAME' (deletion + non_fast_forward + pull_request)" \
|
|
91
|
+
gh api -X POST "repos/$repo/rulesets" --input - <<JSON
|
|
70
92
|
{
|
|
71
93
|
"name": "$RULESET_NAME",
|
|
72
94
|
"target": "branch",
|
|
@@ -5,6 +5,47 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
Format follows [Keep a Changelog](https://keepachangelog.com/). This project
|
|
6
6
|
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.11.0] - 2026-06-10
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **`guild create` now defaults to a PRIVATE repo, with `--public` to opt out.**
|
|
13
|
+
The `culture-agent-template` is itself private, so new siblings are created
|
|
14
|
+
private by default; pass `--public` for siblings meant to be open. The flag
|
|
15
|
+
flips the `gh repo create` visibility from `--private` to `--public`, and the
|
|
16
|
+
resolved visibility is surfaced in the dry-run render (`visibility :
|
|
17
|
+
private`/`public`) and the `--json` payload (`"private"`). **Behavioral change:**
|
|
18
|
+
a bare `guild create` previously produced a public repo and now produces a
|
|
19
|
+
private one.
|
|
20
|
+
- **`configure-repo.sh` tolerates the GitHub Pro/Team gate on private repos.**
|
|
21
|
+
Environments and branch-protection rulesets return a 403 (`Upgrade to GitHub
|
|
22
|
+
Pro or make this repository public`) for private repos on free-tier accounts.
|
|
23
|
+
The new `pro_gated_apply` helper warns-and-continues on exactly that 403 (any
|
|
24
|
+
other failure stays fatal), so provisioning a private sibling completes cleanly
|
|
25
|
+
instead of aborting after the repo + genesis already exist. Branch protection
|
|
26
|
+
is simply not applied until the repo is upgraded to a paid plan or made public.
|
|
27
|
+
The skip warning is written to **stderr** and `guild create` re-emits it as a
|
|
28
|
+
diagnostic (stdout stays clean for `--json`), so the skip is never swallowed by
|
|
29
|
+
the provisioning runner; the `✓`/`⚠` status line is printed only *after* the
|
|
30
|
+
call returns, never optimistically before it.
|
|
31
|
+
- **Registered `agent-lifecycle` in the skills ledger** as a downstream consumer
|
|
32
|
+
of the canonical kit. `agent-lifecycle` is a new (private) sibling chartered by
|
|
33
|
+
`culture` (guildmaster#61): a harness- and transport-agnostic agent runtime
|
|
34
|
+
extracted from `cultureagent`.
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
## [0.10.4] - 2026-06-07
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- **License: MIT → Apache 2.0.** Replaced the MIT license text with the
|
|
45
|
+
Apache License 2.0 (`LICENSE`) and aligned the declared license in
|
|
46
|
+
`pyproject.toml` (`license = "Apache-2.0"` plus the OSI classifier).
|
|
47
|
+
Copyright holder is Ori Nachum, matched in `pyproject.toml` `authors`.
|
|
48
|
+
|
|
8
49
|
## [0.10.3] - 2026-06-06
|
|
9
50
|
|
|
10
51
|
### Added
|
|
@@ -108,7 +108,7 @@ two live broadcasters.
|
|
|
108
108
|
|
|
109
109
|
**Provisioning verb — `guild create` (template-instantiate a new sibling).**
|
|
110
110
|
|
|
111
|
-
- `guild create --agent OWNER/REPO --desc TEXT [--backend claude|acp] [--workspace-root DIR] [--template agentculture/culture-agent-template] [--command NAME] [--pkg NAME] [--dist NAME] [--apply] [--json]` — provision a brand-new AgentCulture sibling by instantiating the GitHub template, renaming identifiers throughout the clone, writing a self-init CLAUDE.md seed, configuring the GitHub repo (branch protection, environments, SONAR_TOKEN placeholder), pushing the genesis commit, and registering the agent in `docs/skill-sources.md`. Dry-run by default; `--apply` executes. The transform is **pure** (unit-testable against a fixture dir; no network): `culture_agent_template` → pkg (underscore form, e.g. `my_agent`), `culture-agent-template` → repo token (hyphen form, e.g. `my-agent`). **The repo token is the repo/agent identity only** — it always drives the README heading, `culture.yaml` suffix, CLAUDE.md seed, and repo URL. The **command**, **import package**, and **dist** are each independently retargetable and default to the repo token (or, for `--pkg`, the underscore form of `--command`); with no overrides the output is byte-identical to a plain rename. `--command NAME` sets the **console-command (binary) name** (default: the repo token) and retargets **only** the `[project.scripts]` entry-point key — e.g. `--command reachy` for repo `reachy-mini-cli` ships the command as `reachy`. `--pkg NAME` sets the **importable Python package** (default: the underscore form of `--command`, so command and import package stay in lock-step like `guild`/`guild`); pass it only to decouple the two. `--dist NAME` sets the **PyPI distribution name** (default: the repo token); pass e.g. `--dist jetson-cli` to publish as `jetson-cli` while keeping the command and import package as the repo token (`jetson`) — this retargets only `[project].name`, the `importlib.metadata` lookup, and the TestPyPI install pin, matching the `guild-cli`/`guild` convention without a manual post-create edit. (Renaming the dist or command does **not** register a Trusted Publisher — that needs a matching Trusted Publisher registered for the project name on PyPI/TestPyPI; `guild create` configures the GitHub side only.) The CLAUDE.md seed is a `/init`-style bootstrap placeholder — run `/init` in the new repo after provisioning to expand it into a full runtime prompt. Implementation: `guild/scaffold/instantiate.py` (pure transform: `_resolve_identifiers` + `_retarget_command` / `_retarget_dist`), `guild/cli/_commands/create.py` (CLI), `guild/cli/_commands/_provision_template.py` (injectable-runner executor), `.claude/skills/guild/scripts/create.sh` (thin wrapper).
|
|
111
|
+
- `guild create --agent OWNER/REPO --desc TEXT [--backend claude|acp] [--workspace-root DIR] [--template agentculture/culture-agent-template] [--command NAME] [--pkg NAME] [--dist NAME] [--public] [--apply] [--json]` — provision a brand-new AgentCulture sibling by instantiating the GitHub template, renaming identifiers throughout the clone, writing a self-init CLAUDE.md seed, configuring the GitHub repo (branch protection, environments, SONAR_TOKEN placeholder), pushing the genesis commit, and registering the agent in `docs/skill-sources.md`. Dry-run by default; `--apply` executes. **New repos are private by default** (the `culture-agent-template` is itself private); pass `--public` to create an open sibling. Branch-protection rulesets (and environments) are GitHub Pro/Team-gated for private repos on free-tier accounts, so `configure-repo.sh` warns-and-skips the gated `gh` calls (any other failure stays fatal) and applies the rest — a private create still completes; re-run `configure-repo.sh` after a Pro upgrade or after going public to add the ruleset. The transform is **pure** (unit-testable against a fixture dir; no network): `culture_agent_template` → pkg (underscore form, e.g. `my_agent`), `culture-agent-template` → repo token (hyphen form, e.g. `my-agent`). **The repo token is the repo/agent identity only** — it always drives the README heading, `culture.yaml` suffix, CLAUDE.md seed, and repo URL. The **command**, **import package**, and **dist** are each independently retargetable and default to the repo token (or, for `--pkg`, the underscore form of `--command`); with no overrides the output is byte-identical to a plain rename. `--command NAME` sets the **console-command (binary) name** (default: the repo token) and retargets **only** the `[project.scripts]` entry-point key — e.g. `--command reachy` for repo `reachy-mini-cli` ships the command as `reachy`. `--pkg NAME` sets the **importable Python package** (default: the underscore form of `--command`, so command and import package stay in lock-step like `guild`/`guild`); pass it only to decouple the two. `--dist NAME` sets the **PyPI distribution name** (default: the repo token); pass e.g. `--dist jetson-cli` to publish as `jetson-cli` while keeping the command and import package as the repo token (`jetson`) — this retargets only `[project].name`, the `importlib.metadata` lookup, and the TestPyPI install pin, matching the `guild-cli`/`guild` convention without a manual post-create edit. (Renaming the dist or command does **not** register a Trusted Publisher — that needs a matching Trusted Publisher registered for the project name on PyPI/TestPyPI; `guild create` configures the GitHub side only.) The CLAUDE.md seed is a `/init`-style bootstrap placeholder — run `/init` in the new repo after provisioning to expand it into a full runtime prompt. Implementation: `guild/scaffold/instantiate.py` (pure transform: `_resolve_identifiers` + `_retarget_command` / `_retarget_dist`), `guild/cli/_commands/create.py` (CLI), `guild/cli/_commands/_provision_template.py` (injectable-runner executor), `.claude/skills/guild/scripts/create.sh` (thin wrapper).
|
|
112
112
|
|
|
113
113
|
**Inventory verbs — `overview` & `show` (the read-only surfaces).** guildmaster
|
|
114
114
|
owns the mesh's *inventory* surfaces per
|
guild_cli-0.11.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Ori Nachum
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: guild-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0
|
|
4
4
|
Summary: guildmaster — an agent and CLI that manages skills for the AgentCulture mesh.
|
|
5
5
|
Project-URL: Homepage, https://github.com/agentculture/guildmaster
|
|
6
6
|
Project-URL: Issues, https://github.com/agentculture/guildmaster/issues
|
|
7
|
-
Author:
|
|
8
|
-
License-Expression:
|
|
7
|
+
Author: Ori Nachum
|
|
8
|
+
License-Expression: Apache-2.0
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Classifier: Development Status :: 3 - Alpha
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: License :: OSI Approved ::
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Classifier: Topic :: Software Development
|
|
15
15
|
Requires-Python: >=3.12
|
|
@@ -32,14 +32,14 @@ current by `guild overview --scope mesh`.
|
|
|
32
32
|
|
|
33
33
|
| Skill | Upstream | Downstream copies (known) | Notes |
|
|
34
34
|
|-------|----------|---------------------------|-------|
|
|
35
|
-
| `agent-config` | `guildmaster` (`.claude/skills/agent-config/`) | `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | Inventory variant backing `guild show` ([#12](https://github.com/agentculture/guildmaster/issues/12)); `show.sh` + `data/backend-fingerprints.yaml` vendored verbatim from steward, SKILL.md reframed from alignment-judgment to inventory + `type: command` added. **Forked from steward:** steward retains its own alignment-focused `agent-config` variant; the inventory variant is guildmaster's to supply. |
|
|
36
|
-
| `cicd` | `guildmaster` (`.claude/skills/cicd/`) — layered on `devex pr` (in `agentculture/devex`) | `afi-cli`, `devex` (adapted-thin delegate — owns `devex pr`; see [devex#53](https://github.com/agentculture/devex/pull/53)), `agtag`, `antoine`, `appsec`, `auntiepypi`, `cfafi` (still named `pr-review`), `code-lens-cli`, `culture` (still named `pr-review`), `devague`, `katvan`, `lecodeur`, `lepenseur`, `seer-cli`, `telek`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `grant` (still named `pr-review`), `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | Thin delegate to `devex pr` for lint / open / read / reply / delta, plus guildmaster's `status` (SonarCloud quality gate + hotspots + unresolved-thread tally) and `await` (composes `devex pr read --wait` with `status`, non-zero exit on Sonar ERROR / unresolved threads) extensions. **Inverted case:** devex, as the `devex pr` upstream, vendors the skill adapted-thin — a `workflow.sh`-only pure delegate ([devex#53](https://github.com/agentculture/devex/pull/53)). Renamed from `pr-review` in steward 0.7.0; downstream copies may keep the old name on their own cadence. |
|
|
37
|
-
| `communicate` | `guildmaster` (`.claude/skills/communicate/`) | `afi-cli`, `devex` (identifier-only — vendored steward 0.11.0; scripts current as of 0.18.0), `agtag`, `antoine`, `appsec`, `auntiepypi`, `code-lens-cli`, `culture` (still named `coordinate`), `devague`, `katvan`, `lecodeur`, `lepenseur`, `seer-cli`, `telek`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | Cross-repo + mesh communication: file issues / hand off briefs to sibling-repo agents (auto-signed), comment on existing issues, fetch issues to inline state into briefs, and send live messages to Culture mesh channels (unsigned — nick is the speaker). Renamed from `coordinate` in steward 0.8.0; absorbed `gh-issues` (as `fetch-issues.sh`) in 0.9.1. Issue I/O backed by `agtag` (>=0.1) since steward 0.11.0 — signature resolves from local `culture.yaml` (override via `--as`). |
|
|
38
|
-
| `doc-test-alignment` | `guildmaster` (`.claude/skills/doc-test-alignment/`) | `devague`, `lecodeur`, `lepenseur`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | Stub; real implementation TBD. `scripts/check.sh` exits not-yet-implemented today. |
|
|
39
|
-
| `pypi-maintainer` | `guildmaster` (`.claude/skills/pypi-maintainer/`) | `agtag`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | Switches a PyPI package install between pypi / test-pypi / local. Generalised from the original culture-specific `change-package`. |
|
|
40
|
-
| `run-tests` | `guildmaster` (`.claude/skills/run-tests/`) | `agtag`, `antoine`, `appsec`, `code-lens-cli`, `culture`, `culture-sonar-cli`, `devague`, `lecodeur`, `lepenseur`, `seer-cli`, `grant`, `telek`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | Coverage source resolves from `[tool.coverage.run]` in `pyproject.toml`, so the script is portable across siblings without modification. |
|
|
41
|
-
| `sonarclaude` | `guildmaster` (`.claude/skills/sonarclaude/`) | `antoine`, `appsec`, `code-lens-cli`, `devague`, `lecodeur`, `lepenseur`, `seer-cli`, `telek`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | SonarCloud API client. Project key resolves from `$SONAR_PROJECT` or `--project KEY`. |
|
|
42
|
-
| `version-bump` | `guildmaster` (`.claude/skills/version-bump/`) | `afi-cli`, `agtag`, `antoine`, `appsec`, `auntiepypi`, `cfafi`, `code-lens-cli`, `culture`, `devague`, `lecodeur`, `lepenseur`, `seer-cli`, `grant`, `telek`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | Pure Python, prepends a Keep-a-Changelog entry; no per-repo customization needed. |
|
|
35
|
+
| `agent-config` | `guildmaster` (`.claude/skills/agent-config/`) | `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | Inventory variant backing `guild show` ([#12](https://github.com/agentculture/guildmaster/issues/12)); `show.sh` + `data/backend-fingerprints.yaml` vendored verbatim from steward, SKILL.md reframed from alignment-judgment to inventory + `type: command` added. **Forked from steward:** steward retains its own alignment-focused `agent-config` variant; the inventory variant is guildmaster's to supply. |
|
|
36
|
+
| `cicd` | `guildmaster` (`.claude/skills/cicd/`) — layered on `devex pr` (in `agentculture/devex`) | `afi-cli`, `devex` (adapted-thin delegate — owns `devex pr`; see [devex#53](https://github.com/agentculture/devex/pull/53)), `agtag`, `antoine`, `appsec`, `auntiepypi`, `cfafi` (still named `pr-review`), `code-lens-cli`, `culture` (still named `pr-review`), `devague`, `katvan`, `lecodeur`, `lepenseur`, `seer-cli`, `telek`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `grant` (still named `pr-review`), `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | Thin delegate to `devex pr` for lint / open / read / reply / delta, plus guildmaster's `status` (SonarCloud quality gate + hotspots + unresolved-thread tally) and `await` (composes `devex pr read --wait` with `status`, non-zero exit on Sonar ERROR / unresolved threads) extensions. **Inverted case:** devex, as the `devex pr` upstream, vendors the skill adapted-thin — a `workflow.sh`-only pure delegate ([devex#53](https://github.com/agentculture/devex/pull/53)). Renamed from `pr-review` in steward 0.7.0; downstream copies may keep the old name on their own cadence. |
|
|
37
|
+
| `communicate` | `guildmaster` (`.claude/skills/communicate/`) | `afi-cli`, `devex` (identifier-only — vendored steward 0.11.0; scripts current as of 0.18.0), `agtag`, `antoine`, `appsec`, `auntiepypi`, `code-lens-cli`, `culture` (still named `coordinate`), `devague`, `katvan`, `lecodeur`, `lepenseur`, `seer-cli`, `telek`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | Cross-repo + mesh communication: file issues / hand off briefs to sibling-repo agents (auto-signed), comment on existing issues, fetch issues to inline state into briefs, and send live messages to Culture mesh channels (unsigned — nick is the speaker). Renamed from `coordinate` in steward 0.8.0; absorbed `gh-issues` (as `fetch-issues.sh`) in 0.9.1. Issue I/O backed by `agtag` (>=0.1) since steward 0.11.0 — signature resolves from local `culture.yaml` (override via `--as`). |
|
|
38
|
+
| `doc-test-alignment` | `guildmaster` (`.claude/skills/doc-test-alignment/`) | `devague`, `lecodeur`, `lepenseur`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | Stub; real implementation TBD. `scripts/check.sh` exits not-yet-implemented today. |
|
|
39
|
+
| `pypi-maintainer` | `guildmaster` (`.claude/skills/pypi-maintainer/`) | `agtag`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | Switches a PyPI package install between pypi / test-pypi / local. Generalised from the original culture-specific `change-package`. |
|
|
40
|
+
| `run-tests` | `guildmaster` (`.claude/skills/run-tests/`) | `agtag`, `antoine`, `appsec`, `code-lens-cli`, `culture`, `culture-sonar-cli`, `devague`, `lecodeur`, `lepenseur`, `seer-cli`, `grant`, `telek`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | Coverage source resolves from `[tool.coverage.run]` in `pyproject.toml`, so the script is portable across siblings without modification. |
|
|
41
|
+
| `sonarclaude` | `guildmaster` (`.claude/skills/sonarclaude/`) | `antoine`, `appsec`, `code-lens-cli`, `devague`, `lecodeur`, `lepenseur`, `seer-cli`, `telek`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | SonarCloud API client. Project key resolves from `$SONAR_PROJECT` or `--project KEY`. |
|
|
42
|
+
| `version-bump` | `guildmaster` (`.claude/skills/version-bump/`) | `afi-cli`, `agtag`, `antoine`, `appsec`, `auntiepypi`, `cfafi`, `code-lens-cli`, `culture`, `devague`, `lecodeur`, `lepenseur`, `seer-cli`, `grant`, `telek`, `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | Pure Python, prepends a Keep-a-Changelog entry; no per-repo customization needed. |
|
|
43
43
|
|
|
44
44
|
> **How the downstream column is maintained.** The "Downstream copies (known)"
|
|
45
45
|
> entries are kept in sync with guildmaster's own drift detector:
|
|
@@ -86,9 +86,9 @@ harmless on `claude-code`. This is the only divergence from upstream.
|
|
|
86
86
|
|
|
87
87
|
| Skill | Origin | Downstream copies (known) | Notes |
|
|
88
88
|
|-------|--------|---------------------------|-------|
|
|
89
|
-
| `think` | `devague` (`agentculture/devague`, `../devague/.claude/skills/think/`) | — (broadcast pending), `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | Operator for the **idea→spec** leg (announcement frame → capture/classify claims → interrogate with honesty conditions → park open vagueness → `export` once the frame converges). Renamed from `devague` in devague 0.4.0. **Divergence:** `type: command` added. Runtime dep: `uv tool install devague`. |
|
|
90
|
-
| `spec-to-plan` | `devague` (`agentculture/devague`, `../devague/.claude/skills/spec-to-plan/`) | — (broadcast pending), `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | Operator for the **spec→plan** leg (`devague plan ...`): seed from a converged frame, cover every coverage target with acceptance-gated, acyclically-ordered tasks, park unknowns as risks, `export` once the plan converges. New in devague 0.4.0. **Divergence:** `type: command` added. Runtime dep: `uv tool install devague`. |
|
|
91
|
-
| `assign-to-workforce` | `devague` (`agentculture/devague`, `../devague/.claude/skills/assign-to-workforce/`) | — (broadcast pending), `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | Operator for the **implementation** leg: reads `devague plan waves` (read-only) and fans out independent tasks to one agent per task per wave in isolated git worktrees, with main-agent TDD-gated merges. Three human gates: spec / split plan / final PR. The CLI stays non-orchestrating ([devague#20](https://github.com/agentculture/devague/issues/20)). New in devague 0.10.0. **Divergence:** `type: command` added. Runtime deps: `uv tool install devague`, `git worktree`, the vendored `cicd` skill (for gate-3 `devex pr open`). |
|
|
89
|
+
| `think` | `devague` (`agentculture/devague`, `../devague/.claude/skills/think/`) | — (broadcast pending), `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | Operator for the **idea→spec** leg (announcement frame → capture/classify claims → interrogate with honesty conditions → park open vagueness → `export` once the frame converges). Renamed from `devague` in devague 0.4.0. **Divergence:** `type: command` added. Runtime dep: `uv tool install devague`. |
|
|
90
|
+
| `spec-to-plan` | `devague` (`agentculture/devague`, `../devague/.claude/skills/spec-to-plan/`) | — (broadcast pending), `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | Operator for the **spec→plan** leg (`devague plan ...`): seed from a converged frame, cover every coverage target with acceptance-gated, acyclically-ordered tasks, park unknowns as risks, `export` once the plan converges. New in devague 0.4.0. **Divergence:** `type: command` added. Runtime dep: `uv tool install devague`. |
|
|
91
|
+
| `assign-to-workforce` | `devague` (`agentculture/devague`, `../devague/.claude/skills/assign-to-workforce/`) | — (broadcast pending), `agenda`, `dominion-breaker`, `colleague`, `jetson`, `reachy-mini-cli`, `jetson-ai-lab-cli`, `dgx-spark-cli`, `unsloth-cli`, `discord-bot-cli`, `arxivist`, `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | Operator for the **implementation** leg: reads `devague plan waves` (read-only) and fans out independent tasks to one agent per task per wave in isolated git worktrees, with main-agent TDD-gated merges. Three human gates: spec / split plan / final PR. The CLI stays non-orchestrating ([devague#20](https://github.com/agentculture/devague/issues/20)). New in devague 0.10.0. **Divergence:** `type: command` added. Runtime deps: `uv tool install devague`, `git worktree`, the vendored `cicd` skill (for gate-3 `devex pr open`). |
|
|
92
92
|
|
|
93
93
|
Downstream is empty by design: these are still being introduced to the mesh.
|
|
94
94
|
`guild teach --new --skill <name> --to <repos>` frames them as *new* skills to
|
|
@@ -136,7 +136,7 @@ the CLI, the wrapper exits with a clear install hint rather than crashing.
|
|
|
136
136
|
|
|
137
137
|
| Skill | Origin | Downstream copies (known) | Notes |
|
|
138
138
|
|-------|--------|---------------------------|-------|
|
|
139
|
-
| `outsource` | `colleague` (`agentculture/colleague`, `../colleague/.claude/skills/outsource/`) | — (broadcast pending; [`culture-agent-template#8`](https://github.com/agentculture/culture-agent-template/issues/8) proposes adding it to the clone template), `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli` | First-party colleague skill: hand a scoped task to a *different* engine/mind. Verbs `explore` / `review` / `write`. **Divergence:** Provenance paragraph reframed for re-broadcast (above); `type: command` already present upstream. Runtime dep: `uv tool install colleague-cli` + a reachable engine. |
|
|
139
|
+
| `outsource` | `colleague` (`agentculture/colleague`, `../colleague/.claude/skills/outsource/`) | — (broadcast pending; [`culture-agent-template#8`](https://github.com/agentculture/culture-agent-template/issues/8) proposes adding it to the clone template), `rtx-spark-cli`, `reachy-mini-mcp`, `tensor-cli`, `climate-cli`, `eidetic-cli`, `prove-cli`, `reduce-cli`, `refactor-cli`, `rollout-cli`, `coherence-cli`, `agent-lifecycle` | First-party colleague skill: hand a scoped task to a *different* engine/mind. Verbs `explore` / `review` / `write`. **Divergence:** Provenance paragraph reframed for re-broadcast (above); `type: command` already present upstream. Runtime dep: `uv tool install colleague-cli` + a reachable engine. |
|
|
140
140
|
|
|
141
141
|
Downstream is empty by design — guildmaster is the first holder outside
|
|
142
142
|
colleague. `guild teach --new --skill outsource --to <repos>` frames it as a
|
|
@@ -16,7 +16,7 @@ Sequence (``--apply``)
|
|
|
16
16
|
1. ``gh repo view <agent>`` (preflight: repo must NOT exist)
|
|
17
17
|
2. ``gh repo create <agent>`` (template instantiation)
|
|
18
18
|
`` --template <template>``
|
|
19
|
-
`` --public``
|
|
19
|
+
`` --private`` / ``--public`` (visibility; --private by default)
|
|
20
20
|
`` --description <desc>``
|
|
21
21
|
3. ``git clone https://github.com/<agent>.git <clone_dest>``
|
|
22
22
|
4. transform_clone(<clone_dest>, bare, desc, backend) (pure, local, no runner)
|
|
@@ -244,6 +244,7 @@ def apply(
|
|
|
244
244
|
dist: str | None = None,
|
|
245
245
|
command: str | None = None,
|
|
246
246
|
pkg: str | None = None,
|
|
247
|
+
public: bool = False,
|
|
247
248
|
poll_attempts: int = 30,
|
|
248
249
|
poll_delay: float = 2.0,
|
|
249
250
|
) -> dict:
|
|
@@ -277,6 +278,10 @@ def apply(
|
|
|
277
278
|
pkg:
|
|
278
279
|
Importable package name. ``None`` defaults to the underscore form of the
|
|
279
280
|
effective command (see ``transform_clone``).
|
|
281
|
+
public:
|
|
282
|
+
Repo visibility. ``False`` (default) creates a ``--private`` repo, matching
|
|
283
|
+
the (private) ``culture-agent-template``; ``True`` creates a ``--public``
|
|
284
|
+
repo for siblings that are meant to be open.
|
|
280
285
|
poll_attempts / poll_delay:
|
|
281
286
|
``gh repo create --template`` copies the template content
|
|
282
287
|
**asynchronously**; cloning immediately yields an empty repo. After
|
|
@@ -304,6 +309,7 @@ def apply(
|
|
|
304
309
|
preflight(agent, clone_dest, runner=runner)
|
|
305
310
|
|
|
306
311
|
# Step 2 — create the repo from the template.
|
|
312
|
+
visibility = "--public" if public else "--private"
|
|
307
313
|
create = runner(
|
|
308
314
|
[
|
|
309
315
|
"gh",
|
|
@@ -312,7 +318,7 @@ def apply(
|
|
|
312
318
|
agent,
|
|
313
319
|
"--template",
|
|
314
320
|
template,
|
|
315
|
-
|
|
321
|
+
visibility,
|
|
316
322
|
"--description",
|
|
317
323
|
desc,
|
|
318
324
|
]
|
|
@@ -352,13 +358,20 @@ def apply(
|
|
|
352
358
|
|
|
353
359
|
# Step 8 — configure-repo.sh LAST: its "Protect main" ruleset requires PRs,
|
|
354
360
|
# so applying it before the genesis push would get that push rejected.
|
|
361
|
+
configure_output = ""
|
|
355
362
|
configure_script = guildmaster_root / CONFIGURE_REPO_SCRIPT
|
|
356
363
|
if configure_script.is_file():
|
|
357
364
|
cfg = runner([_BASH, str(configure_script), agent, "--apply"])
|
|
358
365
|
_check(cfg, f"configure-repo.sh {agent} failed", EXIT_ENV_ERROR)
|
|
366
|
+
# configure-repo.sh writes its Pro-gate skip warnings (and any other
|
|
367
|
+
# diagnostics) to stderr. The runner captures them, so surface them to
|
|
368
|
+
# the caller — otherwise a private create that silently skipped
|
|
369
|
+
# environments/rulesets is reported as fully configured.
|
|
370
|
+
configure_output = (cfg.stderr or "").strip()
|
|
359
371
|
|
|
360
372
|
return {
|
|
361
373
|
"repo": agent,
|
|
362
374
|
"clone_dest": str(clone_dest),
|
|
363
375
|
"pushed": True,
|
|
376
|
+
"configure_output": configure_output,
|
|
364
377
|
}
|
|
@@ -16,7 +16,7 @@ Usage
|
|
|
16
16
|
[--backend claude|acp] [--workspace-root DIR]
|
|
17
17
|
[--template agentculture/culture-agent-template]
|
|
18
18
|
[--command NAME] [--pkg NAME] [--dist NAME]
|
|
19
|
-
[--apply] [--json]
|
|
19
|
+
[--public] [--apply] [--json]
|
|
20
20
|
"""
|
|
21
21
|
|
|
22
22
|
from __future__ import annotations
|
|
@@ -31,7 +31,7 @@ from pathlib import Path
|
|
|
31
31
|
from guild.cli._commands import _broadcast
|
|
32
32
|
from guild.cli._commands import _provision_template as _provision
|
|
33
33
|
from guild.cli._errors import EXIT_USER_ERROR, GuildError
|
|
34
|
-
from guild.cli._output import emit_result
|
|
34
|
+
from guild.cli._output import emit_diagnostic, emit_result
|
|
35
35
|
from guild.cli._repo import repo_root
|
|
36
36
|
from guild.scaffold.instantiate import transform_plan as _transform_plan
|
|
37
37
|
from guild.skills import ledger as _ledger
|
|
@@ -128,6 +128,15 @@ def register(sub: argparse._SubParsersAction) -> None:
|
|
|
128
128
|
"[project].name, the importlib.metadata lookup, and the TestPyPI pin."
|
|
129
129
|
),
|
|
130
130
|
)
|
|
131
|
+
parser.add_argument(
|
|
132
|
+
"--public",
|
|
133
|
+
action="store_true",
|
|
134
|
+
help=(
|
|
135
|
+
"Create the GitHub repo public. The default is PRIVATE — the "
|
|
136
|
+
"culture-agent-template is itself private, so siblings are created "
|
|
137
|
+
"private unless you opt into public with this flag."
|
|
138
|
+
),
|
|
139
|
+
)
|
|
131
140
|
parser.add_argument(
|
|
132
141
|
"--apply",
|
|
133
142
|
action="store_true",
|
|
@@ -238,6 +247,7 @@ def _handle(args: argparse.Namespace) -> None:
|
|
|
238
247
|
"agent": agent,
|
|
239
248
|
"backend": args.backend,
|
|
240
249
|
"template": args.template,
|
|
250
|
+
"private": not args.public,
|
|
241
251
|
"clone_dest": str(clone_dest),
|
|
242
252
|
"plan": plan,
|
|
243
253
|
"ledger_diff": ledger_diff,
|
|
@@ -257,8 +267,16 @@ def _handle(args: argparse.Namespace) -> None:
|
|
|
257
267
|
dist=args.dist,
|
|
258
268
|
command=args.command_name,
|
|
259
269
|
pkg=args.pkg,
|
|
270
|
+
public=args.public,
|
|
260
271
|
)
|
|
261
272
|
|
|
273
|
+
# Surface configure-repo.sh diagnostics (e.g. Pro-gated environment/ruleset
|
|
274
|
+
# skips for private repos) on stderr, so they aren't swallowed by the runner
|
|
275
|
+
# and stdout stays clean for --json consumers.
|
|
276
|
+
configure_output = apply_result.get("configure_output")
|
|
277
|
+
if configure_output:
|
|
278
|
+
emit_diagnostic(configure_output)
|
|
279
|
+
|
|
262
280
|
# Register in the ledger idempotently.
|
|
263
281
|
ledger_written = new_ledger != ledger_text
|
|
264
282
|
if ledger_written:
|
|
@@ -272,6 +290,7 @@ def _handle(args: argparse.Namespace) -> None:
|
|
|
272
290
|
"repo": apply_result["repo"],
|
|
273
291
|
"clone_dest": apply_result["clone_dest"],
|
|
274
292
|
"pushed": apply_result["pushed"],
|
|
293
|
+
"private": not args.public,
|
|
275
294
|
"command": plan["command"],
|
|
276
295
|
"pkg": plan["pkg"],
|
|
277
296
|
"dist": plan["dist"],
|
|
@@ -293,6 +312,7 @@ def _render_dry_run(result: dict) -> str:
|
|
|
293
312
|
f" template : {result['template']}",
|
|
294
313
|
f" agent : {result['agent']}",
|
|
295
314
|
f" backend : {result['backend']}",
|
|
315
|
+
f" visibility : {'private' if result.get('private') else 'public'}",
|
|
296
316
|
f" clone dest : {result['clone_dest']}",
|
|
297
317
|
f" repo token : {plan['repo_token']} (identity: README, culture.yaml, seed, URL)",
|
|
298
318
|
f" command : {plan['command']}",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "guild-cli"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.11.0"
|
|
4
4
|
description = "guildmaster — an agent and CLI that manages skills for the AgentCulture mesh."
|
|
5
5
|
readme = "README.md"
|
|
6
|
-
license = "
|
|
6
|
+
license = "Apache-2.0"
|
|
7
7
|
requires-python = ">=3.12"
|
|
8
|
-
authors = [{name = "
|
|
8
|
+
authors = [{name = "Ori Nachum"}]
|
|
9
9
|
classifiers = [
|
|
10
10
|
"Development Status :: 3 - Alpha",
|
|
11
11
|
"Programming Language :: Python :: 3.12",
|
|
12
|
-
"License :: OSI Approved ::
|
|
12
|
+
"License :: OSI Approved :: Apache Software License",
|
|
13
13
|
"Topic :: Software Development",
|
|
14
14
|
"Intended Audience :: Developers",
|
|
15
15
|
]
|
|
@@ -317,10 +317,13 @@ def test_create_dry_run_explicit_owner_not_prefixed(tmp_path, monkeypatch, capsy
|
|
|
317
317
|
class _FakeRunner:
|
|
318
318
|
"""Records every command issued, returns configurable per-command results."""
|
|
319
319
|
|
|
320
|
-
def __init__(
|
|
320
|
+
def __init__(
|
|
321
|
+
self, *, repo_exists: bool = False, auth_ok: bool = True, configure_stderr: str = ""
|
|
322
|
+
):
|
|
321
323
|
self.calls: list[tuple[list[str], dict]] = []
|
|
322
324
|
self._repo_exists = repo_exists
|
|
323
325
|
self._auth_ok = auth_ok
|
|
326
|
+
self._configure_stderr = configure_stderr
|
|
324
327
|
|
|
325
328
|
def __call__(self, cmd: list[str], *, cwd: str | None = None) -> RunResult:
|
|
326
329
|
self.calls.append((list(cmd), {"cwd": cwd}))
|
|
@@ -375,7 +378,7 @@ class _FakeRunner:
|
|
|
375
378
|
|
|
376
379
|
# configure-repo.sh
|
|
377
380
|
if "configure-repo.sh" in " ".join(str(a) for a in argv):
|
|
378
|
-
return RunResult(returncode=0)
|
|
381
|
+
return RunResult(returncode=0, stderr=self._configure_stderr)
|
|
379
382
|
|
|
380
383
|
# git -C ... add / commit / push
|
|
381
384
|
if argv[:1] == ["git"] and "-C" in argv:
|
|
@@ -440,6 +443,145 @@ def test_create_apply_full_command_sequence(tmp_path, monkeypatch, capsys):
|
|
|
440
443
|
assert poll_idx < clone_idx, f"populate-poll must precede clone; got {issued}"
|
|
441
444
|
|
|
442
445
|
|
|
446
|
+
def _create_argv(workspace: Path, *extra: str) -> list[str]:
|
|
447
|
+
"""Shared argv for the visibility apply tests."""
|
|
448
|
+
return [
|
|
449
|
+
"create",
|
|
450
|
+
"--agent",
|
|
451
|
+
"newsib",
|
|
452
|
+
"--desc",
|
|
453
|
+
"A new sibling.",
|
|
454
|
+
"--workspace-root",
|
|
455
|
+
str(workspace),
|
|
456
|
+
*extra,
|
|
457
|
+
"--apply",
|
|
458
|
+
]
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
def _gh_repo_create_cmd(runner: "_FakeRunner") -> list[str]:
|
|
462
|
+
"""Return the argv list of the single ``gh repo create`` call."""
|
|
463
|
+
return next(
|
|
464
|
+
cmd
|
|
465
|
+
for cmd, _ in runner.calls
|
|
466
|
+
if cmd[:3] == ["gh", "repo", "create"] and "--template" in cmd
|
|
467
|
+
)
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
def test_create_apply_defaults_to_private(tmp_path, monkeypatch):
|
|
471
|
+
"""Without --public, the repo is created --private (the new default)."""
|
|
472
|
+
root = _seed(tmp_path)
|
|
473
|
+
workspace = tmp_path / "ws"
|
|
474
|
+
workspace.mkdir()
|
|
475
|
+
monkeypatch.chdir(root)
|
|
476
|
+
|
|
477
|
+
runner = _FakeRunner()
|
|
478
|
+
import guild.cli._commands._provision_template as _prov
|
|
479
|
+
|
|
480
|
+
monkeypatch.setattr(_prov, "default_runner", runner)
|
|
481
|
+
|
|
482
|
+
rc = main(_create_argv(workspace))
|
|
483
|
+
assert rc == 0
|
|
484
|
+
|
|
485
|
+
create_cmd = _gh_repo_create_cmd(runner)
|
|
486
|
+
assert "--private" in create_cmd
|
|
487
|
+
assert "--public" not in create_cmd
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
def test_create_apply_public_flag(tmp_path, monkeypatch):
|
|
491
|
+
"""--public creates the repo --public (and never --private)."""
|
|
492
|
+
root = _seed(tmp_path)
|
|
493
|
+
workspace = tmp_path / "ws"
|
|
494
|
+
workspace.mkdir()
|
|
495
|
+
monkeypatch.chdir(root)
|
|
496
|
+
|
|
497
|
+
runner = _FakeRunner()
|
|
498
|
+
import guild.cli._commands._provision_template as _prov
|
|
499
|
+
|
|
500
|
+
monkeypatch.setattr(_prov, "default_runner", runner)
|
|
501
|
+
|
|
502
|
+
rc = main(_create_argv(workspace, "--public"))
|
|
503
|
+
assert rc == 0
|
|
504
|
+
|
|
505
|
+
create_cmd = _gh_repo_create_cmd(runner)
|
|
506
|
+
assert "--public" in create_cmd
|
|
507
|
+
assert "--private" not in create_cmd
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
def test_create_dry_run_reports_visibility(tmp_path, monkeypatch, capsys):
|
|
511
|
+
"""The dry-run render surfaces the chosen visibility (private default / public opt-in)."""
|
|
512
|
+
root = _seed(tmp_path)
|
|
513
|
+
monkeypatch.chdir(root)
|
|
514
|
+
monkeypatch.setattr(subprocess, "run", _never_called)
|
|
515
|
+
monkeypatch.setattr(socket, "getaddrinfo", _never_called)
|
|
516
|
+
|
|
517
|
+
assert main(["create", "--agent", "newsib", "--desc", "X"]) == 0
|
|
518
|
+
assert "visibility : private" in capsys.readouterr().out
|
|
519
|
+
|
|
520
|
+
assert main(["create", "--agent", "newsib", "--desc", "X", "--public"]) == 0
|
|
521
|
+
assert "visibility : public" in capsys.readouterr().out
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
def test_create_apply_public_json_payload(tmp_path, monkeypatch, capsys):
|
|
525
|
+
"""The --json apply payload reports visibility: --public ⇒ private False."""
|
|
526
|
+
root = _seed(tmp_path)
|
|
527
|
+
workspace = tmp_path / "ws"
|
|
528
|
+
workspace.mkdir()
|
|
529
|
+
monkeypatch.chdir(root)
|
|
530
|
+
|
|
531
|
+
runner = _FakeRunner()
|
|
532
|
+
import guild.cli._commands._provision_template as _prov
|
|
533
|
+
|
|
534
|
+
monkeypatch.setattr(_prov, "default_runner", runner)
|
|
535
|
+
|
|
536
|
+
rc = main(_create_argv(workspace, "--public", "--json"))
|
|
537
|
+
assert rc == 0
|
|
538
|
+
|
|
539
|
+
payload = json.loads(capsys.readouterr().out)
|
|
540
|
+
assert payload["private"] is False
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
def test_create_apply_surfaces_configure_warnings_on_stderr(tmp_path, monkeypatch, capsys):
|
|
544
|
+
"""configure-repo.sh Pro-gate skip warnings reach the operator's stderr, and
|
|
545
|
+
stdout stays pure JSON under --json (the runner must not swallow them)."""
|
|
546
|
+
root = _seed(tmp_path)
|
|
547
|
+
workspace = tmp_path / "ws"
|
|
548
|
+
workspace.mkdir()
|
|
549
|
+
monkeypatch.chdir(root)
|
|
550
|
+
|
|
551
|
+
warning = " ⚠ skipped ruleset 'Protect main' — requires GitHub Pro/Team for private repos"
|
|
552
|
+
runner = _FakeRunner(configure_stderr=warning + "\n")
|
|
553
|
+
import guild.cli._commands._provision_template as _prov
|
|
554
|
+
|
|
555
|
+
monkeypatch.setattr(_prov, "default_runner", runner)
|
|
556
|
+
|
|
557
|
+
rc = main(_create_argv(workspace, "--json"))
|
|
558
|
+
assert rc == 0
|
|
559
|
+
|
|
560
|
+
captured = capsys.readouterr()
|
|
561
|
+
# stdout is still valid JSON (the warning did NOT leak onto it).
|
|
562
|
+
payload = json.loads(captured.out)
|
|
563
|
+
assert payload["applied"] is True
|
|
564
|
+
# the skip warning is surfaced as a diagnostic on stderr.
|
|
565
|
+
assert "skipped ruleset 'Protect main'" in captured.err
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
def test_create_apply_no_configure_warnings_keeps_stderr_quiet(tmp_path, monkeypatch, capsys):
|
|
569
|
+
"""A clean configure-repo run (no Pro-gate skips) emits nothing extra to stderr."""
|
|
570
|
+
root = _seed(tmp_path)
|
|
571
|
+
workspace = tmp_path / "ws"
|
|
572
|
+
workspace.mkdir()
|
|
573
|
+
monkeypatch.chdir(root)
|
|
574
|
+
|
|
575
|
+
runner = _FakeRunner() # no configure_stderr
|
|
576
|
+
import guild.cli._commands._provision_template as _prov
|
|
577
|
+
|
|
578
|
+
monkeypatch.setattr(_prov, "default_runner", runner)
|
|
579
|
+
|
|
580
|
+
rc = main(_create_argv(workspace, "--json"))
|
|
581
|
+
assert rc == 0
|
|
582
|
+
assert capsys.readouterr().err == ""
|
|
583
|
+
|
|
584
|
+
|
|
443
585
|
def test_wait_for_template_polls_until_populated():
|
|
444
586
|
"""The repo is empty (409) for a few polls, then the template lands."""
|
|
445
587
|
import guild.cli._commands._provision_template as _prov
|
guild_cli-0.10.3/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 AgentCulture
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
File without changes
|
{guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/agent-config/data/backend-fingerprints.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{guild_cli-0.10.3 → guild_cli-0.11.0}/.claude/skills/pypi-maintainer/scripts/switch-source.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|