RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/unoplat/unoplat-code-confluence

AGENTS.md

unoplat-code-confluence-query-engine/AGENTS.md
AGENTS.md

Quality

98/100

Scores the file, not the repository.

Length

660 words

23 headings · 0 code blocks

Repository

95

— · pushed 3 days ago

Last changed

2 days ago

First indexed 2 days ago.
unoplat/unoplat-code-confluence/unoplat-code-confluence-query-engine/AGENTS.mdRawGitHub
1# Agent Guidelines
2 
3## Engineering Workflow
4- **Install**: `task sync` (from `Taskfile.yml`)
5- **Dev**: `task run-query-engine-backend-dev` (from `Taskfile.yml`)
6- **Test**: `task test` (from `Taskfile.yml`)
7- **Lint**: `task lint` (from `Taskfile.yml`)
8- **Type check**: `task typecheck` (from `Taskfile.yml`)
9 
10## Dependency Guide
11- **Overview**: Full dependency descriptions are maintained in `dependencies_overview.md`.
12- **Usage**: Keep this section concise and treat `dependencies_overview.md` as the source-of-truth dependency catalog.
13 
14## Business Logic Domain
15- **Overview**: AI-driven codebase analysis service that orchestrates repository workflows to generate structured documentation outputs and track execution across codebases.
16- **Core data focus**: Provider configuration (including OAuth flows), model parameters/catalogs, tool/MCP server setup, repository rulesets/metadata, and agent runtime dependencies.
17- **Workflow telemetry**: Agent events, workflow envelopes, and usage/cost statistics capture lifecycle and execution monitoring.
18- **Structured outputs**: Typed schemas for agent markdown responses, AGENTS.md updates, engineering workflows, and business logic summaries.
19- **Primary references**: See `business_logic_references.md` for the source-of-truth module map.
20 
21## App Interfaces
22- **Protocol**: FastAPI HTTP endpoints under `src/unoplat_code_confluence_query_engine/api/v1/endpoints`.
23- **Surface area**: Model configuration + provider/OAuth flows, feature flag CRUD, repository agent rules/snapshots/markdown PR endpoints, and tool configuration management.
24- **Reference map**: See `app_interfaces.md` for endpoint-to-module details.
25 
26## Architecture
27See [`architecture.md`](./architecture.md) for the current validated Mermaid architecture diagram when external interfaces are detected.
28 
29## Commands
30- **Test all**: `task test` (starts deps, runs tests with coverage, stops deps)
31- **Test single**: `uv run --group test pytest tests/path/to/test_file.py::test_function_name -v`
32- **Lint**: `task lint` (check) or `task lint-fix` (auto-fix)
33- **Format**: `task format` (ruff formatter)
34- **Type check**: `task typecheck` (pyrefly strict preset)
35- **Dev server**: `task run-query-engine-backend-dev` (port 8001)
36 
37## Code Style
38- **Imports**: Absolute only (no relative), use ruff for ordering (`task lint-fix`)
39- **Types**: Always precise types - never use `Any`, use `typing` module generics
40- **Functions**: No nested functions - keep flat structure at module level
41- **Pydantic**: Use `model_dump_json()` for JSON serialization (not `json.dumps`)
42- **Docstrings**: Google format, omit `ctx` param (dependency injection magic)
43- **Sessions**: Always `session.begin()` but yield `AsyncSession` for auto-transactions
44- **Error handling**: Use structured exceptions, add proper context/trace IDs
45- **Tool verification**: Use context7 tool to verify API methods before implementation
46- **Python commands**: Always use `uv run --group <group>` (e.g., `--group test` for tests)
47 
48 
49## Caveats
501. When a shell command fails with "failed in sandbox", use the permission request tool (with 'with_escalated_permissions") to ask the user for approval before
51retrying.
522. always when want to run python script open shell with 'uv run python'.
53 
54## Backlog Workflow
55 
56This project uses Backlog.md MCP for all task and project management. Before creating tasks or tracking work, read [`backlog_instructions.md`](./backlog_instructions.md) for the complete workflow guidance.
57 
58<!-- UNOPLAT_CODE_CONFLUENCE_CONTEXT:BEGIN -->
59<CRITICAL_INSTRUCTION>
60 
61> Generated from branch `dev` at commit `5ecdba39d57f50c5188a8e32b9dd4f52d01611fe` (2026-07-18). Content may become stale as new commits land.
62 
63</CRITICAL_INSTRUCTION>
64 
65## Engineering Workflow
66### Install
67- `task sync` (repo root; `Taskfile.yml` -> `uv sync`)
68### Build
69- Not detected
70### Dev
71- `task run-query-engine-backend-dev` (repo root; `Taskfile.yml` -> `uv run fastapi dev --port 8001` in `src/unoplat_code_confluence_query_engine`)
72### Test
73- `task test` (repo root; `Taskfile.yml` -> starts dependencies, runs `uv sync --group test`, then `uv run --python 3.13 --group test pytest --cov=src/unoplat_code_confluence_query_engine --cov-report=html:coverage_reports tests/ -v`)
74### Lint
75- `task lint` (repo root; `Taskfile.yml` -> `uv run --group dev ruff check src/`)
76### Type Check
77- `task typecheck` (repo root; `Taskfile.yml` -> `uv run --group dev pyrefly check src/`)
78 
79## Dependency Guide
80See [`dependencies_overview.md`](./dependencies_overview.md) for the full dependency catalog and usage notes.
81 
82## Business Domain
83### Description
84 
85This service is an AI-assisted codebase analysis and repository automation engine. It manages model/provider and tool credentials, launches Temporal workflows that inspect repositories, generate engineering and dependency guidance, validate framework usage, and produce/update AGENTS.md artifacts and pull requests. It also supports Codex OAuth, feedback submission, and feature flags for operating the agent runtime.
86 
87### References
88 
89See [`business_domain_references.md`](./business_domain_references.md) for the supporting source references used to derive this domain summary.
90 
91## App Interfaces
92See [`app_interfaces.md`](./app_interfaces.md) for the canonical interface and endpoint reference.
93 
94## Architecture
95See [`architecture.md`](./architecture.md) for the canonical system architecture diagram.
96 
97<!-- UNOPLAT_CODE_CONFLUENCE_CONTEXT:END -->
98 

Commands it names

  • task sync
  • task run-query-engine-backend-dev
  • task test
  • task lint
  • task typecheck
  • uv run --group test pytest tests/path/to/test_file.py::test_function_name -v
  • task lint-fix
  • task format
  • uv run --group <group>
  • uv sync
  • uv run fastapi dev --port 8001
  • uv sync --group test
  • uv run --group dev ruff check src/
  • uv run --group dev pyrefly check src/

Sections

  • Agent Guidelines
  • Engineering Workflow
  • Dependency Guide
  • Business Logic Domain
  • App Interfaces
  • Architecture
  • Commands
  • Code Style
  • Caveats
  • Backlog Workflow
  • Engineering Workflow
  • Install
  • Build
  • Dev
  • Test
  • Lint
  • Type Check
  • Dependency Guide
  • Business Domain
  • Description
  • References
  • App Interfaces
  • Architecture

What it covers

setupbuildtestlint-formatcode-styletypesgit-prdo-notagent-behaviour

Stack — with the evidence

typescript

(1.00)

python

(1.00)

ruff

(1.00)

pytest

(0.95)

node

(0.70)

react

(0.70)

fastapi

(0.70)

postgres

(0.70)

tailwind

(0.70)

vite

(0.70)

playwright

(0.70)

eslint

(0.70)

docker

(0.60)

github-actions

(0.60)

javascript

(0.50)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
unoplat
Language
—
License
—
Archived
no

All configs in this repo

Also in unoplat/unoplat-code-confluence

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
unoplat/unoplat-code-confluenceunoplat-code-confluence-openmetadata/AGENTS.md · 95AGENTS.mdtypescriptpython+12setupbuildtestlint-format+279/1002 days ago
unoplat/unoplat-code-confluenceAGENTS.md · 95AGENTS.mdtypescriptpython+12testlint-formatmonorepoagent-behaviour48/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-cli/AGENTS.md · 95AGENTS.mdtypescriptpython+12setupbuildtestlint-format+384/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-commons/.cursor/rules/use-think-tool.mdc · 95Cursor rulestypescriptpython+12no sections30/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-commons/AGENTS.md · 95AGENTS.mdtypescriptpython+12setupbuildtestlint-format+288/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-docs/AGENTS.md · 95AGENTS.mdtypescriptpython+14setupbuildtestlint-format+375/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-docs/CLAUDE.md · 95CLAUDE.mdtypescriptpython+14testgitagent-behaviour43/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-frontend/.cursor/rules/react-vite-tanstack.mdc · 95Cursor rulestypescriptpython+12styleagent-behaviour38/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-frontend/.cursor/rules/shadcn-tanstack-knowledge.mdc · 95Cursor rulestypescriptpython+12teststyleuiperformance48/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-frontend/AGENTS.md · 95AGENTS.mdtypescriptpython+14setupbuildtestlint-format+6100/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-frontend/CLAUDE.md · 95CLAUDE.mdtypescriptpython+14setupstylearchui+162/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-ingestion/code-confluence-flow-bridge/.cursor/rules/code-structure.mdc · 95Cursor rulestypescriptpython+12no sections16/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-ingestion/code-confluence-flow-bridge/.cursor/rules/fastapi-pydantic.mdc · 95Cursor rulestypescriptpython+12styletypes38/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-ingestion/code-confluence-flow-bridge/AGENTS.md · 95AGENTS.mdtypescriptpython+13setupbuildtestlint-format+377/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-ingestion/code-confluence-flow-bridge/CLAUDE.md · 95CLAUDE.mdtypescriptpython+13testlint-formatstylearch+696/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-query-engine/CLAUDE.md · 95CLAUDE.mdtypescriptpython+13agent-behaviour25/1002 days ago
Diff against unoplat-code-confluence-openmetadata/AGENTS.md Diff against AGENTS.md Diff against unoplat-code-confluence-cli/AGENTS.md Diff against unoplat-code-confluence-commons/.cursor/rules/use-think-tool.mdc Diff against unoplat-code-confluence-commons/AGENTS.md Diff against unoplat-code-confluence-docs/AGENTS.md Diff against unoplat-code-confluence-docs/CLAUDE.md Diff against unoplat-code-confluence-frontend/.cursor/rules/react-vite-tanstack.mdc Diff against unoplat-code-confluence-frontend/.cursor/rules/shadcn-tanstack-knowledge.mdc Diff against unoplat-code-confluence-frontend/AGENTS.md Diff against unoplat-code-confluence-frontend/CLAUDE.md Diff against unoplat-code-confluence-ingestion/code-confluence-flow-bridge/.cursor/rules/code-structure.mdc Diff against unoplat-code-confluence-ingestion/code-confluence-flow-bridge/.cursor/rules/fastapi-pydantic.mdc Diff against unoplat-code-confluence-ingestion/code-confluence-flow-bridge/AGENTS.md Diff against unoplat-code-confluence-ingestion/code-confluence-flow-bridge/CLAUDE.md Diff against unoplat-code-confluence-query-engine/CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
SkeneTechnologies/skene-cookbookAGENTS.md · 51AGENTS.mdpythoneslint+4setupbuildtestlint-format+7100/1002 days ago
OnlyTerp/prompt-cache-skillsAGENTS.md · 111AGENTS.mdpythongithub-actionssetupbuildtestlint-format+5100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 days ago
aaif-goose/gooseAGENTS.md · 52kAGENTS.mdrusttypescript+2setupbuildtestlint-format+6100/1003 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack