Commit Graph

19 Commits

Author SHA1 Message Date
Bo 6d5d111faf feat(skills): land four-vendor skill corpus (#803)
## Summary
- Lands the AgentOps skill corpus across source and Codex wrappers,
including Gemini image targets.
- Integrates the skill branch onto current origin/main and refreshes
generated manifests/catalogs.
- Normalizes local next-work queue enum drift and fixes shellcheck in
alias-collision validation.

## Validation
- bash scripts/regen-all.sh --check
- bash scripts/validate-skill-schema.sh
- bash tests/skills/test-token-budgets.sh
- bash tests/skills/run-all.sh
- bash scripts/audit-codex-parity.sh && bash
scripts/validate-codex-override-coverage.sh && bash
scripts/validate-codex-generated-artifacts.sh --scope worktree && bash
scripts/validate-codex-api-conformance.sh && bash
scripts/validate-codex-runtime-sections.sh && bash
scripts/lint-codex-native.sh
- bash skills/heal-skill/scripts/heal.sh --strict
- PRE_PUSH_SKIP_MKDOCS=1 bash scripts/pre-push-gate.sh --fast

MkDocs strict remains skipped locally via the documented
PRE_PUSH_SKIP_MKDOCS=1 override because the repo currently emits
repo-wide strict-link warnings unrelated to this landing; CI remains
authoritative.
2026-06-06 23:44:42 -04:00
Bo 2bb99faa07 feat(pr-prep): executable acceptance for PR preparation (soc-hvfiv #pr-prep-hexagon) (#447)
soc-qk4b skill-hexagon-crank — peripheral skill. /pr-prep
(driving-adapter, customer-of domain) lacked a .feature.

- skills/pr-prep/references/pr-prep.feature (NEW): analyze repo
conventions/history; validate tests first; produce PR body + branch
- linked in SKILL.md; registry regenerated

consumes [domain] already filled — acceptance-only.

How tested: lint-skills ✓ pr-prep (273 lines); scenarios --lint 0
errors; codex parity passed; registry up to date.
Sibling: acceptance-only crank like /brainstorm #446.

NOTE: claude-review infra-red (weekly limit, resets May 25) —
operator-authorized bypass when sole red.

Closes-scenario: soc-hvfiv#pr-prep-hexagon
Bounded-context: BC5-Runtime
Evidence: skills/pr-prep/references/pr-prep.feature
2026-05-23 04:06:38 -04:00
Boden Fuller 8c731aef64 fix(ci): make skill validate-contracts billboard-aware (clears 4 CI failures)
#275's billboard refactor thinned process-skill SKILL.md files and moved
detail into references/, but the validate contracts still grepped SKILL.md.

skill-lint + smoke-test: relax content-presence checks in crank/implement/
  post-mortem/swarm validate.sh to scan the skill as a unit (SKILL.md +
  references/); structural/identity checks stay SKILL.md-only. test-first-smoke
  updated to match relocated SPEC/TEST WAVE + Step 0/4 headings.
skill-lint line caps: trim flywheel 310 -> 286 (cap 300), using-agentops
  261 -> 239 (cap 250) by removing redundant prose, no content lost.
skill-integrity: link 3 orphaned references (crank/branch-isolation,
  validation/flags + release-readiness-gates).
codex parity: regenerate stale skills-codex source hashes (77 skills).

Local: run-all.sh PASS, heal.sh --strict clean, smoke-test PASS.
2026-05-15 16:30:32 -04:00
Boden Fuller 235e5c20f2 feat(practice): backfill practices: declarations into 13 RPI-core skills
Pass 1 of N: lands practices: frontmatter declarations on the
RPI-lifecycle and foundational skills (rpi, discovery, crank, validation,
plan, implement, vibe, pr-prep, pr-validate, post-mortem, domain,
flywheel, handoff), each citing 3-4 slugs from PRACTICE.md's 45-slug
registry.

scripts/validate-practice-citations.sh report now:
  primitives scanned: 754
  with practices field: 13 (was 0)
  missing practices field: 741 (was 754)
  invalid slug citations: 0

Schema fix in same commit (required infrastructure that was missed in
the pre-mortem audit): schemas/skill-frontmatter.v1.schema.json had
additionalProperties: false, which would have rejected every practices:
declaration via validate-manifests.sh. Added practices as a recognized
array-of-slug property; this unblocks all future backfill passes.

Codex twins intentionally NOT modified — skills-codex/* SKILL.md
frontmatter is strictly name+description by design (enforced by
scripts/validate-codex-generated-artifacts.sh). Skills-codex
.agentops-generated.json markers regenerated via regen-codex-hashes.sh
to record the source-side content drift.

Plan: .agents/plans/2026-05-10-practice-citation-backfill-rpi-core.md
Research: .agents/research/2026-05-10-practice-citation-backfill-mapping.md
Pre-mortem: .agents/council/2026-05-10-pre-mortem-practice-citation-backfill.md (PASS, with one gap noted: schema enforcement)
Bead epic: soc-hdot (14 child issues closed)

Local pre-push gate (fast): green.
2026-05-10 19:42:53 -04:00
Boden Fuller a7a51f2c16 feat(standards): codify skill tier caps and codex registration 2026-05-03 23:00:11 -04:00
Boden Fuller 557e4af9ec feat(codex): cap skills-codex description catalog and add --repair-shape audit
Adds a 2400-char aggregate budget for skills-codex/*/SKILL.md `description:`
fields in tests/skills/test-token-budgets.sh, then trims each skill's description
to fit (catalog now 2146/2400). Both Claude and Codex SKILL.md descriptions
are kept in sync; codex .agentops-generated.json hashes regenerated.

Adds --repair-shape to scripts/audit-codex-hooks.sh: when ~/.codex/hooks.json
is missing or in legacy-flat shape, rewrites it from hooks/codex-hooks.json
with the active plugin_root (read from .agentops-codex-install.json) and
backs up any prior file. Covered by new test_repairs_legacy_flat_shape.

Memory decay (4 .agents/ files) bumped by the SessionStart inject hook.
2026-04-30 15:16:59 -04:00
Boden Fuller 0496441989 Reduce skill catalog context footprint 2026-04-24 00:52:27 -04:00
Boden Fuller 98e581989c codex: retire stale artifact provenance metadata 2026-04-01 13:10:42 -04:00
Boden Fuller 3f6bb2bda4 chore(codex): sync Codex skills for 6 new lifecycle skills
Add Codex variants (SKILL.md, prompt.md, markers) for test, review,
refactor, deps, perf, and scaffold. Wire cross-references in 8 existing
Codex skill copies. Update catalog and manifest.
2026-03-27 19:39:12 -04:00
Boden Fuller b5316baef7 fix: align codex skill bundle with runtime contract 2026-03-21 10:08:27 -04:00
Boshu2 8e59cf1389 fix(skills-codex): audit + fix 60+ findings, strengthen CI gates
Skills content fixes:
- Add metadata.tier to all 54 skills-codex/ frontmatter
- Fix wrong-directory cross-refs in 11 skills (skills/ → ../)
- Remove Claude primitive leakage from 13 skills (TaskCreate,
  AskUserQuestion, read_file, Agent tool, claude-code-latest-features)
- Fix dead refs, link missing references, remove orphaned Claude files
- Fix malformed ..$X link syntax in brainstorm, codex-team, rpi, validation
- Minor skills/ fixes: release refs, using-agentops count, push sections

CI gate hardening (false-pass elimination):
- heal.sh: scan skills-codex/, add MISSING_TIER/MALFORMED_LINK/DUPLICATE_REF
- audit-codex-parity.py: +7 Claude primitive patterns, +WRONG_XREF_DIR
- validate-links.sh: add skills-codex/ to scan scope (726 → 1117 links)
- validate-codex-generated-artifacts.sh: frontmatter check, invoke audit
2026-03-15 13:51:49 -04:00
Boshu2 486a1c534e Release v2.24.0
Add CHANGELOG entries for v2.23.1 and v2.24.0, bump plugin.json to
2.24.0, condense post-mortem SKILL.md to stay under 1050-line lint
limit, sync codex bundle and embedded hooks, add glob patterns to
codex residual allowlist for domain checklist trigger syntax.
2026-03-12 15:56:12 -04:00
Boshu2 bb07399c63 feat(skills): enhance 6 skills with validated gstack patterns across 4 waves
Wave 1: Pre-mortem gains error/rescue map template (Step 2.5) with 3
worked examples, 3-mode scope selection (Step 1.6: Expand/Hold/Reduce),
and temporal interrogation framework (Step 2.4) for timeline risk analysis.

Wave 2: Vibe adds CRITICAL/INFORMATIONAL finding classification with
suppression patterns, domain-specific checklist auto-loading (Step 2.3),
and pre-mortem prediction correlation (Step 3.6). Post-mortem adds RPI
session streak tracking (Step 1.5) and prediction accuracy scoring with
HIT/MISS/SURPRISE classification (Step 3.5). PR-prep adds commit split
advisor as suggestion-only Phase 4.5. Council adds finding auto-extraction
for flywheel closure. Pre-mortem adds prediction tracking IDs across the
report template with downstream correlation in vibe and post-mortem.

Wave 3: Post-mortem adds persistent retro history (Step 4.8) writing
structured JSON summaries to .agents/retro/ for cross-epic trend analysis.
Pre-mortem adds temporal interrogation with retro history correlation.

Wave 4: Standards skill extended with 3 domain-specific checklists
(SQL safety, LLM trust boundaries, race conditions) auto-loaded by vibe
based on code pattern detection.

All changes ported to skills-codex/ with Codex-native format.
Validated: heal.sh --strict PASS, vibe review WARN→fixed.
2026-03-12 15:25:57 -04:00
Test 2abe004643 feat: complete codex-first skill rollout 2026-03-08 12:49:35 -04:00
Boden Fuller 9205270833 Harden local codex skill validation 2026-03-07 13:26:49 -05:00
Boden Fuller e0e21e3535 feat: add native Codex plugin install support 2026-03-07 07:30:08 -05:00
Bo b75bee0911 chore: automate codex skill parity (#72) 2026-03-05 20:43:27 -05:00
Boden Fuller 7d65010131 chore: regenerate codex-native skills (modular layout, 49 skills)
Generated by sync-codex-native-skills.sh with modular layout.
References and scripts copied as files instead of inlined.
Overrides applied for 9 skills. Parity validated: 49/49.
2026-02-26 11:02:17 -05:00
Boden Fuller ab8df91ced feat(codex): add Codex-native skill format and install/sync scripts
- skills-codex/: 53 skills converted to Codex-native agents.md format
- install-codex-native-skills.sh: install to ~/.codex/agents/
- sync-codex-native-skills.sh: sync from source skills/ to skills-codex/
- test-codex-native-install.sh: integration tests for the install pipeline
2026-02-25 08:44:19 -05:00