Skip to content

docs: correct GitHub factory mention and label behavior - #659

Open
warp-agent-staging[bot] wants to merge 4 commits into
mainfrom
factory/github-factory-mentions-labels
Open

docs: correct GitHub factory mention and label behavior#659
warp-agent-staging[bot] wants to merge 4 commits into
mainfrom
factory/github-factory-mentions-labels

Conversation

@warp-agent-staging

@warp-agent-staging warp-agent-staging Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Corrects the GitHub factory integration page so mentions, labels, and default automations match current warp-server behavior.

The page previously said unlabeled @warp-factory mentions never start work, and it named the routing label after the Foreman agent. The label is derived as factory:<alias>. Agents apply the label when they open or adopt issues and pull requests. Unlabeled mentions can still auto-route when the requester can access exactly one factory on the repo.

Related issues

None. Requested in Slack: https://warpdev.slack.com/archives/D0BNNM4KDR7/p1787937986628719

Changes

  • Corrected the label: factory:<alias> is derived from the factory's alias, not the Foreman's display name. Warp creates the label automatically when the factory is created, and removes it when you disconnect the repository or delete the factory; renaming the alias can leave an old label behind.
  • Documented the unlabeled @warp-factory fallback: one accessible factory auto-routes, more than one accessible factory asks for a label, and no accessible factory gives access guidance. Fallback needs a linked Warp account; matching automations do not.
  • Per review feedback, kept the default-automations and mentions/label prose concise: no internal automation names, no best-effort/GitHub App plumbing detail, no per-event enumeration, and no assign-as-alternative-to-mention detail.

Validation

  • Fact-checked against warp-server: logic/factory_labels.go, logic/factorysource/defaults/automations.go, logic/factorysource/defaults/skills/github/SKILL.md, logic/ai/ambient_agents/github_factory_routing.go, logic/ai/ambient_agents/automations/provider_github.go, logic/ai/ambient_agents/automations/markdown.go, config/github.go, plus REV-1894 and REV-1897 specs.
  • python3 .agents/skills/check_for_broken_links/check_links.py --internal-only — 0 broken links
  • npm run typecheck — 0 errors
  • npm run build — succeeded
  • npm run lint / Trunk not installed in this environment

Screenshots

None. Copy-only change.

Follow-ups

None.

Content design plan

  • Reader and job: A teammate handing an issue or PR to a GitHub factory, or debugging why a mention did not start work.
  • Gap today: The page named the label after the Foreman agent and said unlabeled mentions never start work.
  • Change: Correct the default mention/label flow, add the single-vs-multiple-accessible-factory fallback, and keep the prose concise per review feedback. Leaves GitLab labeling and a full automation reference rewrite out of scope.

Unverified claims

None against warp-server. Foreman name under Settings > Identity matches existing factory dashboard docs, not a live dashboard session in this run.

The GitHub factory page treated unlabeled @warp-factory mentions as
ignored and named the routing label after the Foreman agent. Match the
page to current warp-server behavior: factory:<alias>, default
automation filters, unlabeled fallback routing, and create-time
snapshots.
@cla-bot cla-bot Bot added the cla-signed label Aug 28, 2026
@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Aug 28, 2026 7:47pm

Request Review

@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp.

Comment @warp-factory on this PR to send it follow-up work.

View run View conversation View on Slack

State the three ANDed seeded filters, describe label create/delete as
asynchronous best-effort on installed user repos, derive factory:<alias>
with normalization and shortening, and key fallback on accessible
factories. Distinguish review-thread replies from submitted reviews.
Step 2 of mentioning a factory treated assignment as if it were written
in the issue body. Mention stays in new text; assignment uses GitHub's
assignee control.
@warp-agent-staging
warp-agent-staging Bot marked this pull request as ready for review August 28, 2026 18:02
@warp-for-oss

warp-for-oss Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

@warp-agent-staging[bot]

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@warp-for-oss warp-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR updates the GitHub factory integration documentation to reflect the current label, mention, assignment, and fallback routing behavior. The changes stay within the existing page structure, use valid internal anchors, and add troubleshooting detail where readers are likely to look for it.

Concerns

No blocking concerns found. The spec context file states that no approved or repository spec context was available, and the docs-only diff did not introduce security-relevant code, configuration, dependency, secret, or data-handling changes.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@MaggieShan MaggieShan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

address all these comments

Comment thread src/content/docs/factories/integrations/github.mdx Outdated
Comment thread src/content/docs/factories/integrations/github.mdx Outdated
Comment thread src/content/docs/factories/integrations/github.mdx Outdated
Comment thread src/content/docs/factories/integrations/github.mdx Outdated
Comment thread src/content/docs/factories/integrations/github.mdx Outdated
Comment thread src/content/docs/factories/integrations/github.mdx Outdated
Comment thread src/content/docs/factories/integrations/github.mdx Outdated
Comment thread src/content/docs/factories/integrations/github.mdx Outdated
@MaggieShan

Copy link
Copy Markdown

@warp-factory address all these comments

@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

More than one Factory you can access is connected to this repository. Apply the appropriate factory:<alias> label and mention @warp-factory again.

@MaggieShan MaggieShan added the factory:maggie-test Label associated to the "maggie-test" factory label Aug 28, 2026
@MaggieShan

Copy link
Copy Markdown

@warp-factory address my pr comments

@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

More than one Factory you can access is connected to this repository. Apply the appropriate factory:<alias> label and mention @warp-factory again.

@MaggieShan

Copy link
Copy Markdown

@warp-factory address my pr comments

@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

On it — picking up your 8 inline comments and pushing revisions to this branch.

Responding as maggie-test: Open session · View in factory

- Drop the automation names, ANDed-filter enumeration, and per-event
  list from the mentions/labels flow.
- Drop the best-effort/async GitHub App caveats for label create and
  delete; keep the underlying facts (label derived from alias, label
  removed on disconnect/delete, alias rename leaves old labels).
- Drop the assign-as-alternative-to-mention detail.
- Revert the mention-counts-as and automation-filters paragraphs
  toward their pre-PR concise phrasing.
@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

All 8 comments are addressed in 3d1e7dc and each thread is replied to and resolved. Link check, typecheck, and build all pass. Ready for your call on merging.

Responding as maggie-test: Open session · View in factory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed factory:maggie-test Label associated to the "maggie-test" factory factory:wilson

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant