|
certbotbot
Reference documentation for a modular Bash project
|
Accepted
Adopt the latest stable upstream wesley-dean/coding_standards release, resolved on October 20, 2026 as **coding_standards@v2.2.0**. Materialize the exact release's standards/ contents into this repository's doc/standards/ tree. Record the canonical upstream, concrete release, published archive SHA-256 digest, and destination in .codingstandardrc.
Files in doc/standards/ are externally managed. Do not edit them locally, copy from upstream main, or install permanent standards-download/update machinery. An update must select a verified concrete GitHub Release and replace the entire managed tree, proposing it through a reviewable PR.
Applicability: General and cross-cutting standards apply wherever relevant. Language-specific standards govern maintained content in the corresponding language. Presence of a standard does not make it universally applicable. Content under doc/standards/examples/ is illustrative and non-normative except where a governing standard explicitly states otherwise.
Precedence: Applicable shared standards are governing repository requirements. Accepted repository-specific ADRs and explicit local policy may deliberately refine or supersede an applicable standard. Conflicts must be identified and resolved visibly; imported standards must never be modified locally to encode a repository exception.
The independently prepared drafts under doc/research/ preserve what was learned from the previous, larger certbotbot rebuild. They are historical or proposed material, not current implementation mandates. Project planning will convert accepted Phase 1 requirements into GitHub Issues, technical planning into linked tasks, and implementation into reviewed code. Those future user stories must not silently inherit design choices from certbotbot-research.
The certbotbot repository was freshly created from template-bash after the exploratory implementation was renamed certbotbot-research. The reset explicitly separates product management, technical planning, and execution to avoid building an extensive framework before a one-domain, one-archive Certbot/S3 lifecycle works.
Applying independently reviewed coding standards provides consistent engineering expectations without duplicating their text in project documentation. The standards are a versioned artifact and should not quietly track changing upstream main.
The user requested preservation of the prior research, adoption of the v2.2.0 released standards, and explicit activation of three-phase governance. Neither action authorizes a new issuer implementation or changes the product backlog.
https://github.com/wesley-dean/coding_standards.git.v2.2.0 identifies upstream commit a4c71347080a8b66183cc44c2727b0e3d9dd24a3.90a1e4be90c1b1f87d55665034bf6ce129e77d889382da5743536e07370becd5.sha256sum record for that archive. The tag's entire 49-file standards/ tree has been materialized through GitHub connector reads, with exact blob identity.Copy only selected standards: rejected because it would break reproducible snapshot identity and make local omissions hard to audit. Applicability can be evaluated without mutating the upstream release.
Track the upstream main branch: rejected because source behavior could change without an explicit reviewed version bump.
Duplicate governing text in AGENTS.md: rejected because summaries drift and conceal release provenance. Reference the committed snapshot.
Import the old research repository's entire implementation and governance: rejected because its split archive and multi-lineage design was deliberately deferred. Preserve knowledge without inheriting scope.
Add a standards auto-updater: rejected. Adoption remains an explicit reviewable process, not a hidden network/build dependency.
The managed tree must match the selected release exactly, including all 49 maintained and example files. The target's .codingstandardrc pin records the published archive hash, not a hash of the extracted tree.
Repository-facing instructions in AGENTS.md, README.md, and CONTRIBUTING.md must describe the standards' authority, relevance, local ADR precedence, and prohibition on editing the imported snapshot. Future agents should read those instructions and the applicable standards, not load the entire research archive by default.
No implementation code, cloud resource, user story, or GitHub issue is authorized by this decision. It adopts process governance, not any specific user story or task. A later technical-planning ADR may refine inherited starter conventions where the accepted Phase 1 product scope requires it.
The repository explicitly enables the optional three-phase process specified by the v2.2.0 standards/general/three-phase-development-governance.md with three_phase_development = true in .codingstandardrc. This is a deliberate new-project opt-in, not an effect of upgrading standards or an implicit requirement imposed on older repositories.
Phase 1: Project planning. The Project Manager facilitates requirements and story definition; the Product Owner approves scoped user stories, acceptance criteria, dependencies, and priorities. Stories describe user-visible value, not prescribed implementation.
Phase 2: Technical planning. The Senior Engineer examines governing documentation and decomposes approved stories into linked technical tasks with implementation constraints, dependencies, verification, and relevant ADRs. The Technical Architect must approve the approach and specific tasks for development. Story approval does not authorize tasks.
Phase 3: Development. Implementers work from actionable approved tasks in the standard's priority order, track in-progress state, link changes and PRs to tasks, and prove task and story completion against their respective definitions of done. A merged PR does not itself establish story acceptance.
Supersession notice (2026-10-21): The approval-evidence rule in the following historical paragraph was superseded by ADR-019 when the repository adopted coding_standards@v2.2.1. Consult ADR-019 and the currently pinned standard for the authoritative approval contract.
The process uses ordinary GitHub Issues, milestones, and labels; GitHub Projects is optional and not required. Status labels such as approved and in-progress are indexing aids, not trusted authorization. Attributable human or expressly delegated approval records are required at each phase gate. Agent-authored proposals start unapproved. A materially changed scope requires renewed approval; a new agent chat does not confer authority.
This adoption deliberately preserves existing security, ADR, testing, build, and review governance and allows scoped implementation details necessary to complete approved work. Historical doc/research/ documents are non-normative and do not silently approve a feature or task.
ADR-001 defines the documentation hierarchy, ADR-004 and ADR-014 distinguish template plugin examples from necessary product design, ADR-008 governs documentation-before-implementation, ADR-013 maintains repository-facing documentation, ADR-015 governs dependencies, and ADR-017 governs generated ADR navigation.