AGENTS.md ยท git:20260206.2355103 ยท 2026-02-06 ยท sha256 59cfd7da5dda6552

AGENTS.md git:20260206.2355103A

Immutable. This exact content never changes and is served at /api/v1/blob/59cfd7da5dda6552.

# AGENTS.md: AI Assistant Entry Point

**Welcome, AI Assistant!** ๐Ÿ‘‹

This is your entry point for understanding and working with the Interpretive Orchestration project.

---

## ๐Ÿš€ Quick Start

### If you're continuing this work:

โžก๏ธ **GO TO:** `workshop-notes/guides/ai-continuation/AI-HANDOFF-GUIDE.md`

This handoff guide tells you everything that was accomplished and how to continue.

---

## ๐Ÿ“‚ What's in This Repository

```
repo-root/
โ”‚
โ”œโ”€โ”€ AGENTS.md                          # โ† You are here
โ”œโ”€โ”€ README.md                          # Human-facing project overview
โ”‚
โ”œโ”€โ”€ plugin/                            # Claude Code plugin (ORIGINAL)
โ”‚   โ”œโ”€โ”€ skills/                        # 12 skills for Claude
โ”‚   โ”œโ”€โ”€ agents/                        # 4 agents (markdown)
โ”‚   โ”œโ”€โ”€ commands/                      # Commands system
โ”‚   โ””โ”€โ”€ hooks/                         # JavaScript hooks
โ”‚
โ”œโ”€โ”€ plugin-kimi/                       # Kimi CLI plugin (COMPLETE)
โ”‚   โ”œโ”€โ”€ README.md                      # Kimi plugin user guide
โ”‚   โ”œโ”€โ”€ AGENTS.md                      # Agent reference
โ”‚   โ”œโ”€โ”€ .agents/
โ”‚   โ”‚   โ”œโ”€โ”€ skills/                    # 12 skills for Kimi
โ”‚   โ”‚   โ”œโ”€โ”€ agents/                    # 5 YAML files (4 agents + router)
โ”‚   โ”‚   โ””โ”€โ”€ contexts/                  # 3 stage contexts
โ”‚   โ”œโ”€โ”€ examples/                      # Sample project
โ”‚   โ””โ”€โ”€ tests/                         # Test suites
โ”‚
โ””โ”€โ”€ workshop-notes/                    # PROJECT DOCUMENTATION
    โ”œโ”€โ”€ README.md                      # Documentation index
    โ”œโ”€โ”€ guides/                        # ORGANIZED GUIDES
    โ”‚   โ”œโ”€โ”€ ai-continuation/           # For future AI assistants
    โ”‚   โ”œโ”€โ”€ for-kimi-team/             # For Kimi.ai team
    โ”‚   โ””โ”€โ”€ for-developers/            # For technical development
    โ”œโ”€โ”€ kimi-port/                     # Kimi port project
    โ””โ”€โ”€ archive/                       # Archived older files
```

---

## ๐ŸŽฏ Project Overview

**Interpretive Orchestration** is a methodology for human-AI partnership in qualitative research.

### Core Concept: The 3-Stage Sandwich

```
Stage 1 (Foundation):    Human codes manually (10+ docs)
         โ†“
Stage 2 (Collaboration): Human + AI partnership  
         โ†“
Stage 3 (Synthesis):     Human synthesizes with AI dialogue
```

### The 5 Non-Negotiables

1. **Human interpretive authority** โ€” AI never decides final meanings
2. **Stage 1 requirement** โ€” Manual foundation before AI collaboration
3. **Visible reasoning** โ€” 4-stage process mandatory
4. **Reflexivity embedded** โ€” Regular prompted reflection
5. **Partnership not automation** โ€” Transform thinking, don't replace

### The 4 Agents

| Agent | Stage | Role |
|-------|-------|------|
| @stage1-listener | Stage 1 | Thinking partner, never codes |
| @dialogical-coder | Stage 2 | 4-stage visible reasoning |
| @research-configurator | Stage 2 | Technical orchestration |
| @scholarly-companion | Stage 3 | Theoretical dialogue |

---

## ๐Ÿ“‹ For Different Tasks

### I want to understand what was done

Read these in order:
1. `workshop-notes/guides/ai-continuation/AI-HANDOFF-GUIDE.md`
2. `plugin-kimi/CHANGELOG.md`

### I need to update the Kimi plugin

Read:
1. `plugin-kimi/FUTURE-PARITY-GUIDE.md`
2. `workshop-notes/guides/for-developers/KIMI-CLI-PORT-MAPPING.md` (local docs)

### I want to port to another platform (Codex, etc.)

Study:
1. `workshop-notes/guides/for-developers/KIMI-CLI-PORT-MAPPING.md` (local docs)
2. `plugin-kimi/.agents/skills/qual-shared/scripts/` (reference implementation)
3. Use `plugin-kimi/` as your template

### I need to fix a bug

Check:
1. Does the bug exist in Claude version too? (`plugin/`)
2. Fix in Kimi version (`plugin-kimi/`)
3. Run tests: `cd plugin-kimi && python -m pytest tests/`

### I want to understand the methodology

Read:
1. `workshop-notes/guides/for-kimi-team/KIMI-TEAM-CONTEXT-PACKAGE.md`
2. `plugin-kimi/examples/sample-research-project/README.md`

---

## โœ… Current Status

| Component | Status |
|-----------|--------|
| **Claude Code Plugin** | โœ… Complete, maintained |
| **Kimi CLI Plugin** | โœ… Complete, production-ready |
| **Feature Parity** | โœ… **100% TRUE PARITY** (all skills ported) |
| **Documentation** | โœ… Organized |
| **Tests** | โœ… All passing |
| **Example Project** | โœ… Working |

---

## ๐Ÿ“š Key Documents

### Start Here
- `workshop-notes/guides/ai-continuation/AI-HANDOFF-GUIDE.md` โ€” For continuing
- `plugin-kimi/README.md` โ€” For using the plugin
- `workshop-notes/README.md` โ€” Documentation index

### Reference
- `plugin-kimi/AGENTS.md` โ€” Agent documentation
- `plugin-kimi/CHANGELOG.md` โ€” Version history and build credits
- `plugin-kimi/MVP-SCOPE.md` โ€” Scope and requirements
- `plugin-kimi/FUTURE-PARITY-GUIDE.md` โ€” Maintenance process
- `workshop-notes/guides/for-kimi-team/KIMI-TEAM-CONTEXT-PACKAGE.md` โ€” Methodology (local)

---

## ๐Ÿงช Testing

```bash
# Run all tests (no pytest required - tests run standalone)
cd plugin-kimi/tests
python3 test_integration.py
python3 test_end_to_end.py
python3 test_performance.py

# Run skill-specific tests
python3 .agents/skills/qual-analysis-orchestration/scripts/test_estimate_costs.py
python3 .agents/skills/qual-methodological-rules/scripts/test_saturation_tracker.py
```

---

## ๐ŸŽ“ Learning Path

**New to this project?** Follow this path:

1. **Read:** `workshop-notes/guides/ai-continuation/AI-HANDOFF-GUIDE.md`
2. **Explore:** `plugin-kimi/examples/sample-research-project/`
3. **Study:** `workshop-notes/guides/for-kimi-team/KIMI-TEAM-CONTEXT-PACKAGE.md`
4. **Review:** `plugin-kimi/skills/qual-shared/scripts/`
5. **Understand:** `plugin-kimi/FUTURE-PARITY-GUIDE.md`

---

## โš ๏ธ Critical Rules

When working on this project:

1. **Never break the 5 non-negotiables** (see above)
2. **Always maintain Stage 1 enforcement**
3. **Keep 4-stage reasoning visible**
4. **Preserve agent personalities**
5. **Run tests before committing changes**
6. **Update documentation with code changes**

---

## ๐Ÿ“ž Quick Reference

| What | Where |
|------|-------|
| Claude plugin | `plugin/` |
| Kimi plugin | `plugin-kimi/` |
| Documentation | `workshop-notes/` |
| Guides | `workshop-notes/guides/` |
| Kimi port files | `workshop-notes/kimi-port/` |
| Example project | `plugin-kimi/examples/` |
| Tests | `plugin-kimi/tests/` |
| Archive | `workshop-notes/archive/` |

---

## ๐ŸŽฏ Mission

This project demonstrates **Partnership Agency** โ€” the highest form of human-AI collaboration in qualitative research.

The goal is not automation. The goal is **transformation**: helping researchers think more deeply, rigorously, and reflexively.

---

**Welcome to the project! Start with the handoff guide and you'll be up to speed quickly.**

โžก๏ธ `workshop-notes/guides/ai-continuation/AI-HANDOFF-GUIDE.md`

---

*Last updated: 2026-02-02*

**Status: COMPLETE AND READY FOR CONTINUATION** โœ