Repository navigation
Description
Summary
#99 removed the two Accent translation-sync workflows
(.github/workflows/{push,sync}-accent.yml) and updated CLAUDE.md + .claude/docs/environment.md
to match. Three references were left behind, including a config file for workflows that no longer
exist. Separately, #100's implementation report catalogued seven further stale references in
files that ticket did not own — verified individually and still present on main @3c03fbc.
Both halves are the same job: a documentation-accuracy sweep with no runtime surface. Batched into
one ticket so a reviewer sees one diff rather than two, and so the six doc files are claimed by a
single implementer.
Current behavior
Accent leftovers (from #99):
| Where | What it says | Why it's wrong |
|---|---|---|
accent.json (repo root, 224 B) |
apiUrl: https://miregoaccent-production.up.railway.app, project config |
Orphaned — it configured only the two deleted workflows. .github/workflows/ now holds audit.yml + ci.yml. |
.claude/docs/architecture.md:101-102 |
"Theming ("accent"): accent.json + .github/workflows/{push,sync}-accent.yml sync a shared accent theme. Out of scope unless the task is about theming." |
Wrong twice: the workflows are deleted, and Accent was translation sync, not theming — CLAUDE.md:202 says so. The bullet actively misdirects anyone doing theming work. |
.claude/skills/draft-ticket/conventions.md:31 |
- `ui` — Radix/Tailwind components, theming, accent |
"accent" is no longer an area of this repo. |
.claude/docs/environment.md:32 is already correct (it records the removal in #99 and that
the secret can be revoked) — leave that paragraph alone.
Stale references from .claude/reports/100-refresh-internal-docs.md §4 — all seven re-verified
present on main, spanning six files:
.claude/rules/tests.md:42— "the api interceptor (src/config/api/fetch.ts)". No interceptor
exists;applyRequestContext/interceptFetchlive insrc/config/api/client.ts..claude/rules/tests.md:91— "mockaxios/@/config/i18n". The spec it cites
(src/config/api/fetch.test.ts) mocks@payloadcms/sdk; axios was removed in refactor(api): migrate data layer from axios+qs to @payloadcms/sdk #41..claude/rules/i18n-and-state.md:38—src/components/mapbox/map.tsx; actual path is
src/components/organisms/Mapbox/Map.tsx..claude/rules/i18n-and-state.md:49— "Five stores"; there are six
(useViewState,useRegistrationDraft,useCameraHistory,useCalendarPosition,
useReportModal,useResultsReveal— the file itself then documents six)..claude/rules/code-style.md:53— citesEventShare/as the folder-family example; that
folder is gone (ShareContent/succeeded it)..claude/docs/environment.md:55— "shared axios client, whose interceptor would attach the
SahajCloud…"..claude/skills/finalize-pr/pr-template.md:20and
.claude/skills/draft-ticket/templates/feature.md:24—src/components/mapbox/example paths
(the same driftconventions.mdwas corrected for in docs(claude): refresh stale internal docs and small hygiene batch #100).
Proposed changes
- Delete
accent.json. Confirm first that nothing reads it:grep -rn accentover the repo
(excludingnode_modules,dist,.claude/worktrees/) should leave only the CLAUDE.md and
environment.md paragraphs that describe the removal, which are correct and stay. - Rewrite
.claude/docs/architecture.md:101-102.Either drop the bullet or replace it with a
one-liner that matchesCLAUDE.md:202-206: Accent was translation sync, it was removed in chore(build): add audit gate, size budget, and embed smoke tests #99,
and locale JSON underpublic/locales/is hand-maintained. Do not leave a "theming" framing. - Drop "accent" from the
uiscope in.claude/skills/draft-ticket/conventions.md:31. - Fix all seven items above. Each is a factual correction — verify the replacement against
source before writing it, don't copy the text from this ticket blind (verify-scope-claims).
For item 4, count the stores insrc/config/store.tsrather than trusting "six". - Then re-grep for the two systemic patterns to catch anything this list missed:
grep -rn 'components/mapbox' CLAUDE.md .claude/andgrep -rni 'axios\|interceptor' CLAUDE.md .claude/.
Non-code action for the repo owner (not part of this diff): the ACCENT_API_KEY repository
secret is now read by nothing and can be revoked in GitHub → Settings → Secrets and variables →
Actions. .claude/docs/environment.md:32 already says so; this is a GitHub-settings action, not a
code change, and the ticket should not be held open waiting for it.
Acceptance criteria
-
accent.jsondeleted;grep -rn -i accentover the tracked repo returns only the
CLAUDE.md /environment.mdparagraphs that describe the removal -
.claude/docs/architecture.mdno longer describes Accent as a theming sync, and no longer
references the deleted workflows -
.claude/skills/draft-ticket/conventions.md:31no longer lists "accent" underui - All seven items from the report's §4 corrected, each verified against the source it
describes (not against this ticket's text) -
grep -rn 'components/mapbox' CLAUDE.md .claude/returns nothing -
grep -rni 'axios' CLAUDE.md .claude/returns nothing except deliberate historical
references to the refactor(api): migrate data layer from axios+qs to @payloadcms/sdk #41 migration - The store count in
.claude/rules/i18n-and-state.mdmatchessrc/config/store.ts - Lint + typecheck +
pnpm test:runpass (no source change expected — if any of these turn
red, something outside the ticket's scope was touched) - Implementation report written to
.claude/reports/<this-issue-number>-accent-and-doc-sweep.mdin the main checkout at
/Users/devindra/Documents/Projects/SahajAtlasWeb(.claude/reports/.gitignoreis*, so a
worktree copy would be discarded)
Parallel implementation
This ticket owns these files; no other ticket in this batch touches them:
accent.json(deleted).claude/docs/architecture.md.claude/docs/environment.md.claude/rules/tests.md.claude/rules/i18n-and-state.md.claude/rules/code-style.md.claude/skills/draft-ticket/conventions.md.claude/skills/draft-ticket/templates/feature.md.claude/skills/finalize-pr/pr-template.md
Do not edit .claude/skills/finalize-pr/SKILL.md or .claude/docs/workflow-parity.md (owned
by the security-review-paths ticket in this batch), .claude/rules/data-layer.md (owned by the
anchor-predicate ticket), .claude/rules/components.md (owned by the memory-mode ticket), or any
file under src/.
Files affected
accent.json— delete.claude/docs/architecture.md(:101-102),.claude/docs/environment.md(:55).claude/rules/tests.md(:42,:91),.claude/rules/i18n-and-state.md(:38,:49),
.claude/rules/code-style.md(:53).claude/skills/draft-ticket/conventions.md(:31),
.claude/skills/draft-ticket/templates/feature.md(:24),
.claude/skills/finalize-pr/pr-template.md(:20)
References
- chore(build): add audit gate, size budget, and embed smoke tests #99 / PR chore(build): add audit gate, size budget, and embed smoke tests #110 — removed the Accent workflows and updated
CLAUDE.md+environment.md - docs(claude): refresh stale internal docs and small hygiene batch #100 / PR docs(claude): refresh stale internal docs and small hygiene batch #111 — the docs refresh whose report catalogued the seven leftovers
.claude/reports/100-refresh-internal-docs.md§4 ("Further drift found and left alone — worth
ticketing"), listed second in its suggested follow-upsCLAUDE.md:202-206— the accurate account of what Accent was and why it went
Metadata
Metadata
Assignees
Labels
Type
Fields
Hold Until
Activity