Skip to content

docs(skills): fix cloud-agent run links and route Slack to #growth-docs#293

Merged
rachaelrenk merged 2 commits into
mainfrom
docs/fix-skills-slack-run-links
Jul 7, 2026
Merged

docs(skills): fix cloud-agent run links and route Slack to #growth-docs#293
rachaelrenk merged 2 commits into
mainfrom
docs/fix-skills-slack-run-links

Conversation

@rachaelrenk

@rachaelrenk rachaelrenk commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes two issues in the docs cloud-agent skills.

1. Broken Oz run links in Slack

weekly-404-monitor and related cloud-agent skills posted a hard-coded run URL using the production host (app.warp.dev) even though these scheduled agents run on staging, so the run link in #growth-docs resolved to the generic Runs page instead of the actual run. These skills now resolve the environment-correct link at runtime, and omit it if it can't be resolved:

oz-dev run get "<your run ID>" --output-format json | jq -r '.session_link'

Affected: weekly-404-monitor, improve-drafting-skills, improve-aeo-crosslink-skill, aeo_crosslink_audit.

2. Shared Slack channel secret

Docs skills that post to #growth-docs read the shared team SLACK_CHANNEL_ID secret, which many other bots also use. They now read a dedicated GROWTH_DOCS_SLACK_CHANNEL_ID secret so #growth-docs routing can't be affected by (or affect) other bots.

Repointed: the four skills above plus validate_ui_refs, check_for_broken_links, style_lint (SKILL.md docs + Python --slack-notify defaults).

Also made deploy-note Oz hosts environment-neutral (removed oz.warp.dev).

Validation

  • No bare SLACK_CHANNEL_ID remains in .agents/skills/.
  • python3 -m py_compile passes for the three edited scripts.
  • git diff --check is clean.

Notes

  • Requires the GROWTH_DOCS_SLACK_CHANNEL_ID team secret (already created via oz-dev secret create).
  • The shared SLACK_CHANNEL_ID secret was intentionally left untouched.

Conversation: https://staging.warp.dev/conversation/54f65368-3438-4737-b195-39e2acb14a6a

Co-Authored-By: Oz oz-agent@warp.dev

Cloud-agent skills posted a hard-coded Oz run URL (app.warp.dev) to
#growth-docs, which resolved to the wrong environment / generic Runs
page. They also relied on the shared team SLACK_CHANNEL_ID secret.

- Resolve the Oz run link at runtime via
  `oz-dev run get "<run id>" --output-format json | jq -r '.session_link'`
  instead of hard-coding the host, with a fallback to omit the link:
  weekly-404-monitor, improve-drafting-skills, improve-aeo-crosslink-skill,
  aeo_crosslink_audit.
- Route all docs #growth-docs skills at a dedicated
  GROWTH_DOCS_SLACK_CHANNEL_ID secret instead of the shared
  SLACK_CHANNEL_ID: the four above plus validate_ui_refs,
  check_for_broken_links, style_lint (SKILL.md + Python defaults).
- Make deploy-note Oz hosts environment-neutral.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Jul 7, 2026
@vercel

vercel Bot commented Jul 7, 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, Comment Jul 7, 2026 9:35pm

Request Review

@oz-for-oss

oz-for-oss Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

@rachaelrenk

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 /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-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 docs cloud-agent skill instructions and helper scripts to use the dedicated GROWTH_DOCS_SLACK_CHANNEL_ID secret and adds guidance to resolve Oz run links at runtime instead of hard-coding an Oz host.

Concerns

  • No blocking concerns found.
  • Security pass found no issues in the changed lines.
  • No approved or repository spec context was provided, so there was no implementation/spec drift to evaluate.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

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

Powered by Oz

@rachaelrenk rachaelrenk self-assigned this Jul 7, 2026
@rachaelrenk rachaelrenk requested a review from hongyi-chen July 7, 2026 20:08
@rachaelrenk rachaelrenk merged commit b69c91d into main Jul 7, 2026
8 checks passed
@rachaelrenk rachaelrenk deleted the docs/fix-skills-slack-run-links branch July 7, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants