-
Notifications
You must be signed in to change notification settings - Fork 0
license: PolyForm Noncommercial 1.0.0 #5
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,81 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2025 Jamie Vargas | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. | ||
| Copyright (c) 2025-2026 Jamie Vargas | ||
|
|
||
| Licensed under the PolyForm Noncommercial License 1.0.0. | ||
|
|
||
| # PolyForm Noncommercial License 1.0.0 | ||
|
|
||
| <https://polyformproject.org/licenses/noncommercial/1.0.0> | ||
|
|
||
| ## Acceptance | ||
|
|
||
| In order to get any license under these terms, you must agree | ||
| to them as both strict obligations and conditions to all your | ||
| licenses. | ||
|
|
||
| ## Copyright License | ||
|
|
||
| The licensor grants you a copyright license for the software to do | ||
| everything you might do with the software that would otherwise infringe | ||
| the licensor's copyright in it for any permitted purpose. However, you may | ||
| only distribute the software according to [Distribution License](#distribution-license) | ||
| and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license). | ||
|
|
||
| ## Distribution License | ||
|
|
||
| The licensor grants you an additional license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license). You must comply with the terms of the license in everything you do with the software that would otherwise infringe the licensor's copyright in it. | ||
|
|
||
| ## Changes and New Works License | ||
|
|
||
| The licensor grants you an additional license to use, copy, distribute, make changes, and make new works based on the software for any permitted purpose. | ||
|
|
||
| ## Patent License | ||
|
|
||
| The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software. | ||
|
|
||
| ## Noncommercial Purposes | ||
|
|
||
| Any noncommercial purpose is a permitted purpose. | ||
|
|
||
| ## Personal Uses | ||
|
|
||
| Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose. | ||
|
|
||
| ## Noncommercial Organizations | ||
|
|
||
| Use by charitable organizations, educational institutions, and public interest groups who are organized in a manner that does not primarily benefit the members or owners of the organization is use for a permitted purpose. | ||
|
|
||
| ## Fair Use | ||
|
|
||
| You may "fair use" the software as permitted under applicable law, and that this license does not limit your fair use rights. | ||
|
|
||
| ## Notices | ||
|
|
||
| You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above. | ||
|
|
||
| ## Excuse | ||
|
|
||
| You're excused for unknowingly breaking [Notices](#notices) if you take all practical steps to comply within thirty days of learning you broke the rule. | ||
|
|
||
| ## Patent Defense | ||
|
|
||
| If you make written claim that Patents cover the software or that the software infringes Patents, the license granted to you ends immediately. | ||
|
|
||
| ## Continuation | ||
|
|
||
| Your licenses under these terms continue through any termination, and they continue for as long as your exercise of the licensed rights is permitted under these terms. | ||
|
|
||
| ## Severability | ||
|
|
||
| If any provision of these terms is unenforceable, it will be enforced to the extent possible, and the remainder of the terms will remain in effect. | ||
|
|
||
| ## Regulatory | ||
|
|
||
| If the software is computer software, and you get it from the United States of America government, then it is not "commercial computer software" under Federal Acquisition Regulation 12.212 or Defense Federal Acquisition Regulation Supplement 227.7202-4, and any use is subject to all restrictions that apply to any other public domain software. | ||
|
|
||
| ## Disclaimer | ||
|
|
||
| There is no warranty provided for the software. **As is** means no warranties of any kind, express or implied. **As available** means the software may not be available to you and may not be available in your language. **No liability** means no party will be liable to you for any damages arising out of these terms or the software, except as required by applicable law in cases involving intentional wrongdoing or personal injury. | ||
|
|
||
| ## Disclosure | ||
|
|
||
| If the software includes a "NOTICE" text file, you must read and comply with any licensing terms identified in that file. | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,93 +1,79 @@ | ||
| # Mischief Manager | ||
|
|
||
| **Mischief Manager** is a habit-tracking and awareness app for people who want to understand **impulse spending**—especially alongside ADHD, bipolar disorder, or similar patterns. It focuses on **triggers, cooldowns, and reflection**, not shame or hard blocks. | ||
| **Mischief Manager** helps people notice **impulse spending** before it becomes a habit—especially if you live with **ADHD**, **bipolar disorder**, or similar patterns that can amplify “add to cart” moments. The focus is **awareness**: triggers, cooldowns, and reflection—not shame, paywalls, or pretending an app can diagnose you. | ||
|
|
||
| **Repository:** [github.com/TiltCheck-ME/Mischief-Manager](https://github.com/TiltCheck-ME/Mischief-Manager) | ||
| A related direction in this repo is an **ethical ad filter** concept: user-controlled sensitivity and policy so high-pressure or predatory ads are easier to avoid or document, paired with optional **URL safety** signals (e.g. [SusLink](docs/ethical-ad-filter/suslink-integration-spike.md) via TiltCheck) where it fits. | ||
|
|
||
| **Live site (GitHub Pages):** [tiltcheck-me.github.io/Mischief-Manager](https://tiltcheck-me.github.io/Mischief-Manager/) | ||
| **Repository:** [TiltCheck-ME/Mischief-Manager](https://github.com/TiltCheck-ME/Mischief-Manager) | ||
|
|
||
| --- | ||
|
|
||
| ## In this repo | ||
| ## What’s in this repository | ||
|
|
||
| | Area | What it is | | ||
| | Area | Purpose | | ||
| | --- | --- | | ||
| | [`reactSetup/`](reactSetup/) | React + TypeScript + Vite + Tailwind UI (primary app prototype) | | ||
| | [`docs/ethical-ad-filter/`](docs/ethical-ad-filter/) | **Ethical ad filter** specs: taxonomy, ADR, evidence bundles, SusLink integration notes | | ||
| | [`schemas/`](schemas/) | JSON Schemas for policy artifacts and evidence bundles | | ||
| | [`reactSetup/`](reactSetup/) | **App prototype** — React, TypeScript, Vite, Tailwind (habit / impulse UI) | | ||
| | [`docs/ethical-ad-filter/`](docs/ethical-ad-filter/) | **Ethical ad filter** — taxonomy, ADR, evidence bundles, SusLink notes | | ||
| | [`schemas/`](schemas/) | JSON Schema for **policy packs** and **evidence exports** | | ||
| | [`examples/`](examples/) | Example policy JSON | | ||
| | [`planning/roadmap.md`](planning/roadmap.md) | High-level roadmap | | ||
| | [`docs/setup.md`](docs/setup.md) | Setup notes (to be expanded) | | ||
| | [`planning/roadmap.md`](planning/roadmap.md) | Roadmap notes | | ||
| | [`docs/setup.md`](docs/setup.md) | Dev setup (to be expanded) | | ||
|
|
||
| Policy and accountability design index: [`docs/ethical-ad-filter/README.md`](docs/ethical-ad-filter/README.md). | ||
| Design index for the filter work: [`docs/ethical-ad-filter/README.md`](docs/ethical-ad-filter/README.md). | ||
|
|
||
| --- | ||
|
|
||
| ## Core features (app) | ||
| ## App prototype (today) | ||
|
|
||
| The Vite app is **early-stage**: useful for demos and iteration; **data is mostly session-local** until persistence is wired up. | ||
|
|
||
| ### Habit tracking and pattern recognition | ||
| - **Spending / urge logging** with emotional context | ||
| - **Trigger tagging** (what was going on before a purchase or near-miss) | ||
| - **Cooldown timers** and quick actions when you feel pulled to spend | ||
| - **Insights-style views** for patterns (trends depend on what you log) | ||
|
|
||
| - **Impulse spending tracker** — log purchases with emotional context | ||
| - **Trigger identification** — what led to the purchase (emotions, situations, time) | ||
| - **Pattern analysis** — surface spending patterns and risk factors | ||
| - **Emotional state tracking** — mood, stress, energy around purchases | ||
| Roadmap items (not all built yet) are captured in [`planning/roadmap.md`](planning/roadmap.md)—treat marketing copy on the Pages site as **direction**, not a feature guarantee. | ||
|
|
||
| ### Real-time support | ||
| --- | ||
|
|
||
| - **Cooldown periods** — 5 / 10 / 15 minute pause when triggered | ||
| - **Quick actions** — fast paths for common scenarios | ||
| - **Mindful interventions** — breathing and reflection during cooldowns | ||
| ## Ethical ad filter (research & architecture) | ||
|
|
||
| ### Insights | ||
| Work in **`docs/ethical-ad-filter/`** and **`schemas/`** defines: | ||
|
|
||
| - **Personalized analytics** — trends and trigger patterns | ||
| - **Time-based insights** — higher-risk times of day | ||
| - **Success tracking** — log resisting impulses | ||
| - **Prevention strategies** — suggestions from your patterns | ||
| - A **v1 taxonomy** of high-harm ad categories and tiers (`block` / `blur` / `allow + log`) | ||
| - An **MVP direction** (browser / WebView + policy JSON) documented in the ADR | ||
| - **Evidence bundle** shape for optional accountability exports | ||
| - How **SusLink**-style URL risk could **merge** with policy (noncommercial / research-friendly; no clinical claims) | ||
|
|
||
| --- | ||
|
|
||
| ## Degen edition (positioning) | ||
|
|
||
| *Outsmart the urge. Protect the stack. Learn your patterns.* | ||
|
|
||
| A **behavioral awareness** angle for people who gamble: same philosophy as Mischief Manager (awareness, optional guardrails, user control)—applied to **avoiding rinse cycles** and tilt without telling people they “can’t play.” | ||
|
|
||
| **Highlights** | ||
|
|
||
| - Max bet awareness and soft, reflective warnings | ||
| - Optional auto-vault of a % of winnings (visible, user-controlled) | ||
| - Session tagging, tilt and “rinse” history, game-type trends | ||
| - Budget guardrails as **charts and reflection**, not locks | ||
| - Post-rinse optional prompts and trends—**opt-in** | ||
|
|
||
| This is not about restriction; it’s about **how** you play and building self-trust. | ||
| The same **awareness-first** idea can speak to people who gamble: optional guardrails, tilt and “rinse” reflection, and charts that **inform** rather than lock accounts. Nothing here replaces responsible gambling resources or platform rules—it’s a product direction, not a license to ignore harm. | ||
|
|
||
| --- | ||
|
|
||
| ## Ethical ad filter (product architecture) | ||
|
|
||
| Cross-cutting work on **user-controlled ad sensitivity**, **policy JSON**, **evidence exports**, and optional **SusLink** URL signals lives under `docs/ethical-ad-filter/` and `schemas/`. It complements the app’s mission (reducing harm from predatory or high-pressure ads) without inferring clinical diagnoses. | ||
|
|
||
| --- | ||
|
|
||
| ## Getting started (local dev) | ||
| ## Local development | ||
|
|
||
| ```bash | ||
| cd reactSetup | ||
| npm install | ||
| npm run dev | ||
| ``` | ||
|
|
||
| See [`docs/setup.md`](docs/setup.md) for environment notes. | ||
| Stack: **React**, **TypeScript**, **Tailwind**, **Vite**, **Lucide**. | ||
|
|
||
| ## Tech stack | ||
| --- | ||
|
|
||
| ## GitHub Pages | ||
|
|
||
| - **Frontend:** React, TypeScript | ||
| - **Styling:** Tailwind CSS | ||
| - **Icons:** Lucide React | ||
| - **Build:** Vite | ||
| The public landing page is built from the **`gh-pages`** branch (`index.html`, `style.css`). After you change those files, push **`gh-pages`** so [the site](https://tiltcheck-me.github.io/Mischief-Manager/) updates (usually within a minute or two). | ||
|
|
||
| **Note:** The prototype mainly uses **local state**; persistence is still evolving. | ||
| --- | ||
|
|
||
| ## License | ||
|
|
||
| See [`LICENSE`](LICENSE). | ||
| [PolyForm Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/) — noncommercial use and modification are allowed; **commercial** use needs permission from the copyright holder. See [`LICENSE`](LICENSE). |
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
Oops, something went wrong.
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.
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.
The text in the 'Regulatory' section is incorrect. The official PolyForm Noncommercial License 1.0.0 specifies that the software is subject to restrictions applying to 'non-commercial computer software', not 'public domain software'. This is a significant legal distinction that should be corrected to ensure the license is valid and accurate.