Skip to content

[WIP] Update the DECOMPOSE_SYSTEM_PROMPT constant in packages/chat-api/src/lin#295

Closed
bamdadd wants to merge 1 commit into
mainfrom
lintel/feat/779ca43c-update-the-decompose-system-prompt-const
Closed

[WIP] Update the DECOMPOSE_SYSTEM_PROMPT constant in packages/chat-api/src/lin#295
bamdadd wants to merge 1 commit into
mainfrom
lintel/feat/779ca43c-update-the-decompose-system-prompt-const

Conversation

@bamdadd

@bamdadd bamdadd commented Apr 7, 2026

Copy link
Copy Markdown
Owner

⚠️ This is a draft PR created by Lintel after a pipeline failure.
The automated workflow could not complete successfully. An engineer should review the changes, fix any issues, and mark the PR as ready.

Summary

Implement a notification system as a new lintel-notifications-api package following established monorepo patterns: domain contracts first, persistence store, FastAPI router with event publishing, read-model projection, app composition wiring, and full test coverage.

Changes

  • Define domain contracts for notification system in packages/contracts/
  • Implement notification persistence store in packages/persistence/
  • Create notifications-api package with FastAPI router
  • Add notification event publishing via event-bus and event-store
  • Implement notification read-model projection in packages/projections/
  • Mount notifications router and wire lifespan in packages/app/
  • Write unit and integration tests for notifications-api
  • Lint, typecheck, and documentation pass

Context

Update the DECOMPOSE_SYSTEM_PROMPT constant in packages/chat-api/src/lintel/chat_api/decomposer.py to include four explicit instruction sections: (1) sizing constraint — each work item must be implementable in a single PR touching max 3 files; (2) requirement traceability — every numbered point in the user input must map to at least one work item; (3) interface-first ordering — protocols and abstractions must appear before concrete implementations; (4) agent-readiness — descriptions must specify the target package, key files to create/modify, API routes, events to emit, and acceptance tests. Acceptance: the updated prompt is present in the file and a unit test asserts all four instruction keywords/phrases appear in the prompt string.


Raised by Lintel 🤖

@bamdadd
bamdadd force-pushed the lintel/feat/779ca43c-update-the-decompose-system-prompt-const branch from e2407af to 5d9fb78 Compare April 7, 2026 17:40
@bamdadd

bamdadd commented Apr 7, 2026

Copy link
Copy Markdown
Owner Author

Closing stub PR from failed pipeline. Will retry with ingest fix.

@bamdadd bamdadd closed this Apr 7, 2026
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