Skip to content

feat: release web design intelligence and trusted research 0.8.0 - #1

Merged
ga1ien merged 6 commits into
mainfrom
codex/web-design-intelligence-20260722
Jul 23, 2026
Merged

feat: release web design intelligence and trusted research 0.8.0#1
ga1ien merged 6 commits into
mainfrom
codex/web-design-intelligence-20260722

Conversation

@ga1ien

@ga1ien ga1ien commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

What changed

  • releases @braintied/research 0.8.0 with explicit public source modes, deterministic coverage gates, source-health probes, and GitHub/X/Reddit/YouTube/provider hardening
  • adds the versioned web-design-intelligence@1 profile for award/editorial inspiration, premium-template rights, maintained implementation code, agent guidance, QA harnesses, and practitioner counterevidence
  • adds the tenant-bound Cortex and Braintied Research Telegram recall contract while keeping public research and trusted evidence in separate artifacts
  • makes profile runs write public Markdown, reference-only metadata, and a distinct mode-0600 trusted-local appendix
  • replaces blacklist validation at the CLI boundary with recursively exact manifest and appendix schemas so unknown private-text fields fail before any artifact write
  • carries forward the unreleased synthesis watchdog, Gemini/GLM routing, and grounding repairs required by the profile pipeline

Why

Parlor agents need a reproducible, current, rights-aware design-research system rather than prompt-only source suggestions. Private organizational recall must improve decisions without entering public provider prompts, reports, caches, or logs.

Validation

  • npm test: 55 unit/integration tests plus 8 Instagram/Bright Data boundary tests
  • npm run typecheck and npm run build
  • clean install of releases/braintied-research-0.8.0.tgz
  • ESM and CommonJS import/profile compilation from the packed archive
  • internal CLI profile preflight and local CLI trusted-mode fail-closed verification from the packed archive
  • packed live CLI test proving public/trusted artifact separation, mode 0600, and unknown private excerpt rejection before writes
  • production dependency audit: zero vulnerabilities
  • Gitleaks plus high-confidence key/private-key signature scan: clean
  • SHA-256: 1ec7e84808e30b46f250de719a40f420dbe85207b4d2a67e42df1022f7719ae3

ga1ien and others added 6 commits July 19, 2026 17:43
…T-MAP

- Domain pipelines (advice/content/product/legal/writing): revival in flight
  2026-07-19 via corpus-seeded backfill events (no re-crawl) +
  CONTENT_PIPELINE_ENABLED gate for content
- Header links the new canonical ecosystem edge registry
  docs/research/braintied-research/ASSET-MAP.md in ora-ai (verified 2026-07-19)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… per-section progress hook

Root-cause fix for the 2026-07-20 synthesis-hang incident (12/12 deep-
research prompt runs froze in status='synthesizing' for 90+ minutes;
identical signature to 165 historical stuck runs):

- SYNTHESIS_REQUEST_TIMEOUT_MS (15 min) enforced two ways: SDK-level
  timeout on Anthropic + OpenAI clients, and a withTimeout() watchdog
  (explicit clearTimeout cleanup) around every provider call including
  Gemini, which has no reliable socket timeout. Wedged sockets now fail
  with SynthesisTimeoutError instead of stalling the run forever.
- New optional onSectionComplete callback on SynthesizeAllInput lets the
  caller write a liveness heartbeat per finished section, so the new
  stuck-run sweeper can tell 'actively synthesizing' from 'wedged'.
- Exports: SynthesisTimeoutError, SYNTHESIS_REQUEST_TIMEOUT_MS,
  SynthesisSectionProgress.

Verified: tsc --noEmit clean, tsx --test 10/10 pass, dist rebuilt.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… stale defaults

Add glm-* routing on the Anthropic-compatible z.ai endpoint
(https://api.z.ai/api/anthropic, ZAI_API_KEY), mirroring the deepseek-*
baseURL-override pattern. Wired in both dispatch sites:
- synthesis.ts synthesisGenerate() + resolveSynthesisModel()
- critique.ts getAnthropicClient() (its own Anthropic client)

Bump model defaults (Claude key down; GLM is the working primary):
- SYNTH_MODEL_DEFAULT / ASSEMBLY_MODEL_DEFAULT: claude-sonnet-4-6 -> glm-5.2
- CRITIQUE_MODEL: claude-sonnet-4-6 -> glm-5.2
- DEFAULT_DOC_MODEL: claude-sonnet-4-6 -> glm-5.2
- EXTRACTION_MODEL: gemini-3.1-flash-lite-preview -> gemini-3.5-flash-lite
- ANSWER_SYNTH_MODEL_DEFAULT + kinds answer/quick: gemini-3-flash-preview -> gemini-3.6-flash

planner.ts callClaude() (Gemini-failure fallback) left on claude-sonnet-4-6.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…king today)

GLM-5.2 (z.ai) is fully wired but its quota is exhausted until 2026-07-25 (429),
and Anthropic is 401 — so gemini-3.6-flash is the only verified-working synthesis
provider. It is now the default for SYNTH/ASSEMBLY/CRITIQUE/DOC; glm-5.2 and
claude-sonnet-5 remain premium options via synthesis_model_override or by editing
the const once their quota/credits restore. All routing (incl. glm-*) unchanged.
@ga1ien
ga1ien merged commit 5f7f956 into main Jul 23, 2026
1 check passed
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.

1 participant