feat: Comprehensive CRM example demonstrating all ObjectStack protocol features - #14
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
- Add phone field type helper to Field factory - Update Field.select/multiselect to support both array and object signatures - Add factory methods (Action.create, Dashboard.create, Report.create) - Use z.input and parse for factory methods to support default values Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
- Add tests for Field.phone() helper - Add tests for Field.select() backward compatibility (old and new API) - Add tests for Field.multiselect() backward compatibility - Add tests for Action.create() with default value handling - Add tests for Dashboard.create() with default value handling - All 279 tests passing Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add example of CRM functionality for protocol
feat: Comprehensive CRM example demonstrating all ObjectStack protocol features
Jan 19, 2026
Document backward-compatible API with examples for both old and new signatures Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
- Extract options from config object to avoid confusion - Change spread order to options first, then finalConfig - Ensures processed options always take precedence Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
huangyiirene
approved these changes
Jan 19, 2026
huangyiirene
marked this pull request as ready for review
January 19, 2026 12:18
This was referenced Jun 2, 2026
This was referenced Aug 24, 2026
This was referenced Aug 24, 2026
Merged
This was referenced Aug 24, 2026
This was referenced Aug 24, 2026
This was referenced Aug 25, 2026
This was referenced Aug 25, 2026
os-steve
pushed a commit
that referenced
this pull request
Aug 26, 2026
Make the commit-ordering rule trigger on the STEP, not on waiting: push a
WIP commit before a build, a full test run, a gate sweep or an ablation,
because that is the moment the worktree stops being the only copy. The
"commit before you wait" framing never fires for an agent that is not
waiting — it is working — which is precisely the population that
accumulates the largest uncommitted surface.
Placed at the head of Build & Test, immediately under the command block
that lists the minutes-long steps themselves, so the rule is read at the
moment of use.
Paid for in place against a zero-headroom ceiling (1158/1158), no raise:
- Documentation Guardrails: the three named-example rows (concepts/,
getting-started/, protocol/) deleted (-3). Surviving home: the
generic `content/docs/<tree>/` row directly above them, which covers
every tree except references/ and releases/ and whose own text called
them "named examples, not the whole set" (that dangling sentence is
dropped with them).
- Skills: the governed-surface paragraph compressed 4 lines -> 2 (-2).
Surviving home: Prime Directive #14, which carries every clause —
human-merge only, never merge/queue/arm/flip-draft, the retired
per-PR approval check, and the post-merge audit.
Net 0 lines; check-skill-line-ratchet green at 1158/1158, widest table
row unchanged at 1081 bytes (pin 1081).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JANH3y7qe3MD8aLaLXci8N
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created production-grade CRM example (~2,900 LOC) showcasing complete protocol surface area. Previous example only covered 3 basic objects with minimal features.
Objects Added
New:
Enhanced (Account, Contact, Opportunity):
UI Components
Example
Protocol Coverage
Bilingual documentation (EN/中文) with learning resources and architecture patterns.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.