|
1 | | -# dev.kit: The Thin Empowerment Layer |
| 1 | +# dev.kit |
2 | 2 |
|
3 | | -**Experienced engineering flow with high-fidelity, deterministic results.** |
| 3 | + |
4 | 4 |
|
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)**. |
| 5 | +`dev.kit` is a 12-factor repo adapter. |
6 | 6 |
|
7 | | -### 1. Grounding (The Bridge) |
8 | | -Intent is mapped to repo-specific logic and normalized into a deterministic execution plan. |
9 | | - |
| 7 | +It scans a repository for the workflow contracts that reduce drift across engineering teams: documentation, dependency contracts, config boundaries, verification entrypoints, runtime entrypoints, and build/release/run separation. |
10 | 8 |
|
11 | | -### 2. Normalization (The Gate) |
12 | | -Capabilities are resolved at runtime through a **Dynamic Discovery Engine** that scans script headers and skills. |
13 | | - |
| 9 | +The goal is to make repos easier to work on the same way every time. As a repo gets closer to a 12-factor operating model, humans and agents need less tribal knowledge to build, test, run, deploy, and improve it. |
14 | 10 |
|
15 | | -### 3. Execution (The Engine) |
16 | | -AI iterates through instruction steps with deterministic validation and real-time status updates. |
17 | | - |
| 11 | +## Commands |
18 | 12 |
|
19 | | -## Standard Engineering Flow |
| 13 | +`dev.kit` |
20 | 14 |
|
21 | | -`dev.kit` provides a **Thin Empowerment Layer** that bridges chaotic intent with deterministic repository functions. |
| 15 | +- Audits the current repo as a 12-factor engineering contract. |
| 16 | +- Returns a short improvement plan by default. |
| 17 | +- `--json` returns the same model in machine-readable form. |
22 | 18 |
|
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/` | |
| 19 | +`dev.kit bridge` |
29 | 20 |
|
30 | | ---- |
| 21 | +- Exposes the repo model for agents and automation. |
| 22 | +- Returns detected archetypes, factor statuses, entrypoints, and guidance so agents can work from grounded repo reality instead of guessing. |
31 | 23 |
|
32 | | -## Core Interface |
| 24 | + |
33 | 25 |
|
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. |
| 26 | + |
39 | 27 |
|
40 | | -> **Execution**: Run any repository-bound skill with `dev.kit skills run <name>`. |
| 28 | +## Why It Matters |
41 | 29 |
|
42 | | ---- |
| 30 | +Run `dev.kit` when a repo is new, drifting, hard to onboard into, or inconsistent across environments. |
43 | 31 |
|
44 | | -## Documentation |
| 32 | +The value is operational clarity: |
45 | 33 |
|
46 | | -The `dev.kit` knowledge base is structured to reflect **CDE Principles**. |
| 34 | +- develop without tribal knowledge |
| 35 | +- verify changes predictably |
| 36 | +- automate build and runtime workflows |
| 37 | +- let teammates and agents operate with less ambiguity |
| 38 | +- standardize how work moves from local changes to CI and deployment |
47 | 39 |
|
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. |
| 40 | +## Install |
52 | 41 |
|
53 | | ---- |
| 42 | +```bash |
| 43 | +bash bin/scripts/install.sh |
| 44 | +source "$HOME/.udx/dev.kit/bin/env/dev-kit.sh" |
| 45 | +dev.kit |
| 46 | +``` |
54 | 47 |
|
55 | | -## Install |
| 48 | +## Examples |
56 | 49 |
|
57 | 50 | ```bash |
58 | | -curl -fsSL https://udx.dev/dev.kit/install.sh | bash |
| 51 | +dev.kit |
| 52 | +dev.kit --json |
| 53 | +dev.kit bridge --json |
59 | 54 | ``` |
60 | 55 |
|
61 | | -## 📚 Authoritative References |
| 56 | +## Uninstall |
62 | 57 |
|
63 | | -The `dev.kit` mission is grounded in foundational research on high-fidelity automation and AI orchestration: |
| 58 | +```bash |
| 59 | +"$HOME/.udx/dev.kit/bin/scripts/uninstall.sh" |
| 60 | +``` |
64 | 61 |
|
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. |
| 62 | +Further docs: |
68 | 63 |
|
69 | | ---- |
70 | | -_UDX DevSecOps Team_ |
| 64 | +- [Workflow](/Users/jonyfq/git/udx/dev.kit/docs/workflow.md) |
| 65 | +- [Engineering Guide](/Users/jonyfq/git/udx/dev.kit/docs/engineering-guide.md) |
| 66 | +- [Pull Requests](/Users/jonyfq/git/udx/dev.kit/docs/pull-requests.md) |
| 67 | +- [Development](/Users/jonyfq/git/udx/dev.kit/docs/development.md) |
0 commit comments