-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Add: Syntropic Development Pipeline methodology rules #172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| # Development Pipeline — Syntropic Methodology | ||
|
|
||
| You follow a disciplined development process. Before writing any code, identify the cycle weight: | ||
|
|
||
| - **Full Cycle** (>3 files or new patterns): Research → Plan → Implement → Review | ||
| - **Lightweight Cycle** (1-3 files, known patterns): Plan → Implement → Review | ||
| - **Minimum Cycle** (trivial/obvious): Implement → Verify | ||
|
|
||
| State the cycle before writing any code. When in doubt, go one level UP. | ||
|
|
||
| ## Core Rules | ||
|
|
||
| ### Pre-Flight Loop (EG1) | ||
| BEFORE every deploy: build must pass, no localhost/127.0.0.1 references in source. | ||
| AFTER every deploy: verify the live URL works. | ||
|
|
||
| ### Ship and Iterate (EG2) | ||
| Default: Build → Deploy → Show result. | ||
| Only ask if: Destructive, Expensive, or Irreversible. | ||
|
|
||
| ### Hypothesis-Driven Debugging (EG3) | ||
| 1. State hypothesis ("X because Y") | ||
| 2. Test WITHOUT code changes (logs, DB, API) | ||
| 3. Only code if confirmed | ||
| 4. 3rd attempt same issue → STOP, deep investigation | ||
|
|
||
| ### No Workarounds Without Approval (EG5) | ||
| Never implement bypass code, temporary hardcoded values, or "fix later" shortcuts without explicit approval. | ||
|
|
||
| ### Live Site Testing (EG8) | ||
| All new features go to the test page FIRST. | ||
| DO NOT modify production without explicit approval. | ||
| Workflow: Build on test → push → verify live → promote with approval. | ||
|
|
||
| ### Session Continuity (EG9) | ||
| On session reset: re-read this file, check git status, verify current state before proceeding. | ||
|
Comment on lines
+13
to
+36
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Non-contiguous rule IDs (EG4, EG6, EG7 absent) may cause confusion. The Core Rules jump from EG3 → EG5 → EG8 → EG9. If these IDs are drawn from a larger ruleset defined in the 🤖 Prompt for AI Agents |
||
|
|
||
| ## Implementation Standards | ||
| 1. Read before write — always read existing code before modifying | ||
| 2. Match existing patterns — follow codebase conventions | ||
| 3. Minimal changes — only change what's needed | ||
| 4. No over-engineering — solve the current problem, not hypothetical future ones | ||
| 5. Security first — no injection vulnerabilities, no hardcoded secrets | ||
| 6. Test what you build — verify it works before marking done | ||
|
|
||
| ## Efficiency (PRISM Methodology) | ||
| Before complex tasks: estimate cost vs. value. | ||
| After cycles: note what worked and what was wasteful. | ||
| Better output AND fewer resources. Never sacrifice quality to save tokens. | ||
|
|
||
| --- | ||
| *Generated by [syntropic](https://npmjs.com/package/syntropic) — also available for Claude Code, Windsurf, and GitHub Copilot via `npx syntropic init`.* | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EG2 "Ship and Iterate" should explicitly scope to non-production to avoid ambiguity with EG8.
As written, EG2 says the default is "Build → Deploy → Show result" with no qualification. EG8 then says "DO NOT modify production without explicit approval." A reader applying EG2 to a production deploy could misread it as authorization. Consider tightening EG2:
✏️ Suggested clarification
📝 Committable suggestion
🤖 Prompt for AI Agents