Skip to content

release: v0.5.0#50

Merged
ashu17706 merged 30 commits intomainfrom
dev
Mar 9, 2026
Merged

release: v0.5.0#50
ashu17706 merged 30 commits intomainfrom
dev

Conversation

@ashu17706
Copy link
Contributor

@ashu17706 ashu17706 commented Mar 9, 2026

Release Summary

  • Version: v0.5.0
  • Source: dev
  • Target: main
  • Scope: promote validated changes from dev to main

Changes Included

Validation

  • CI passed on dev
  • Perf bench reviewed (if relevant)
  • Breaking changes documented
  • Release notes verified

Notes

  • Replace or extend this section with any release-specific context.

ashu17706 and others added 30 commits February 27, 2026 18:22
* New branch (#33)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* Feature/bench scorecard ci windows fixes (#34)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* CI: run full test matrix only on merge branches

* CI: auto-create draft prerelease on successful dev CI

* CI: auto-template and title for dev to main PRs
* New branch (#33)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* Feature/bench scorecard ci windows fixes (#34)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* CI: run full test matrix only on merge branches

* CI: auto-create draft prerelease on successful dev CI

* CI: auto-template and title for dev to main PRs

* CI: create dev draft release after successful dev test matrix

* chore: add e2e dev release flow test marker (#36)
new URL(import.meta.url).pathname produces /D:/a/... on Windows,
causing ENOENT errors. import.meta.dir is Bun's cross-platform
alternative.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
After tests pass on main, automatically compute the next semver
version and create a GitHub release. Handles squash merges (which
lose individual commit types) by defaulting to patch when commits
exist but bump is "none". Skips if HEAD is already tagged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: migrate pre-commit config to non-deprecated stage names

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: overhaul documentation structure and tone

- Rewrite README with vision-first framing — leads with the agentic
  memory problem, origin story, and Ingest→Categorize→Recall→Search
  as the central concept
- Add docs/cli.md as the complete command reference (moved out of README)
- Add docs/search.md as a user-facing guide to search vs recall
- Rewrite all user-facing docs (getting-started, team-sharing,
  configuration, architecture) to match README tone — direct, honest,
  opens with context before diving into mechanics
- Reorganize docs structure: kebab-case throughout, internal planning
  docs move to docs/internal/, personal writing gitignored via
  docs/writing/
- Rename: CI_HARDENING_EXECUTION_PLAN → internal/ci-hardening,
  DESIGN → internal/design, WORKFLOW_AUTOMATION → internal/workflow-automation,
  e2e-dev-release-flow-test → internal/e2e-release-flow,
  search-recall-architecture → internal/search-analysis
- Update .gitignore: add docs/writing/, .letta/, zsh plugins

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>

---------

Co-authored-by: Baseline User <baseline@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Letta <noreply@letta.com>
* chore: migrate pre-commit config to non-deprecated stage names

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: overhaul documentation structure and tone

- Rewrite README with vision-first framing — leads with the agentic
  memory problem, origin story, and Ingest→Categorize→Recall→Search
  as the central concept
- Add docs/cli.md as the complete command reference (moved out of README)
- Add docs/search.md as a user-facing guide to search vs recall
- Rewrite all user-facing docs (getting-started, team-sharing,
  configuration, architecture) to match README tone — direct, honest,
  opens with context before diving into mechanics
- Reorganize docs structure: kebab-case throughout, internal planning
  docs move to docs/internal/, personal writing gitignored via
  docs/writing/
- Rename: CI_HARDENING_EXECUTION_PLAN → internal/ci-hardening,
  DESIGN → internal/design, WORKFLOW_AUTOMATION → internal/workflow-automation,
  e2e-dev-release-flow-test → internal/e2e-release-flow,
  search-recall-architecture → internal/search-analysis
- Update .gitignore: add docs/writing/, .letta/, zsh plugins

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>

* chore: clean up project root — move docs to docs/internal/, remove clutter

Move 9 root-level docs to docs/internal/ with kebab-case rename:
  IMPLEMENTATION.md             → docs/internal/implementation.md
  IMPLEMENTATION_CHECKLIST.md   → docs/internal/implementation-checklist.md
  PHASE1_IMPLEMENTATION.md      → docs/internal/phase1-implementation.md
  INGEST_ARCHITECTURE.md        → docs/internal/ingest-architecture.md
  DEMO_RESULTS.md               → docs/internal/demo-results.md
  RULES_QUICK_REFERENCE.md      → docs/internal/rules-quick-reference.md
  QUICKSTART.md                 → docs/internal/segmentation-quickstart.md
  majestic-sauteeing-papert.md  → docs/internal/qmd-deep-dive.md
  streamed-humming-curry.md     → docs/internal/ingest-refactoring.md

Remove:
  issues.json — GitHub issues export, not source or documentation
  zsh-autosuggestions/, zsh-syntax-highlighting/ — personal zsh plugins,
    unrelated to the project (already gitignored)

Update references to INGEST_ARCHITECTURE.md in README.md and CLAUDE.md.

Project root now contains only what belongs there: README, LICENSE,
CHANGELOG, CLAUDE.md, package.json, install/uninstall scripts, and
source directories.

* feat(claude): add proactive memory behavior directives to CLAUDE.md

Adds a Memory section at the top of CLAUDE.md that instructs Claude Code
to use Smriti actively — not passively. Modeled on the Loop pattern:
action-first, not acknowledgment-first.

- Recall at session start before writing code
- Recognize decision/finalization moments and act immediately
- Concrete wrong/right example with actual bash commands
- Category guide for correct tagging
- No asking permission — just save it

---------

Co-authored-by: Baseline User <baseline@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Letta <noreply@letta.com>
* release: v0.4.1 (#42)

* chore: new branch (#33)

* fix(ci): bench scorecard ci windows fixes (#34)

* ci: auto-template and title for dev to main PRs

* release: v0.3.2 (dev -> main) (#35)

* New branch (#33)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* Feature/bench scorecard ci windows fixes (#34)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* CI: run full test matrix only on merge branches

* CI: auto-create draft prerelease on successful dev CI

* CI: auto-template and title for dev to main PRs

* ci: create dev draft release after successful dev test matrix

* chore: add e2e dev release flow test marker (#36)

* release: v0.3.2 (dev -> main) (#37)

* New branch (#33)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* Feature/bench scorecard ci windows fixes (#34)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* CI: run full test matrix only on merge branches

* CI: auto-create draft prerelease on successful dev CI

* CI: auto-template and title for dev to main PRs

* CI: create dev draft release after successful dev test matrix

* chore: add e2e dev release flow test marker (#36)

* docs: update CHANGELOG.md for v0.4.0 [skip ci]

* docs: add CI/release workflow architecture and north-star plan

* ci: add commit lint, semver metadata, and deterministic release notes

* docs: finalize workflow policy docs without backlog sections

* ci: scope commit lint to pull request commit ranges only

* fix(ci): setup bun before dev draft release metadata step

* fix(ci): allow legacy non-conventional history for dev draft metadata

* fix(release): align dev-main PR version with latest stable tag

* ci: improve workflow and check naming for PR readability

* ci: skip PR test job for dev to main release PRs

* fix(ci): use import.meta.dir for cross-platform path resolution

new URL(import.meta.url).pathname produces /D:/a/... on Windows,
causing ENOENT errors. import.meta.dir is Bun's cross-platform
alternative.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* ci: add auto-release job for main branch merges

After tests pass on main, automatically compute the next semver
version and create a GitHub release. Handles squash merges (which
lose individual commit types) by defaulting to patch when commits
exist but bump is "none". Skips if HEAD is already tagged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Baseline User <baseline@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* ci: trigger auto-release workflow on main

Previous squash merge body contained [skip ci] from an old commit
message, which prevented GitHub Actions from running.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: reorganize documentation structure and improve narrative

Move internal design docs to docs/internal/, rewrite README with
narrative-first approach, expand CLI reference, add search docs,
improve getting-started and team-sharing guides.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Baseline User <baseline@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* release: v0.4.1 (#42)

* chore: new branch (#33)

* fix(ci): bench scorecard ci windows fixes (#34)

* ci: auto-template and title for dev to main PRs

* release: v0.3.2 (dev -> main) (#35)

* New branch (#33)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* Feature/bench scorecard ci windows fixes (#34)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* CI: run full test matrix only on merge branches

* CI: auto-create draft prerelease on successful dev CI

* CI: auto-template and title for dev to main PRs

* ci: create dev draft release after successful dev test matrix

* chore: add e2e dev release flow test marker (#36)

* release: v0.3.2 (dev -> main) (#37)

* New branch (#33)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* Feature/bench scorecard ci windows fixes (#34)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* CI: run full test matrix only on merge branches

* CI: auto-create draft prerelease on successful dev CI

* CI: auto-template and title for dev to main PRs

* CI: create dev draft release after successful dev test matrix

* chore: add e2e dev release flow test marker (#36)

* docs: update CHANGELOG.md for v0.4.0 [skip ci]

* docs: add CI/release workflow architecture and north-star plan

* ci: add commit lint, semver metadata, and deterministic release notes

* docs: finalize workflow policy docs without backlog sections

* ci: scope commit lint to pull request commit ranges only

* fix(ci): setup bun before dev draft release metadata step

* fix(ci): allow legacy non-conventional history for dev draft metadata

* fix(release): align dev-main PR version with latest stable tag

* ci: improve workflow and check naming for PR readability

* ci: skip PR test job for dev to main release PRs

* fix(ci): use import.meta.dir for cross-platform path resolution

new URL(import.meta.url).pathname produces /D:/a/... on Windows,
causing ENOENT errors. import.meta.dir is Bun's cross-platform
alternative.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* ci: add auto-release job for main branch merges

After tests pass on main, automatically compute the next semver
version and create a GitHub release. Handles squash merges (which
lose individual commit types) by defaulting to patch when commits
exist but bump is "none". Skips if HEAD is already tagged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Baseline User <baseline@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* ci: trigger auto-release workflow on main

Previous squash merge body contained [skip ci] from an old commit
message, which prevented GitHub Actions from running.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs(claude): add proactive memory behavior directives to CLAUDE.md

Add structured guidance for AI sessions to proactively save decisions,
recognize save-worthy moments, and use consistent category tagging.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Baseline User <baseline@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* release: v0.4.1 (#42)

* chore: new branch (#33)

* fix(ci): bench scorecard ci windows fixes (#34)

* ci: auto-template and title for dev to main PRs

* release: v0.3.2 (dev -> main) (#35)

* New branch (#33)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* Feature/bench scorecard ci windows fixes (#34)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* CI: run full test matrix only on merge branches

* CI: auto-create draft prerelease on successful dev CI

* CI: auto-template and title for dev to main PRs

* ci: create dev draft release after successful dev test matrix

* chore: add e2e dev release flow test marker (#36)

* release: v0.3.2 (dev -> main) (#37)

* New branch (#33)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* Feature/bench scorecard ci windows fixes (#34)

* chore: add pending project files

* refactor(ingest): centralize ingestion via parser/resolver/store layers

* docs: document layered ingest architecture

* test(perf): add qmd benchmark harness and non-blocking CI regression check

* perf(bench): add ingest hotpath benchmark and record qmd optimization

* perf(ingest): batch session writes and add stable benchmark tooling

* Add benchmark scorecard to CI summary and sticky PR comment

* Fix bench import path and temporarily disable design-contract workflow

* CI: checkout qmd submodule in perf bench workflow

* Fix Windows path handling in ingest session discovery

* CI: run full test matrix only on merge branches

* CI: auto-create draft prerelease on successful dev CI

* CI: auto-template and title for dev to main PRs

* CI: create dev draft release after successful dev test matrix

* chore: add e2e dev release flow test marker (#36)

* docs: update CHANGELOG.md for v0.4.0 [skip ci]

* docs: add CI/release workflow architecture and north-star plan

* ci: add commit lint, semver metadata, and deterministic release notes

* docs: finalize workflow policy docs without backlog sections

* ci: scope commit lint to pull request commit ranges only

* fix(ci): setup bun before dev draft release metadata step

* fix(ci): allow legacy non-conventional history for dev draft metadata

* fix(release): align dev-main PR version with latest stable tag

* ci: improve workflow and check naming for PR readability

* ci: skip PR test job for dev to main release PRs

* fix(ci): use import.meta.dir for cross-platform path resolution

new URL(import.meta.url).pathname produces /D:/a/... on Windows,
causing ENOENT errors. import.meta.dir is Bun's cross-platform
alternative.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* ci: add auto-release job for main branch merges

After tests pass on main, automatically compute the next semver
version and create a GitHub release. Handles squash merges (which
lose individual commit types) by defaulting to patch when commits
exist but bump is "none". Skips if HEAD is already tagged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Baseline User <baseline@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* ci: trigger auto-release workflow on main

Previous squash merge body contained [skip ci] from an old commit
message, which prevented GitHub Actions from running.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(db): add model-aware cost estimation and sidecar cleanup

Add MODEL_PRICING map for Claude model families, estimateCost() for
per-turn USD estimation, wire estimated_cost_usd into upsertSessionCosts,
and add deleteSidecarRows() for force re-ingest cleanup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Baseline User <baseline@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Priority 1 - Fix broken things:
- Rewrite test/team.test.ts with bun:test (was using console.assert, wrong imports)
- Fix unit-level dedup in share.ts (was matching on random UUID, now content_hash only)
- Fix duration calculation in segment.ts (use actual timestamps, not messageCount/2)
- Fix replace() → replaceAll() for nested category paths in share.ts

Priority 2 - Code quality:
- Extract shared callOllama() to src/team/ollama.ts with timeout + retry
- Extract shared slugify/datePrefix to src/team/utils.ts
- DRY up share.ts: extract resolveOutputDir, querySessions, writeManifest helpers
- Use isValidCategory from categorize/schema.ts instead of duplicate in segment.ts
- Remove unused SMRITI_DIR import from document.ts

Priority 3 - Test coverage:
- Replace misleading tests in team-segmented.test.ts with mocked Ollama tests
- Add generateDocument, generateDocumentsSequential, and fallback path tests
- Add real DB validation tests using isValidCategory

Priority 4 - Sync integration:
- Fix sync.ts to handle Stage 2 structured output (pipeline: segmented flag)
- Segmented knowledge docs are no longer write-only

Priority 5 - Prompt improvements:
- Constrain Stage 1 to use only listed categories (remove "other valid" text)
- Add {{title}} placeholder and heading instruction to all Stage 2 templates
- Remove hallucination-prone "Links to further reading" from topic template

Also adds docs/demo-script.md showing the full smriti workflow story.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… segmented sync

feat(team): harden share pipeline — Ollama client, helper extraction, segmented sync
@ashu17706 ashu17706 merged commit eacda26 into main Mar 9, 2026
6 checks passed
@github-actions github-actions bot changed the title release: batch 1 — share pipeline v2 (v0.5.0) release: v0.5.0 Mar 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Benchmark Scorecard (ci-small)

Bench Scorecard (ci-small)

threshold: 20.00%

metric baseline current (median) delta status
ingest_throughput_msgs_per_sec 1735.800 446.590 -74.27% WARN
ingest_p95_ms_per_session 6.960 24.055 +245.62% WARN
fts_p95_ms 0.410 0.678 +65.37% WARN
recall_p95_ms 0.436 0.798 +83.03% WARN

Summary: WARN (4 metrics)

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