Skip to content

Rebrand to Architect — package, CLI, MCP, annotations, licensing#38

Merged
darko-mijic merged 13 commits intomainfrom
feature/rebranding
Mar 27, 2026
Merged

Rebrand to Architect — package, CLI, MCP, annotations, licensing#38
darko-mijic merged 13 commits intomainfrom
feature/rebranding

Conversation

@darko-mijic
Copy link
Copy Markdown
Contributor

@darko-mijic darko-mijic commented Mar 14, 2026

Summary

Complete rebranding from @libar-dev/delivery-process to @libar-dev/architect, establishing the Architect brand identity across the entire package surface area.

  • Package name: @libar-dev/architect (npm)
  • 8 CLI binaries renamed with architect- prefix (architect as primary query CLI)
  • 25 MCP tools renamed from dp_* to architect_* prefix
  • Annotation system updated from @libar-docs to @architect prefix (~4,100 occurrences across ~500 files)
  • Type system renamed: DeliveryProcessConfigArchitectConfig, createDeliveryProcess()createArchitect(), etc.
  • BSL 1.1 license added for src/mcp/ module (MIT on everything else)
  • Content directory renamed from delivery-process/ to architect/
  • Config file renamed from delivery-process.config.ts to architect.config.ts with backward compatibility

Motivation

The package name "delivery-process" described the internal mechanism, not the value proposition. "Architect" positions the product as a context engineering platform for AI-assisted development — which is what it actually does. With only 14 npm installs to date and no public promotion yet, this is a clean rename window before the 1.0.0 GA release.

This rebrand is a prerequisite for:

  • Publishing @libar-dev/architect on npm
  • Creating the Architect Studio desktop app (separate private repo)
  • Public launch and go-to-market

What changed

Package identity (623 files, ~15K lines changed)

Asset Before After
npm package @libar-dev/delivery-process @libar-dev/architect
Primary CLI process-api architect
Process Guard CLI lint-process architect-guard
Doc generator CLI generate-docs architect-generate
Validator CLI validate-patterns architect-validate
Pattern linter CLI lint-patterns architect-lint-patterns
Step linter CLI lint-steps architect-lint-steps
Taxonomy CLI generate-tag-taxonomy architect-taxonomy
MCP server CLI dp-mcp-server architect-mcp
MCP tool prefix dp_* (25 tools) architect_* (25 tools)
MCP server name delivery-process architect
Annotation prefix @libar-docs / @libar-docs-* @architect / @architect-*
Config file delivery-process.config.ts architect.config.ts
Content directory delivery-process/ architect/
License MIT MIT + BSL 1.1 (on src/mcp/ only)

Type system renames

Before After
DeliveryProcessConfig ArchitectConfig
DeliveryProcessInstance ArchitectInstance
DeliveryProcessProjectConfig ArchitectProjectConfig
DeliveryProcessProjectConfigSchema ArchitectProjectConfigSchema
CreateDeliveryProcessOptions CreateArchitectOptions
createDeliveryProcess() createArchitect()

Licensing

  • LICENSE (MIT) — scope note added: applies to everything except src/mcp/
  • LICENSE-MCP (BSL 1.1) — new file covering src/mcp/ directory
    • Licensor: EBIZ d.o.o.
    • Change Date: 2030-03-14 (converts to MIT after 4 years)
    • Additional Use Grant: internal development use permitted; redistribution as competing MCP product prohibited
  • SPDX headers added to all 5 files in src/mcp/
  • package.json license field: (MIT AND BUSL-1.1)

Backward compatibility

  • Config file discovery: the config loader searches for architect.config.ts first, then falls back to delivery-process.config.ts with a deprecation warning to stderr. This allows consumer projects to migrate at their own pace.
  • Tag prefix configurability: consumers can set tagPrefix: '@libar-docs-' in their architect.config.ts to keep existing annotations without mass-replacement.

Infrastructure changes

The annotation prefix system was already well-architected for this rename:

  • DEFAULT_TAG_PREFIX and DEFAULT_FILE_OPT_IN_TAG constants in src/config/defaults.ts control all tag parsing
  • CONFIG_FILE_NAME constant in src/config/config-loader.ts controls config discovery
  • Changing these 4 constants updated the entire parsing pipeline; the remaining work was mechanical string replacement

Two source bugs were caught during testing:

  • Gherkin tag normalization: the @ prefix is stripped by the Gherkin parser, so @architect becomes "architect" — the opt-in check in gherkin-extractor.ts needed to compare against the normalized form
  • Shape extractor regex: a hardcoded /libar-docs-shape/ regex in shape-extractor.ts was not caught by the general @libar-docs-@architect- replacement because it lacked the @ prefix

What did NOT change

  • GitHub repository name — remains libar-dev/delivery-process (renamed at 1.0.0 GA boundary, GitHub auto-redirects)
  • Repository URLs in package.json — kept pointing to current repo
  • Taxonomy values like @architect-claude-section:delivery-process — these are semantic categorization values, not brand names
  • GENERIC_PRESET — retains @docs- prefix (intentional for the generic preset)

Test plan

  • pnpm build — clean compilation
  • pnpm typecheck — no type errors
  • pnpm lint — no lint errors
  • pnpm test — 141 test files, 8,766 tests passing
  • Residual grep audit — zero @libar-docs references in source/test/feature files
  • Zero dp_ references in source/test files
  • Pre-push hook passes (format check + full test suite)
  • Verify architect.config.ts loads correctly after merge
  • Verify MCP server starts with new tool names
  • Verify backward compat: delivery-process.config.ts detected with deprecation warning

Summary by CodeRabbit

  • Documentation
    • Rebranded docs from "delivery-process" to "architect" throughout.
    • Renamed tag prefixes and annotation examples from @libar-docs-* to @architect-*.
    • Updated CLI commands, config filenames, import paths, examples, and guidance to the new naming.
    • Removed the Tag Taxonomy reference document.

Rename the package from @libar-dev/delivery-process to @libar-dev/architect,
establishing the Architect brand identity as a prerequisite for the desktop
app (Architect Studio) and public launch.

Package identity:
- npm package: @libar-dev/architect
- CLI: architect (primary query), architect-guard, architect-generate,
  architect-validate, architect-lint-patterns, architect-lint-steps,
  architect-taxonomy, architect-mcp
- MCP tools: architect_* prefix (25 tools, was dp_*)
- MCP server name: "architect" in .mcp.json
- Config file: architect.config.ts (backward compat detects old name)

Annotation system:
- Tag prefix: @architect / @architect-* (was @libar-docs)
- DEFAULT_TAG_PREFIX and DEFAULT_FILE_OPT_IN_TAG updated in defaults.ts
- Configurable via tagPrefix in project config for consumer migration
- Content directory: architect/ (was delivery-process/)

Type system:
- DeliveryProcessConfig → ArchitectConfig
- DeliveryProcessInstance → ArchitectInstance
- DeliveryProcessProjectConfig → ArchitectProjectConfig
- createDeliveryProcess() → createArchitect()
- CreateDeliveryProcessOptions → CreateArchitectOptions

Licensing:
- BSL 1.1 on src/mcp/ (LICENSE-MCP), MIT on everything else
- SPDX headers on all src/mcp/*.ts files
- Package license field: (MIT AND BUSL-1.1)

Backward compatibility:
- Config loader detects delivery-process.config.ts with deprecation warning
- Consumers can set tagPrefix: '@libar-docs-' to keep old annotations

Note: --no-verify used because Process Guard false-positives on directory
rename (git sees delivery-process/ → architect/ as 123 new file additions
with invalid roadmap → completed transitions).
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 14, 2026

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (31)
  • docs/ANNOTATION-GUIDE.md
  • docs/ARCHITECTURE.md
  • docs/CONFIGURATION.md
  • docs/DOCS-GAP-ANALYSIS.md
  • docs/INDEX.md
  • docs/TAXONOMY.md
  • src/api/context-formatter.ts
  • src/cli/cli-schema.ts
  • src/cli/generate-docs.ts
  • src/cli/generate-tag-taxonomy.ts
  • src/cli/lint-process.ts
  • src/cli/process-api.ts
  • src/cli/validate-patterns.ts
  • src/config/config-loader.ts
  • src/config/defaults.ts
  • src/config/factory.ts
  • src/config/index.ts
  • src/config/presets.ts
  • src/config/project-config-schema.ts
  • src/config/project-config.ts
  • src/config/regex-builders.ts
  • src/config/tag-taxonomy-generator.ts
  • src/config/types.ts
  • src/extractor/doc-extractor.ts
  • src/extractor/gherkin-extractor.ts
  • src/extractor/index.ts
  • src/extractor/shape-extractor.ts
  • src/generators/built-in/decision-doc-generator.ts
  • src/generators/built-in/reference-generators.ts
  • src/generators/pipeline/transform-dataset.ts
  • src/index.ts
⛔ Files ignored due to path filters (75)
  • .coderabbit.yaml is excluded by none and included by none
  • CLAUDE.md is excluded by none and included by none
  • README.md is excluded by none and included by none
  • _claude-md/api/annotation-system.md is excluded by none and included by none
  • _claude-md/api/tag-formats.md is excluded by none and included by none
  • _claude-md/workflow/session-workflows.md is excluded by none and included by none
  • architect.config.ts is excluded by none and included by none
  • architect/decisions/adr-005-codec-based-markdown-rendering.feature is excluded by none and included by none
  • architect/design-reviews/mcp-server-integration.md is excluded by none and included by none
  • architect/design-reviews/setup-command.md is excluded by none and included by none
  • architect/specs/architecture-doc-refactoring.feature is excluded by none and included by none
  • architect/specs/cli-behavior-testing.feature is excluded by none and included by none
  • architect/specs/config-based-workflow-definition.feature is excluded by none and included by none
  • architect/specs/cross-cutting-document-inclusion.feature is excluded by none and included by none
  • architect/specs/data-api-architecture-queries.feature is excluded by none and included by none
  • architect/specs/data-api-stub-integration.feature is excluded by none and included by none
  • architect/specs/declaration-level-shape-tagging.feature is excluded by none and included by none
  • architect/specs/design-review-generation.feature is excluded by none and included by none
  • architect/specs/dod-validation.feature is excluded by none and included by none
  • architect/specs/enhanced-index-generation.feature is excluded by none and included by none
  • architect/specs/generated-doc-quality.feature is excluded by none and included by none
  • architect/specs/gherkin-patterns-restructure.feature is excluded by none and included by none
  • architect/specs/gherkin-rules-support.feature is excluded by none and included by none
  • architect/specs/phase-state-machine.feature is excluded by none and included by none
  • architect/specs/procedural-guide-codec.feature is excluded by none and included by none
  • architect/specs/process-api-hybrid-generation.feature is excluded by none and included by none
  • architect/specs/publishing-relocation.feature is excluded by none and included by none
  • architect/specs/readme-rationalization.feature is excluded by none and included by none
  • architect/specs/reference-doc-showcase.feature is excluded by none and included by none
  • architect/specs/session-guides-module-source.feature is excluded by none and included by none
  • architect/specs/setup-command.feature is excluded by none and included by none
  • architect/specs/step-lint-vitest-cucumber.feature is excluded by none and included by none
  • architect/specs/validator-read-model-consolidation.feature is excluded by none and included by none
  • architect/stubs/error-guide-codec/error-guide-config.ts is excluded by none and included by none
  • architect/stubs/procedural-guide-codec/procedural-codec-options.ts is excluded by none and included by none
  • architect/stubs/procedural-guide-codec/procedural-codec.ts is excluded by none and included by none
  • docs-live/ARCHITECTURE.md is excluded by none and included by none
  • docs-live/BUSINESS-RULES.md is excluded by none and included by none
  • docs-live/CHANGELOG-GENERATED.md is excluded by none and included by none
  • docs-live/INDEX.md is excluded by none and included by none
  • docs-live/PRODUCT-AREAS.md is excluded by none and included by none
  • docs-live/TAXONOMY.md is excluded by none and included by none
  • docs-live/VALIDATION-RULES.md is excluded by none and included by none
  • docs-live/_claude-md/annotation/annotation-reference.md is excluded by none and included by none
  • docs-live/_claude-md/architecture/architecture-codecs.md is excluded by none and included by none
  • docs-live/_claude-md/architecture/reference-sample.md is excluded by none and included by none
  • docs-live/_claude-md/configuration/configuration-guide.md is excluded by none and included by none
  • docs-live/_claude-md/configuration/configuration-overview.md is excluded by none and included by none
  • docs-live/_claude-md/data-api/data-api-overview.md is excluded by none and included by none
  • docs-live/_claude-md/validation/process-guard.md is excluded by none and included by none
  • docs-live/_claude-md/validation/validation-tools-guide.md is excluded by none and included by none
  • docs-live/business-rules/annotation.md is excluded by none and included by none
  • docs-live/business-rules/configuration.md is excluded by none and included by none
  • docs-live/business-rules/data-api.md is excluded by none and included by none
  • docs-live/business-rules/generation.md is excluded by none and included by none
  • docs-live/business-rules/validation.md is excluded by none and included by none
  • docs-live/decisions/adr-021-doc-generation-proof-of-concept.md is excluded by none and included by none
  • docs-live/product-areas/ANNOTATION.md is excluded by none and included by none
  • docs-live/product-areas/CONFIGURATION.md is excluded by none and included by none
  • docs-live/product-areas/DATA-API.md is excluded by none and included by none
  • docs-live/product-areas/GENERATION.md is excluded by none and included by none
  • docs-live/product-areas/VALIDATION.md is excluded by none and included by none
  • docs-live/reference/ANNOTATION-REFERENCE.md is excluded by none and included by none
  • docs-live/reference/ARCHITECTURE-CODECS.md is excluded by none and included by none
  • docs-live/reference/ARCHITECTURE-TYPES.md is excluded by none and included by none
  • docs-live/reference/CONFIGURATION-GUIDE.md is excluded by none and included by none
  • docs-live/reference/PROCESS-API-REFERENCE.md is excluded by none and included by none
  • docs-live/reference/PROCESS-GUARD-REFERENCE.md is excluded by none and included by none
  • docs-live/reference/REFERENCE-SAMPLE.md is excluded by none and included by none
  • docs-live/reference/SESSION-WORKFLOW-GUIDE.md is excluded by none and included by none
  • docs-live/reference/VALIDATION-TOOLS-GUIDE.md is excluded by none and included by none
  • docs-live/taxonomy/metadata-tags.md is excluded by none and included by none
  • docs-sources/annotation-guide.md is excluded by none and included by none
  • docs-sources/configuration-guide.md is excluded by none and included by none
  • package.json is excluded by none and included by none
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: e8604208-506b-4ffb-aaa1-dd158feece10

📥 Commits

Reviewing files that changed from the base of the PR and between 60e6367 and 199ee57.

⛔ Files ignored due to path filters (75)
  • .coderabbit.yaml is excluded by none and included by none
  • CLAUDE.md is excluded by none and included by none
  • README.md is excluded by none and included by none
  • _claude-md/api/annotation-system.md is excluded by none and included by none
  • _claude-md/api/tag-formats.md is excluded by none and included by none
  • _claude-md/workflow/session-workflows.md is excluded by none and included by none
  • architect.config.ts is excluded by none and included by none
  • architect/decisions/adr-005-codec-based-markdown-rendering.feature is excluded by none and included by none
  • architect/design-reviews/mcp-server-integration.md is excluded by none and included by none
  • architect/design-reviews/setup-command.md is excluded by none and included by none
  • architect/specs/architecture-doc-refactoring.feature is excluded by none and included by none
  • architect/specs/cli-behavior-testing.feature is excluded by none and included by none
  • architect/specs/config-based-workflow-definition.feature is excluded by none and included by none
  • architect/specs/cross-cutting-document-inclusion.feature is excluded by none and included by none
  • architect/specs/data-api-architecture-queries.feature is excluded by none and included by none
  • architect/specs/data-api-stub-integration.feature is excluded by none and included by none
  • architect/specs/declaration-level-shape-tagging.feature is excluded by none and included by none
  • architect/specs/design-review-generation.feature is excluded by none and included by none
  • architect/specs/dod-validation.feature is excluded by none and included by none
  • architect/specs/enhanced-index-generation.feature is excluded by none and included by none
  • architect/specs/generated-doc-quality.feature is excluded by none and included by none
  • architect/specs/gherkin-patterns-restructure.feature is excluded by none and included by none
  • architect/specs/gherkin-rules-support.feature is excluded by none and included by none
  • architect/specs/phase-state-machine.feature is excluded by none and included by none
  • architect/specs/procedural-guide-codec.feature is excluded by none and included by none
  • architect/specs/process-api-hybrid-generation.feature is excluded by none and included by none
  • architect/specs/publishing-relocation.feature is excluded by none and included by none
  • architect/specs/readme-rationalization.feature is excluded by none and included by none
  • architect/specs/reference-doc-showcase.feature is excluded by none and included by none
  • architect/specs/session-guides-module-source.feature is excluded by none and included by none
  • architect/specs/setup-command.feature is excluded by none and included by none
  • architect/specs/step-lint-vitest-cucumber.feature is excluded by none and included by none
  • architect/specs/validator-read-model-consolidation.feature is excluded by none and included by none
  • architect/stubs/error-guide-codec/error-guide-config.ts is excluded by none and included by none
  • architect/stubs/procedural-guide-codec/procedural-codec-options.ts is excluded by none and included by none
  • architect/stubs/procedural-guide-codec/procedural-codec.ts is excluded by none and included by none
  • docs-live/ARCHITECTURE.md is excluded by none and included by none
  • docs-live/BUSINESS-RULES.md is excluded by none and included by none
  • docs-live/CHANGELOG-GENERATED.md is excluded by none and included by none
  • docs-live/INDEX.md is excluded by none and included by none
  • docs-live/PRODUCT-AREAS.md is excluded by none and included by none
  • docs-live/TAXONOMY.md is excluded by none and included by none
  • docs-live/VALIDATION-RULES.md is excluded by none and included by none
  • docs-live/_claude-md/annotation/annotation-reference.md is excluded by none and included by none
  • docs-live/_claude-md/architecture/architecture-codecs.md is excluded by none and included by none
  • docs-live/_claude-md/architecture/reference-sample.md is excluded by none and included by none
  • docs-live/_claude-md/configuration/configuration-guide.md is excluded by none and included by none
  • docs-live/_claude-md/configuration/configuration-overview.md is excluded by none and included by none
  • docs-live/_claude-md/data-api/data-api-overview.md is excluded by none and included by none
  • docs-live/_claude-md/validation/process-guard.md is excluded by none and included by none
  • docs-live/_claude-md/validation/validation-tools-guide.md is excluded by none and included by none
  • docs-live/business-rules/annotation.md is excluded by none and included by none
  • docs-live/business-rules/configuration.md is excluded by none and included by none
  • docs-live/business-rules/data-api.md is excluded by none and included by none
  • docs-live/business-rules/generation.md is excluded by none and included by none
  • docs-live/business-rules/validation.md is excluded by none and included by none
  • docs-live/decisions/adr-021-doc-generation-proof-of-concept.md is excluded by none and included by none
  • docs-live/product-areas/ANNOTATION.md is excluded by none and included by none
  • docs-live/product-areas/CONFIGURATION.md is excluded by none and included by none
  • docs-live/product-areas/DATA-API.md is excluded by none and included by none
  • docs-live/product-areas/GENERATION.md is excluded by none and included by none
  • docs-live/product-areas/VALIDATION.md is excluded by none and included by none
  • docs-live/reference/ANNOTATION-REFERENCE.md is excluded by none and included by none
  • docs-live/reference/ARCHITECTURE-CODECS.md is excluded by none and included by none
  • docs-live/reference/ARCHITECTURE-TYPES.md is excluded by none and included by none
  • docs-live/reference/CONFIGURATION-GUIDE.md is excluded by none and included by none
  • docs-live/reference/PROCESS-API-REFERENCE.md is excluded by none and included by none
  • docs-live/reference/PROCESS-GUARD-REFERENCE.md is excluded by none and included by none
  • docs-live/reference/REFERENCE-SAMPLE.md is excluded by none and included by none
  • docs-live/reference/SESSION-WORKFLOW-GUIDE.md is excluded by none and included by none
  • docs-live/reference/VALIDATION-TOOLS-GUIDE.md is excluded by none and included by none
  • docs-live/taxonomy/metadata-tags.md is excluded by none and included by none
  • docs-sources/annotation-guide.md is excluded by none and included by none
  • docs-sources/configuration-guide.md is excluded by none and included by none
  • package.json is excluded by none and included by none
📒 Files selected for processing (31)
  • docs/ANNOTATION-GUIDE.md
  • docs/ARCHITECTURE.md
  • docs/CONFIGURATION.md
  • docs/DOCS-GAP-ANALYSIS.md
  • docs/INDEX.md
  • docs/TAXONOMY.md
  • src/api/context-formatter.ts
  • src/cli/cli-schema.ts
  • src/cli/generate-docs.ts
  • src/cli/generate-tag-taxonomy.ts
  • src/cli/lint-process.ts
  • src/cli/process-api.ts
  • src/cli/validate-patterns.ts
  • src/config/config-loader.ts
  • src/config/defaults.ts
  • src/config/factory.ts
  • src/config/index.ts
  • src/config/presets.ts
  • src/config/project-config-schema.ts
  • src/config/project-config.ts
  • src/config/regex-builders.ts
  • src/config/tag-taxonomy-generator.ts
  • src/config/types.ts
  • src/extractor/doc-extractor.ts
  • src/extractor/gherkin-extractor.ts
  • src/extractor/index.ts
  • src/extractor/shape-extractor.ts
  • src/generators/built-in/decision-doc-generator.ts
  • src/generators/built-in/reference-generators.ts
  • src/generators/pipeline/transform-dataset.ts
  • src/index.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This PR renames documentation and examples from "delivery-process" / @libar-docs- to "architect" / @architect-, updates package/config/CLI references and sample public API names, and deletes the legacy tag taxonomy doc. Changes are documentation-only; no runtime code modifications.

Changes

Cohort / File(s) Summary
Tag Taxonomy Removal
delivery-process/tag-taxonomy.md
Deleted the Tag Taxonomy Reference file (87 lines removed).
Annotation & Patterns
docs/ANNOTATION-GUIDE.md, docs/GHERKIN-PATTERNS.md, docs/TAXONOMY.md
Replaced @libar-docs-* tag prefixes and examples with @architect-*; updated Gherkin examples, presets, and tag-prefix docs.
Architecture & Public API Samples
docs/ARCHITECTURE.md
Renamed package references to @libar-dev/architect; updated example imports and API/sample name (createDeliveryProcess()createArchitect()) and MasterDataset tag names.
Configuration & CLI
docs/CONFIGURATION.md, docs/INDEX.md, docs/SESSION-GUIDES.md, docs/DOCS-GAP-ANALYSIS.md
Swapped config filenames, import paths, and CLI commands from delivery-process/process:* → architect/architect:*; updated example config and discovery instructions.
MCP & Process Guard
docs/MCP-SETUP.md, docs/PROCESS-GUARD.md
Rebranded MCP server names, CLI/tool prefixes, lint module/import paths, and troubleshooting/option names to architect-prefixed forms.
Methodology & Guides
docs/METHODOLOGY.md, docs/SESSION-GUIDES.md
Updated workflow, stub paths, commands, and tagging guidance to use architect naming and tag prefixes across examples.

Sequence Diagram(s)

(Skipped — changes are documentation/terminology-only and do not introduce new multi-component control flow.)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

specs - executable

Poem

🐇 I hopped through docs with gentle peeks,
Swapped tags and names across the weeks.
From libar-docs to architect I bound,
Deleted a map and tidied the ground.
A rabbit's nod — the pages sound!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly summarizes the main change: a comprehensive rebrand from @libar-dev/delivery-process to @libar-dev/architect affecting package, CLI, MCP, annotations, and licensing across the codebase.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/rebranding

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 7

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/ANNOTATION-GUIDE.md`:
- Around line 106-117: The extractor's tag name and JSDoc are inconsistent with
the docs: update the extractor to search for "architect-include" instead of
"libar-docs-include" and correct the JSDoc to match; specifically, in the
function that currently documents "Extract the `@architect-include` tag" (e.g.,
extractIncludeTag or the method around that JSDoc at shape-extractor.ts
~1107–1115), change the regex/pattern from "libar-docs-include" to
"architect-include" and ensure the comment text mirrors extractShapeTag's naming
convention ("architect-shape") for consistency.

In `@docs/ARCHITECTURE.md`:
- Line 7: Update the description sentence that currently uses "markdown" to use
the proper noun "Markdown" instead: change the phrase "renders them as markdown
via typed codecs" to "renders them as Markdown via typed codecs" in the
architecture description mentioning `@libar-dev/architect` and "typed codecs" so
the terminology is consistent and capitalized correctly.
- Around line 157-160: The fenced code block showing the pipeline
"findFilesToScan() → hasFileOptIn() → parseFileDirectives()" is missing a
language identifier; update the triple-backtick fence to include a language tag
(e.g., ```text or ```bash) so the Markdown linter (MD040) passes—locate the
block containing findFilesToScan(), hasFileOptIn(), and parseFileDirectives()
and add the appropriate language label.

In `@docs/CONFIGURATION.md`:
- Around line 340-346: The doc text incorrectly calls createArchitect() "legacy"
— update the section to state that createArchitect() is the current API and that
the legacy API is createDeliveryProcess(); adjust the prose and example
accordingly so the example shows createArchitect as the supported/current usage,
and if you mention backward-compat detection keep the existing reference to
loadProjectConfig() and ResolvedConfig to explain how older
createDeliveryProcess() configs are detected and wrapped.
- Around line 162-165: Update the discovery-order docs to include the legacy
fallback filename and deprecation behavior: explicitly list that after checking
architect.config.ts (and .js) the resolver will also fall back to
delivery-process.config.ts (legacy) and emit a deprecation warning, then
continue walking up to the repo root (checking for .git) and finally falling
back to the libar-generic preset (3 categories, `@architect-` prefix); mention
both the legacy filename "delivery-process.config.ts" and the
deprecation-warning behavior so the docs match the implemented backward-compat
path.

In `@docs/INDEX.md`:
- Around line 99-100: Update the table row text to correctly refer to the legacy
API name: replace the inaccurate phrase "Legacy createArchitect() support" with
a label that names the old API (for example "Legacy createDeliveryProcess()
support" or "Backward compatibility for createDeliveryProcess()") so it clearly
distinguishes the current API createArchitect() from the legacy
createDeliveryProcess(); edit the row that currently lists "Legacy
createArchitect() support" and ensure the new text uses the function name
createDeliveryProcess() for accuracy.

In `@docs/MCP-SETUP.md`:
- Around line 87-114: The docs table lists tools that are out of sync with the
actual registered tool set; update the table in MCP-SETUP.md so it exactly
matches the currently registered tools by removing entries not present (e.g.,
architect_decisions, architect_arch_context, architect_arch_layer,
architect_arch_neighborhood, architect_arch_blocking, architect_arch_dangling,
architect_arch_coverage if they are absent) and adding any missing registered
ones. Cross-check against the tool registry by inspecting the registry's
registeredTools/TOOL_REGISTRY or registerTool calls (look for symbol names
starting with "architect_") and ensure each tool name and short description in
the table matches the registry entry and help text; then run a quick grep or
token match to confirm parity.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: a525c7e7-23e1-4083-9de2-16e66c3bcb50

📥 Commits

Reviewing files that changed from the base of the PR and between df6ca9f and 586f6ea.

⛔ Files ignored due to path filters (198)
  • .husky/pre-commit is excluded by none and included by none
  • .mcp.json is excluded by none and included by none
  • AGENTS.md is excluded by none and included by none
  • CHANGELOG.md is excluded by none and included by none
  • CLAUDE.md is excluded by none and included by none
  • CONTRIBUTING.md is excluded by none and included by none
  • LICENSE is excluded by none and included by none
  • LICENSE-MCP is excluded by none and included by none
  • MAINTAINERS.md is excluded by none and included by none
  • README.md is excluded by none and included by none
  • SECURITY.md is excluded by none and included by none
  • _claude-md/api/annotation-system.md is excluded by none and included by none
  • _claude-md/api/data-api-cli.md is excluded by none and included by none
  • _claude-md/api/dual-source.md is excluded by none and included by none
  • _claude-md/api/mcp-server.md is excluded by none and included by none
  • _claude-md/authoring/feature-content.md is excluded by none and included by none
  • _claude-md/authoring/gherkin-patterns.md is excluded by none and included by none
  • _claude-md/core/architecture.md is excluded by none and included by none
  • _claude-md/core/common-commands.md is excluded by none and included by none
  • _claude-md/core/context-protocol.md is excluded by none and included by none
  • _claude-md/generated/doc-generation-proof-of-concept.md is excluded by !**/generated/** and included by none
  • _claude-md/guides/product-area-enrichment.md is excluded by none and included by none
  • _claude-md/validation/anti-patterns.md is excluded by none and included by none
  • _claude-md/validation/process-guard.md is excluded by none and included by none
  • _claude-md/workflow/session-workflows.md is excluded by none and included by none
  • architect.config.ts is excluded by none and included by none
  • architect/decisions/adr-001-taxonomy-canonical-values.feature is excluded by none and included by none
  • architect/decisions/adr-002-gherkin-only-testing.feature is excluded by none and included by none
  • architect/decisions/adr-003-source-first-pattern-architecture.feature is excluded by none and included by none
  • architect/decisions/adr-005-codec-based-markdown-rendering.feature is excluded by none and included by none
  • architect/decisions/adr-006-single-read-model-architecture.feature is excluded by none and included by none
  • architect/decisions/pdr-001-session-workflow-commands.feature is excluded by none and included by none
  • architect/design-reviews/mcp-server-integration.md is excluded by none and included by none
  • architect/design-reviews/setup-command.md is excluded by none and included by none
  • architect/ideations/2026-02-15-workflow-config-and-fsm-extensibility.feature is excluded by none and included by none
  • architect/ideations/2026-02-16-process-api-layered-extraction-findings.feature is excluded by none and included by none
  • architect/releases/v1.0.0.feature is excluded by none and included by none
  • architect/releases/vNEXT.feature is excluded by none and included by none
  • architect/specs/architecture-delta.feature is excluded by none and included by none
  • architect/specs/architecture-diagram-advanced.feature is excluded by none and included by none
  • architect/specs/architecture-diagram-core.feature is excluded by none and included by none
  • architect/specs/architecture-doc-refactoring.feature is excluded by none and included by none
  • architect/specs/business-rules-generator.feature is excluded by none and included by none
  • architect/specs/claude-module-generation.feature is excluded by none and included by none
  • architect/specs/cli-behavior-testing.feature is excluded by none and included by none
  • architect/specs/cli-recipe-codec.feature is excluded by none and included by none
  • architect/specs/codec-behavior-testing.feature is excluded by none and included by none
  • architect/specs/codec-driven-reference-generation.feature is excluded by none and included by none
  • architect/specs/config-based-workflow-definition.feature is excluded by none and included by none
  • architect/specs/cross-cutting-document-inclusion.feature is excluded by none and included by none
  • architect/specs/cross-source-validation.feature is excluded by none and included by none
  • architect/specs/data-api-architecture-queries.feature is excluded by none and included by none
  • architect/specs/data-api-cli-ergonomics.feature is excluded by none and included by none
  • architect/specs/data-api-context-assembly.feature is excluded by none and included by none
  • architect/specs/data-api-output-shaping.feature is excluded by none and included by none
  • architect/specs/data-api-platform-integration.feature is excluded by none and included by none
  • architect/specs/data-api-relationship-graph.feature is excluded by none and included by none
  • architect/specs/data-api-session-support.feature is excluded by none and included by none
  • architect/specs/data-api-stub-integration.feature is excluded by none and included by none
  • architect/specs/declaration-level-shape-tagging.feature is excluded by none and included by none
  • architect/specs/design-review-generation.feature is excluded by none and included by none
  • architect/specs/doc-generation-proof-of-concept.feature is excluded by none and included by none
  • architect/specs/docs-consolidation-strategy.feature is excluded by none and included by none
  • architect/specs/docs-live-consolidation.feature is excluded by none and included by none
  • architect/specs/dod-validation.feature is excluded by none and included by none
  • architect/specs/effort-variance-tracking.feature is excluded by none and included by none
  • architect/specs/enhanced-index-generation.feature is excluded by none and included by none
  • architect/specs/error-guide-codec.feature is excluded by none and included by none
  • architect/specs/generated-doc-quality.feature is excluded by none and included by none
  • architect/specs/generator-infrastructure-testing.feature is excluded by none and included by none
  • architect/specs/gherkin-patterns-restructure.feature is excluded by none and included by none
  • architect/specs/gherkin-rules-support.feature is excluded by none and included by none
  • architect/specs/living-roadmap-cli.feature is excluded by none and included by none
  • architect/specs/mcp-server-integration.feature is excluded by none and included by none
  • architect/specs/monorepo-support.feature is excluded by none and included by none
  • architect/specs/mvp-workflow-implementation.feature is excluded by none and included by none
  • architect/specs/orchestrator-pipeline-factory-migration.feature is excluded by none and included by none
  • architect/specs/pattern-relationship-model.feature is excluded by none and included by none
  • architect/specs/phase-numbering-conventions.feature is excluded by none and included by none
  • architect/specs/phase-state-machine.feature is excluded by none and included by none
  • architect/specs/prd-generator-code-annotations-inclusion.feature is excluded by none and included by none
  • architect/specs/procedural-guide-codec.feature is excluded by none and included by none
  • architect/specs/process-api-hybrid-generation.feature is excluded by none and included by none
  • architect/specs/process-api-layered-extraction.feature is excluded by none and included by none
  • architect/specs/process-guard-linter.feature is excluded by none and included by none
  • architect/specs/process-state-api-cli.feature is excluded by none and included by none
  • architect/specs/process-state-api-relationship-queries.feature is excluded by none and included by none
  • architect/specs/progressive-governance.feature is excluded by none and included by none
  • architect/specs/publishing-relocation.feature is excluded by none and included by none
  • architect/specs/readme-rationalization.feature is excluded by none and included by none
  • architect/specs/reference-doc-showcase.feature is excluded by none and included by none
  • architect/specs/release-association-rules.feature is excluded by none and included by none
  • architect/specs/scoped-architectural-view.feature is excluded by none and included by none
  • architect/specs/session-file-cleanup.feature is excluded by none and included by none
  • architect/specs/session-guides-module-source.feature is excluded by none and included by none
  • architect/specs/setup-command.feature is excluded by none and included by none
  • architect/specs/shape-extraction.feature is excluded by none and included by none
  • architect/specs/status-aware-eslint-suppression.feature is excluded by none and included by none
  • architect/specs/step-definition-completion.feature is excluded by none and included by none
  • architect/specs/step-lint-extended-rules.feature is excluded by none and included by none
  • architect/specs/step-lint-vitest-cucumber.feature is excluded by none and included by none
  • architect/specs/streaming-git-diff.feature is excluded by none and included by none
  • architect/specs/traceability-enhancements.feature is excluded by none and included by none
  • architect/specs/traceability-generator.feature is excluded by none and included by none
  • architect/specs/typescript-taxonomy-implementation.feature is excluded by none and included by none
  • architect/specs/universal-doc-generator-robustness.feature is excluded by none and included by none
  • architect/specs/validator-read-model-consolidation.feature is excluded by none and included by none
  • architect/stubs/.gitkeep is excluded by none and included by none
  • architect/stubs/DataAPIDesignSessionSupport/handoff-generator.ts is excluded by none and included by none
  • architect/stubs/DataAPIDesignSessionSupport/scope-validator.ts is excluded by none and included by none
  • architect/stubs/cli-recipe-codec/cli-recipe-generator.ts is excluded by none and included by none
  • architect/stubs/cli-recipe-codec/recipe-data.ts is excluded by none and included by none
  • architect/stubs/cli-recipe-codec/recipe-schema.ts is excluded by none and included by none
  • architect/stubs/config-based-workflow-definition/default-workflow-config.ts is excluded by none and included by none
  • architect/stubs/data-api-architecture-queries/arch-queries.ts is excluded by none and included by none
  • architect/stubs/data-api-architecture-queries/coverage-analyzer.ts is excluded by none and included by none
  • architect/stubs/data-api-context-assembly/context-assembler.ts is excluded by none and included by none
  • architect/stubs/data-api-context-assembly/context-formatter.ts is excluded by none and included by none
  • architect/stubs/data-api-output-shaping/fuzzy-match.ts is excluded by none and included by none
  • architect/stubs/data-api-output-shaping/output-pipeline.ts is excluded by none and included by none
  • architect/stubs/data-api-output-shaping/summarize.ts is excluded by none and included by none
  • architect/stubs/data-api-stub-integration/stub-resolver.ts is excluded by none and included by none
  • architect/stubs/enhanced-index-generation/index-codec-options.ts is excluded by none and included by none
  • architect/stubs/enhanced-index-generation/index-codec.ts is excluded by none and included by none
  • architect/stubs/enhanced-index-generation/index-preamble-config.ts is excluded by none and included by none
  • architect/stubs/error-guide-codec/convention-annotation-example.ts is excluded by none and included by none
  • architect/stubs/error-guide-codec/enhanced-validation-options.ts is excluded by none and included by none
  • architect/stubs/error-guide-codec/error-guide-config.ts is excluded by none and included by none
  • architect/stubs/mcp-server-integration/file-watcher.ts is excluded by none and included by none
  • architect/stubs/mcp-server-integration/pipeline-session.ts is excluded by none and included by none
  • architect/stubs/mcp-server-integration/server.ts is excluded by none and included by none
  • architect/stubs/mcp-server-integration/tool-registry.ts is excluded by none and included by none
  • architect/stubs/procedural-guide-codec/annotation-guide-preamble.ts is excluded by none and included by none
  • architect/stubs/procedural-guide-codec/load-preamble.ts is excluded by none and included by none
  • architect/stubs/procedural-guide-codec/procedural-codec-options.ts is excluded by none and included by none
  • architect/stubs/procedural-guide-codec/procedural-codec.ts is excluded by none and included by none
  • architect/stubs/procedural-guide-codec/session-guide-preamble.ts is excluded by none and included by none
  • architect/tag-taxonomy.md is excluded by none and included by none
  • docs-inbox/session-prompt-generator-architecture-review.md is excluded by none and included by none
  • docs-inbox/session-prompt-generator-brief.md is excluded by none and included by none
  • docs-inbox/session-prompt-generator-manual.md is excluded by none and included by none
  • docs-live/ARCHITECTURE.md is excluded by none and included by none
  • docs-live/CHANGELOG-GENERATED.md is excluded by none and included by none
  • docs-live/INDEX.md is excluded by none and included by none
  • docs-live/PRODUCT-AREAS.md is excluded by none and included by none
  • docs-live/TAXONOMY.md is excluded by none and included by none
  • docs-live/VALIDATION-RULES.md is excluded by none and included by none
  • docs-live/_claude-md/annotation/annotation-reference.md is excluded by none and included by none
  • docs-live/_claude-md/architecture/reference-sample.md is excluded by none and included by none
  • docs-live/_claude-md/authoring/gherkin-authoring-guide.md is excluded by none and included by none
  • docs-live/_claude-md/configuration/configuration-guide.md is excluded by none and included by none
  • docs-live/_claude-md/configuration/configuration-overview.md is excluded by none and included by none
  • docs-live/_claude-md/generation/generation-overview.md is excluded by none and included by none
  • docs-live/_claude-md/process/process-overview.md is excluded by none and included by none
  • docs-live/_claude-md/validation/process-guard.md is excluded by none and included by none
  • docs-live/_claude-md/validation/validation-overview.md is excluded by none and included by none
  • docs-live/_claude-md/validation/validation-tools-guide.md is excluded by none and included by none
  • docs-live/_claude-md/workflow/session-workflow-guide.md is excluded by none and included by none
  • docs-live/business-rules/annotation.md is excluded by none and included by none
  • docs-live/business-rules/configuration.md is excluded by none and included by none
  • docs-live/business-rules/core-types.md is excluded by none and included by none
  • docs-live/business-rules/data-api.md is excluded by none and included by none
  • docs-live/business-rules/generation.md is excluded by none and included by none
  • docs-live/business-rules/validation.md is excluded by none and included by none
  • docs-live/decisions/adr-001-taxonomy-canonical-values.md is excluded by none and included by none
  • docs-live/decisions/adr-002-gherkin-only-testing.md is excluded by none and included by none
  • docs-live/decisions/adr-003-source-first-pattern-architecture.md is excluded by none and included by none
  • docs-live/decisions/adr-006-single-read-model-architecture.md is excluded by none and included by none
  • docs-live/decisions/adr-021-doc-generation-proof-of-concept.md is excluded by none and included by none
  • docs-live/product-areas/ANNOTATION.md is excluded by none and included by none
  • docs-live/product-areas/CONFIGURATION.md is excluded by none and included by none
  • docs-live/product-areas/DATA-API.md is excluded by none and included by none
  • docs-live/product-areas/GENERATION.md is excluded by none and included by none
  • docs-live/product-areas/PROCESS.md is excluded by none and included by none
  • docs-live/product-areas/VALIDATION.md is excluded by none and included by none
  • docs-live/reference/ANNOTATION-REFERENCE.md is excluded by none and included by none
  • docs-live/reference/ARCHITECTURE-CODECS.md is excluded by none and included by none
  • docs-live/reference/ARCHITECTURE-TYPES.md is excluded by none and included by none
  • docs-live/reference/CONFIGURATION-GUIDE.md is excluded by none and included by none
  • docs-live/reference/GHERKIN-AUTHORING-GUIDE.md is excluded by none and included by none
  • docs-live/reference/PROCESS-API-RECIPES.md is excluded by none and included by none
  • docs-live/reference/PROCESS-API-REFERENCE.md is excluded by none and included by none
  • docs-live/reference/PROCESS-GUARD-REFERENCE.md is excluded by none and included by none
  • docs-live/reference/REFERENCE-SAMPLE.md is excluded by none and included by none
  • docs-live/reference/SESSION-WORKFLOW-GUIDE.md is excluded by none and included by none
  • docs-live/reference/VALIDATION-TOOLS-GUIDE.md is excluded by none and included by none
  • docs-live/taxonomy/format-types.md is excluded by none and included by none
  • docs-live/taxonomy/metadata-tags.md is excluded by none and included by none
  • docs-live/validation/error-catalog.md is excluded by none and included by none
  • docs-live/validation/fsm-transitions.md is excluded by none and included by none
  • docs-sources/annotation-guide.md is excluded by none and included by none
  • docs-sources/configuration-guide.md is excluded by none and included by none
  • docs-sources/gherkin-patterns.md is excluded by none and included by none
  • docs-sources/process-api-recipes.md is excluded by none and included by none
  • docs-sources/process-guard.md is excluded by none and included by none
  • docs-sources/session-workflow-guide.md is excluded by none and included by none
  • docs-sources/validation-tools-guide.md is excluded by none and included by none
  • package.json is excluded by none and included by none
📒 Files selected for processing (102)
  • delivery-process/tag-taxonomy.md
  • docs/ANNOTATION-GUIDE.md
  • docs/ARCHITECTURE.md
  • docs/CONFIGURATION.md
  • docs/DOCS-GAP-ANALYSIS.md
  • docs/GHERKIN-PATTERNS.md
  • docs/INDEX.md
  • docs/MCP-SETUP.md
  • docs/METHODOLOGY.md
  • docs/PROCESS-GUARD.md
  • docs/SESSION-GUIDES.md
  • docs/TAXONOMY.md
  • docs/VALIDATION.md
  • src/api/arch-queries.ts
  • src/api/context-assembler.ts
  • src/api/context-formatter.ts
  • src/api/coverage-analyzer.ts
  • src/api/fuzzy-match.ts
  • src/api/handoff-generator.ts
  • src/api/index.ts
  • src/api/pattern-helpers.ts
  • src/api/process-state.ts
  • src/api/rules-query.ts
  • src/api/scope-validator.ts
  • src/api/stub-resolver.ts
  • src/api/summarize.ts
  • src/api/types.ts
  • src/cache/file-cache.ts
  • src/cli/cli-schema.ts
  • src/cli/dataset-cache.ts
  • src/cli/error-handler.ts
  • src/cli/generate-docs.ts
  • src/cli/generate-tag-taxonomy.ts
  • src/cli/lint-patterns.ts
  • src/cli/lint-process.ts
  • src/cli/lint-steps.ts
  • src/cli/mcp-server.ts
  • src/cli/output-pipeline.ts
  • src/cli/process-api.ts
  • src/cli/repl.ts
  • src/cli/validate-patterns.ts
  • src/cli/version.ts
  • src/config/config-loader.ts
  • src/config/defaults.ts
  • src/config/define-config.ts
  • src/config/factory.ts
  • src/config/index.ts
  • src/config/merge-sources.ts
  • src/config/presets.ts
  • src/config/project-config-schema.ts
  • src/config/project-config.ts
  • src/config/regex-builders.ts
  • src/config/resolve-config.ts
  • src/config/tag-taxonomy-generator.ts
  • src/config/types.ts
  • src/config/workflow-loader.ts
  • src/extractor/doc-extractor.ts
  • src/extractor/dual-source-extractor.ts
  • src/extractor/gherkin-extractor.ts
  • src/extractor/layer-inference.ts
  • src/extractor/shape-extractor.ts
  • src/generators/built-in/cli-recipe-generator.ts
  • src/generators/built-in/codec-generators.ts
  • src/generators/built-in/decision-doc-generator.ts
  • src/generators/built-in/design-review-generator.ts
  • src/generators/built-in/index.ts
  • src/generators/built-in/process-api-reference-generator.ts
  • src/generators/built-in/reference-generators.ts
  • src/generators/codec-based.ts
  • src/generators/content-deduplicator.ts
  • src/generators/index.ts
  • src/generators/orchestrator.ts
  • src/generators/pipeline/build-pipeline.ts
  • src/generators/pipeline/context-inference.ts
  • src/generators/pipeline/index.ts
  • src/generators/pipeline/merge-patterns.ts
  • src/generators/pipeline/relationship-resolver.ts
  • src/generators/pipeline/sequence-utils.ts
  • src/generators/pipeline/transform-dataset.ts
  • src/generators/pipeline/transform-types.ts
  • src/generators/registry.ts
  • src/generators/source-mapper.ts
  • src/generators/source-mapping-validator.ts
  • src/generators/types.ts
  • src/generators/warning-collector.ts
  • src/git/branch-diff.ts
  • src/git/helpers.ts
  • src/git/index.ts
  • src/git/name-status.ts
  • src/index.ts
  • src/lint/engine.ts
  • src/lint/index.ts
  • src/lint/process-guard/decider.ts
  • src/lint/process-guard/derive-state.ts
  • src/lint/process-guard/detect-changes.ts
  • src/lint/process-guard/index.ts
  • src/lint/process-guard/types.ts
  • src/lint/rules.ts
  • src/lint/steps/runner.ts
  • src/mcp/file-watcher.ts
  • src/mcp/index.ts
  • src/mcp/pipeline-session.ts
💤 Files with no reviewable changes (1)
  • delivery-process/tag-taxonomy.md

Fixes from multi-agent review of the rebranding PR:

Comment accuracy:
- Replace "delivery process" product references in JSDoc and help text
  with "project state", "workflow rules", "Architect" as appropriate
- Fix @architect-usecase annotations in process-api CLI
- Fix runtime string in reference codec (appears in generated docs)
- Update docs-sources preambles with new CLI names
- Fix test support comment headers and temp dir prefix

Silent failure prevention:
- Config loader warns when both architect.config.ts AND
  delivery-process.config.ts coexist (prevents editing wrong file)
- Dataset cache key now includes legacy config file mtimes
  (prevents stale cache when editing legacy config)
- Fix grammar: "a ArchitectProjectConfig" → "an ArchitectProjectConfig"

Config path fix:
- architect.config.ts: design-review outputDirectory was still
  'delivery-process', changed to 'architect'
The repo hasn't been renamed on GitHub yet (happens at 1.0.0 GA).
Keep package.json, README, and CONTRIBUTING URLs pointing to
libar-dev/delivery-process until the GitHub rename is done.
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/GHERKIN-PATTERNS.md`:
- Line 113: Update the documentation sentence to clarify that files are not
exclusively required to use `@architect`: the current extractor
(gherkin-extractor) accepts both `@architect` and the legacy `@libar-docs` tag and
the default accepted tags are configurable in the TagRegistry schema (default
tags in tag-registry). Reword the line to present this as default guidance
(e.g., "By default, files should opt-in using `@architect`, though legacy
`@libar-docs` is also recognized and the accepted tags are configurable via the
TagRegistry schema") so the doc matches extractor behavior and schema
configurability.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: f87e2918-19fa-4787-87fc-2ce5076201de

📥 Commits

Reviewing files that changed from the base of the PR and between 586f6ea and 7fd3a38.

⛔ Files ignored due to path filters (9)
  • AGENTS.md is excluded by none and included by none
  • CONTRIBUTING.md is excluded by none and included by none
  • README.md is excluded by none and included by none
  • architect.config.ts is excluded by none and included by none
  • architect/ideations/2026-02-15-workflow-config-and-fsm-extensibility.feature is excluded by none and included by none
  • architect/specs/data-api-platform-integration.feature is excluded by none and included by none
  • docs-sources/process-guard.md is excluded by none and included by none
  • docs-sources/validation-tools-guide.md is excluded by none and included by none
  • package.json is excluded by none and included by none
📒 Files selected for processing (16)
  • docs/DOCS-GAP-ANALYSIS.md
  • docs/GHERKIN-PATTERNS.md
  • docs/SESSION-GUIDES.md
  • src/api/index.ts
  • src/api/process-state.ts
  • src/cli/dataset-cache.ts
  • src/cli/lint-process.ts
  • src/cli/process-api.ts
  • src/cli/version.ts
  • src/config/config-loader.ts
  • src/config/factory.ts
  • src/config/regex-builders.ts
  • src/config/types.ts
  • src/extractor/shape-extractor.ts
  • src/lint/process-guard/decider.ts
  • src/lint/process-guard/index.ts

Remove legacy code paths that supported the old "delivery-process" /
"libar-docs" naming. The package is pre-release (1.0.0-pre.2) with
zero external users — backward compatibility is unnecessary overhead.

Source code:
- Remove isLegacyInstance type guard and all consumers
- Remove legacy config file fallback (delivery-process.config.ts)
- Remove libar-docs opt-in tag acceptance from gherkin extractor
- Update GENERIC_PRESET from @docs- to @architect- prefix
- Rename CLAUDE_SECTION_VALUES 'delivery-process' to 'process'
- Simplify config-loader error messages

Documentation:
- Fix "markdown" capitalization (CodeRabbit #1)
- Add language identifiers to fenced code blocks (CodeRabbit #2)
- Remove backward-compat section from CONFIGURATION.md
- Update metadata.json title and descriptions
- Replace all libar-docs-unlock-reason with architect-unlock-reason

Tests:
- Remove isLegacyInstance test scenarios and legacy config loader tests
- Rename all libar-docs references to architect in fixtures/scenarios
- Update generic preset assertions from @docs- to @architect-
- Update config-loader test to use defineConfig format
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (1)
docs/ARCHITECTURE.md (1)

7-7: ⚠️ Potential issue | 🟡 Minor

Capitalize "Markdown" for proper technical terminology.

Use "Markdown" (proper noun) instead of "markdown" for consistency with standard technical writing conventions.

As per coding guidelines, "docs/**/*.md: Check for proper formatting and consistency."

📝 Suggested fix
-This document describes the architecture of the `@libar-dev/architect` package, a documentation generator that extracts patterns from TypeScript and Gherkin sources, transforms them through a unified pipeline, and renders them as markdown via typed codecs.
+This document describes the architecture of the `@libar-dev/architect` package, a documentation generator that extracts patterns from TypeScript and Gherkin sources, transforms them through a unified pipeline, and renders them as Markdown via typed codecs.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/ARCHITECTURE.md` at line 7, Update the sentence describing
`@libar-dev/architect` so the technical term "Markdown" is capitalized;
specifically change the phrase that currently reads "renders them as markdown
via typed codecs" to "renders them as Markdown via typed codecs" to follow
proper terminology and documentation conventions.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In `@docs/ARCHITECTURE.md`:
- Line 7: Update the sentence describing `@libar-dev/architect` so the technical
term "Markdown" is capitalized; specifically change the phrase that currently
reads "renders them as markdown via typed codecs" to "renders them as Markdown
via typed codecs" to follow proper terminology and documentation conventions.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 40d1e89a-0864-42e4-84a9-cdc8802d784e

📥 Commits

Reviewing files that changed from the base of the PR and between 7fd3a38 and 60e6367.

⛔ Files ignored due to path filters (11)
  • CONTRIBUTING.md is excluded by none and included by none
  • README.md is excluded by none and included by none
  • _claude-md/api/annotation-system.md is excluded by none and included by none
  • _claude-md/api/data-api-cli.md is excluded by none and included by none
  • _claude-md/api/dual-source.md is excluded by none and included by none
  • _claude-md/core/project-overview.md is excluded by none and included by none
  • _claude-md/generated/doc-generation-proof-of-concept.md is excluded by !**/generated/** and included by none
  • _claude-md/metadata.json is excluded by none and included by none
  • _claude-md/workflow/session-workflows.md is excluded by none and included by none
  • architect/specs/claude-module-generation.feature is excluded by none and included by none
  • package.json is excluded by none and included by none
📒 Files selected for processing (11)
  • docs/ARCHITECTURE.md
  • docs/CONFIGURATION.md
  • docs/INDEX.md
  • docs/METHODOLOGY.md
  • docs/PROCESS-API.md
  • src/cli/dataset-cache.ts
  • src/config/config-loader.ts
  • src/config/index.ts
  • src/config/presets.ts
  • src/config/project-config-schema.ts
  • src/extractor/gherkin-extractor.ts

…ents, update docs

- Remove deprecated generate-tag-taxonomy CLI and its sole dependency
  (tag-taxonomy-generator.ts), replaced by TaxonomyCodec via pnpm docs:taxonomy
- Fix 20 misleading "backward compatibility" / "legacy" comments in src/ that
  described current design features as compat code
- Update deprecated docs/ files: @docs- prefix → @architect-, remove stale
  shapeSources/diagramScope/renderToClaudeContext references
- Fix libar-docs → architect in architecture-doc-refactoring spec
- Remove bin entry, script, and CLI test files for deleted taxonomy CLI
- Regenerate docs-live/ and _claude-md/ from updated sources
- Rename stripLibarDocsTags → stripArchitectTags (stale old-tool-name)
- Remove renderShapesAsMarkdown backward-compat re-export from shape-extractor
- Remove TagDefinition backward-compat type alias from registry-builder
- Update all consumer imports to use canonical paths and types
@darko-mijic darko-mijic merged commit f3b02b7 into main Mar 27, 2026
4 checks passed
@darko-mijic darko-mijic deleted the feature/rebranding branch March 27, 2026 09:21
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