Skip to content

docs(site): document assignee fallback to last git author in create-work-item#847

Merged
jamesadevine merged 1 commit into
mainfrom
docs/create-work-item-assignee-fallback-4c4c752fe9e0fc8f
Jun 5, 2026
Merged

docs(site): document assignee fallback to last git author in create-work-item#847
jamesadevine merged 1 commit into
mainfrom
docs/create-work-item-assignee-fallback-4c4c752fe9e0fc8f

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Makes the create-work-item safe-output reference more accurate: when assignee is omitted from the front-matter config, Stage 3 automatically falls back to the email of the last person who committed changes to the agent's source markdown file (via git log -1 --format='%ae'). This behaviour was in docs/safe-outputs.md but missing from the site page.

Changes

  • site/src/content/docs/reference/safe-outputs.mdx: expand assignee config field description with the git-log fallback behaviour.

Accuracy checks

  • Verified against src/safeoutputs/create_work_item.rs line 361: config.assignee.as_ref().or(ctx.agent_last_author.as_ref()).
  • Verified ctx.agent_last_author is populated by discover_last_author() in src/main.rs which runs git log -1 --format='%ae' against the source markdown path at Stage 3 startup.
  • Compared docs/safe-outputs.md (source-of-truth) to site mdx to confirm this was the only meaningful content gap.

Validation

  • cd site && npm ci && npm run build

Created by the docs-writer workflow.

Generated by Docs Writer · sonnet46 10.2M ·

…ork-item

When 'assignee' is omitted from the create-work-item configuration, the
executor falls back to the email of the last person who committed changes
to the agent source markdown file, discovered via 'git log' at Stage 3.
This behaviour was in docs/safe-outputs.md but missing from the site
reference page.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jamesadevine jamesadevine marked this pull request as ready for review June 5, 2026 19:12
@jamesadevine jamesadevine merged commit b86ea3f into main Jun 5, 2026
@jamesadevine jamesadevine deleted the docs/create-work-item-assignee-fallback-4c4c752fe9e0fc8f branch June 5, 2026 19:12
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