Skip to content

shift: onboarding (shift init) + opt-in self-generated work + docs#3

Merged
AllenBW merged 1 commit into
mainfrom
shift-docs-init
Jun 17, 2026
Merged

shift: onboarding (shift init) + opt-in self-generated work + docs#3
AllenBW merged 1 commit into
mainfrom
shift-docs-init

Conversation

@AllenBW

@AllenBW AllenBW commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Follow-up to the merged shift module, addressing three questions: is it documented enough, how do you queue work, and can it work on self-generated work.

shift init

Scaffolds a repo for shift — queue/ + a template brief (the bin anatomy) + .shift/ gitignored. Idempotent, never clobbers. The highest-leverage 'easier to get going' lever.

Self-generated / dynamic work

Re-discovery of source folders on every cycle already means any queue/NN-*.md an agent writes mid-run becomes a pending bin (inherent, always on). New allowSelfQueue config (default false) makes the brief invite the agent to queue genuine follow-ups — bounded by maxIterations + branch isolation + review. Opt in for 'grow your own backlog'.

Docs

  • Writing bins — brief anatomy + the load-bearing Definition of done discipline.
  • Self-generated / dynamic work — the capability + the flag.
  • Using shift with your CLAUDE.md — a paste-in house-style block for unattended runs (commit/test/scope discipline), deliberately NOT restating the brief's safety rules; plus how CLAUDE.md can make sessions suggest shift. The only required hook stays Stop; a SessionStart nudge is documented as an optional recipe, not shipped (nag risk).

120 shift tests (+2: init, self-queue invite); CI runs both modules.

… + CLAUDE.md)

- shift init: scaffold queue/ + a template brief + gitignore .shift/ — the highest-
  leverage 'easier to get going' lever (idempotent, never clobbers). +cli test.
- Self-generated/dynamic work: re-discovery already picks up new queue/NN-*.md mid-run
  (inherent). New config allowSelfQueue (default false) makes the brief invite the agent
  to queue genuine follow-ups, bounded by maxIterations + branch isolation. +brief test.
- README: 'Writing bins' (brief anatomy + Definition-of-done discipline), self-generated
  work, and 'Using shift with your CLAUDE.md' (paste-in house-style block; the optional
  SessionStart nudge hook documented but not shipped — nag risk). SPEC §13 updated.

120 shift tests green.
@AllenBW AllenBW merged commit 2ce8998 into main Jun 17, 2026
1 check passed
@AllenBW AllenBW deleted the shift-docs-init branch June 17, 2026 13:22
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