Skip to content

docs(contributing): rewrite for framework-as-a-whole audience - #323

Merged
potiuk merged 3 commits into
apache:mainfrom
potiuk:docs/contributing-guide-framework-rewrite
May 26, 2026
Merged

potiuk merged 3 commits into
apache:mainfrom
potiuk:docs/contributing-guide-framework-rewrite

Conversation

@potiuk

@potiuk potiuk commented May 26, 2026

Copy link
Copy Markdown
Member

Summary

Diff size: +609 / -262 in a single file.

Test plan

🤖 Generated with Claude Code

potiuk added 3 commits May 26, 2026 18:07
Why: the previous CONTRIBUTING.md was framed for the security-disclosure
flavor of the framework and listed only security skills (predating the
issue-*, pr-management-*, setup-*, contributor-nomination families). It
also carried stale references to a private-tracker confidentiality model
and to `config/user.md` (current convention is
`.apache-steward-overrides/user.md` in the adopter repo).

The rewrite covers the framework's current scope:
- All four skill families (security, PR management, issue, setup) plus
  contributor-nomination and the meta-skills, with one-line purposes.
- Tool families grouped by role (forge / mail / CVE / runtime / dev-loop
  / reporting / authoring), including the cross-cutting subtrees
  (privacy-llm, agent-isolation, sandbox-lint, skill-validator,
  skill-evals) the old file omitted.
- The six RFC-AI-0004 principles as cross-cutting concerns every change
  must respect.
- Agent-harness state table — Claude Code (today) plus the ten per-CLI
  ports tracked at apache#313-apache#322.
- Code-in-repo section covering both languages: Python (uv-managed, 8
  packages with run invocations) and Groovy (jira/bridge.groovy +
  dashboard-generator/reference.groovy with @grab invocations).
- Your-first-contribution section linking the 22 net-new tool/adapter
  GFIs (apache#301-apache#322) and four lower-friction entry points (docs, eval
  fixtures, write-skill, full bridge implementation).
- Confidentiality section correctly scoped to this public framework
  repo, with practical fixture/example rules.

Preserves the well-calibrated prek hook list and the lighten-the-agent-
context section from the old file.
Why: contributors landing in this repo from a traditional-programming
background often try to type their way through the work — driving the
agent at the keystroke level, hand-editing the agent's drafts, treating
the conversation as a search interface rather than a co-author. The
framework is documentation-as-code; the loop is meant to be different.

The new section makes the rhythm explicit:
- Lead with intent (what + why); let the agent figure out how.
- Iterate, don't dictate — propose / critique / refine / test, four
  rounds typical.
- Probe boundary conditions explicitly — the single
  highest-leverage habit; codify edges as eval fixtures or test cases.
- Author = editor; agent = typist with opinions — both jobs are
  essential, neither side runs the loop alone.
- Where traditional programming still applies (Python / Groovy
  bridges) the loop is the same but the test feedback is stronger.
- Concrete first moves for the four common authoring tasks (new
  skill, modify skill, new tool bridge, doc change).
- The agent is not the reviewer — CI, evals, and the PR review are
  the verification layer; the agentic loop produces the artefact.

Positioned between "Making changes" (which-layer) and "Running the
dev loop" (which-tests), so the order reads: pick the layer → author
agentically → run prek + tests + evals → open the PR.
Why: contributors arriving from a traditional-programming background
treat the .md skill files as documentation — something secondary to
"real code", something where rules are looser and tests are optional.
That framing is wrong and produces bad changes: skills shipped without
eval-fixture updates, tool contracts edited as if rewording prose
rather than rewording an API, regressions caught only at runtime by
adopters.

The new opener fixes the frame, philosophically:

- English IS the primary programming language in this repo — not as
  metaphor, as engineering. Skill files are programs. The agent is
  the interpreter.
- COBOL analogy: sixty years ago COBOL set out to make English-like
  syntax executable. The vision was right; the implementation
  failed because 1960s compilers could parse syntax but not meaning,
  and programming languages drifted the opposite way for the next
  half-century. Today's interpreters (LLM agents) can finally read
  meaning — so the COBOL vision actually works. We have come full
  circle.
- Three practical consequences for contributors: skill-file changes
  are code changes; tool.md changes are code changes; both layers
  authored agentically with the same loop.

Positioned at the start of the guide (right after the intro
paragraph, before "What this framework is") so the framing lands
before the reader absorbs anything else.

Companion edits stop the rest of the document undercutting the new
frame:
- Drop "documentation-as-code" metaphor in "Authoring with an agent"
  — replaced with "code at two abstraction levels".
- Drop "real code" contrast in "Where traditional programming
  languages enter the picture" — both layers are code; they differ
  in what catches your mistakes (pytest/mypy/ruff vs eval suite).
- Rename "Shell + documentation-as-code" subsection to "Shell
  scripts"; remove the skills bullet that framed skills as
  documentation (covered already in Skill families).
- Reframe "Code in this repo" intro to scope it to traditional-
  language code, with a pointer to Skill families and Tool families
  for the English layer.
@potiuk
potiuk merged commit ddba3c6 into apache:main May 26, 2026
13 checks passed
@potiuk potiuk added the family:docs Docs, MISSION.md, READMEs label Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

family:docs Docs, MISSION.md, READMEs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant