Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 20 additions & 8 deletions .agent/CONTEXT.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# PYTHON

- **Package Manager**: project use **`uv`** for package management. Commands like `uv pip`, `uv run`, and `uv add` are required.
- **Virtual Environment**: Work must always be performed within a `.venv` virtual environment.
- **CRITICAL**: You MUST NEVER run `uv`, `python`, or `pip` commands WITHOUT first enabling the virtual environment.
- **ALWAYS** run `source .venv/bin/activate` before any python-related command.
- **Concurrency**: Prefer non-blocking code using **`asyncio`** over blocking synchronous code.
- **Web Server**: Use **`aiohttp`** as the default web server/client library.
# 🧠 AI-Optimized Project Context: Antigravity Workspace

## 1. Executive Summary & Core Mission

**Core Philosophy: "Cognitive-First" & "Artifact-First"**
The agent must not just execute tasks but *think* like a senior engineer. This is achieved through a mandatory "Think-Act-Reflect" loop.

1. **Think (Plan):** Before any complex coding, the agent MUST generate a plan in `artifacts/plan_[task_id].md`. This enforces structured thinking.
2. **Act (Execute):** Write clean, modular, and well-documented code following the project's strict standards.
3. **Reflect (Verify):** The agent is responsible for verifying its work, primarily by running `pytest` after making changes. All evidence (logs, test results) is stored in `artifacts/logs/`.

---

## 2. Environment, DevOps, and Project Structure

* `.agent/`: Core AI rules and persona. **(Crucial for agent behavior)**.
* `rules.md`: The Agent's Constitution and Directive.
* `rules/python-development.md`: Specific standards for Python development (uv, venv, libraries).
* `artifacts/`: All agent-generated outputs (plans, logs, screenshots).
* `tests/`: The `pytest` test suite.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include navconfig/py.typed
recursive-include navconfig *.yaml
recursive-include navconfig *.yml
recursive-include navconfig *.toml
recursive-include navconfig *.sample

# Include documentation
include README.md
Expand Down
Loading