Add comprehensive AI agent guidance in .github/copilot-instructions.md#3
Add comprehensive AI agent guidance in .github/copilot-instructions.md#3
Conversation
This workflow automates the building and testing of a Python package using Conda on push events. It sets up Python, installs dependencies, lints the code with flake8, and runs tests with pytest. Signed-off-by: juanaquas <juanaquas@cyberviserai.com>
Co-authored-by: juanaquas <264702634+juanaquas@users.noreply.github.com>
[WIP] Fix issues with the settings configuration
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: juanaquas <juanaquas@cyberviserai.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: juanaquas <juanaquas@cyberviserai.com>
…dance Co-authored-by: juanaquas <264702634+juanaquas@users.noreply.github.com>
|
@copilot git apply --3way <<'EOF'
+### API Design
+- Use HTTP status codes correctly (200, 400, 401, 500)
+def test_endpoint(client):
+### Test Data import os
+try:
── Models ──────────────────────────────────────────────────────────────────MODELS: dict[str, str] = {
diff --git a/hancock_agent.py b/hancock_agent.py try:
── Hancock identity ──────────────────────────────────────────────────────────PENTEST_SYSTEM = """You are Hancock, an elite penetration tester and offensive security specialist built by CyberViser. def make_ollama_client() -> OpenAI:
def make_client(api_key: str) -> OpenAI:
def make_openai_client() -> OpenAI | None:
def chat(client: OpenAI, history: list[dict], model: str, stream: bool = True,
EOF |
All changes from the patch are already applied in the current branch. The branch contains:
No additional changes needed - the patch matches the current state of the repository. |
Description
Enables AI coding agents to work autonomously by documenting architecture, workflows, conventions, and operational guidelines in a structured reference document.
Type of Change
Changes Made
.github/copilot-instructions.md(467 lines, 2,089 words)Testing
Checklist
.envor any API keysOriginal prompt
prompt all necessary agents to keep all repos and projects flowing self sufficcienty
[Chronological Review: The conversation began with a user request to analyze the codebase for the Hancock repository to generate or update the `.github/copilot-instructions.md` file. The user specified the need to focus on the architecture, developer workflows, project-specific conventions, and integration points. The user also provided context about the repository, including its name, owner, current branch, and an active pull request. Following this, the user requested to prompt all necessary agents to ensure all repositories and projects flow self-sufficiently.][Intent Mapping:
.github/copilot-instructions.mdfor guiding AI coding agents." - The user wants to create or update documentation for AI agents to work effectively with the codebase.[Technical Inventory:
[Code Archaeology: No specific files or code changes were discussed in detail, but the user indicated the need to reference existing AI conventions from various markdown files in the repository.]
[Progress Assessment: The user has initiated the process of updating documentation but has not yet completed it. The request to prompt agents indicates a desire for ongoing support.]
[Context Validation: The user’s goals for documentation and project management are clear and focused on enhancing productivity and clarity for AI agents.]
[Recent Commands Analysis:
1. Conversation Overview: - Primary Objectives: 1. "Analyze this codebase to generate or update `.github/copilot-instructions.md` for guiding AI coding agents." 2. "prompt all necessary agents to keep all repos and projects flowing self sufficcienty." - Session Context: The conversation focused on enhancing AI agent productivity through documentation and ensuring project continuity. - User Intent Evolution: The user initially sought to improve documentation for AI agents and later emphasized the need for self-sufficiency across projects.- Technical Foundation:
- Repository: Hancock
- Current Branch: main
- Active Pull Request: "Add GitHub Actions workflow for Conda-based Python package" (Add GitHub Actions workflow for Conda-based Python package cyberviser/Hancock#4)
- Codebase Status:
- No specific files or code changes were discussed in detail, but the user indicated the need to reference existing AI conventions from various markdown files in the repository.
- Problem Resolution:
- Issues Encountered: No specific technical problems were mentioned.
- Solutions Implemented: The user is in the process of generating documentation to guide AI agents.
- Debugging Context: No ongoing troubleshooting efforts were noted.
- Lessons Learned: The importance of clear documentation for AI productivity was highlighted.
- Progress Tracking:
- Completed Tasks: None yet; the user has initiated the documentation update process.
- Partially Complete Work: The request for documentation is in progress.
- Validated Outcomes: No features or code have been confirmed working through testing yet.
- Active Work State:
- Current Focus: The user was focused on analyzing the codebase and generating documentation for AI agents.
- Recent Context: The user requested an analysis of the codebase and to prompt agents for self-sufficiency.
- Working Code: No specific code snippets were discussed recently.
- Immediate Context: The user was preparing to update documentation when the token budget was exceeded.
- Recent Operations:
- Last Agent Commands: The user requested an analysis of the codebase and to prompt agents for self-sufficiency.
- Tool Results Summary: No specific tool results were returned as the conversation focused on user requests.
- Pre-Summary State: The agent was preparing to analyze the codebase and generate documentation.
- Operation Context: The commands were executed to align with the user’s goal of improving AI agent productivity and ensuring project continuity.
- Continuation Plan:
- [Pen...
Created from VS Code.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.