-
Notifications
You must be signed in to change notification settings - Fork 7
Update codebase artifacts (run 019f9484) #1452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,54 @@ No inbound constructs detected. | |
|
|
||
| ## Outbound Constructs | ||
|
|
||
| No outbound constructs detected. | ||
| ### http_client (axios) | ||
|
|
||
| - `src/features/agent-feedback/api.ts`: L75: apiClient.post( "/code-confluence/feedback", payload, ) | ||
| - `src/features/app-feedback/api.ts`: L42: queryEngineClient.post("/v1/app-feedback", payload) | ||
| - `src/lib/api.ts`: L142: apiClient.post( "/ingest-token", null, { params: queryParams, headers: { Authorization: `Bearer ${token}`, "Content-Type": undefined, }, }, ) | ||
| - `src/lib/api.ts`: L219: apiClient.get("/repos", { params }) | ||
| - `src/lib/api.ts`: L236: apiClient.post( "/repositories", repository, ) | ||
| - `src/lib/api.ts`: L267: apiClient.put( "/update-token", null, { params: queryParams, headers: { Authorization: `Bearer ${token}`, "Content-Type": undefined, }, }, ) | ||
| - `src/lib/api.ts`: L319: apiClient.delete( "/delete-token", { params: queryParams }, ) | ||
| - `src/lib/api.ts`: L333: apiClient.get( `/flags/${flagName}`, ) | ||
| - `src/lib/api.ts`: L362: apiClient.post( "/repository-data", config, ) | ||
| - `src/lib/api.ts`: L400: apiClient.get("/repository-data", { params: { repository_name: repositoryName, repository_owner_name: ownerName, }, }) | ||
| - `src/lib/api.ts`: L437: apiClient.get( "/user-details", { params: { provider_key: providerKey }, }, ) | ||
| - `src/lib/api.ts`: L456: apiClient.get("/parent-workflow-jobs") | ||
| - `src/lib/api.ts`: L489: apiClient.get( "/repository-status", { params }, ) | ||
| - `src/lib/api.ts`: L537: apiClient.post( "/code-confluence/issues", requestData, ) | ||
| - `src/lib/api.ts`: L557: apiClient.get( "/codebase-metadata", { params }, ) | ||
| - `src/lib/api.ts`: L576: apiClient.get("/get/ingestedRepositories") | ||
| - `src/lib/api.ts`: L597: apiClient.post("/refresh-repository", repository) | ||
| - `src/lib/api.ts`: L614: apiClient.delete( "/delete-repository", { data: repository }, ) | ||
| - `src/lib/api.ts`: L667: queryEngineClient.get("/v1/codebase-agent-rules", { params, }) | ||
| - `src/lib/api.ts`: L690: queryEngineClient.post("/v1/repository-agent-run/cancel", null, { params, }) | ||
| - `src/lib/api.ts`: L705: queryEngineClient.post("/v1/repository-agent-md-pr", payload) | ||
| - `src/lib/api.ts`: L724: queryEngineClient.get("/v1/repository-agent-md-pr", { params }) | ||
| - `src/lib/api.ts`: L765: queryEngineClient.get("/v1/repository-agent-snapshot", { params, }) | ||
| - `src/lib/api.ts`: L862: queryEngineClient.get("/v1/providers") | ||
| - `src/lib/api.ts`: L889: queryEngineClient.get("/v1/model-config") | ||
| - `src/lib/api.ts`: L925: queryEngineClient.put( "/v1/model-config", bodyConfig, { headers }, ) | ||
| - `src/lib/api.ts`: L945: queryEngineClient.delete("/v1/model-config") | ||
| - `src/lib/api.ts`: L957: queryEngineClient.post( "/v1/model-config/codex-openai/oauth/authorize", payload, ) | ||
| - `src/lib/api.ts`: L972: queryEngineClient.get( `/v1/model-config/codex-openai/oauth/flows/${flowId}`, ) | ||
| - `src/lib/api.ts`: L985: queryEngineClient.get( "/v1/model-config/codex-openai/oauth/status", ) | ||
| - `src/lib/api.ts`: L998: queryEngineClient.delete("/v1/model-config/codex-openai/oauth") | ||
| - `src/lib/api/repositories-api.ts`: L29: apiClient.get<PaginatedResponse<GitHubRepoSummary>>( "/repos", { params: { provider_key: providerKey, per_page: perPage, cursor: cursor ?? undefined, filterValues, }, }, ) | ||
| - `src/lib/api/repository-provider-api.ts`: L17: apiClient.get<RepositoryProvidersResponse>( "/repository-providers", ) | ||
| - `src/lib/api/repository-provider-api.ts`: L67: apiClient.post<IngestTokenResponse>( "/ingest-token", null, { params: queryParams, headers: { Authorization: `Bearer ${patToken}`, }, }, ) | ||
| - `src/lib/api/tool-config-api.ts`: L19: queryEngineClient.get("/v1/tool-config") | ||
| - `src/lib/api/tool-config-api.ts`: L32: queryEngineClient.get(`/v1/tool-config/${provider}`) | ||
| - `src/lib/api/tool-config-api.ts`: L55: queryEngineClient.put( `/v1/tool-config/${provider}`, null, { headers: { Authorization: `Bearer ${sanitizedApiKey}` }, }, ) | ||
| - `src/lib/api/tool-config-api.ts`: L73: queryEngineClient.delete( `/v1/tool-config/${provider}`, ) | ||
|
|
||
| ## 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], ) | ||
|
Comment on lines
+52
to
+58
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 "== locate app_interfaces.md =="
fd -a 'app_interfaces\.md$' . || true
echo "== relevant file excerpt =="
if [ -f unoplat-code-confluence-frontend/app_interfaces.md ]; then
nl -ba unoplat-code-confluence-frontend/app_interfaces.md | sed -n '45,70p'
fi
echo "== locate hooks.ts =="
if [ -f unoplat-code-confluence-frontend/src/features/repository-agent-snapshots/hooks.ts ]; then
wc -l unoplat-code-confluence-frontend/src/features/repository-agent-snapshots/hooks.ts
nl -ba unoplat-code-confluence-frontend/src/features/repository-agent-snapshots/hooks.ts | sed -n '1,180p'
fi
echo "== search for realtime_sync/bidir terms and write methods =="
rg -n "realtime_sync|Bidirectional|bidirectional|write|upsert|insert|update|merge|LiveInfiniteQuery|LiveQuery|from\\(\\{|collection" unoplat-code-confluence-frontend/src/features/repository-agent-snapshots unoplat-code-confluence-frontend/app_interfaces.md || true
echo "== broader search for write-like operations in the repo =="
rg -n "\.(insert\\(|update\\(|upsert\\(|merge\\(|set\\(|delete\\(|tx\\(|create\\(|patch\\(|push\\()" unoplat-code-confluence-frontend/src/features/repository-agent-snapshots || trueRepository: unoplat/unoplat-code-confluence Length of output: 785 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "== relevant file excerpt =="
python3 - <<'PY'
from pathlib import Path
p = Path("unoplat-code-confluence-frontend/app_interfaces.md")
if p.exists():
lines = p.read_text(encoding="utf-8", errors="replace").splitlines()
for i in range(45, min(len(lines), 70)):
print(f"{i+1:4}: {lines[i]}")
PY
echo "== hooks excerpt =="
python3 - <<'PY'
from pathlib import Path
p = Path("unoplat-code-confluence-frontend/src/features/repository-agent-snapshots/hooks.ts")
if p.exists():
lines = p.read_text(encoding="utf-8", errors="replace").splitlines()
print(len(lines))
for i in range(1, min(len(lines), 190)):
print(f"{i+1:4}: {lines[i]}")
PY
echo "== search matching terms =="
rg -n "realtime_sync|Bidirectional|bidirectional|write|upsert|insert|update|merge|LiveInfiniteQuery|LiveQuery|from\\(\\{|collection" unoplat-code-confluence-frontend/src/features/repository-agent-snapshots unoplat-code-confluence-frontend/app_interfaces.md || true
echo "== write-like method calls =="
rg -n "\.(insert\\(|update\\(|upsert\\(|merge\\(|set\\(|delete\\(|tx\\(|create\\(|patch\\(|push\\()" unoplat-code-confluence-frontend/src/features/repository-agent-snapshots || true
echo "== package tanstack version snippets =="
for f in package.json pnpm-lock.yaml yarn.lock package-lock.json bun.lockb; do
[ -f unoplat-code-confluence-frontend/$f ] && echo "-- $f --" && sed -n '/@tanstack\/react-db\|`@tanstack/react-db`\|tanstack-react-db\|react-query\|`@tanstack/` p' unoplat-code-confluence-frontend/$f | head -80 || true
doneRepository: unoplat/unoplat-code-confluence Length of output: 14662 Classify these live queries using read-only subscriptions, not bidirectional constructs.
🤖 Prompt for AI Agents |
||
|
|
||
| ## Internal Constructs | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -103,23 +103,23 @@ task code-quality # Run all checks (lint + typecheck + schema va | |
| <!-- UNOPLAT_CODE_CONFLUENCE_CONTEXT:BEGIN --> | ||
| <CRITICAL_INSTRUCTION> | ||
|
|
||
| > Generated from branch `dev` at commit `5ecdba39d57f50c5188a8e32b9dd4f52d01611fe` (2026-07-18). Content may become stale as new commits land. | ||
| > Generated from branch `dev` at commit `57d1d23304bfc4e45c00dae712eec11747f33c0d` (2026-07-24). Content may become stale as new commits land. | ||
|
|
||
| </CRITICAL_INSTRUCTION> | ||
|
|
||
| ## Engineering Workflow | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Remove the duplicate The generated block introduces another heading with the same content, triggering the reported markdownlint MD024 warning. Rename the generated heading or consolidate it with the existing workflow section. 🧰 Tools🪛 markdownlint-cli2 (0.23.0)[warning] 110-110: Multiple headings with the same content (MD024, no-duplicate-heading) 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||
| ### Install | ||
| - `uv sync` (Taskfile.yml, `.`) | ||
| - `uv sync` (config: `Taskfile.yml`; working directory: `.`) | ||
| ### Build | ||
| - Not detected | ||
| ### Dev | ||
| - `DB_HOST=localhost DB_PORT=5432 DB_USER=postgres DB_PASSWORD=postgres DB_NAME=code_confluence NEO4J_HOST=localhost NEO4J_PORT=7687 NEO4J_USERNAME=neo4j NEO4J_PASSWORD=password TEMPORAL_SERVER_ADDRESS=localhost:7233 OTEL_EXPORTER_OTLP_ENDPOINT=localhost:4317 OTEL_EXPORTER_OTLP_PROTOCOL=grpc OTEL_SERVICE_NAME=code-confluence-flow-bridge OTEL_PROPAGATORS='tracecontext,baggage' FRAMEWORK_DEFINITIONS_PATH='../../framework-definitions' TEMPORAL_MAX_CONCURRENT_ACTIVITIES=3 REPOSITORIES_BASE_PATH=/opt/unoplat/repositories TOKEN_ENCRYPTION_KEY='0PiVvlu6HExNWkYjukuG0CAV930B4OsqXNPItAvsxhQ=' GITHUB_APP_OWNER_TYPE=organisation GITHUB_APP_OWNER=unoplat uv run fastapi dev` (Taskfile.yml, `src/code_confluence_flow_bridge`) | ||
| - `task dev` (config: `Taskfile.yml`; working directory: `.`) | ||
| ### Test | ||
| - `uv sync --group test && uv run --python 3.13 --group test pytest --cov=src/code_confluence_flow_bridge --cov-report=html:coverage_reports tests/ -v` (Taskfile.yml, `.`) | ||
| - `task test` (config: `Taskfile.yml`; working directory: `.`) | ||
| ### Lint | ||
| - `uv run ruff check src/` (Taskfile.yml, `.`) | ||
| - `task lint` (config: `Taskfile.yml`; working directory: `.`) | ||
| ### Type Check | ||
| - `uv run --group dev pyrefly check src/` (Taskfile.yml, `.`) | ||
| - `task typecheck` (config: `Taskfile.yml`; working directory: `.`) | ||
|
|
||
| ## Dependency Guide | ||
| See [`dependencies_overview.md`](./dependencies_overview.md) for the full dependency catalog and usage notes. | ||
|
|
||
There was a problem hiding this comment.
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
Align the generated GitHub interface direction across both artifacts.
architecture.md#L30-L30: keep the bidirectional edge only if the flow-bridge inventory explicitly documents outbound GitHub communication.unoplat-code-confluence-ingestion/code-confluence-flow-bridge/app_interfaces.md#L126-L128: otherwise replace the “no bidirectional constructs” result or change the architecture edge to the verified one-way webhook direction.📍 Affects 2 files
architecture.md#L30-L30(this comment)unoplat-code-confluence-ingestion/code-confluence-flow-bridge/app_interfaces.md#L126-L128🤖 Prompt for AI Agents