Skip to content

Public readiness: license, git ignore target, quickstart + CI, contributor smoke kit (#34) - #40

Merged
maceorichards merged 29 commits into
developfrom
feat/iss-34-public-readiness-fixes
Oct 27, 2026
Merged

maceorichards merged 29 commits into
developfrom
feat/iss-34-public-readiness-fixes

Conversation

@maceorichards

Copy link
Copy Markdown
Owner

Summary

Public-readiness fixes: a license, no personal leftovers, an ignore file that git actually reads, a quickstart and CI for newcomers, and a provider-agnostic smoke kit for contributors.

 devflow/
+├── LICENSE, THIRD_PARTY_NOTICES.md   # MIT; upstream MIT texts for superpowers and mattpocock/skills
+├── AGENTS.md                         # contributor instructions (smoke-driver rule moved here)
+├── .github/workflows/ci.yml          # unit matrix (ubuntu 3.9/3.x, macOS) + fresh-install job
+├── smoke/                            # smoke kit: drive.py, agents.json, fixture/, README, CHECKLIST, STAND-IN
 ├── global/claude-md-section.md       # header shows {{clone}}; smoke rule removed
 ├── lib/sync.py                       # clone path rendered; ignore target resolved
 ├── README.md                         # public framing, Quickstart, Contributing
 ├── DESIGN.md                         # "smoke run" wording; entry 16
 └── .gitignore                        # vendor at any depth; CLAUDE.md/CLAUDE.local.md/GEMINI.md

The git ignore target now follows git's own lookup order:

sync_git_ignore
  target = git config --global --includes --type=path --get core.excludesFile
        or $XDG_CONFIG_HOME/git/ignore
        or ~/.config/git/ignore
  append the missing lines             # creates the file; writes through symlinks
  any problem → one "WARN git ignore: …; add these lines yourself: …" line, exit 0

Splitting where rules live:

  • the devflow section is for everyone who uses devflow;
  • the contributor instructions (AGENTS.md) are for agents working on devflow itself.

smoke/drive.py runs a smoke run with any agent in its table: --agent claude|cursor|codex for the agent under test and --stand-in … for the stand-in. codex is marked unverified.

Ticket Lane Outcome Merge
#35 License, contributor instructions and personal leftovers fast closed 420ad46
#36 Smoke driver fast closed 47bcd55
#38 Smoke docs fast closed eef0d3f
#37 Write to the ignore file git actually reads rigor closed a928188
#39 First-run experience: README quickstart and CI fast closed 02c184b
Final-review fixes (includes lookup, non-UTF-8 ignore file) — — 424fdb8

Evidence

  • Before: python3 -m unittest: 71 passed. With core.excludesFile = ~/dotfiles/gitignore, the sync still wrote ~/.config/git/ignore, which git never reads. On a fresh clone, 57 of 60 harness tests skipped silently.
  • After: python3 -m unittest: 267 passed, 0 failed. DEVFLOW_REQUIRE_VENDORS=1 python3 -m unittest: 267 passed, 0 skipped.
test_excludesfile_tilde_value_gets_the_lines            red → green
test_excludesfile_set_in_included_config_is_honored     red → green
test_unwritable_target_returns_zero                     red (traceback, exit 1) → green (WARN, exit 0)
test_undecodable_target_warns_and_is_left_unchanged     red (UnicodeDecodeError) → green
test_required_missing_clone_fails                       red (SkipTest) → green (fails)
  • The fresh-install job's steps were run locally against a clean HOME with no vendor clones. All 28 skills installed and the no-change check passed. The check correctly failed after deleting a skill, editing an installed SKILL.md, emptying the ignore file, or breaking the markers.
  • This PR's CI run is the first time the workflow runs on GitHub. Check that setup-python still offers 3.9 on ubuntu-latest.

Merge Danger

Door: two-way

Everything can be reverted. The one lasting effect is the next ./sync.sh on each machine:

  • it rewrites the devflow section's header once (same rules, minus the smoke-driver bullet);
  • it may append the devflow lines to a different ignore file (the one git reads).

Existing lines in an unused ~/.config/git/ignore are left alone.

Blast Radius: users' global files

After merging, re-sync. The smoke-driver permission then comes only from the repo's AGENTS.md, which Claude Code reads natively as long as there is no local CLAUDE.md in the devflow repo.

Follow-ups

Minor findings from the final review:

  • smoke/drive.py:
    • A message starting with - is parsed as a CLI option, so a stand-in reply that starts with a bullet fails the turn. Add -- or a prefix.
    • sessions.json is read, then rewritten minutes later, so concurrent labels can lose an id.
    • Sessions are keyed by label only, not by repo dir.
    • loop checks for a PR URL before checking for a failed turn, and a negative --max isn't rejected.
    • An unparseable claude output silently starts a new session next time.
  • Cursor users who paste global/claude-md-section.md by hand see a raw {{clone}}.
  • .gitignore's per-tool rules are root-anchored, so .claude/CLAUDE.md isn't ignored.
  • lib/sync.py:
    • apply_all sets the indent by checking for a WARN prefix.
    • The "add these lines yourself" text appears twice.
    • clone_path() is a thin wrapper.
    • r.stdout.strip() also strips spaces in a path value.
    • A >100-char line; raise … from None.
  • The spec says init <owner/name>, but the driver takes init <owner/name> <dir>.

Rulings made during #37:

  • Dropped test_malformed_global_config_warns_and_writes_nothing. A global config git can't parse makes every git command fail, the sync's vendor calls included, so the case is unreachable at the sync.sh seam. The defensive WARN branch remains, untested.
  • A missing git binary is a lookup failure, so it gets a WARN, not a crash.
  • Kept test_harness_ignores_runner_xdg as a characterization guard. It passed before the change and goes red only if the sync reads XDG_CONFIG_HOME without the harness stripping it.

Out of scope for #34:

  • Gemini CLI is moving to Antigravity CLI, so devflow's gemini provider (README table, manifest) needs a decision.
  • Check DESIGN.md's "Codex needs multi_agent = true" claim.
  • Release tag and CHANGELOG; making the repo public.
  • Set the repo description when going public:
    gh repo edit maceorichards/devflow --description "An opinionated set of agent skills and workflows for Claude Code, Codex, Gemini CLI and Cursor. Use it as is, or fork it to choose your own skills."
  • The first live smoke run against the refreshed checklist, which would also verify the codex entry.

Closes #34
Closes #35
Closes #36
Closes #37
Closes #38
Closes #39

🤖 Generated with Claude Code

maceorichards and others added 29 commits October 26, 2026 15:29
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nore comment; drop the smoke rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ctions files

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and mattpocock/skills

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lized smoke-driver rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ter with unittest tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…per-agent command table

drive.py runs claude, cursor or codex as the agent under test and as the
read-only stand-in, keeps session ids per label in the git-ignored logs
folder, and stops loop on a PR URL for the smoke repo, a failed turn or the
step limit. agents.json holds the argv templates, session-id strategy,
output fields, bypass and read-only flags, and the verified flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…blic-readiness-fixes--t36

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tand-in brief

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e used

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ntributing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Unit runs on ubuntu (Python 3.9 and 3.x) and macOS (default python3).
Fresh-install syncs into a clean HOME, checks every manifest skill is
installed, then fails if a re-sync or dry run reports any change.
Both run the suite with DEVFLOW_REQUIRE_VENDORS=1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… CI switch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maceorichards
maceorichards merged commit 9bf9767 into develop Oct 27, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant