toga-ai 1.0.210 → 1.0.211

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ _Auto-generated by `knowledge.js index`. Do not hand-edit._
33
33
 
34
34
  ## standalone framework
35
35
 
36
- - **togatech** (TOGA Technology Website) — 2 doc(s) → [standalone/apps/togatech/INDEX.md](standalone/apps/togatech/INDEX.md)
36
+ - **togatech** (TOGA Technology Website) — 4 doc(s) → [standalone/apps/togatech/INDEX.md](standalone/apps/togatech/INDEX.md)
37
37
  - **forward** (Forwarder) — 4 doc(s) → [standalone/apps/forward/INDEX.md](standalone/apps/forward/INDEX.md)
38
38
 
39
39
  ## Clients
@@ -3,4 +3,5 @@
3
3
  | Doc | Summary | Files |
4
4
  |-----|---------|-------|
5
5
  | [TOGA Technology Website Architecture](architecture.md) | The public-facing TOGA Technology corporate/marketing website. | togatech/src/main.tsx, togatech/src/App.tsx, togatech/src/routes.tsx, togatech/src/lib/api.ts, togatech/src/lib/contentful.ts, togatech/src/themeConfig/ThemeContext.tsx, togatech/vite.config.ts, togatech/package.json |
6
- | [SEO / AEO / GEO — Prerendering, Single-Source Meta & Structured Data](features/seo-aeo-geo-prerender.md) | Makes togatech.com visible and citable to search engines **and** AI answer engines (ChatGPT/Perplexity/Claude search, Google AI Overviews). | togatech/vite.config.ts, togatech/scripts/prerender.mjs, togatech/src/routes.config.json, togatech/src/main.tsx, togatech/src/App.tsx, togatech/src/components/SEO/Seo.tsx, togatech/src/components/SEO/JsonLd.tsx, togatech/src/components/SEO/schema.ts, togatech/public/robots.prod.txt, togatech/public/sitemap.xml, togatech/public/llms.txt |
6
+ | [SEO / AEO / GEO — Prerendering, Single-Source Meta & Structured Data](features/seo-aeo-geo-prerender.md) | Makes togatech.com visible and citable to search engines **and** AI answer engines (ChatGPT/Perplexity/Claude search, Google AI Overviews). | togatech/vite.config.ts, togatech/scripts/prerender.mjs, togatech/src/routes.config.json, togatech/src/main.tsx, togatech/src/App.tsx, togatech/src/components/SEO/Seo.tsx, togatech/src/components/SEO/JsonLd.tsx, togatech/src/components/SEO/schema.ts, togatech/src/components/templates/AppLayout.tsx, togatech/src/pages/WhatWeDo/WhatWeDoPage.tsx, togatech/src/pages/WhatWeDo/viewModel/FIELDS/WHATWEDOPAGEFIELDS.json, togatech/src/pages/About/AboutPage.tsx, togatech/src/pages/Contact/ContactPage.tsx, togatech/src/pages/OurPlatform/OurPlatformPage.tsx, togatech/public/robots.prod.txt, togatech/public/sitemap.xml, togatech/public/llms.txt |
7
+ | [Creating Pull Requests on togatech](workflows/creating-pull-requests.md) | How to open a PR against `agilantsolutions/togatech`. | togatech/.git/config |
@@ -6,7 +6,7 @@ project: TOGA Technology Website
6
6
  client: shared
7
7
  type: feature
8
8
  status: active
9
- updated: 2026-06-19
9
+ updated: 2026-06-26
10
10
  owners: ["ajean", "jcardinal"]
11
11
  files:
12
12
  - togatech/vite.config.ts
@@ -17,6 +17,12 @@ files:
17
17
  - togatech/src/components/SEO/Seo.tsx
18
18
  - togatech/src/components/SEO/JsonLd.tsx
19
19
  - togatech/src/components/SEO/schema.ts
20
+ - togatech/src/components/templates/AppLayout.tsx
21
+ - togatech/src/pages/WhatWeDo/WhatWeDoPage.tsx
22
+ - togatech/src/pages/WhatWeDo/viewModel/FIELDS/WHATWEDOPAGEFIELDS.json
23
+ - togatech/src/pages/About/AboutPage.tsx
24
+ - togatech/src/pages/Contact/ContactPage.tsx
25
+ - togatech/src/pages/OurPlatform/OurPlatformPage.tsx
20
26
  - togatech/public/robots.prod.txt
21
27
  - togatech/public/sitemap.xml
22
28
  - togatech/public/llms.txt
@@ -37,7 +43,15 @@ Makes togatech.com visible and citable to search engines **and** AI answer engin
37
43
  1. **robots:** `robotsPlugin` copies `robots.prod.txt` only when `mode === "production"`; beta/gamma/dev get `robots.dev.txt` (`Disallow: /`). `robots.prod.txt` carries an explicit AI-bot allow-list (GPTBot, ClaudeBot, PerplexityBot, …) + `https://` sitemap.
38
44
  2. **prerender:** `npm run build` = `tsc && vite build && npx puppeteer browsers install chrome && node scripts/prerender.mjs` (the Chrome-install step was added 2026-06-19 — see gotchas). The script serves `dist/` (reading the original shell once, serving it for all nav routes), snapshots each route in headless Chrome, and writes `dist/<route>/index.html`. Runs in a real browser, so **no SSR/window guards needed**.
39
45
  3. **meta:** each page renders `<Seo {...FIELDS.meta} />` — title/description/keywords/canonical/OG/Twitter from one place per page; canonical/OG URLs derived from one `SITE_URL`. `<JsonLd>` (Helmet `<script type="application/ld+json">`) is baked into the snapshot.
40
- 4. **structured data:** Organization + WebSite site-wide (AppLayout), per-page BreadcrumbList (Seo), platform SoftwareApplication (OurPlatform), LocalBusiness×5 (from Contact locations), Person (from About team) all **derived from existing FIELDS** (single source).
46
+ 4. **structured data:** all JSON-LD now lives in **one module — `src/components/SEO/schema.ts`** (the single source of truth), derived from `FOOTERFIELDS.json` (socials/email/phone) and each page's FIELDS JSON, so editing footer/content updates schema automatically. Exports and their render sites (emitted via `<JsonLd>`/Helmet):
47
+ - `organizationSchema` + `websiteSchema` → **AppLayout** (all pages).
48
+ - `serviceSchemas` (4 `Service` nodes) → **WhatWeDoPage**.
49
+ - `platformSchema` (`SoftwareApplication` for the TOGa Platform) → **OurPlatformPage**.
50
+ - `aboutPageSchema` (`AboutPage`) + `personSchemas` (per leader) → **AboutPage**.
51
+ - `contactPageSchema` (`ContactPage`) + `localBusinessSchemas` (per office, from `CONTACTPAGEFIELDS.map.locations`) → **ContactPage**.
52
+ - **Entity graph linked by `@id`:** Organization is `${SITE_URL}/#organization`, WebSite `/#website`, logo `/#logo`. Service/Person/LocalBusiness reference the org via `provider`/`worksFor`/`parentOrganization` `@id`; AboutPage/ContactPage set `isPartOf` the website and `about` the org. Use `@id` cross-references — do not inline duplicate org nodes.
53
+ - `organizationSchema.logo` is an `ImageObject` (`@id` `/#logo`, `url`, `contentUrl`, `caption "TOGA Technology"`); width/height are intentionally omitted because the logo is an SVG.
54
+ - `personSchemas` de-dupes a leader who appears in both `boardMembers` and `members` in `ABOUTPAGEFIELDS`, keyed on lowercased trimmed name (a `Set`) — naive emission produced duplicate `Person` nodes.
41
55
 
42
56
  ## Data model
43
57
  None (static marketing site). All copy/meta/NAP/leaders come from `*FIELDS*.json`; structured data is derived from `FOOTERFIELDS.json`, `CONTACTPAGEFIELDS.json` (`map.locations`), and `ABOUTPAGEFIELDS.json` (`teamMembers`).
@@ -57,10 +71,15 @@ None — uniform.
57
71
  - **og:image dedupe:** static OG/Twitter tags were removed from `index.html` because `<Seo>` emits per-page ones (Helmet appends rather than replacing pre-existing static tags → duplicates otherwise).
58
72
  - **Verified data corrections:** real positioning is *integrated IT services + the ERA TOGa Platform*; real socials are LinkedIn `/toga-tech` + YouTube + Instagram (no Twitter/GitHub/Crunchbase); contact is `website@togatech.com` / `+1 (212) 736-0111`; **5** offices. Prior planning docs had several wrong specifics — verify schema/llms.txt against FIELDS before shipping.
59
73
  - **Build size:** JS bundle is ~14.8 MB (4.9 MB gzip) — a real CWV/LCP risk; code-splitting is a separate follow-up.
74
+ - **FIELDS JSON is component-coupled — no free-prose body slot:** each page's `*FIELDS*.json` is shaped to specific components (hero, cardScroll, businessProblems, kpi, carousel), so there is **no place to drop a long prose block**. An audit's "rewrite to 900 words" is not structurally possible without building new components — you can only sharpen titles/descriptions/keywords/card copy that already have slots. (`/our-platform` was left unchanged: it is already content-dense — 7 app modules + 4 stacks + testimonials + KPIs — and the original audit under-counted because that content is JS-rendered.)
75
+ - **`personSchemas` duplicate guard:** a leader can be in both `boardMembers` and `members` in `ABOUTPAGEFIELDS` — `personSchemas` must de-dup by lowercased trimmed name, or it emits duplicate `Person` nodes.
76
+ - **🔴 Brand name is "TOGA Technology" only — never "Agilant":** an earlier draft adding `alternateName: "Agilant"` / "(formerly Agilant)" to the org schema was explicitly reverted. Do not reintroduce "Agilant" in schema, copy, or meta. (Captured as a team brand standard — see Related docs.)
60
77
 
61
78
  ## Change history
79
+ - 2026-06-26 — SEO improvement effort (PRs #33–#36 → `_production`; SEO health ~61→78 est.). Centralized all JSON-LD into `src/components/SEO/schema.ts` (org/website/platform/service×4/about/contact/localBusiness/person, `@id`-linked graph), de-duped Person nodes, logo→`ImageObject`, sharpened `/what-we-do` meta+copy, added `<lastmod>` to all 7 sitemap URLs. Recorded brand constraint ("TOGA Technology" only, never "Agilant") and the component-coupled-FIELDS limit. (ajean)
62
80
  - 2026-06-19 — Merged SEO/AEO into `_production` (resolved ContactPage conflict: reCAPTCHA + Seo/JsonLd, dropped Helmet). Fixed Amplify build: committed `package-lock.json` (npm ci EUSAGE) and added `npx puppeteer browsers install chrome` to the build before prerender. (jcardinal)
63
81
  - 2026-06-18 — Initial SEO/AEO/GEO implementation: robots mode-gate + AI allow-list + sitemap/llms; Puppeteer prerender (fail-fast); shared `<Seo>` single-source meta + canonical; JSON-LD (Organization/WebSite/Breadcrumb/SoftwareApplication/LocalBusiness×5/Person×12). PRs #29 + #30, pending merge. (ajean)
64
82
 
65
83
  ## Related docs
66
84
  - standalone/apps/togatech/architecture.md (update its Build/deploy section once PR #30 merges — robotsPlugin gating + prerender step).
85
+ - standalone/apps/togatech/workflows/creating-pull-requests.md — how PRs get opened on this repo (gh CLI is unauthenticated; uses curl + osxkeychain token; base `_production`).
@@ -0,0 +1,47 @@
1
+ ---
2
+ title: Creating Pull Requests on togatech
3
+ framework: "standalone"
4
+ repo: togatech
5
+ project: TOGA Technology Website
6
+ client: shared
7
+ type: workflow
8
+ status: active
9
+ updated: 2026-06-26
10
+ owners: ["ajean"]
11
+ files:
12
+ - togatech/.git/config
13
+ related:
14
+ - standalone/apps/togatech/features/seo-aeo-geo-prerender.md
15
+ ---
16
+
17
+ ## Summary
18
+ How to open a PR against `agilantsolutions/togatech`. The local `gh` CLI is **not usable**
19
+ for this repo (it lacks the `read:org` scope), so PRs are created with a raw GitHub REST
20
+ call authenticated by the token already sitting in the macOS keychain. **Base branch is
21
+ `_production`, not `_main`** (`_main` is stale) — feature branches are cut from `_production`.
22
+
23
+ ## How it works
24
+ 1. Branch off `_production` (e.g. `feature/seo-schema`), commit, and push the branch.
25
+ 2. Pull the GitHub token from the osxkeychain credential helper rather than relying on `gh`:
26
+ ```
27
+ TOKEN=$(printf 'protocol=https\nhost=github.com\n\n' | git credential fill | sed -n 's/^password=//p')
28
+ ```
29
+ 3. POST to the PR API with that token:
30
+ ```
31
+ curl -s -X POST \
32
+ -H "Authorization: token $TOKEN" \
33
+ -H "Accept: application/vnd.github+json" \
34
+ https://api.github.com/repos/agilantsolutions/togatech/pulls \
35
+ -d '{"title":"...","head":"<branch>","base":"_production","body":"..."}'
36
+ ```
37
+ 4. The response JSON contains `html_url` for the new PR. Merge follows the normal review flow.
38
+
39
+ ## Gotchas / known issues
40
+ - **`gh pr create` fails** here — the authenticated `gh` session lacks `read:org`. Do not
41
+ burn time re-authing `gh`; use the curl path above.
42
+ - **Base is `_production`.** Targeting `_main` opens a PR against a stale branch. (This matches
43
+ the `worker2` mainline convention — mainline is `_production`, not `_main`.)
44
+ - **Never echo `$TOKEN`** into logs, commit messages, or PR bodies — it is a live credential.
45
+
46
+ ## Change history
47
+ - 2026-06-26 — Documented the curl-based PR flow (gh unauthenticated; base `_production`), captured during the SEO improvement effort (PRs #33–#36). (ajean)
@@ -0,0 +1,35 @@
1
+ ---
2
+ title: Brand Naming — "TOGA Technology" only
3
+ framework: "standalone"
4
+ repo: togatech
5
+ project: TOGA Technology Website
6
+ client: shared
7
+ type: standard
8
+ status: active
9
+ updated: 2026-06-26
10
+ owners: ["ajean"]
11
+ files:
12
+ - togatech/src/components/SEO/schema.ts
13
+ related:
14
+ - standalone/apps/togatech/features/seo-aeo-geo-prerender.md
15
+ ---
16
+
17
+ # Brand Naming — "TOGA Technology" only
18
+
19
+ The company is referenced **only** as "TOGA Technology" in all code, schema, meta, and
20
+ copy. **Never** use "Agilant" — not as a brand name, not as `alternateName`, and not in
21
+ any "(formerly Agilant)" framing.
22
+
23
+ ## Why
24
+ During the 2026-06 SEO effort an earlier draft added `alternateName: "Agilant"` and a
25
+ "(formerly Agilant)" note to the Organization JSON-LD and org description. This was
26
+ **explicitly reverted by the owner**. Surfacing the legacy name in structured data and
27
+ copy is off-brand and creates the wrong entity association for search/AI answer engines.
28
+
29
+ ## Applies to
30
+ - Schema.org JSON-LD (`src/components/SEO/schema.ts`) — no `alternateName: "Agilant"`.
31
+ - Page meta (titles, descriptions), on-page copy, `llms.txt`, and any FIELDS JSON.
32
+ - Any future SEO/content/AEO work on togatech.
33
+
34
+ ## Change history
35
+ - 2026-06-26 — Standard recorded after reverting an "Agilant" alternateName/"formerly" draft in the org schema. (ajean)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toga-ai",
3
- "version": "1.0.210",
3
+ "version": "1.0.211",
4
4
  "description": "TOGA Technology Team Claude Knowledge System — shared AI coding harness with skills, knowledge base CLI, and project installer for Claude Code.",
5
5
  "keywords": [
6
6
  "claude",