Skip to content

Update codebase artifacts (run 019f750a)#1445

Open
JayGhiya wants to merge 1 commit into
devfrom
agents-md/019f750a-34d
Open

Update codebase artifacts (run 019f750a)#1445
JayGhiya wants to merge 1 commit into
devfrom
agents-md/019f750a-34d

Conversation

@JayGhiya

@JayGhiya JayGhiya commented Jul 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Codebase artifact update for run 019f750a-34d0-70e5-bc80-b69f56ec24f1
  • Updated files: 23

Changed Files

  • unoplat-code-confluence-cli/AGENTS.md
  • unoplat-code-confluence-cli/business_domain_references.md
  • unoplat-code-confluence-cli/app_interfaces.md
  • unoplat-code-confluence-docs/AGENTS.md
  • unoplat-code-confluence-docs/business_domain_references.md
  • unoplat-code-confluence-docs/app_interfaces.md
  • unoplat-code-confluence-commons/AGENTS.md
  • unoplat-code-confluence-commons/business_domain_references.md
  • unoplat-code-confluence-commons/app_interfaces.md
  • unoplat-code-confluence-frontend/AGENTS.md
  • unoplat-code-confluence-frontend/business_domain_references.md
  • unoplat-code-confluence-frontend/app_interfaces.md
  • unoplat-code-confluence-openmetadata/AGENTS.md
  • unoplat-code-confluence-openmetadata/business_domain_references.md
  • unoplat-code-confluence-openmetadata/app_interfaces.md
  • unoplat-code-confluence-query-engine/AGENTS.md
  • unoplat-code-confluence-query-engine/dependencies_overview.md
  • unoplat-code-confluence-query-engine/business_domain_references.md
  • unoplat-code-confluence-query-engine/app_interfaces.md
  • unoplat-code-confluence-ingestion/code-confluence-flow-bridge/AGENTS.md
  • unoplat-code-confluence-ingestion/code-confluence-flow-bridge/business_domain_references.md
  • unoplat-code-confluence-ingestion/code-confluence-flow-bridge/app_interfaces.md
  • architecture.md

Summary by CodeRabbit

  • Documentation
    • Updated architecture documentation to reflect CLI, web, ingestion, query, GitHub, and AI-service interactions.
    • Expanded interface documentation to cover command entry points, API integrations, database activity, workflow orchestration, and real-time synchronization.
    • Refined business-domain and data-reference descriptions across repository analysis, ingestion, AI-assisted workflows, and metadata publishing.
    • Updated development guidance, validation commands, generated documentation metadata, and architecture diagrams.
    • Clarified OpenMetadata connector documentation and documented detected integration boundaries.

@claude

claude Bot commented Jul 18, 2026

Copy link
Copy Markdown

Claude encountered an error —— View job


I'll analyze this and get back to you.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment Ready!

Preview URL: https://head.unoplat-code-confluence-docs.pages.dev


Deployed via Cloudflare Pages

@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Updated the architecture model and regenerated repository documentation covering interface constructs, business domains, workflow instructions, data references, generated-content metadata, and dependency listings across the CLI, frontend, ingestion, query engine, commons, documentation, and OpenMetadata components.

Changes

Architecture and generated documentation

Layer / File(s) Summary
Runtime architecture model
architecture.md
The architecture description and Mermaid diagram now include CLI interactions, Temporal-backed flow bridge and query engine workflows, GitHub, PostgreSQL, and an AI model provider.
Client interface inventories
unoplat-code-confluence-cli/app_interfaces.md, unoplat-code-confluence-commons/app_interfaces.md, unoplat-code-confluence-docs/app_interfaces.md, unoplat-code-confluence-frontend/app_interfaces.md
Interface references now enumerate CLI commands, HTTP clients, frontend Axios calls, and realtime synchronization hooks.
Flow bridge integration inventory
unoplat-code-confluence-ingestion/code-confluence-flow-bridge/app_interfaces.md
Flow bridge references now document Temporal triggers, SQLAlchemy operations, GraphQL and HTTP clients, and Temporal workflow enqueue calls.
Query engine integration inventory
unoplat-code-confluence-query-engine/app_interfaces.md
Query engine references now document Temporal entry points, database operations, GitHub and OAuth clients, PydanticAI agents, and workflow enqueue calls.
Generated references and instructions
**/AGENTS.md, **/business_domain_references.md, unoplat-code-confluence-openmetadata/app_interfaces.md, unoplat-code-confluence-query-engine/dependencies_overview.md
Generated commit metadata, domain descriptions, source line references, engineering workflow commands, OpenMetadata HTTP usage, and the dependency listing were refreshed.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the PR’s main change: updating codebase artifact files for run 019f750a.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch agents-md/019f750a-34d

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (1)
unoplat-code-confluence-ingestion/code-confluence-flow-bridge/AGENTS.md (1)

110-110: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Avoid the duplicate Engineering Workflow heading.

The generated block repeats the heading already present at Line 38, triggering the reported markdownlint MD024 warning. Rename the generated heading or configure the generator/linter intentionally for this repeated context block.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@unoplat-code-confluence-ingestion/code-confluence-flow-bridge/AGENTS.md` at
line 110, Resolve the duplicate “Engineering Workflow” heading in the generated
block by renaming that generated heading to a unique, appropriate title.
Preserve the existing heading elsewhere and ensure the resulting AGENTS.md no
longer triggers markdownlint MD024.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@unoplat-code-confluence-docs/AGENTS.md`:
- Line 52: Update the `vp check` entry in `AGENTS.md` to remove the “and tests”
wording, leaving only formatting, linting, and type checking; keep the
separately documented `vp test` entry unchanged.

In `@unoplat-code-confluence-frontend/app_interfaces.md`:
- Around line 52-58: Remove the realtime_sync entries for useLiveQuery and
useLiveInfiniteQuery from the Bidirectional Constructs section in
app_interfaces.md. Keep these read/subscription hooks documented elsewhere if
appropriate, and reserve this section for actual two-way synchronization flows.

In
`@unoplat-code-confluence-ingestion/code-confluence-flow-bridge/app_interfaces.md`:
- Around line 141-143: Update the “Bidirectional Constructs” section in
app_interfaces.md to classify the GitHub integration as bidirectional,
reflecting the documented inbound GitHub App webhook and outbound GitHub API
calls. Do not leave “No bidirectional constructs detected”; only retain that
wording if the section is explicitly redefined to exclude this client/server
interface pattern.

---

Nitpick comments:
In `@unoplat-code-confluence-ingestion/code-confluence-flow-bridge/AGENTS.md`:
- Line 110: Resolve the duplicate “Engineering Workflow” heading in the
generated block by renaming that generated heading to a unique, appropriate
title. Preserve the existing heading elsewhere and ensure the resulting
AGENTS.md no longer triggers markdownlint MD024.
🪄 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: 48d2fd88-2c09-413d-9faa-c9ca102e18a9

📥 Commits

Reviewing files that changed from the base of the PR and between ab23412 and da473cd.

📒 Files selected for processing (23)
  • architecture.md
  • unoplat-code-confluence-cli/AGENTS.md
  • unoplat-code-confluence-cli/app_interfaces.md
  • unoplat-code-confluence-cli/business_domain_references.md
  • unoplat-code-confluence-commons/AGENTS.md
  • unoplat-code-confluence-commons/app_interfaces.md
  • unoplat-code-confluence-commons/business_domain_references.md
  • unoplat-code-confluence-docs/AGENTS.md
  • unoplat-code-confluence-docs/app_interfaces.md
  • unoplat-code-confluence-docs/business_domain_references.md
  • unoplat-code-confluence-frontend/AGENTS.md
  • unoplat-code-confluence-frontend/app_interfaces.md
  • unoplat-code-confluence-frontend/business_domain_references.md
  • unoplat-code-confluence-ingestion/code-confluence-flow-bridge/AGENTS.md
  • unoplat-code-confluence-ingestion/code-confluence-flow-bridge/app_interfaces.md
  • unoplat-code-confluence-ingestion/code-confluence-flow-bridge/business_domain_references.md
  • unoplat-code-confluence-openmetadata/AGENTS.md
  • unoplat-code-confluence-openmetadata/app_interfaces.md
  • unoplat-code-confluence-openmetadata/business_domain_references.md
  • unoplat-code-confluence-query-engine/AGENTS.md
  • unoplat-code-confluence-query-engine/app_interfaces.md
  • unoplat-code-confluence-query-engine/business_domain_references.md
  • unoplat-code-confluence-query-engine/dependencies_overview.md
💤 Files with no reviewable changes (1)
  • unoplat-code-confluence-query-engine/dependencies_overview.md


### Lint
- `vp check` (working directory: repo root; config: `vite.config.ts`; runs Vite+ validation including linting; requires the Vite+ `vp` CLI)
- `vp check` (working directory: repo root; config: `vite.config.ts`; runs Vite+ formatting, linting, type checking, and tests; requires the Vite+ `vp` CLI)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '--- AGENTS.md (relevant lines) ---\n'
nl -ba unoplat-code-confluence-docs/AGENTS.md | sed -n '40,60p'

printf '\n--- search for vp check / vp test references ---\n'
rg -n "vp check|vp test|vite.config.ts|tests" unoplat-code-confluence-docs -g '!*node_modules*' -g '!*dist*' -g '!*build*'

printf '\n--- vite config files ---\n'
fd -a "vite.config.*" unoplat-code-confluence-docs

Repository: unoplat/unoplat-code-confluence

Length of output: 260


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- AGENTS.md lines 44-55 ---'
nl -ba unoplat-code-confluence-docs/AGENTS.md | sed -n '44,55p'

echo
echo '--- exact matches for vp check / vp test ---'
rg -n --hidden --glob '!.git' --glob '!**/node_modules/**' --glob '!**/dist/**' --glob '!**/build/**' '\bvp (check|test)\b' unoplat-code-confluence-docs

echo
echo '--- possible config files ---'
fd -a 'vite.config.*|package.json|taskfile.yml|Taskfile.yml' unoplat-code-confluence-docs

Repository: unoplat/unoplat-code-confluence

Length of output: 239


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- AGENTS.md lines 44-56 ---'
awk 'NR>=44 && NR<=56 { printf "%d:%s\n", NR, $0 }' unoplat-code-confluence-docs/AGENTS.md

echo
echo '--- exact vp check / vp test references ---'
grep -RIn --exclude-dir=.git --exclude-dir=node_modules --exclude-dir=dist --exclude-dir=build -E '\bvp (check|test)\b' unoplat-code-confluence-docs || true

echo
echo '--- candidate config files ---'
find unoplat-code-confluence-docs -maxdepth 2 \( -name 'vite.config.*' -o -name 'package.json' -o -name 'Taskfile.yml' -o -name 'taskfile.yml' \) -print

Repository: unoplat/unoplat-code-confluence

Length of output: 1437


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- package.json ---'
awk 'NR>=1 && NR<=260 { printf "%d:%s\n", NR, $0 }' unoplat-code-confluence-docs/package.json

echo
echo '--- vite.config.ts ---'
awk 'NR>=1 && NR<=260 { printf "%d:%s\n", NR, $0 }' unoplat-code-confluence-docs/vite.config.ts

Repository: unoplat/unoplat-code-confluence

Length of output: 7668


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- package.json ---'
awk 'NR>=1 && NR<=220 { printf "%d:%s\n", NR, $0 }' unoplat-code-confluence-docs/package.json

echo
echo '--- vite.config.ts ---'
awk 'NR>=1 && NR<=220 { printf "%d:%s\n", NR, $0 }' unoplat-code-confluence-docs/vite.config.ts

Repository: unoplat/unoplat-code-confluence

Length of output: 7668


Remove “and tests” from the vp check description. vite.config.ts only defines formatting, linting, and type checking, and vp test is documented separately.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@unoplat-code-confluence-docs/AGENTS.md` at line 52, Update the `vp check`
entry in `AGENTS.md` to remove the “and tests” wording, leaving only formatting,
linting, and type checking; keep the separately documented `vp test` entry
unchanged.

Comment on lines +52 to +58
## Bidirectional Constructs

### realtime_sync (@tanstack/react-db)

- `src/features/repository-agent-snapshots/hooks.ts`: L133: useLiveInfiniteQuery( (q) => q .from({ events: collection }) .orderBy(({ events }) => events.event_id, "desc"), { pageSize, }, [scope.owner, scope.repository, scope.runId, normalizedCodebaseName, pageSize], )
- `src/features/repository-agent-snapshots/hooks.ts`: L64: useLiveQuery( (q) => { if (!collection) { return undefined; } return q.from({ snapshots: collection }); }, [collection], )
- `src/features/repository-agent-snapshots/hooks.ts`: L96: useLiveQuery( (q) => { if (!collection) { return undefined; } return q .from({ progress: collection }) .orderBy(({ progress }) => progress.codebase_name, "asc"); }, [collection], )

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "## Files around the reviewed section"
git ls-files 'unoplat-code-confluence-frontend/app_interfaces.md' 'unoplat-code-confluence-frontend/**' | sed -n '1,120p'

echo
echo "## Relevant excerpt"
sed -n '1,120p' unoplat-code-confluence-frontend/app_interfaces.md

echo
echo "## Search for `@tanstack/react-db` usage and docs"
rg -n "`@tanstack/react-db`|useLiveQuery|useLiveInfiniteQuery|bidirectional|realtime_sync" unoplat-code-confluence-frontend -S

echo
echo "## Package manifests mentioning tanstack/react-db"
rg -n "\"`@tanstack/react-db`\"|`@tanstack/react-db`" unoplat-code-confluence-frontend -S --glob 'package.json' --glob 'pnpm-lock.yaml' --glob 'package-lock.json' --glob 'yarn.lock' --glob '*.md'

Repository: unoplat/unoplat-code-confluence

Length of output: 18245


🌐 Web query:

@tanstack/react-db useLiveQuery useLiveInfiniteQuery bidirectional synchronization semantics

💡 Result:

In @tanstack/react-db, useLiveQuery and useLiveInfiniteQuery are hooks designed to provide reactive, live-updating views of data collections [1][2][3]. While they facilitate synchronization between local UI state and backend sources, they do not inherently implement bidirectional synchronization in the sense of a standalone, automated conflict-resolution engine [4][5]. Instead, these hooks support query-driven synchronization, particularly when configured with sync modes like 'on-demand' [4][3]. Here are the key semantics regarding their operation: 1. Data Flow and Reactivity: Both hooks subscribe to a data collection [6]. When the underlying collection data changes—whether due to local updates, mutations, or background synchronization—the hooks automatically trigger re-renders to reflect the new data [2][7][5]. 2. Query-Driven Sync: When using 'on-demand' sync mode, TanStack DB translates query predicates (such as.where,.orderBy, and.limit) into expression trees [4]. These are passed to the collection's queryFn via meta.loadSubsetOptions, allowing you to map them to specific API calls (e.g., REST or GraphQL) to fetch only the required subset of data from the server [4][8]. 3. Mutations: Bidirectional behavior is primarily handled through collection mutations [5]. When you perform an update on a collection (e.g., collection.update), the change is applied optimistically to the local state, triggering a re-render via useLiveQuery/useLiveInfiniteQuery [5]. Simultaneously, the change is synced to the server; if the server request fails, the library automatically rolls back the local state to maintain consistency [5]. 4. useLiveInfiniteQuery Semantics: This hook extends the live query pattern to paginated data [3]. It uses a windowing mechanism (utils.setWindow) to adjust pagination dynamically [9][3]. It is designed to work with ordered queries and automatically detects when new pages are available as data is synced, ensuring the local view remains consistent with both the local collection and the server's data pagination [3][8]. In summary, the hooks manage the subscription and UI-reactivity side of synchronization, while the collection and mutation logic handle the actual transport and conflict handling (via optimistic updates and rollbacks) [5]. They enable a highly responsive, "live" experience where UI components remain in sync with the underlying data model as it evolves [2][3].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "## Repository-agent snapshot hook and collection excerpts"
sed -n '1,220p' unoplat-code-confluence-frontend/src/features/repository-agent-snapshots/hooks.ts

echo
sed -n '1,220p' unoplat-code-confluence-frontend/src/features/repository-agent-snapshots/collection.ts

echo
echo "## TanStack DB-related docs in repo"
sed -n '1,120p' unoplat-code-confluence-frontend/dependencies_overview.md
echo
sed -n '1,120p' unoplat-code-confluence-frontend/dependency_guide.md

Repository: unoplat/unoplat-code-confluence

Length of output: 32964


Move these hooks out of Bidirectional Constructs.
useLiveQuery and useLiveInfiniteQuery are live read/subscription hooks; the write/sync path lives in the collection setup, not here. Reserve this section for actual two-way sync flows.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@unoplat-code-confluence-frontend/app_interfaces.md` around lines 52 - 58,
Remove the realtime_sync entries for useLiveQuery and useLiveInfiniteQuery from
the Bidirectional Constructs section in app_interfaces.md. Keep these
read/subscription hooks documented elsewhere if appropriate, and reserve this
section for actual two-way synchronization flows.

Comment on lines +141 to +143
## Bidirectional Constructs

No bidirectional constructs detected.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Classify the GitHub integration as bidirectional.

This inventory documents an inbound GitHub App webhook at Line 10 and outbound GitHub API calls at Lines 115-116, while architecture.md models github <--> flow_bridge. Stating “No bidirectional constructs detected” contradicts those documented interfaces; update the classification or explicitly define that the section only recognizes a single client construct.

As per coding guidelines, app_interfaces.md is the canonical reference for application interfaces and endpoints.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@unoplat-code-confluence-ingestion/code-confluence-flow-bridge/app_interfaces.md`
around lines 141 - 143, Update the “Bidirectional Constructs” section in
app_interfaces.md to classify the GitHub integration as bidirectional,
reflecting the documented inbound GitHub App webhook and outbound GitHub API
calls. Do not leave “No bidirectional constructs detected”; only retain that
wording if the section is explicitly redefined to exclude this client/server
interface pattern.

Source: Coding guidelines

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