nobrainer-tech-flow 2.4.1 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +14 -8
- package/docs/INSTALL.md +36 -22
- package/docs/MIGRATION_TO_FLOW.md +14 -0
- package/docs/SKILL_CURATION.md +8 -2
- package/docs/releases/v2.5.0.md +190 -0
- package/docs/releases/v2.6.0.md +73 -0
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/scripts/install.py +16 -7
- package/scripts/install.sh +129 -17
- package/scripts/install_personalization.py +51 -16
- package/scripts/install_skills.py +34 -5
- package/scripts/recommend_flow_setup.py +102 -12
- package/scripts/validate_skills.py +2 -1
- package/skills/nobrainer-build/SKILL.md +6 -2
- package/skills/nobrainer-context/SKILL.md +113 -0
- package/skills/nobrainer-context/references/clients.md +115 -0
- package/skills/nobrainer-context/references/consolidate.md +66 -0
- package/skills/nobrainer-context/scripts/context_inventory.py +425 -0
- package/skills/nobrainer-skill-doctor/SKILL.md +4 -4
- package/skills/nobrainer-tech-flow/SKILL.md +3 -3
- package/skills/nobrainer-tech-flow/VERSION +1 -1
- package/skills/nobrainer-tech-flow/references/daily-update.md +5 -2
- package/skills/nobrainer-tech-flow/references/delivery.md +17 -2
- package/skills/nobrainer-tech-flow/references/optional-decisions.md +5 -3
- package/skills/nobrainer-tech-flow/references/routing.md +1 -1
- package/skills/nobrainer-tech-flow/scripts/typed_decisions.py +20 -9
- package/skills/nobrainer-codex-context/SKILL.md +0 -111
- /package/skills/{nobrainer-codex-context → nobrainer-context}/scripts/codex_context.py +0 -0
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: nobrainer-codex-context
|
|
3
|
-
description: "Use when setting up, auditing or repairing one project's Codex context; use nb-codex-context to inspect AGENTS files, configured fallbacks and byte limits, then make one evidence-backed project-local context change without changing global Codex configuration by default."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# NoBrainer Codex Context
|
|
7
|
-
|
|
8
|
-
Prepare the smallest useful project context for Codex. This skill owns the
|
|
9
|
-
project-instruction boundary that Codex reads before a turn; it does not own
|
|
10
|
-
model selection, subagent topology, session transfer, or the whole delivery
|
|
11
|
-
workflow.
|
|
12
|
-
|
|
13
|
-
## Select a mode
|
|
14
|
-
|
|
15
|
-
- `inspect` - read the current project root, instruction candidates, configured
|
|
16
|
-
fallbacks, byte cap and effective document set. Do not write.
|
|
17
|
-
- `setup` - inspect first, reconcile the existing instruction files, and add or
|
|
18
|
-
update one marked project-local context block only when it improves the
|
|
19
|
-
actual repository. Run the inspection again after the edit.
|
|
20
|
-
- `repair` - fix a known context defect such as duplicate managed markers,
|
|
21
|
-
stale generated content or a truncation-risk block. Do not rewrite unrelated
|
|
22
|
-
instructions.
|
|
23
|
-
|
|
24
|
-
Use `inspect` for a question. Use `setup` only when the owner asks to prepare
|
|
25
|
-
the project or the project has a demonstrated context gap. A clean result is
|
|
26
|
-
`CURRENT`; absence, truncation or an unknown runtime is evidence to report, not
|
|
27
|
-
permission to invent a fix.
|
|
28
|
-
|
|
29
|
-
## Codex context contract
|
|
30
|
-
|
|
31
|
-
Codex's effective project instructions are assembled from the nearest project
|
|
32
|
-
root through the current directory. The normal candidates are
|
|
33
|
-
`AGENTS.override.md` and `AGENTS.md`; configured fallback names are considered
|
|
34
|
-
after them. The configured project-document byte budget applies to the loaded
|
|
35
|
-
instruction set and defaults to the host's documented value when no override is
|
|
36
|
-
read.
|
|
37
|
-
|
|
38
|
-
Run the bundled read-only probe with Python 3.11+ before deciding what to change.
|
|
39
|
-
Run it from the project, replacing `<context-skill-dir>` with this skill's
|
|
40
|
-
directory wherever it is installed; the probe inspects the current directory,
|
|
41
|
-
or the one given with `--cwd`:
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
python3 <context-skill-dir>/scripts/codex_context.py --check --json
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
The probe is an inventory and truncation check; its exit status does not prove
|
|
48
|
-
that a live Codex client followed the instructions.
|
|
49
|
-
|
|
50
|
-
When a project needs a durable NoBrainer context block, preserve all existing
|
|
51
|
-
bytes and use exactly these markers in the applicable `AGENTS.md`:
|
|
52
|
-
|
|
53
|
-
```markdown
|
|
54
|
-
<!-- NOBRAINER-CODEX-CONTEXT:START -->
|
|
55
|
-
## Project context
|
|
56
|
-
|
|
57
|
-
- Source of truth: `<verified project files>`.
|
|
58
|
-
- First checks: `<verified commands or tests>`.
|
|
59
|
-
- Keep this block compact; link to deeper project docs instead of copying them.
|
|
60
|
-
<!-- NOBRAINER-CODEX-CONTEXT:END -->
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Replace the placeholders only with facts read from the current project. Do not
|
|
64
|
-
put credentials, private machine paths, mutable runtime state, guessed commands
|
|
65
|
-
or model names in the block. If an existing managed block is present, update it
|
|
66
|
-
in place; do not create a second one. If an `AGENTS.md` is absent, create it
|
|
67
|
-
only when setup is explicitly requested and the project has enough inspected
|
|
68
|
-
source facts to make the block useful.
|
|
69
|
-
|
|
70
|
-
Do not create a `CODEX_CONTEXT.md` file and call it automatically loaded. Codex
|
|
71
|
-
will only use an alternate filename when the host's `project_doc_fallback_filenames`
|
|
72
|
-
configuration actually includes it; changing that global configuration is an
|
|
73
|
-
owner-gated action outside this skill's default setup.
|
|
74
|
-
|
|
75
|
-
## Safe setup boundaries
|
|
76
|
-
|
|
77
|
-
- Keep `AGENTS.override.md` precedence and client-managed blocks intact.
|
|
78
|
-
- Never replace a whole `AGENTS.md` because it is long, old or from another
|
|
79
|
-
client. Reduce duplication only when the exact duplicate and its owner are
|
|
80
|
-
clear.
|
|
81
|
-
- Do not edit `~/.codex/config.toml`, credentials, plugin installation or
|
|
82
|
-
client settings unless the owner explicitly requests that separate action.
|
|
83
|
-
- Do not claim `RUNTIME_VERIFIED` from a file read, probe exit code or installed
|
|
84
|
-
skill. If `codex debug prompt-input` or `codex debug agents-md` is available,
|
|
85
|
-
use it for a fresh readback; otherwise report `RUNTIME_READBACK: UNKNOWN`.
|
|
86
|
-
- Keep the context block below the project's own required instructions when the
|
|
87
|
-
file's structure makes that safer. Follow the nearest `AGENTS.md` rules.
|
|
88
|
-
|
|
89
|
-
## Closeout
|
|
90
|
-
|
|
91
|
-
Return a compact readback:
|
|
92
|
-
|
|
93
|
-
```text
|
|
94
|
-
CODEX_CONTEXT: CURRENT | UPDATED | BLOCKED
|
|
95
|
-
PROJECT_ROOT: <path or UNKNOWN>
|
|
96
|
-
DOCUMENTS: <ordered discovered files>
|
|
97
|
-
FALLBACKS: <configured names or NONE>
|
|
98
|
-
BYTE_BUDGET: <observed value or UNKNOWN>
|
|
99
|
-
LOADED_BYTES: <observed value or UNKNOWN>
|
|
100
|
-
TRUNCATED: YES | NO | UNKNOWN
|
|
101
|
-
PROJECT_WRITE: NONE | AGENTS_BLOCK_UPDATED | AGENTS_CREATED
|
|
102
|
-
RUNTIME_READBACK: VERIFIED | UNKNOWN | UNSUPPORTED
|
|
103
|
-
OWNER_ACTION_REQUIRED: <one exact action or NONE>
|
|
104
|
-
ROLLBACK: <exact preimage or NOT_APPLICABLE>
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
Route portfolio-wide semantic instruction or skill audits to
|
|
108
|
-
`nobrainer-skill-doctor`; keep one-project Codex context setup and repair here.
|
|
109
|
-
Route broader setup, installation or delivery work back to `nobrainer-tech-flow`.
|
|
110
|
-
Use `nobrainer-sessions` for context transfer and `nobrainer-review` for a
|
|
111
|
-
release or adversarial closeout; do not duplicate their contracts here.
|
|
File without changes
|