Commit Graph

473 Commits

Author SHA1 Message Date
8f541c9f87 chore(audit): unblock workspace lint pipeline + 13 mechanical fixes
The first `pnpm -r exec eslint .` run was bailing at the very first
package (design-tokens), hiding any lint state in the rest of the 69
workspace packages. This commit fixes the structural blockers so the
pipeline runs end-to-end, then sweeps the small, low-risk lint errors
in the next 4 packages it surfaces. Real lint debt that remains
(85 errors, mostly @typescript-eslint/no-unused-vars across many
unrelated packages) is cataloged in docs/AUDIT_PLATFORM.md for follow-
up by package owners.

Structural fixes (eslint config):
  - eslint.config.js (root):
      • New flat-config block for **/*.cjs and **/scripts/**/*.{js,cjs}
        with Node globals (process, console, require, module, __dirname)
        and no-console disabled. CLI scripts legitimately print to
        stdout. This alone clears the 45 errors in design-tokens'
        validate-tokens.cjs.
      • Added XMLHttpRequest + ProgressEvent to browser globals so
        feedback-client compiles.
  - packages/ui/eslint.config.js:
      • Added @typescript-eslint/parser — the package-local override
        replaced (didn't merge with) the root config, so TS syntax was
        being parsed by espree and erroring on every `interface` /
        type import.
      • Added ignores for dist/** (root's ignores aren't inherited).
      • Extended the files glob to .storybook/**/*.{ts,tsx}.

Mechanical lint fixes (no behaviour change):
  - design-tokens/scripts/{validate,token-coverage}.cjs: empty catch
    binding (catch (e) → catch).
  - feedback-client/src/index.ts:
      • captureScreen(): preserve caught error via `{ cause: err }`
        on the rethrown Error (preserve-caught-error rule, real bug —
        previous chain dropped the original stack).
      • captureElement(): rename unused parity params mimeType/quality
        to _mimeType/_quality and document why they exist.
  - logger/__tests__/logger.test.ts: drop unused `LoggerConfig` import.
  - extraction-service/{lib/circuit-breaker,modules/extract/{sidecar-
    monitor,usage}}.test.ts: drop 3 unused vitest/type imports.
  - tracker-web/__tests__/tracker-proxy.test.ts: rename unused local
    `url` → `_url`.

New: docs/AUDIT_PLATFORM.md
  Tooling-backed audit summary (pnpm install / typecheck / test / lint
  results), classification of remaining lint debt by rule, and an
  ordered hand-off plan for package owners to clear the rest with
  `pnpm --filter <pkg> lint:fix` followed by an eyeball review.

Verified before commit:
  - `pnpm typecheck` → pass (all 69 packages compile)
  - `pnpm test`      → pass (~2,200 tests across 18+ suites)
  - `pnpm lint`      → 85 pre-existing errors surfaced (none introduced
    by this commit; all in unrelated packages — see AUDIT_PLATFORM.md
    section P).

Out of scope (left untouched in working tree):
  - In-progress nomgap-on-Vercel migration: docker-compose.ecosystem.yml,
    products/nomgap/product.json, services/platform-service/src/
    modules/flags/seed.ts.
  - pnpm-lock.yaml: my `pnpm install -r` regenerated it (+2.9k/-8.5k
    lines) — not part of the audit, owner should commit deliberately.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 14:21:34 -07:00
saravanakumardb1
46a16f06bc docs(roadmaps): detailed 2026-04-17 plans for event bus, RAG, agent runtime, approval queue
Four grounded roadmaps superseding the scaffolded versions with
current-state audits, data models, week-by-week phase plans, tech-stack
decisions, and acceptance checklists. Execution order:
Event Bus (P0) unlocks Agent Runtime + RAG (P1 parallel), which unlock
Approval Queue (P1).
2026-04-17 09:36:44 -07:00
saravanakumardb1
54a06e227a refactor(scripts): move 5 Gitea scripts into scripts/gitea/ subdirectory
Moved:
  publish-local-gitea-packages.sh  → gitea/publish-local-packages.sh
  publish-outdated-gitea-packages.sh → gitea/publish-outdated-packages.sh
  release-gitea-packages.sh        → gitea/release-packages.sh
  run-registry-tests.sh            → gitea/run-registry-tests.sh
  harden-publish-config.sh         → gitea/harden-publish-config.sh

Dropped -gitea- infix (redundant with folder name).

Fixed in every moved script:
- REPO_ROOT: ../ → ../../ (one level deeper)
- Internal cross-reference comments

Updated all 10 referencing files:
- package.json (release script path)
- .gitea/workflows/ci.yml (publish step)
- 3 workflow .md files (publish-outdated usage)
- 3 devops docs (publish-local + registry-tests refs)
- 2 internal comment cross-references
2026-04-13 00:02:55 -07:00
root
39e48f3241 feat(llm): add FallbackLLMProvider + release pipeline script
- packages/llm: add FallbackLLMProvider (providers/fallback.ts) that
  tries each provider in order, skipping unconfigured or erroring ones;
  wire 'fallback' as a first-class LLMProviderType in factory + types
- packages/llm: improve auto-detection in factory — PERPLEXITY_API_KEY
  and GEMINI_API_KEY trigger auto-selection when no explicit provider set
- scripts/release.sh: new pipeline — rebase from origin/main, build,
  apply changesets, publish outdated packages to Gitea registry, push
- scripts/run-registry-tests.sh: fix Gitea URL health-check to use a
  real package endpoint with auth header instead of bare registry root
- docs: mark Vercel track-B prompts B1–B3 as complete

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 04:21:12 +00:00
saravanakumardb1
a762c5b07f docs: add Apple App Store + Google Play Store release guides
- APPLE/README.md: API key details, App Store Connect setup, TestFlight workflow, submission checklist, provisioning, screenshots/metadata requirements
- GOOGLE/README.md: Play Console setup, service account config, signing keys, AAB upload, testing tracks, data safety, content rating, submission checklist
2026-04-04 23:37:25 -07:00
5e40cd1b6e docs(runtime): record Cowork checkpoint drill-in 2026-04-04 17:29:44 -07:00
82a44c249f feat(runtime): add Cowork checkpoint drill-in 2026-04-04 17:29:12 -07:00
9cc4bbe906 docs(runtime): record FlowMonk replay controls 2026-04-04 17:18:55 -07:00
cff76d9037 docs(ecosystem): add optional enhancement backlog 2026-04-04 17:03:37 -07:00
cedfacc408 docs(ecosystem): close hardening tracker gaps 2026-04-04 16:48:33 -07:00
066e75f0c3 docs(ecosystem): harden approvals marketplace and timeline policy 2026-04-04 16:47:20 -07:00
617d970718 docs(ecosystem): harden artifact lifecycle and event taxonomy 2026-04-04 16:45:58 -07:00
ab50831d28 docs(ecosystem): harden adoption coverage and governance 2026-04-04 16:44:52 -07:00
065c025854 docs(ecosystem): split remaining roadmap into hardening buckets 2026-04-04 16:37:27 -07:00
9e2257200c docs(ecosystem): add roadmap summary to tracker 2026-04-04 16:36:25 -07:00
51bbeb86fd docs(runtime): record FlowMonk live e2e verification 2026-04-04 16:33:03 -07:00
2a4d8a7b75 docs(runtime): record FlowMonk replay review 2026-04-04 15:02:26 -07:00
1c92284314 docs(runtime): clarify Cowork direct and projected states 2026-04-04 14:59:15 -07:00
ec593d722e docs(runtime): record FlowMonk checkpoint guidance 2026-04-04 14:57:52 -07:00
1addccfeb5 docs(runtime): record FlowMonk runtime drill-in 2026-04-04 14:40:03 -07:00
e3f72fa22d docs(runtime): record FlowMonk runtime review UI 2026-04-04 14:37:10 -07:00
e6fb20f86b docs(runtime): record checkpoint artifact id rollout 2026-04-04 14:27:34 -07:00
2d86c9801a docs(runtime): reconcile checkpoint refs and editing surfaces 2026-04-04 13:53:58 -07:00
41673125af docs(runtime): close checkpoint and primitive follow-through 2026-04-04 12:15:40 -07:00
3330ca55cd docs(runtime): define first conforming product plan 2026-04-04 11:52:32 -07:00
4bb8efe375 docs(runtime): define ActionTrail replay requirements 2026-04-04 11:45:12 -07:00
2ad979ce19 docs(runtime): define checkpoint and resume semantics 2026-04-04 11:44:26 -07:00
6eaf5980a7 docs(ecosystem): update timeline and runtime remainder 2026-04-04 11:41:39 -07:00
d328c7ad68 feat(admin-web): harden timeline review console 2026-04-04 11:40:56 -07:00
977d41486a docs(ecosystem): reconcile runtime lifecycle and verification 2026-04-04 11:38:07 -07:00
eee122506c docs(ecosystem): record canonical audit event id rollout 2026-04-04 11:21:08 -07:00
69bced0a25 docs(ecosystem): record queued runtime commit 2026-04-04 11:12:19 -07:00
ff8c5eb704 fix(runtime): add queued agent run state 2026-04-04 11:11:45 -07:00
152b294d38 docs(ecosystem): mark FlowMonk runtime integration complete 2026-04-04 04:14:32 -07:00
2fdeb136e4 docs(ecosystem): tighten remaining runtime blockers 2026-04-04 02:21:28 -07:00
48c9e51f43 docs(ecosystem): record cowork action log commit 2026-04-04 02:20:35 -07:00
b8242b4601 feat(cowork-service): add runtime action log projection 2026-04-04 02:20:19 -07:00
2f936bb3de docs(ecosystem): record cowork task projection commit 2026-04-04 02:19:01 -07:00
01201f8f56 feat(cowork-service): add runtime task projection 2026-04-04 02:18:47 -07:00
600e26cc41 docs(ecosystem): record cowork runtime commit 2026-04-04 01:52:47 -07:00
023826e413 feat(cowork-service): add runtime projection routes 2026-04-04 01:52:04 -07:00
21a6596434 docs(ecosystem): record runtime console commit 2026-04-04 01:46:11 -07:00
71ef2ac6f6 feat(admin-web): add agent runtime console 2026-04-04 01:45:45 -07:00
9d7817788e docs(ecosystem): reconcile runtime tracker follow-ups 2026-04-04 01:16:19 -07:00
fe36296196 feat(runtime): add platform runtime projection api 2026-04-04 01:14:37 -07:00
e377351842 feat(timeline): add platform timeline ingest and query api 2026-04-04 00:54:07 -07:00
6cb4bbaf02 docs(ecosystem): track review follow-up fixes 2026-04-04 00:35:24 -07:00
b30cc7b5e4 docs(ecosystem): track phase4 and phase5 baselines 2026-04-03 19:55:12 -07:00
c465fc3607 docs(ecosystem): reconcile phase3 notelett hash 2026-04-03 19:50:14 -07:00
428112b702 docs(ecosystem): track phase3 audited artifact flow 2026-04-03 19:49:06 -07:00