Repository navigation
feat(agents): add business-type and role packs to Agent Center's Ready to use - #1962
Merged
Merged
Conversation
…son's work areas (W2-22) CHAT-24 §3: the focus picker opens once on the first Chat Home (marked shown as it opens) with the areas the person's work areas suggest, Home's pill reopens it, and Settings › General › Your focus keeps changes at once. Focus only changes suggestions; no migration (00400 focus, 00408 focus_prompted_at). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main hid Answer language, notifications and "Thought for N s" in Chat Settings (ansvisor#1903). Keep them hidden and keep the new Your focus row, in the component, the page comment and the help article. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…uestions and a competitor's rise (W2-23a) CHAT-24 §4: For you now takes the picked areas' shortcuts in turn (five beside Ask anything, CHAT-08 v2's six chips; the three jobs keep their counts and rules), Start with a question offers four in the workspace's own competitor, topic and market or their general wording, the line under the greeting says a competitor's mention rate rose 3+ points this week when nothing needs the person, and the / menu lists the focus's skills first. No migration. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… own settings saveChatFocus, skipChatFocus and markFocusPrompted write only the person's own chat_user_prefs row and cost nothing, like saveChatGeneralSettings, so they join the read-only coverage test's open list with their reasons. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n cards Agent Center opens on Ready to use (?tab=ready|yours); Your agents keeps the Mine, Workspace, Paused and Archived filters. Ready-to-use agents are presets kept as data (lib/chat/agents/presets/*.json, read through catalog.json): skills from the library, triggers New agent offers, a mode, connections, and for Soon cards what they wait for. Use this agent opens New agent filled in (?preset=); nothing is saved or turned on by itself. A mode the plan keeps closed shows its lock (planGateLock), and opens on Auto, ask before changes. Analysts and Agency partners see the cards with the read-only line. Goal is the only filter until a preset carries a business type, industry or role. Help article updated. The presets ask for connections as ansvisor#1909 defines them: any CMS (Required for Ready to Publish, Optional for Citation Win-back and Task Finisher), any catalog source for AI Shopping Readiness, Search Console Optional. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… Home (W2-23b) Adds /questions, /features, /gaps, /markets, /listings, /rivals and /audit-fix (CHAT-24 §5) to the skills library, so it holds twenty-one. Chat Home shows up to four of them under "New for you" for the picked focus areas, and the / menu lists each area's new skills right after its own. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… pill is cancelled From the pill the picker's way out still saved an empty focus, so changing your mind wiped the focus you had. Opened from the pill it now reads Cancel and only closes; Skip for now stays the first opening's answer.
New agent's skill step and its follow-on list offered only the fourteen skills of W2-04. The focus areas' seven (W2-23b: Buyer questions, How AI compares us, No clear leader, Who AI recommends by market, Listing gaps, Rival brief and Site audit fixes) are in Chat's library, so an agent can run them too. - agent-skills.ts: the seven join ANSVISOR_SKILLS in the library's order (SKILL_ORDER). Their SKILL.md files read only Ansvisor's own data and public pages, and save page work as drafts, so none needs a connection: /listings reads the sites AI cites, not a catalog; /audit-fix writes a robots or CMS change for the person to make. - en.json: their titles under chatAgents.skills, as their SKILL.md says. - Tests: agent-skills.test.ts (every library skill, in order, titled as its SKILL.md, the seven with no connection), syncConnections, and the form's skill grid and follow-on list. - Help: agents.md says which skills an agent can use. Stacked on ansvisor#1918 (W2-23b). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e' into feat/agent-center-packs # Conflicts: # help/chat/agents.md
…y to use Ready to use offered the core agents only. AGENTS plan §8 adds packs by business type (§8.1) and role helpers (§8.3), recommended to the person on day one. This adds them as presets, with the brand's site type and the person's work areas deciding what comes first. - Presets: businessTypes are the brand's site types (b2b, ecommerce, b2c, as brands.site_type) plus app, which brand settings don't offer yet; roles are the work areas of Menu access (00374). The 12 business-type agents and 7 role helpers join the catalog: 10 ready, made of skills an agent can use today (the 14 and the 7 focus skills), and 9 Soon, each saying what it waits for (app store data, review site data, a catalog read, a seasonal, content plan or AI traffic skill, local listings). The §8.3 helpers that are core agents (Freshness, Prompt Portfolio, Crawler & Technical Fixer) get the role on their core preset instead of a copy. Reports and reads run on Auto, outreach and wrong-claim fixes on Ask me first. - Ready to use: Business type and For your role filters beside Goal. The agents made for the site type of the brand on screen, or for one of the person's work areas, come first among the ready ones and among the Soon ones, marked For your site type or For your role. The page reads the person's work areas (profiles.work_areas). - Tests: every preset's skills are ones an agent can use, Soon ones say what they need, no pack agent is a core agent's skills under another name, the tags follow the site types and work areas, the filters and the default order; the page passes the work areas. - Help: agents.md covers the packs, the filters and the marks. Stacked on feat/agents-focus-skills (on ansvisor#1918) with ansvisor#1917 merged in. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tting the mode off
A pack agent with three skills pushed the mode chip past the card's edge
("Auto, ask before chan…"). On a card the formula chips wrap to a second
line; the agent list's one-line rows are unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…kills # Conflicts: # help/chat/agents.md # web/src/components/chat/agents/agent-form.test.tsx
The 14 add/add and content conflicts came from the old merge base (de93d9d), which predates ansvisor#1917. Resolved as a three-way merge on the branch's real base, afba1fc: the tree is c4c9daf plus the packs diff (afba1fc..5db5c35). The ansvisor#1917 files were unchanged on main, so the packs changes go in as they were; help/chat/agents.md and en.json merge main's own-key and Resume additions with the packs sections and keys. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…acks # Conflicts: # help/chat/agents.md
8 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Agent Center › Ready to use gets the business-type and role packs (Agents plan §8.1 and §8.3). Builds on #1948 (agents use the seven focus skills), #1917 and #1918, all merged; this branch has current main merged in. No migration.
The plan's rule is "no renamed copies". A pack agent exists only when it does a job the core agents don't.
New ready-to-use agents (19: 10 ready, 9 Soon)
Existing agents only gain role tags:
The catalog now has 39 agents: 18 ready, 21 Soon. Reports and reads run in Auto. Outward-facing work and fixing wrong claims run in Ask me first.
What changes on the page
businessTypesandroles, in the Zod schema and tests:b2b,ecommerce,b2c) plusapp;leaders,aeo,content,brand,growth,product,bizdev,developers,analytics).dark:variant.readMyWorkAreas(profiles.work_areas).siteTypeOfguess when it isn't set.help/chat/agents.mdgets "Agents for your site and your work".Follow-ups, approved by the owner (separate PRs):
Related issue
None. Agents plan §8.1 and §8.3.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
CHAT_AGENTIC=true, open Agent Center › Ready to use on an e-commerce brand. Product Answer Pages comes first, with "For your site type".readMyWorkAreasand the page.Checked in the browser at 1024px, light and dark: the filters, the fit tag, B2C and the wrapped formula. The user approved the screens.
Checklist
yarn lintpasses (0 errors; 7 old warnings in files this PR doesn't touch)yarn typecheckpassesyarn format:checkpasseshelp/(or no user-visible change)CI passed on this branch (5e35d59), run on the fork (https://github.com/cihan-gyk/ansvisor/actions/runs/41347354058): schema is up to date; web
format:check, lint, typecheck, all tests andyarn buildpass; server lint,format:checkand all tests pass.🤖 Generated with Claude Code