@juangcarmona/lighthouse-sdlc 0.23.3 → 0.23.4

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/README.md CHANGED
@@ -12,6 +12,8 @@ Read the [audience policy](skills/audience-guidance/SKILL.md) when writing human
12
12
 
13
13
  The policy includes reviewed immutable [source pins](skills/audience-guidance/sources.json) and explicit manual fallback reviews. A clean checkout or installed SDLC package needs no global writing skills or network access; delivery workers read the same packaged policy. Record which helper revision or fallback was used, without claiming an external skill ran. Existing workers receive the change only after their package or pinned source harness is updated through the normal installation route; this adds no workflow, gate or automatic installation.
14
14
 
15
+ When repository instructions explicitly authorize it, the [code and architecture fallback](skills/audience-guidance/SKILL.md#code-and-architecture-review) lets an isolated worker complete its required review without a missing global helper. Record the fallback method, reviewed source, findings and missing evidence. Packaging that guidance does not prove a native worker used it or change any approval gate.
16
+
15
17
  ## GitHub Actions
16
18
 
17
19
  These actions require installed workers, enabled automation and the repository owner as actor. Opening an issue alone starts no agent. Every result links to its execution; an Actions success can contain a blocked assessment.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juangcarmona/lighthouse-sdlc",
3
- "version": "0.23.3",
3
+ "version": "0.23.4",
4
4
  "type": "module",
5
5
  "description": "Provider-neutral SDLC skills, commands and route contracts for Lighthouse adopters",
6
6
  "repository": {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: lighthouse-audience-guidance
3
- description: Review human explanations, agent instructions and UI or visual work using the audience policy and offline fallbacks.
3
+ description: Review human explanations, agent instructions and UI or visual work; perform repository-authorized code review when its named helper is unavailable.
4
4
  ---
5
5
 
6
6
  # Audience writing and review
@@ -14,6 +14,7 @@ Use this policy when drafting or reviewing issues, PR summaries, change overview
14
14
  | Human explanations: issues, PR descriptions and summaries, change overviews, proposals, reports, product documentation | Plain English → Humanizer → evidence comparison |
15
15
  | Agent instructions: AGENTS.md, skills, workflow prompts, documents reached through agent pointers | Writing for Agents → instruction comparison |
16
16
  | UI and visual changes: layouts, components, themes, visual assets | Taste → accepted UI contract and visual evidence |
17
+ | Repository-required code or architecture review with an unavailable named helper | Code and architecture review below, only when the repository explicitly authorizes that fallback |
17
18
 
18
19
  For mixed documents, apply the human reviews to explanatory prose and Writing for Agents to instructions, commands, constraints, ownership and completion criteria. Review UI copy as human prose; invoke Taste only when UI or visual work changes. Taste is not a general prose requirement. Preserve normative specification language; explain it separately rather than simplifying its obligations.
19
20
 
@@ -25,6 +26,15 @@ These Lighthouse-authored fallbacks ship in the source checkout and the SDLC npm
25
26
 
26
27
  When updating a pin, review the source, referenced requirements, license and compatibility again, update the digest and review notes, then run the audience-guidance and package tests. Do not follow a mutable branch or silently substitute another skill named Taste or Humanizer.
27
28
 
29
+ ## Code and architecture review
30
+
31
+ Use this Lighthouse-authored manual fallback only when the repository explicitly authorizes it for an unavailable code/architecture helper. It is not execution of Ponytail or another upstream skill, and it does not waive the required review. Do not install or copy global host skills during the run.
32
+
33
+ 1. Read the request, accepted architecture and actual diff. Trace every affected caller, test, fixture, configuration and export. Identify changed behavior, trust boundaries and source/data that must survive. This step is complete when every affected path and preservation rule is accounted for.
34
+ 2. Review the smallest complete correction using existing mechanisms and dependencies. Check input validation, failure/status propagation, ownership, concurrent activity and recovery before destructive effects. Record concrete defects and unnecessary changes against source locations; preserve original failures and unknown outcomes.
35
+ 3. Run the required checks for the reviewed revision and retain their results. Use regressions that exercise changed behavior and failure boundaries. Distinguish executed checks from skips, fixtures from connected execution, and source verification from publication, installation and native acceptance. Missing required evidence remains a blocker under the current stage contract.
36
+ 4. Record method `lighthouse-code-architecture-fallback-v1`, reviewed source, findings, checks and remaining risks in the existing result output or review evidence. Never claim the unavailable named helper ran. The review is complete when all affected paths were assessed and every unresolved defect or missing check has an explicit finding and next action; completion does not turn those findings into a passing assessment.
37
+
28
38
  ## Human explanations
29
39
 
30
40
  ### Plain English fallback
@@ -61,6 +71,6 @@ The reviewed Taste source is Leonxlnx's `design-taste-frontend` skill. Its websi
61
71
 
62
72
  ## Authority and final comparison
63
73
 
64
- Product intent, accepted architecture, source evidence and lifecycle policy remain authoritative. Writing and design helpers guide presentation only; skill output cannot override product or architecture authority, change scope, waive evidence or human approval, or grant merge, release or deployment permission. Report conflicts to the responsible owner and preserve the accepted contract.
74
+ Product intent, accepted architecture, source evidence and lifecycle policy remain authoritative. Writing and design helpers guide presentation only; skill output cannot override product or architecture authority, change scope, waive evidence or human approval, or grant merge, release or deployment permission. The code/architecture fallback supplies review evidence within those same boundaries. Report conflicts to the responsible owner and preserve the accepted contract.
65
75
 
66
76
  Before finishing, compare the reviewed artifact with its source. Keep missing evidence, failed checks, unavailable checks and pending required review distinct. If the fallback itself cannot be completed, report that limitation; never mark an unperformed required review as passed.