Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
79a3680
Add MimeTypes class for handling MIME types and file extensions
AstroAir Aug 20, 2025
34c9298
Add comprehensive tests for network address classes
AstroAir Aug 23, 2025
2b9f9db
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 23, 2025
ca93cb7
Add modular installer and package validation tool for Atom library
AstroAir Aug 23, 2025
c5a587c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 23, 2025
936f39e
Refactor tests and improve error handling
AstroAir Aug 24, 2025
0da4e10
Add comprehensive examples for Atom Web integration and MIME type det…
AstroAir Aug 25, 2025
4d55201
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 25, 2025
fcd4737
Add template functions for policy based algorithm design, improve the…
AstroAir Aug 26, 2025
c1651d3
Merge branch 'chore/build-fixes-2025-08-21' of https://github.com/Ele…
AstroAir Aug 26, 2025
c978aee
Add comprehensive tests for facade and reflection systems
AstroAir Aug 26, 2025
256433b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 26, 2025
ce61f7f
Add comprehensive unit tests for ProcessManager, Stat, and Storage fu…
AstroAir Aug 27, 2025
d26b9fc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 27, 2025
160b94f
Add unit and integration tests for DownloadManager and web functional…
AstroAir Aug 27, 2025
1df5afe
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 27, 2025
1639506
Refactor error handling and logging in VariableManager and improve CM…
AstroAir Aug 29, 2025
cb277fb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 29, 2025
99a2b93
Refactor command registration and execution in components
AstroAir Aug 29, 2025
aa7ec21
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 29, 2025
c38eb1f
Add unit tests for TimeManager functionality
AstroAir Aug 31, 2025
c174c2e
Add comprehensive tests for atom components and memory management
AstroAir Sep 9, 2025
7d660bf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 9, 2025
c48abe3
docs(warp): enhance WARP.md with improved build documentation and arc…
AstroAir Sep 11, 2025
d1df4d1
Merge remote changes with WARP.md enhancements
AstroAir Sep 12, 2025
922ece3
refactor: major codebase cleanup and build system improvements
AstroAir Sep 14, 2025
b7b61a5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 14, 2025
ce1acc4
Add comprehensive unit and integration tests for error handling system
AstroAir Sep 19, 2025
9023505
Resolve merge conflicts: Remove temporary test files
AstroAir Sep 23, 2025
a445179
Clean up redundant files and build artifacts
AstroAir Sep 23, 2025
3f24d21
Pre-cleanup backup: Save current build system state before CMake audi…
AstroAir Sep 24, 2025
50bcf7a
Add comprehensive unit tests for socket functionality and validation …
AstroAir Oct 3, 2025
5a1b76a
fix: resolve compilation errors in core library and examples
AstroAir Oct 17, 2025
925231f
chore: remove deleted header files and add stub implementations
AstroAir Oct 17, 2025
e296967
refactor: comprehensive code improvements and test updates
AstroAir Oct 17, 2025
0e2afda
chore: update .gitignore to exclude test debug files
AstroAir Oct 17, 2025
5ac3fbc
feat: add xmake build system support and new infrastructure
AstroAir Oct 17, 2025
8e6b2fe
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 26 additions & 0 deletions .augment/rules/build-all.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
type: "manual"
---

Build the complete project from scratch and systematically fix all encountered issues. This should include:

1. **Initial Assessment**: First analyze the current project structure and identify the build system being used (e.g., CMake, XMake etc.)

2. **Dependency Resolution**: Install all required dependencies and resolve any version conflicts or missing packages

3. **Build Process**: Execute the full build process using the appropriate build commands for the project type

4. **Error Identification**: Capture and categorize all build errors, warnings, and failures that occur during the build process

5. **Systematic Fixes**: For each identified issue:
- Analyze the root cause of the problem
- Implement the appropriate fix (code changes, configuration updates, dependency adjustments)
- Verify the fix resolves the specific issue without introducing new problems

6. **Iterative Building**: Re-run the build process after each fix to ensure progress and identify any remaining issues

7. **Final Verification**: Ensure the complete project builds successfully without errors or critical warnings

8. **Testing**: If applicable, run any existing tests to verify the build produces a functional application

Please provide detailed feedback on each issue encountered and the steps taken to resolve it, so I can track progress and understand the solutions implemented.
18 changes: 18 additions & 0 deletions .augment/rules/build-examples-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
type: "manual"
---

Build all examples in the project completely and fix any issues encountered during the build process. Ensure that:

1. All example projects/demos compile successfully without errors
2. All dependencies are properly resolved and installed
3. Any build configuration issues are identified and corrected
4. All functionality works as intended after the build
5. Run tests (if available) to verify the examples work correctly
6. Document any changes made to fix build issues

Please provide a summary of:

- Which examples were built
- What issues were encountered and how they were resolved
- Verification that all functionality is working properly
260 changes: 260 additions & 0 deletions .augment/rules/file-and-code-management.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,260 @@
---
type: "always_apply"
---

# FILE AND CODE MANAGEMENT PROTOCOLS

## STRICT RULES FOR FILE OPERATIONS AND CODE CHANGES

### FILE SIZE AND ORGANIZATION MANDATE

#### Rule 1: Reasonable File Size Management

- You MUST keep files at reasonable sizes for good workspace organization
- Large files SHOULD be split into multiple logical files for ease of use
- You MUST verify file sizes using `wc -c filename` when working with large content
- If a file becomes unwieldy, you MUST suggest splitting it into multiple files

#### Rule 2: File Organization Best Practices

**MANDATORY APPROACH for file management:**

1. Calculate planned content size for new files
2. If creating large content: consider logical file splitting
3. For existing files: check current size with `wc -c filename`
4. If file is becoming too large: propose splitting strategy to user
5. Maintain logical organization and clear file purposes

#### Rule 3: Size Monitoring and Reporting

**MANDATORY SEQUENCE for large file operations:**

1. `wc -c filename` to check current file size
2. Report file size when working with substantial content
3. Suggest file splitting when content becomes unwieldy
4. Maintain good workspace organization principles

### FILE CREATION PROTOCOLS

#### New File Creation Requirements

**MANDATORY SEQUENCE - NO DEVIATIONS:**

1. `view` directory to confirm file doesn't exist
2. `codebase-retrieval` to understand project structure and conventions
3. Calculate character count of planned content
4. Verify count under 49,000 characters
5. Present complete file plan to user with character count
6. Wait for explicit user approval
7. Create file using `save-file` ONLY
8. `view` created file to verify contents
9. `wc -c` to verify size compliance
10. Report creation success with verification details

**SKIPPING ANY STEP = IMMEDIATE TASK TERMINATION**

#### File Creation Reporting Format

```
FILE CREATION REPORT:
FILENAME: [exact filename]
PURPOSE: [why file is needed]
PLANNED SIZE: [character count] characters
SIZE VERIFICATION: Under 49,000 limit ✓
USER APPROVAL: [timestamp of approval]
CREATION METHOD: save-file
POST-CREATION SIZE: [actual character count via wc -c]
COMPLIANCE STATUS: [COMPLIANT/VIOLATION]
```

### FILE MODIFICATION PROTOCOLS

#### Existing File Modification Requirements

**MANDATORY SEQUENCE - NO DEVIATIONS:**

1. `view` file to examine current contents and structure
2. `wc -c filename` to get current size
3. `codebase-retrieval` to understand context and dependencies
4. `diagnostics` to check current error state
5. Calculate size impact of planned changes
6. Verify final size will be under 49,000 characters
7. Present modification plan to user with size analysis
8. Wait for explicit user approval
9. Make changes using `str-replace-editor` ONLY
10. `diagnostics` to verify no new errors
11. `wc -c filename` to verify size compliance
12. Report modification success with verification details

**SKIPPING ANY STEP = IMMEDIATE TASK TERMINATION**

#### File Modification Reporting Format

```
FILE MODIFICATION REPORT:
FILENAME: [exact filename]
ORIGINAL SIZE: [character count via wc -c]
PLANNED CHANGES: [description of modifications]
ESTIMATED NEW SIZE: [calculated character count]
SIZE VERIFICATION: Under 49,000 limit ✓
USER APPROVAL: [timestamp of approval]
MODIFICATION METHOD: str-replace-editor
LINES CHANGED: [specific line numbers]
POST-MODIFICATION SIZE: [actual character count via wc -c]
COMPLIANCE STATUS: [COMPLIANT/VIOLATION]
ERROR CHECK: [diagnostics results]
```

### CODE CHANGE MANAGEMENT

#### Pre-Change Requirements

**MANDATORY VERIFICATION CHAIN:**

1. `codebase-retrieval` - understand current implementation thoroughly
2. `view` - examine ALL files that will be modified
3. `diagnostics` - establish baseline error state
4. Cross-validate understanding between tools
5. Create detailed change plan with user approval
6. Verify all dependencies and imports exist
7. Confirm no breaking changes to existing functionality

#### Change Implementation Rules

- You MUST use `str-replace-editor` for ALL existing file modifications
- You are FORBIDDEN from using `save-file` to overwrite existing files
- You MUST specify exact line numbers for all replacements
- You MUST ensure `old_str` matches EXACTLY (including whitespace)
- You MUST make changes in logical, atomic units

#### Post-Change Requirements

**MANDATORY VERIFICATION CHAIN:**

1. `diagnostics` - verify no new errors introduced
2. `wc -c` - verify all modified files comply with size limits
3. `view` - spot-check critical changes were applied correctly
4. `launch-process` - run appropriate tests if available
5. Report all changes made with tool verification

### TESTING REQUIREMENTS

#### Mandatory Testing Protocol

**You MUST test changes when:**

- Any code functionality is modified
- New files with executable code are created
- Configuration files are changed
- Dependencies are modified

#### Testing Sequence

1. `diagnostics` - check for syntax/compilation errors
2. `launch-process` - run unit tests if they exist
3. `launch-process` - run integration tests if they exist
4. `launch-process` - run the application/script to verify functionality
5. `read-process` - capture and analyze all test outputs
6. Report test results with exact output details

#### Test Failure Protocol

When tests fail:

1. **IMMEDIATELY** stop further changes
2. **REPORT** exact test failure details
3. **ANALYZE** failure using `diagnostics`
4. **PRESENT** failure analysis to user
5. **AWAIT** user instructions on how to proceed
6. **DO NOT** attempt fixes without user approval

### ROLLBACK PROCEDURES

#### When Changes Fail

**MANDATORY ROLLBACK SEQUENCE:**

1. **IMMEDIATELY** stop making further changes
2. **DOCUMENT** exactly what was changed and what failed
3. **USE** `str-replace-editor` to revert changes in reverse order
4. **VERIFY** rollback using `diagnostics` and `view`
5. **REPORT** rollback completion with verification
6. **PRESENT** failure analysis to user
7. **AWAIT** user instructions for alternative approach

#### Rollback Verification

- You MUST verify each rollback step using appropriate tools
- You MUST confirm system returns to pre-change state
- You MUST run tests to verify rollback success
- You MUST report rollback completion with evidence

### DEPENDENCY MANAGEMENT

#### Package Manager Mandate

- You MUST use appropriate package managers for dependency changes
- You are FORBIDDEN from manually editing package files (package.json, requirements.txt, etc.)
- You MUST use: npm/yarn/pnpm for Node.js, pip/poetry for Python, cargo for Rust, etc.
- **MANUAL PACKAGE FILE EDITING = IMMEDIATE TASK TERMINATION**

#### Dependency Change Protocol

1. `view` current package configuration
2. `codebase-retrieval` to understand project dependencies
3. Present dependency change plan to user
4. Wait for explicit approval
5. Use appropriate package manager command
6. Verify changes using `view` of updated package files
7. Test that project still works after dependency changes

### DOCUMENTATION REQUIREMENTS

#### You MUST Document

- Every file created with purpose and structure
- Every modification made with rationale
- Every test performed with results
- Every failure encountered with analysis
- Every rollback performed with verification

#### Documentation Format

```
CHANGE DOCUMENTATION:
TIMESTAMP: [when change was made]
FILES AFFECTED: [list of all files]
CHANGE TYPE: [creation/modification/deletion]
PURPOSE: [why change was needed]
IMPLEMENTATION: [how change was made]
VERIFICATION: [tools used to verify]
TEST RESULTS: [outcomes of testing]
SIZE COMPLIANCE: [character counts verified]
STATUS: [SUCCESS/FAILURE/ROLLED_BACK]
```

### QUALITY GATES

#### Gate 1: Pre-Change Verification

- [ ] All information gathered and verified
- [ ] User approval obtained
- [ ] Size limits confirmed
- [ ] Dependencies verified
- [ ] Test plan established

#### Gate 2: Implementation Verification

- [ ] Changes made using correct tools
- [ ] Size limits maintained
- [ ] No syntax errors introduced
- [ ] All modifications documented

#### Gate 3: Post-Change Verification

- [ ] Tests pass or failures documented
- [ ] Size compliance verified
- [ ] No new errors introduced
- [ ] Rollback plan available if needed

**FAILING ANY GATE = IMMEDIATE TASK TERMINATION**
Loading
Loading