Skip to content

Commit fd56c56

Browse files
authored
Merge pull request #6 from udx/development
feat: high-fidelity workflow mesh and Context7 synchronization
2 parents 6971e35 + 335ee67 commit fd56c56

File tree

161 files changed

+3381
-3947
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+3381
-3947
lines changed

.github/workflows/context7-ops.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Context7 Sync
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
jobs:
9+
sync:
10+
uses: udx/reusable-workflows/.github/workflows/context7-ops.yml@feature/context7-sync
11+
secrets:
12+
context7_api_key: ${{ secrets.CONTEXT7_API_KEY }}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# Workspace
1+
# dev.kit State & Hub
22
.udx/
33
.dev.kit/
44
.codex/
55
.tmp/
6+
.drift.tmp
7+
.processed.tmp
68
tasks/
79

810
# OS

README.md

Lines changed: 42 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,70 @@
1-
<img src="assets/logo.svg" alt="dev.kit logo" width="200">
1+
# dev.kit: The Thin Empowerment Layer
22

3-
# dev.kit — Resolve the Development Drift
3+
**Experienced engineering flow with high-fidelity, deterministic results.**
44

5-
**Experienced engineering flow with no-bullshit results.**
5+
`dev.kit` resolves the **Drift** (intent divergence) by **Normalizing** it into a deterministic path and **Iterating** to resolution. It acts as a **Thin Empowerment Layer** that bridges human intent with repository truth via **Context-Driven Engineering (CDE)**.
66

7-
`dev.kit` resolves the **Drift** (intent divergence) by **Normalizing** it into a deterministic path and **Iterating** to the result. It acts as a **Thin Empowerment Layer** (Grounding) that bridges chaotic intent with repository-based skills.
7+
### 1. Grounding (The Bridge)
8+
Intent is mapped to repo-specific logic and normalized into a deterministic execution plan.
9+
![Grounding Bridge](assets/diagrams/grounding-bridge.svg)
810

9-
## How it Works: The Grounding Bridge
11+
### 2. Normalization (The Gate)
12+
Capabilities are resolved at runtime through a **Dynamic Discovery Engine** that scans script headers and skills.
13+
![Normalization Gate](assets/diagrams/normalization-boundary.svg)
1014

11-
`dev.kit` empowers AI agents (Gemini, Antigravity) with repository-centric grounding:
15+
### 3. Execution (The Engine)
16+
AI iterates through instruction steps with deterministic validation and real-time status updates.
17+
![Execution Engine](assets/diagrams/execution-engine.svg)
1218

13-
1. **Grounding & Normalization**: Intent is mapped to repo-specific logic and normalized into a deterministic execution plan.
14-
2. **Skill Discovery**: `dev.kit` exposes "Experienced Skills" directly to your AI agent's toolbelt (native skill discovery).
15-
3. **Waterfall Progression**: AI iterates through instruction steps with deterministic validation and real-time feedback.
19+
## Standard Engineering Flow
1620

17-
![Intent-to-Action Flow](assets/diagrams/intent-to-action.svg)
21+
`dev.kit` provides a **Thin Empowerment Layer** that bridges chaotic intent with deterministic repository functions.
1822

19-
## Core Interface
23+
| Phase | Description | Implementation |
24+
| :--- | :--- | :--- |
25+
| **1. Grounding** | **UDX Worker** provides the isolated, pre-hydrated base environment. | [`udx/worker`](docs/reference/operations/worker-ecosystem-refs.md) |
26+
| **2. Discovery** | **Skill Mesh** resolves internal commands and `@udx` NPM packages. | [`@udx/mcurl`](docs/ai/mesh/npm.md) |
27+
| **3. Normalize** | AI Reasoning Skills transform intent into a bounded `workflow.md`. | [`SKILL.md`](docs/skills/README.md) |
28+
| **4. Execute** | Deterministic Primitives execute the logic within the CLI boundary. | `lib/commands/` |
2029

21-
`dev.kit` focuses on repository health and agent empowerment, leaving high-level reasoning to your preferred agent.
30+
---
2231

23-
- **`dev.kit status`**: (Default) Engineering brief and system diagnostic.
24-
- **`dev.kit ai`**: Unified agent integration management (Sync, Skills, Status).
25-
- **`dev.kit task`**: Manage the lifecycle of active workflows and sessions.
26-
- **`dev.kit config`**: Environment and repository orchestration settings.
32+
## Core Interface
2733

28-
## Managed AI Skills
34+
- **`dev.kit status`**: (Default) High-fidelity engineering brief and system health.
35+
- **`dev.kit doctor`**: Verify environment health, software detection, and compliance.
36+
- **`dev.kit ai`**: Unified agent integration management and grounding.
37+
- **`dev.kit sync`**: Logical, atomic repository synchronization and drift resolution.
38+
- **`dev.kit task`**: Manage the lifecycle of active workflows and engineering sessions.
2939

30-
`dev.kit` provides a suite of deterministic engineering skills that are grounded in your repository's truth:
40+
> **Execution**: Run any repository-bound skill with `dev.kit skills run <name>`.
3141
32-
- **`visualizer`**: Generate and export high-fidelity Mermaid diagrams (SVG).
33-
- **`git-sync`**: Resolve repository drift with logical, atomic commits.
34-
- **`core`**: Maintain environment health and synchronize agent context.
42+
---
3543

36-
> **Execution**: Run any skill with `dev.kit skills run <name>`.
44+
## Documentation
3745

38-
## AI Integration
46+
The `dev.kit` knowledge base is structured to reflect **CDE Principles**.
3947

40-
`dev.kit` integrates natively with your AI agent to enforce standardization and repository truth.
48+
- **[Foundations](docs/README.md#%EF%B8%8F-foundations)**: Core philosophy (CDE), dev.kit primitives, and methodology.
49+
- **[Runtime](docs/README.md#%EF%B8%8F-runtime)**: CLI overview, lifecycle, and execution loops.
50+
- **[AI Integration](docs/README.md#-ai-integration)**: Grounded orchestration and agent mission.
51+
- **[Best Practices](docs/foundations/best-practices.md)**: High-fidelity engineering rules and command mappings.
4152

42-
```bash
43-
# Sync skills and engineering context to your agent (Gemini/Codex)
44-
dev.kit ai sync
45-
```
46-
47-
> **Grounding Layer**: `dev.kit` does not replace your agent; it hydrates it with the repository's source of truth.
53+
---
4854

4955
## Install
5056

5157
```bash
5258
curl -fsSL https://udx.dev/dev.kit/install.sh | bash
5359
```
5460

55-
## Documentation
61+
## 📚 Authoritative References
62+
63+
The `dev.kit` mission is grounded in foundational research on high-fidelity automation and AI orchestration:
5664

57-
- **Managed AI Skills**: `docs/ai/skills.md`
58-
- **Scenarios & Workflows**: `docs/scenarios/README.md`
59-
- **CLI Overview**: `docs/cli/overview.md`
60-
- **AI Orchestration**: `docs/ai/README.md`
65+
- **[The Power of Automation](https://andypotanin.com/the-power-of-automation-how-it-has-transformed-the-software-development-process/)**: Systematic transformation of the engineering flow.
66+
- **[Observation-Driven Management](https://andypotanin.com/observation-driven-management-revolutionizing-task-assignment-efficiency-workplace/)**: Revolutionary task normalization through pattern recognition.
67+
- **[Autonomous Technical Operations](https://andypotanin.com/claude-operator-prompt/)**: Principles for high-fidelity agent grounding and execution.
6168

6269
---
6370
_UDX DevSecOps Team_

assets/dev-kit-diagram-generator-ux.mmd

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
flowchart LR
2-
Source[Canonical Source] --> Project[Adaptation / Projection]
3-
Project --> ToolA[Tool A Format]
4-
Project --> ToolB[Tool B Format]
5-
Project --> Fallback[Fail-Open Fallback]
2+
Source[(Repo Source)] --> Discovery{Discovery}
3+
Discovery --> Mapping[Fidelity Mapping]
4+
Mapping --> Projection([Tool Projection])
5+
Projection -- Fail-Open --> Source
6+
7+
style Source fill:#bbf,stroke:#333,stroke-width:2px
8+
style Discovery fill:#dfd,stroke:#333,stroke-width:2px
9+
style Mapping fill:#dfd,stroke:#333,stroke-width:2px
10+
style Projection fill:#f9f,stroke:#333,stroke-width:2px

assets/diagrams/adaptation-flow.svg

Lines changed: 1 addition & 1 deletion
Loading

assets/diagrams/ai-experience-flow.mmd

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)