Skip to content

feat(contact-center): add core AI-docs framework#4687

Closed
ciscoRankush wants to merge 1 commit intowebex:nextfrom
ciscoRankush:feat/ai-docs-core-framework
Closed

feat(contact-center): add core AI-docs framework#4687
ciscoRankush wants to merge 1 commit intowebex:nextfrom
ciscoRankush:feat/ai-docs-core-framework

Conversation

@ciscoRankush
Copy link
Copy Markdown

Add comprehensive AI documentation framework for LLM-assisted development:

  • AGENTS.md: Main orchestrator for AI task routing
  • RULES.md: Coding standards, patterns, and conventions
  • README.md: Package overview and quick start
  • Patterns: TypeScript, testing, event-driven, WebSocket, SDK plugin
  • Templates: New service, new method, bug fix, feature enhancement
  • sdk-api-reference.json: Full public API surface

COMPLETES #< INSERT LINK TO ISSUE >

This pull request addresses

< DESCRIBE THE CONTEXT OF THE ISSUE >

by making the following changes

< DESCRIBE YOUR CHANGES >

Change Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tooling change
  • Internal code refactor

The following scenarios were tested

< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >

The GAI Coding Policy And Copyright Annotation Best Practices

  • GAI was not used (or, no additional notation is required)
  • Code was generated entirely by GAI
  • GAI was used to create a draft that was subsequently customized or modified
  • Coder created a draft manually that was non-substantively modified by GAI (e.g., refactoring was performed by GAI on manually written code)
  • Tool used for AI assistance (GitHub Copilot / Other - specify)
    • Github Copilot
    • Other - Please Specify
  • This PR is related to
    • Feature
    • Defect fix
    • Tech Debt
    • Automation

I certified that

  • I have read and followed contributing guidelines
  • I discussed changes with code owners prior to submitting this pull request
  • I have not skipped any automated checks
  • All existing and new tests passed
  • I have updated the documentation accordingly

Make sure to have followed the contributing guidelines before submitting.

Add comprehensive AI documentation framework for LLM-assisted development:

- AGENTS.md: Main orchestrator for AI task routing
- RULES.md: Coding standards, patterns, and conventions
- README.md: Package overview and quick start
- Patterns: TypeScript, testing, event-driven, WebSocket, SDK plugin
- Templates: New service, new method, bug fix, feature enhancement
- sdk-api-reference.json: Full public API surface

Co-authored-by: Cursor <cursoragent@cursor.com>
@aws-amplify-us-east-2
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-4687.d3m3l2kee0btzx.amplifyapp.com

@Shreyas281299 Shreyas281299 marked this pull request as ready for review February 18, 2026 06:00
@Shreyas281299 Shreyas281299 requested a review from a team as a code owner February 18, 2026 06:00
@Shreyas281299
Copy link
Copy Markdown
Contributor

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b792d0dcbc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +96 to +99
yarn workspace @webex/contact-center typecheck

# Lint
yarn workspace @webex/contact-center lint
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Replace nonexistent workspace lint/typecheck commands

This checklist requires yarn workspace @webex/contact-center typecheck and yarn workspace @webex/contact-center lint, but packages/@webex/contact-center/package.json defines neither script (it has test:style, test:unit, build, etc.). As written, validation fails before actual checks run, so agents following the template cannot complete the documented workflow.

Useful? React with 👍 / 👎.

Comment on lines +65 to +67
1. [`../patterns/typescript-patterns.md`](../patterns/typescript-patterns.md)
2. [`../patterns/sdk-plugin-patterns.md`](../patterns/sdk-plugin-patterns.md) - For cc.ts methods
3. [`../patterns/testing-patterns.md`](../patterns/testing-patterns.md)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Correct broken pattern links in method template

The required pattern links use ../patterns/..., which resolves to ai-docs/templates/patterns/... from this directory and does not exist; the actual docs are under ai-docs/patterns/.... This sends users to dead links at the start of the method workflow, so the prerequisite guidance cannot be followed.

Useful? React with 👍 / 👎.

4. Read existing service in same category (e.g., `AddressBook.ts` for new data service)

### For Bug Fix:
1. Read the affected service's `ai-docs/ARCHITECTURE.md`
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove hard dependency on missing service ARCHITECTURE docs

This bug-fix flow makes reading a service ai-docs/ARCHITECTURE.md the first required step, but there are no src/services/*/ai-docs/ARCHITECTURE.md files in the repository, so the documented path is currently impossible to execute. Either add those files or provide an explicit fallback to source/tests here.

Useful? React with 👍 / 👎.

@vivekv1504
Copy link
Copy Markdown
Contributor

Hi @ciscoRankush,

This PR has been open without activity for approximately 1 month. If this is no longer needed, could you please close it?

We've reached the maximum number of open PRs, which is affecting our Amplify bot functionality.

If there's no response within 2 days, this PR will be closed automatically.

@vivekv1504
Copy link
Copy Markdown
Contributor

Closing this PR due to no activity. It can be reopened later if needed.

@vivekv1504 vivekv1504 closed this Apr 1, 2026
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.

3 participants