Skip to content

Conversation

@matifali
Copy link
Member

@matifali matifali commented Nov 19, 2025

Assisted by Google AntiGravity

Walkthrough

Walkthrough – Replace "AIBridge" with "AI Bridge"

I have replaced "AIBridge" with "AI Bridge" in all public-facing content, including CLI help text and API documentation.


Changes

CLI Help Text

Updated the short description for the aibridge and interceptions commands in
enterprise/cli/aibridge.go.

API Documentation

Updated the Swagger annotations in
enterprise/coderd/aibridge.go
to use "AI Bridge" in the summary and tags.

Documentation Generation Logic

Modified
scripts/apidocgen/postprocess/main.go
to strip spaces from filenames.
This ensures that the "AI Bridge" tag generates a file named aibridge.md instead of ai bridge.md.

Generated Documentation

Regenerated the CLI and API documentation using make gen.
This updated the following files:

  • docs/reference/cli/aibridge.md
  • docs/reference/cli/aibridge_interceptions.md
  • docs/reference/cli/aibridge_interceptions_list.md
  • docs/reference/api/aibridge.md

Verification Results

Automated Verification

  • Ran make gen, make fmt, and make lint to ensure all changes are valid and consistent.
  • Confirmed that "AIBridge" no longer appears in user-facing documentation (except where part of a code symbol or internal identifier).

Manual Verification

  • Checked docs/reference/cli/aibridge.md and confirmed it now says "Manage AI Bridge."
  • Checked docs/reference/api/aibridge.md and confirmed:
    • It exists
    • The title is "AI Bridge"
    • The filename is correct
  • Verified that docs/reference/api/ai bridge.md does not exist.

@matifali matifali changed the title refactor: standardize "AIBridge" to "AI Bridge" in docs chore(docs): standardize "AIBridge" to "AI Bridge" in docs Nov 19, 2025
@matifali matifali changed the title chore(docs): standardize "AIBridge" to "AI Bridge" in docs chore(docs): standardize "AIBridge" to "AI Bridge" in documentation Nov 19, 2025
@matifali matifali marked this pull request as ready for review November 19, 2025 16:15
Copy link
Contributor

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

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

My OCD thanks you so much ❤️

@dannykopping dannykopping self-requested a review November 21, 2025 08:35
@dannykopping
Copy link
Contributor

@matifali tests are failing; will re-review once those are fixed.

@matifali
Copy link
Member Author

Tests are fine now, but do take another look.

@matifali
Copy link
Member Author

matifali commented Nov 24, 2025

Would love to add a lint rule to prevent this from happening in the future.

Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

Go 👍

@matifali matifali requested a review from Emyrk as a code owner November 24, 2025 11:55
@matifali
Copy link
Member Author

matifali commented Nov 24, 2025

Hi, just pushed another change in 109399c (#20831) to fix some remaining instances after adding the lint rule to typos.

@matifali matifali force-pushed the aibrige-docs-rename branch from 2de0df0 to f260c3f Compare November 24, 2025 12:06
- Update references from "AIBridge" to "AI Bridge" across various files
- Ensure consistent naming in documentation, code comments, and identifiers
@matifali matifali force-pushed the aibrige-docs-rename branch from f260c3f to 109399c Compare November 24, 2025 12:08
@matifali matifali marked this pull request as draft November 24, 2025 12:36
@matifali matifali marked this pull request as ready for review November 24, 2025 12:45
@matifali matifali requested a review from mtojek November 24, 2025 13:04
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

👍 👍

@matifali matifali merged commit 6364089 into main Nov 24, 2025
34 checks passed
@matifali matifali deleted the aibrige-docs-rename branch November 24, 2025 13:09
@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants