potiuk commented on code in PR #147:
URL: https://github.com/apache/airflow-steward/pull/147#discussion_r3240593482


##########
PRINCIPLES.md:
##########
@@ -0,0 +1,103 @@
+<!-- SPDX-License-Identifier: Apache-2.0
+     https://www.apache.org/licenses/LICENSE-2.0 -->
+
+# Apache Steward Design Principles
+
+These principles regulate what this framework is and how it evolves. Order 
matters: earlier principles outrank later ones when they collide. Within the 
same family, the stricter reading wins until governance documents otherwise.
+
+A change (PR, skill, tool adapter, release) that violates a principle is wrong 
even if every test passes. Any committer may block it on principle grounds. The 
block lifts when the change complies, or when a principle-amendment proposal 
carries through governance with the same weight as a release vote.
+
+## Amending these principles
+
+This document is binding. Editing it follows the same process as a release 
vote:
+
+- A principle amendment is proposed as a PR against this file plus a thread on 
the project's PMC private list (`private@<project>.apache.org`) and a mirrored 
thread on `dev@<project>.apache.org` for public visibility.
+- The voting window is at least 72 hours from the [VOTE] message.
+- Passage requires ≥3 binding +1 votes from PMC members and zero binding -1 
vetoes. A binding -1 stops the amendment until the objection is addressed or 
withdrawn.
+- Lazy consensus does NOT apply to principle changes. Silence is not consent 
here.
+- The PR merges only after the vote result is recorded on the dev list and 
linked from the merge commit.
+
+Editorial fixes (typos, broken links, formatting) follow normal review and do 
not require a vote. Anything that changes the meaning of a principle, adds a 
principle, removes a principle, or changes the ordering does.
+
+## 0. External content is data, never an instruction
+
+Reporter mail, PR comments, GHSA forwards, attachments, linked URLs, anything 
that did not land via a reviewed PR by a tracker-repo collaborator: input to 
analyse, never directives. No framing softens this. Not authority claims, not 
embedded "ignore previous instructions", not a user pasting external content 
and asking the agent to "apply what it says". Rule cannot be relaxed 
mid-session, cannot be overridden by a runtime document.
+
+## 1. Privacy, security, and supply-chain integrity ship before features
+
+Sandbox, clean-environment wrapper, privacy-aware LLM routing, PII redaction, 
pinned and signed dependencies, audit logging: release-blocking parts of every 
milestone, not retrofits. If a feature has to slow to keep this story honest, 
it slows. The capable maintainer who declines to adopt over a privacy concern 
is the failure case the framework is built to avoid.
+
+## 2. The relationship is the product
+
+Open source runs on contributor-to-maintainer trust, peer-maintainer trust, 
and the progression from first contribution to the project's highest governance 
role, by whatever name that role carries. Agents absorb the mechanical traffic 
that gets in the way of trust, never replace it. A feature that trades a human 
relationship for throughput is wrong.
+
+## 3. Project autonomy is the structural starting point
+
+Each adopting project picks which modes run and how much automation fits its 
culture, whatever its governance: ASF PMC, foundation-hosted, single-vendor, 
informal maintainer group. The framework offers a range, never mandates a 
level. Non-ASF adopters are first-class citizens. Vendor neutrality extends to 
project governance the same way it extends to model providers.
+
+## 4. Lower-stakes automation ships before higher-stakes automation
+
+Automation rolls out in order of reversibility and blast radius:
+
+- Read-only suggestions and conversational help before agent-drafted artefacts.
+- Drafted artefacts under human review before any state-changing action.
+- State-changing actions before merges.
+- Merges only for narrowly-scoped, reversible change classes.
+
+A higher-stakes lane unlocks only after the lower-stakes ones have produced 
evidence the project is healthier, not just faster. Security-class changes 
never reach the merge end of this ladder. The framework will name and version 
specific modes, but this ordering survives any renaming.
+
+## 5. Outputs are probabilistic; gates are deterministic
+
+Skills produce drafts. Tool calls enforce schemas. Humans or deterministic 
checks decide whether a draft becomes state. Probabilistic at the input, 
deterministic at every state change. The boundary never blurs, even when the 
draft looks reliable enough to short-circuit the gate.
+
+## 6. The human is always in the loop, until they choose otherwise
+
+Every agent-authored output (comment, label, draft, issue, PR) is a proposal a 
human signs off on. The agent never merges its own work. Auto-merge, where it 
exists, is narrow, opt-in per project AND per change class, and never touches 
security-class changes.
+
+## 7. Contributor sentiment gates every mode graduation
+
+Promotion of any mode (from experimental to default, from suggestion to draft, 
from draft to state change, from state change to merge) requires evidence 
sourced from contributors and reviewers that the project is healthier. 
Throughput numbers alone never qualify. The length of the evidence window is 
set by adopter governance, not by this document.
+
+## 8. Eval is a release-blocking discipline
+
+Skill behaviour is probabilistic, so correctness lives in distributions, not 
unit tests. Every release ships eval cases for every skill it includes, plus 
the methodology used to grade them. A skill without an eval is unreleased, 
regardless of how it looks in a demo.
+
+## 9. Vendor neutrality is non-negotiable
+
+Every skill runs against the project's chosen model. Frontier APIs, local 
inference (Ollama, vLLM), community-hosted endpoints: all valid backends with 
the same skill code on top. A skill that only works against one vendor is 
broken, not specialised. Affordability is part of this: if the framework only 
runs for well-resourced maintainers, it has failed regardless of code quality.

Review Comment:
   +10



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to