Spaces:
Runtime error
Runtime error
File size: 1,532 Bytes
985f3ee | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | # How to Update ArunCore Knowledge Data
ArunCore uses a modular single-source-of-truth structure for your project data.
---
## π Data Structure Overview
```
data/
βββ static/
β βββ public_profile.md # Your core identity, principles, vision & loop
β βββ rules_of_engagement.md # LLM guidelines & zero-hallucination rules
β
βββ github/ # ONE clean folder per GitHub project
βββ <project_name>/
β βββ README.md # Project overview, tech stack, & direct GitHub URL link
β βββ metadata.json # Structured metadata (URL, stack, stars, topics)
βββ ...
```
---
## π How to Add or Update a Project
### Option A: Automatic GitHub Sync (Recommended)
Run the automated sync script to pull your latest READMEs and GitHub URLs directly from your GitHub profile (`neural-arun`):
```bash
python scripts/sync_github_data.py
```
### Option B: Manual Add
1. Create a new folder under `data/github/<your_repo_name>/`.
2. Place your project `README.md` and `metadata.json` inside it.
3. Make sure `README.md` starts with a link header:
```markdown
> **GitHub Repository:** [https://github.com/neural-arun/your_repo_name](https://github.com/neural-arun/your_repo_name)
```
---
## π Re-Ingest into Vector DB
After adding or modifying files in `data/`:
```bash
python core/ingest.py
```
`ingest.py` incrementally updates ChromaDB so your agent instantly gains access to the new knowledge.
|