Skip to content

Marketing version 0.2.0 - #4

Merged
loudnate merged 1 commit into
devfrom
mvers
May 28, 2016
Merged

Marketing version 0.2.0#4
loudnate merged 1 commit into
devfrom
mvers

Conversation

@loudnate

Copy link
Copy Markdown
Collaborator

No description provided.

@loudnate
loudnate merged commit dd81f36 into devMay 28, 2016
@loudnate
loudnate deleted the mvers branch May 28, 2016 00:58
awaxa pushed a commit to awaxa/Loop that referenced this pull request Jul 26, 2017
channemann added a commit that referenced this pull request Sep 11, 2017
ps2 pushed a commit that referenced this pull request Dec 19, 2017
bharat referenced this pull request in bharat/Loop Jun 14, 2018
jeremybarnum pushed a commit to jeremybarnum/Loop that referenced this pull request Jun 29, 2018
…ion-restart
Integral retrospective correction restart
erikdi pushed a commit to erikdi/Loop that referenced this pull request Feb 10, 2019
ps2 pushed a commit that referenced this pull request Mar 20, 2019
* Move mock health data deletion to Loop
* Fix mock data deletion section logic
dthornley pushed a commit to dthornley/Loop that referenced this pull request Oct 9, 2019
…5f4d96a2bbeef7
parent a4568c4
author Cal Young <cyoung1024@gmail.com> 1565904731 +0200
committer David Thornley <david.thornley@darnt.com> 1570653504 +0200
# This is a combination of 6 commits.
# This is the 1st commit message:
Add Spike Client and change version
# This is the commit message LoopKit#2:
Add Spike as CGM source
# This is the commit message LoopKit#3:
Add Spike frameworks
# This is the commit message LoopKit#4:
Add Spike to LSApplicationQueriesSchemes
# This is the commit message LoopKit#5:
Update Cartfile.resolved
# This is the commit message LoopKit#6:
Add Spike Calibration guide
# This is the commit message LoopKit#11:
Fixed delay between Spike update and Loop update
dthornley added a commit to dthornley/Loop that referenced this pull request Nov 11, 2019
…Kit#4)
* Log what is being recommended.
* Fix typos
* Add a user configurable minimum bolus limit to allow the user to prevent the delivering of very small 0.05 unit boluses
* Update message and the display format of the values for minimum units to deliver
dthornley added a commit to dthornley/Loop that referenced this pull request Nov 11, 2019
…olus-dt
* ivalkou/dev-ivan: (33 commits)
Add ability to define a lower limit before performing the bolus (LoopKit#4)
Fix texts
Safe Mode refactored
nonlinear-carb-model
Revert "Carb Absorption Model UI"
Carb Absorption Model UI
Microboluses Safe Mode
Add 15 min control clucose chek
Fix MB without COM
Bump version
Microbolus screen (LoopKit#3)
build version changed
disable Microboluses if closed loop disabled
misprint fixed
little refactor
fix 0 bolus bug
spikeapp scheme supported
Fix version & skip bolus screen on Watch
rewrite loop()
Max Microbolus Size title
...
# Conflicts:
#	Cartfile
#	Loop.xcodeproj/project.pbxproj
#	Loop/Managers/CGMManager.swift
dthornley added a commit to dthornley/Loop that referenced this pull request Nov 14, 2019
…olus-dt
* ivalkou/dev-ivan: (37 commits)
MB with COB and without COB work independently
revert notification names
Cartfile.resolved
Notification names changed in LoopKit (LoopKit#1165)
Add ability to define a lower limit before performing the bolus (LoopKit#4)
Fix texts
Safe Mode refactored
nonlinear-carb-model
Revert "Carb Absorption Model UI"
Carb Absorption Model UI
Microboluses Safe Mode
Add 15 min control clucose chek
Fix MB without COM
Bump version
Microbolus screen (LoopKit#3)
build version changed
disable Microboluses if closed loop disabled
misprint fixed
little refactor
fix 0 bolus bug
...
# Conflicts:
#	Cartfile
#	Loop.xcodeproj/project.pbxproj
#	Loop/Managers/CGMManager.swift
dthornley added a commit to dthornley/Loop that referenced this pull request Dec 29, 2019
commit a11b593
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Dec 26 15:49:31 2019 +0300
Show last MB event in settings
commit 8773d77
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Dec 25 17:34:33 2019 +0300
Microbolus.Event
commit 519609c
Merge: 626630e62952ae
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 19:30:11 2019 +0300
Merge branch 'dev-ivan' into microboluses
# Conflicts:
#	Loop.xcconfig
#	Loop/Views/MicrobolusView.swift
#	LoopCore/Microbolus.swift
commit 62952ae
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 19:28:15 2019 +0300
Set default partial application rate to 0.3
commit 310ffac
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 19:13:17 2019 +0300
add 'Not Limited' option to max sizes of MB
commit 626630e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 13:53:43 2019 +0300
The view is divided into small parts.
commit 1ff5463
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 13:53:43 2019 +0300
The view is divided into small parts.
commit 3f688b1
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 13:23:53 2019 +0300
MicrobolusView refactored
commit 1a991ec
Merge: 74ef344a098d6a
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 13:26:18 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into dev-ivan
commit db44386
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 13:23:53 2019 +0300
MicrobolusView refactored
commit 491458d
Merge: 2abf5dba098d6a
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 12:55:02 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into microboluses
commit 2abf5db
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Dec 22 12:41:30 2019 +0300
Clear marketing version
commit b7d2c43
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Dec 22 12:35:13 2019 +0300
Clear signing
commit 74ef344
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 17:02:26 2019 +0300
bump version
commit 56bcbb5
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 16:59:50 2019 +0300
Partial bolus application UI setting
commit 641f83f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:55:03 2019 +0300
partialApplication parameter (default 0.5)
commit a40bfa6
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 16:59:50 2019 +0300
Partial bolus application UI setting
commit e79049b
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:55:03 2019 +0300
partialApplication parameter (default 0.5)
commit f238db4
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:29:47 2019 +0300
Override `hasFinished` check
commit 7a24458
Merge: 09a082d650ffd4
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:42:12 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into dev-ivan
# Conflicts:
#	Loop.xcconfig
commit f13327a
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:39:39 2019 +0300
Revert CURRENT_PROJECT_VERSION
commit 275923f
Merge: 07d63e1650ffd4
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:38:15 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into microboluses
commit 07d63e1
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:29:47 2019 +0300
Override `hasFinished` check
commit c9b97dd
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Dec 20 13:07:03 2019 +0300
Cleenup unused code
commit 9888b57
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Dec 20 12:59:18 2019 +0300
Remove Settings.bundle
commit 03a7f86
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Dec 20 12:57:49 2019 +0300
Remove NightscoutAPIClient
commit 86bff4e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Dec 20 12:50:15 2019 +0300
Revert "Current time line on charts (LoopKit#6)"
This reverts commit 10f581e.
commit 09a082d
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Dec 18 20:32:51 2019 +0300
Disabled pickers fixed
commit d4841ed
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Dec 18 18:39:49 2019 +0300
bump version
commit 8498438
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Dec 18 18:31:33 2019 +0300
adaptiveRateNonlinear switch in settings
commit d36f713
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Dec 18 17:51:17 2019 +0300
Fix binding and update UI
commit bbb0538
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Tue Dec 17 16:25:40 2019 +0300
busines logic and UI
commit 31974cb
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 14 18:33:32 2019 +0300
model and view
commit 0d28665
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 7 15:04:51 2019 +0300
bump version
commit 61308c8
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 7 14:00:55 2019 +0300
Remove UIApplication.protectedDataDidBecomeAvailableNotification
commit 82243de
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 7 13:55:49 2019 +0300
Cancel MB if already bolusing
commit 7fa7357
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 17:16:50 2019 +0300
Microbolus refactoring
commit f464c52
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 16:20:53 2019 +0300
NS Client updated
commit c2e028f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 15:54:02 2019 +0300
Do not open bolus screen after carbs changed
commit 381d957
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 15:45:50 2019 +0300
Limit MB if current glucose below target
commit dc8b19e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 15:30:06 2019 +0300
update version
commit 8d42217
Merge: 16edb41d2d9487
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 15:18:07 2019 +0300
Merge branch 'LoopKit-dev' into dev-ivan
# Conflicts:
#	Cartfile.resolved
commit d2d9487
Merge: a24eeb5ac31e0b
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 15:16:26 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into LoopKit-dev
commit 16edb41
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 17:10:31 2019 +0300
Bolus recommendation notice cancels a microbolus
commit bc10d13
Merge: 8cddb0022543b8
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 16:01:04 2019 +0300
Merge branch 'empty-settings-fix' into dev-ivan
# Conflicts:
#	Cartfile.resolved
commit 22543b8
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 16:00:02 2019 +0300
Fixed loss of settings after reboot.
commit 8cddb00
Merge: 10f581ee1bcfd4
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 15:36:48 2019 +0300
Merge branch 'current-time-lines' into dev-ivan
# Conflicts:
#	Cartfile.resolved
commit e1bcfd4
Author: Ivan <zloyfey@gmail.com>
Date: Sat Nov 23 14:57:05 2019 +0300
Current time line on charts (LoopKit#6)
commit a24eeb5
Merge: 430d9ab49412b6
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 15:29:38 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into LoopKit-dev
# Conflicts:
#	Cartfile.resolved
commit b0869d0
Merge: 430d9ab49412b6
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 15:28:48 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into LoopKit-dev
# Conflicts:
#	Cartfile.resolved
commit 10f581e
Author: Ivan <zloyfey@gmail.com>
Date: Sat Nov 23 14:57:05 2019 +0300
Current time line on charts (LoopKit#6)
commit 0c25618
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Nov 15 14:37:22 2019 +0300
Revert "revert notification names"
This reverts commit ad62a80.
commit f4b6aaa
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Nov 15 14:16:25 2019 +0300
update cartfile
commit 959fe30
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Nov 13 17:26:27 2019 +0300
MB with COB and without COB work independently
commit ad62a80
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Tue Nov 12 11:31:21 2019 +0300
revert notification names
commit c9ee230
Merge: 0194ea2430d9ab
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Tue Nov 12 11:23:57 2019 +0300
Merge branch 'dev' into dev-ivan
# Conflicts:
#	Cartfile.resolved
commit 0194ea2
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Tue Nov 12 11:22:48 2019 +0300
Cartfile.resolved
commit 430d9ab
Author: Pete Schwamb <pete@schwamb.net>
Date: Thu Nov 7 00:26:24 2019 -0600
Notification names changed in LoopKit (LoopKit#1165)
* Notification names changed in LoopKit
* Bump carthage revs
commit abed78f
Author: David Thornley <david.thornley@darnt.com>
Date: Mon Nov 11 11:26:27 2019 +0100
Add ability to define a lower limit before performing the bolus (LoopKit#4)
* Log what is being recommended.
* Fix typos
* Add a user configurable minimum bolus limit to allow the user to prevent the delivering of very small 0.05 unit boluses
* Update message and the display format of the values for minimum units to deliver
commit 2a2b02e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 9 15:01:21 2019 +0300
Fix texts
commit 1fb94ef
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Nov 7 19:50:39 2019 +0300
Safe Mode refactored
commit 06021b8
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Nov 7 16:16:32 2019 +0300
nonlinear-carb-model
commit e755e1c
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Wed Nov 6 22:47:13 2019 +0300
Revert "Carb Absorption Model UI"
This reverts commit 1a94f7f.
commit 1a94f7f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Nov 6 20:56:34 2019 +0300
Carb Absorption Model UI
commit ca202c8
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Sun Nov 3 01:31:10 2019 +0300
Microboluses Safe Mode
commit f646063
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Sat Nov 2 13:20:46 2019 +0300
Add 15 min control clucose chek
commit 785a909
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Sat Nov 2 11:05:20 2019 +0300
Fix MB without COM
commit 7ee1917
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Nov 1 21:41:17 2019 +0300
Bump version
commit a4ebeb1
Author: Ivan <zloyfey@gmail.com>
Date: Fri Nov 1 21:37:48 2019 +0300
Microbolus screen (LoopKit#3)
* draft UI
* New Microboluses Screen
commit 9fdd8c2
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Oct 31 11:56:03 2019 +0300
build version changed
commit 5e158aa
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Oct 30 17:59:49 2019 +0300
disable Microboluses if closed loop disabled
commit 13db3d2
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Tue Oct 29 21:18:09 2019 +0300
misprint fixed
commit 2d843b6
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Oct 28 18:07:45 2019 +0300
little refactor
commit f7047f3
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Oct 28 16:51:35 2019 +0300
fix 0 bolus bug
commit 3d17aa2
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Oct 28 12:11:35 2019 +0300
spikeapp scheme supported
commit c621ec1
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Oct 27 16:47:27 2019 +0300
Fix version & skip bolus screen on Watch
commit b7b1374
Merge: 5f9df7891a834f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Oct 27 15:10:18 2019 +0300
Merge branch 'dev' into dev-ivan
commit 91a834f
Merge: fa494fe3aa8e6e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Oct 27 15:09:21 2019 +0300
Merge branch 'LoopKit-dev' into dev
commit 3aa8e6e
Merge: fa494fe9407f8c
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Oct 27 15:08:56 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into LoopKit-dev
# Conflicts:
#	Cartfile.resolved
commit 5f9df78
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Oct 25 16:40:06 2019 +0300
rewrite loop()
commit 82fc9b6
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Oct 25 11:47:19 2019 +0300
Max Microbolus Size title
commit 2deafd3
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Thu Oct 24 22:14:06 2019 +0300
Microbolus refactoring
commit 4205e97
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Oct 24 19:48:19 2019 +0300
do not show bolus screen if microboluses is enabled
commit e40731e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Oct 24 18:58:03 2019 +0300
Fix explanation of MB
commit c3f0cb8
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Oct 24 18:51:38 2019 +0300
Microboluses in settings
commit 56f151f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Oct 24 13:37:58 2019 +0300
Micro Boluses!
commit 6190e2d
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Oct 23 20:07:12 2019 +0300
NSAllowsArbitraryLoads
commit d349c8f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Oct 23 16:38:16 2019 +0300
Cartfile update
commit 43e4d8c
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Oct 23 16:36:03 2019 +0300
NightscoutAPIClient added
commit fa494fe
Author: Pete Schwamb <pete@schwamb.net>
Date: Sun Oct 13 11:00:22 2019 -0500
Remote overrides (LoopKit#1131)
* Allow overrides to be enabled via APNs
* Update to NS sent notifications
* Cleanup prints
* Query override history for NS upload
* Bump submodule revs
* Handle indefinite duration override treatment uploads
* Use separate representation for indefinite duration treatments
* Bump cartfile rev
* Send any override changes when uploading loop status
* Bump carthage revisions
* Bump carthage revision
* Fix typo, and log device token
* Carthage dependency revisions
commit d653500
Author: Pete Schwamb <pete@schwamb.net>
Date: Sun Oct 13 09:28:16 2019 -0500
New strategy for asset overrides. Fixes popup warnings (LoopKit#1145)
* New strategy for asset overrides. Fixes popup warnings
* Add DefaultAssets.xcassets back to WatchApp target
commit af99248
Author: Pete Schwamb <pete@schwamb.net>
Date: Sun Oct 13 08:58:10 2019 -0500
Fix issue with PumpManager ble update coming in right after cgm update arrives (LoopKit#1096)
commit 255a7de
Author: katie disimone <kdisimone@mac.com>
Date: Sun Oct 13 06:53:42 2019 -0700
display - for HUD CGM when value is >15 min old (LoopKit#1140)
commit 2c948ec
Author: katie disimone <kdisimone@mac.com>
Date: Sun Oct 13 06:42:28 2019 -0700
hide the saved API secret by default in NS services display (LoopKit#1142)
dthornley added a commit to dthornley/Loop that referenced this pull request Jan 2, 2020
commit a11b593
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Dec 26 15:49:31 2019 +0300
Show last MB event in settings
commit 8773d77
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Dec 25 17:34:33 2019 +0300
Microbolus.Event
commit 519609c
Merge: 626630e62952ae
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 19:30:11 2019 +0300
Merge branch 'dev-ivan' into microboluses
# Conflicts:
#	Loop.xcconfig
#	Loop/Views/MicrobolusView.swift
#	LoopCore/Microbolus.swift
commit 62952ae
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 19:28:15 2019 +0300
Set default partial application rate to 0.3
commit 310ffac
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 19:13:17 2019 +0300
add 'Not Limited' option to max sizes of MB
commit 626630e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 13:53:43 2019 +0300
The view is divided into small parts.
commit 1ff5463
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 13:53:43 2019 +0300
The view is divided into small parts.
commit 3f688b1
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 13:23:53 2019 +0300
MicrobolusView refactored
commit 1a991ec
Merge: 74ef344a098d6a
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 13:26:18 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into dev-ivan
commit db44386
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 13:23:53 2019 +0300
MicrobolusView refactored
commit 491458d
Merge: 2abf5dba098d6a
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Dec 23 12:55:02 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into microboluses
commit 2abf5db
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Dec 22 12:41:30 2019 +0300
Clear marketing version
commit b7d2c43
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Dec 22 12:35:13 2019 +0300
Clear signing
commit 74ef344
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 17:02:26 2019 +0300
bump version
commit 56bcbb5
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 16:59:50 2019 +0300
Partial bolus application UI setting
commit 641f83f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:55:03 2019 +0300
partialApplication parameter (default 0.5)
commit a40bfa6
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 16:59:50 2019 +0300
Partial bolus application UI setting
commit e79049b
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:55:03 2019 +0300
partialApplication parameter (default 0.5)
commit f238db4
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:29:47 2019 +0300
Override `hasFinished` check
commit 7a24458
Merge: 09a082d650ffd4
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:42:12 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into dev-ivan
# Conflicts:
#	Loop.xcconfig
commit f13327a
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:39:39 2019 +0300
Revert CURRENT_PROJECT_VERSION
commit 275923f
Merge: 07d63e1650ffd4
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:38:15 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into microboluses
commit 07d63e1
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 21 15:29:47 2019 +0300
Override `hasFinished` check
commit c9b97dd
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Dec 20 13:07:03 2019 +0300
Cleenup unused code
commit 9888b57
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Dec 20 12:59:18 2019 +0300
Remove Settings.bundle
commit 03a7f86
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Dec 20 12:57:49 2019 +0300
Remove NightscoutAPIClient
commit 86bff4e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Dec 20 12:50:15 2019 +0300
Revert "Current time line on charts (LoopKit#6)"
This reverts commit 10f581e.
commit 09a082d
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Dec 18 20:32:51 2019 +0300
Disabled pickers fixed
commit d4841ed
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Dec 18 18:39:49 2019 +0300
bump version
commit 8498438
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Dec 18 18:31:33 2019 +0300
adaptiveRateNonlinear switch in settings
commit d36f713
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Dec 18 17:51:17 2019 +0300
Fix binding and update UI
commit bbb0538
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Tue Dec 17 16:25:40 2019 +0300
busines logic and UI
commit 31974cb
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 14 18:33:32 2019 +0300
model and view
commit 0d28665
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 7 15:04:51 2019 +0300
bump version
commit 61308c8
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 7 14:00:55 2019 +0300
Remove UIApplication.protectedDataDidBecomeAvailableNotification
commit 82243de
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Dec 7 13:55:49 2019 +0300
Cancel MB if already bolusing
commit 7fa7357
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 17:16:50 2019 +0300
Microbolus refactoring
commit f464c52
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 16:20:53 2019 +0300
NS Client updated
commit c2e028f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 15:54:02 2019 +0300
Do not open bolus screen after carbs changed
commit 381d957
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 15:45:50 2019 +0300
Limit MB if current glucose below target
commit dc8b19e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 15:30:06 2019 +0300
update version
commit 8d42217
Merge: 16edb41d2d9487
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 15:18:07 2019 +0300
Merge branch 'LoopKit-dev' into dev-ivan
# Conflicts:
#	Cartfile.resolved
commit d2d9487
Merge: a24eeb5ac31e0b
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 30 15:16:26 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into LoopKit-dev
commit 16edb41
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 17:10:31 2019 +0300
Bolus recommendation notice cancels a microbolus
commit bc10d13
Merge: 8cddb0022543b8
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 16:01:04 2019 +0300
Merge branch 'empty-settings-fix' into dev-ivan
# Conflicts:
#	Cartfile.resolved
commit 22543b8
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 16:00:02 2019 +0300
Fixed loss of settings after reboot.
commit 8cddb00
Merge: 10f581ee1bcfd4
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 15:36:48 2019 +0300
Merge branch 'current-time-lines' into dev-ivan
# Conflicts:
#	Cartfile.resolved
commit e1bcfd4
Author: Ivan <zloyfey@gmail.com>
Date: Sat Nov 23 14:57:05 2019 +0300
Current time line on charts (LoopKit#6)
commit a24eeb5
Merge: 430d9ab49412b6
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 15:29:38 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into LoopKit-dev
# Conflicts:
#	Cartfile.resolved
commit b0869d0
Merge: 430d9ab49412b6
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 23 15:28:48 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into LoopKit-dev
# Conflicts:
#	Cartfile.resolved
commit 10f581e
Author: Ivan <zloyfey@gmail.com>
Date: Sat Nov 23 14:57:05 2019 +0300
Current time line on charts (LoopKit#6)
commit 0c25618
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Nov 15 14:37:22 2019 +0300
Revert "revert notification names"
This reverts commit ad62a80.
commit f4b6aaa
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Nov 15 14:16:25 2019 +0300
update cartfile
commit 959fe30
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Nov 13 17:26:27 2019 +0300
MB with COB and without COB work independently
commit ad62a80
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Tue Nov 12 11:31:21 2019 +0300
revert notification names
commit c9ee230
Merge: 0194ea2430d9ab
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Tue Nov 12 11:23:57 2019 +0300
Merge branch 'dev' into dev-ivan
# Conflicts:
#	Cartfile.resolved
commit 0194ea2
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Tue Nov 12 11:22:48 2019 +0300
Cartfile.resolved
commit 430d9ab
Author: Pete Schwamb <pete@schwamb.net>
Date: Thu Nov 7 00:26:24 2019 -0600
Notification names changed in LoopKit (LoopKit#1165)
* Notification names changed in LoopKit
* Bump carthage revs
commit abed78f
Author: David Thornley <david.thornley@darnt.com>
Date: Mon Nov 11 11:26:27 2019 +0100
Add ability to define a lower limit before performing the bolus (LoopKit#4)
* Log what is being recommended.
* Fix typos
* Add a user configurable minimum bolus limit to allow the user to prevent the delivering of very small 0.05 unit boluses
* Update message and the display format of the values for minimum units to deliver
commit 2a2b02e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sat Nov 9 15:01:21 2019 +0300
Fix texts
commit 1fb94ef
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Nov 7 19:50:39 2019 +0300
Safe Mode refactored
commit 06021b8
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Nov 7 16:16:32 2019 +0300
nonlinear-carb-model
commit e755e1c
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Wed Nov 6 22:47:13 2019 +0300
Revert "Carb Absorption Model UI"
This reverts commit 1a94f7f.
commit 1a94f7f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Nov 6 20:56:34 2019 +0300
Carb Absorption Model UI
commit ca202c8
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Sun Nov 3 01:31:10 2019 +0300
Microboluses Safe Mode
commit f646063
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Sat Nov 2 13:20:46 2019 +0300
Add 15 min control clucose chek
commit 785a909
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Sat Nov 2 11:05:20 2019 +0300
Fix MB without COM
commit 7ee1917
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Nov 1 21:41:17 2019 +0300
Bump version
commit a4ebeb1
Author: Ivan <zloyfey@gmail.com>
Date: Fri Nov 1 21:37:48 2019 +0300
Microbolus screen (LoopKit#3)
* draft UI
* New Microboluses Screen
commit 9fdd8c2
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Oct 31 11:56:03 2019 +0300
build version changed
commit 5e158aa
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Oct 30 17:59:49 2019 +0300
disable Microboluses if closed loop disabled
commit 13db3d2
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Tue Oct 29 21:18:09 2019 +0300
misprint fixed
commit 2d843b6
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Oct 28 18:07:45 2019 +0300
little refactor
commit f7047f3
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Oct 28 16:51:35 2019 +0300
fix 0 bolus bug
commit 3d17aa2
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Mon Oct 28 12:11:35 2019 +0300
spikeapp scheme supported
commit c621ec1
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Oct 27 16:47:27 2019 +0300
Fix version & skip bolus screen on Watch
commit b7b1374
Merge: 5f9df7891a834f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Oct 27 15:10:18 2019 +0300
Merge branch 'dev' into dev-ivan
commit 91a834f
Merge: fa494fe3aa8e6e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Oct 27 15:09:21 2019 +0300
Merge branch 'LoopKit-dev' into dev
commit 3aa8e6e
Merge: fa494fe9407f8c
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Sun Oct 27 15:08:56 2019 +0300
Merge branch 'dev' of https://github.com/LoopKit/Loop into LoopKit-dev
# Conflicts:
#	Cartfile.resolved
commit 5f9df78
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Oct 25 16:40:06 2019 +0300
rewrite loop()
commit 82fc9b6
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Fri Oct 25 11:47:19 2019 +0300
Max Microbolus Size title
commit 2deafd3
Author: Ivan Valkou <ivalkou@gmail.com>
Date: Thu Oct 24 22:14:06 2019 +0300
Microbolus refactoring
commit 4205e97
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Oct 24 19:48:19 2019 +0300
do not show bolus screen if microboluses is enabled
commit e40731e
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Oct 24 18:58:03 2019 +0300
Fix explanation of MB
commit c3f0cb8
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Oct 24 18:51:38 2019 +0300
Microboluses in settings
commit 56f151f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Thu Oct 24 13:37:58 2019 +0300
Micro Boluses!
commit 6190e2d
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Oct 23 20:07:12 2019 +0300
NSAllowsArbitraryLoads
commit d349c8f
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Oct 23 16:38:16 2019 +0300
Cartfile update
commit 43e4d8c
Author: Ivan Valkou <zloyfey@gmail.com>
Date: Wed Oct 23 16:36:03 2019 +0300
NightscoutAPIClient added
commit fa494fe
Author: Pete Schwamb <pete@schwamb.net>
Date: Sun Oct 13 11:00:22 2019 -0500
Remote overrides (LoopKit#1131)
* Allow overrides to be enabled via APNs
* Update to NS sent notifications
* Cleanup prints
* Query override history for NS upload
* Bump submodule revs
* Handle indefinite duration override treatment uploads
* Use separate representation for indefinite duration treatments
* Bump cartfile rev
* Send any override changes when uploading loop status
* Bump carthage revisions
* Bump carthage revision
* Fix typo, and log device token
* Carthage dependency revisions
commit d653500
Author: Pete Schwamb <pete@schwamb.net>
Date: Sun Oct 13 09:28:16 2019 -0500
New strategy for asset overrides. Fixes popup warnings (LoopKit#1145)
* New strategy for asset overrides. Fixes popup warnings
* Add DefaultAssets.xcassets back to WatchApp target
commit af99248
Author: Pete Schwamb <pete@schwamb.net>
Date: Sun Oct 13 08:58:10 2019 -0500
Fix issue with PumpManager ble update coming in right after cgm update arrives (LoopKit#1096)
commit 255a7de
Author: katie disimone <kdisimone@mac.com>
Date: Sun Oct 13 06:53:42 2019 -0700
display - for HUD CGM when value is >15 min old (LoopKit#1140)
commit 2c948ec
Author: katie disimone <kdisimone@mac.com>
Date: Sun Oct 13 06:42:28 2019 -0700
hide the saved API secret by default in NS services display (LoopKit#1142)
dthornley pushed a commit to dthornley/Loop that referenced this pull request Jul 27, 2020
[dev] Open loop if there is a jump > 50mg/dl between 2 consecutive readings
ardillen pushed a commit to ardillen/Loop that referenced this pull request Oct 21, 2020
Merge upstream/automatic-bolus into automatic-bolus
jeremybarnum pushed a commit to jeremybarnum/Loop that referenced this pull request May 12, 2022
Add Lyumjev insulin model: Delay 5 min - Peak 62 min - DIA 5 hours
jasoncalabrese pushed a commit to jasoncalabrese/Loop that referenced this pull request Sep 10, 2022
Override feature flags, bundle id, and app name
jasoncalabrese pushed a commit to jasoncalabrese/Loop that referenced this pull request Sep 10, 2022
ps2 pushed a commit that referenced this pull request Feb 20, 2023
* Add unannounced meal func to CarbStoreProtocol
* V1 of UAM algo
* Add debug logs
* Handle unannounced meal notification & open up controller
* Add mealstart to notification userinfo
* Improve notification description
* Add direct entry to carb flow from notification on watch
* Add auto-setting of carb entry on watch
* carbThreshold -> mealCarbThreshold
* Retract UAM notifications after the carbs have expired
* Improve function naming
* Move notification logic from LoopKit to Loop
* Make current date configurable
* Make current date configurable during unit testing
* Update status enum naming for point-of-use clarity
* Make 'now' time configurable
* Extract loop data manager testing logic into base class
* Extract loop data manager dosing tests into their own file
* Add unannounced meal tests
* Fix concurrency issue
* Pull UAM constants into separate struct
* Fix notifications not being retracted after their expiration date
* Expire using start of meal instead of current time
* Add unannounced meal notifications permission
* Add AlertPermissionsViewModel
* Remove unneeded `AnyView`s
* Removed unused completion block
* Use the counteraction effects passed into the function
* Schedule missed meal notifications to avoid notification during an microbolus (#3)
* Delay missed meal notification if possible to avoid delivering it during an autobolus
* Add tests for notification delay
* Update `estimatedDuration` function headers in response to PR feedback
* Add UAM banner to carb entry screen (#5)
* Add warning banner to remind the user to edit the meal estimate
* Update warning text
* UAM algo updates: only use directly observed carb absorption (#6)
* Add ability to calculate the number of carbs in a missed meal (#4)
* Plumb a customizable carb amount through UAM notification architecture
* Fix merge conflict
* Update tests for changes from the merge
* Make UAM notifications unit testable
* Add carb autofill clamping based on the user's carb threshold & max bolus
* Update target order to group extensions together
* Improve issue report description
* Create `MealDetectionManager` from old UAM functions in `CarbStore`
* Move notification logic into `MealDetectionManager`
* Updates based on feedback for UAM PR (#7)
* Create `MealDetectionManager` from old UAM functions in `CarbStore`
* Move notification logic into `MealDetectionManager`
* Move UAM test fixtures from LoopKit to Loop
* Remove old TODO
* Revert change to Loop signing team
* Fix merge issues
* Make tests runnable
* Lower meal carb threshold to 15 g to reduce false-negatives
* Fix carb entry controller merge issues
* Unannounced meal / UAM -> missed meal
* UAM test fixture -> missed meal test fixture
* Variable naming improvements
* Remove `AlertPermissionsViewModel`
* Move call to check for missed meals to `loop()`-level
* Remove `CarbStore` dependency from `MealDetectionManager`
These changes also remove the requirement that there be no carbs entered after the missed meal was detected - since we're now observing direct absorption, I didn't think this requirement made sense anymore
* Reduce `minRecency` required to detect a meal
* Update counteraction effect math in `MealDetectionManager` to skew towards an earlier meal time instead of a later one
* Fix conflict + move missed meal toggle 1 level higher
bjorkert referenced this pull request in loopandlearn/Loop Jun 14, 2023
taylorpatterson-T1D referenced this pull request in LoopPowerPack/Loop Apr 29, 2026
Additional safeguards addressing Street (2026) findings that LLMs cannot
distinguish "I have evidence" from "I should generate something plausible":
1. Stronger refusal mandate in system prompt: Model MUST return empty
suggestions when data is insufficient to validate a setting. Explicitly
forbids echoing current values with medium/high confidence when no
supporting data pattern exists.
2. Explicit AID system context in user prompt: States "Loop (oref-based)"
with DIA prominently positioned and marked as DO NOT CHANGE. Prevents
catastrophic DIA collapse to 4-5h textbook values (Street 2026 found
100% of models defaulted to textbook DIA without this context).
3. Contradiction detection (validation pass #4): Scans reasoning for
admissions like "cannot be derived", "insufficient data", "no meal data"
while confidence is medium/high. If found, suppresses the suggestion
entirely — the model was filling gaps with training priors.
All changes in LoopInsights_AIAnalysis.swift (system prompt, user prompt,
and parseResponse validation layer).
Reference: Street T. "Frontier LLMs require explicit clinical context to
avoid training-data anchoring for insulin pump settings." April 2026.
https://www.diabettech.com/wp-content/uploads/2026/04/diabettech_preprint-3.pdf
threecee pushed a commit to threecee/Loop that referenced this pull request May 2, 2026
Four fixes from code review of 38102e1:
CRITICAL — Add gate 5: pumpManager.status.deliveryIsUncertain. iOS
DeviceDataManager.swift:1416 has this guard to prevent firing a dose on
top of an in-flight unconfirmed dose (e.g., last command's ack was lost
or BLE reconnect happened mid-bolus). The watch driver was missing it,
which meant we could double-dose under transient pump comms failures.
The new gate is the ONE suppression path that does NOT call
completion(nil). delivery-uncertain is transient; we WANT the algorithm
to retry next tick when pump state may have settled. Returns
LoopError.connectionError so LoopAlgorithmRunner does NOT clear its
cached recommendation — it'll come back next tick. Function header
comment updated to acknowledge gate 5's exception to the
"completion(nil) is load-bearing" rule.
IMPORTANT — RecordingPumpManager: change static var → static let on
constants (pluginIdentifier + onboarding* properties). Mutation across
tests would silently couple them. With static let, the compiler enforces
immutability.
IMPORTANT — makeSuppressedDecision now sets decision.controllerStatus
from the controllerStatusAdapter (held as new instance property). Per
Phase 1 discovery point LoopKit#4: suppression decisions should have the same
battery / charging context as non-suppressed ones (analytic parity).
IMPORTANT — TODO comment in enactRecommendedDose pointing at iOS's
crashRecoveryManager.dosingStarted/Finished bracketing
(DeviceDataManager.swift:1423). Watch has no equivalent; partial
mitigation via OmniBLEPumpManager's own dose history. Future B.7 phase
should add a proper crash-recovery layer.
7th unit test added: testDidRecommend_deliveryIsUncertain_returnsError-
AndDoesNotEnact. Verifies the new gate returns a retryable error
(non-nil) AND doesn't record a suppressed decision (the retry semantic
is "try again next tick" not "this dose is suppressed").
threecee-claude
threecee pushed a commit to threecee/Loop that referenced this pull request May 2, 2026
… bump (B.5 LoopKit#4 + LoopKit#5 carryover)
Two fixes uncovered by Phase 6 broader test verification:
LoopKit#4 carryover — HandoffStatePersistence test pollution. Phase 2C added
HandoffStateMachine.state.didSet -> HandoffStatePersistence.save via
App Group UserDefaults. Fixed pollution in OmniBLETests by threading
isolated UUID-suffixed UserDefaults through each direct state-machine
construction. The same fix is needed on the Loop side: HandoffOrchestratorTests
+ SettingsSyncEmissionTests construct state machines directly (3 sites
total) and thus shared the real App Group UserDefaults — first test that
advanced state polluted every subsequent test in the run.
LoopKit#5 carryover — Phase 2B bumped PhoneWatchProtocol.currentVersion 2 -> 3.
Updated OmniBLE-side PhoneWatchMessageTests but missed
SettingsSyncEmissionTests::testEmitSettingsSyncIncludesAutomaticDosingFlags
which had a hard-coded assertion XCTAssertEqual(received.protocolVersion, 2).
Replaced with PhoneWatchProtocol.currentVersion for forward-compat.
threecee-claude
threecee pushed a commit to threecee/Loop that referenced this pull request May 2, 2026
…Kit#4 carryover)
Same fix as commit 7242b95 (iOS-side HandoffOrchestratorTests +
SettingsSyncEmissionTests), now applied to the watch-side
HandoffOrchestratorTests in WatchApp ExtensionTests.
Phase 2C added HandoffStateMachine.state.didSet ->
HandoffStatePersistence.save via App Group UserDefaults. The watch-side
HandoffOrchestratorTests construct HandoffStateMachine directly at 2
sites (setUp + dismissRecovering test) without isolated defaults, so
they shared the real App Group UserDefaults — first test that advanced
state polluted every subsequent test in the run. Phase 3 noted these
4 failures (testInitialStateIsPhoneDriver,
testDismissRecoveringReturnsToLastKnownOwner,
testUserRequestHandoffToWatchTransitionsState,
test_notifyUI_marksCurrentOwnerOnTransitionToWatchDriver) as
"pre-existing" but they share the same root cause.
Threaded appGroupDefaults: isolatedDefaults() into both direct
HandoffStateMachine constructions, added the per-test UUID-suffixed
suite helper, and added tearDown cleanup via removePersistentDomain
to keep ~/Library/Preferences tidy. Mirrors the exact pattern used
in OmniBLETests/HandoffStateMachineTests.swift and the iOS-side
HandoffOrchestratorTests.swift.
threecee-claude
threecee pushed a commit to threecee/Loop that referenced this pull request May 4, 2026
Per /simplify efficiency LoopKit#1. The engine's coarsest threshold check is
60s (heartbeat absence). The previous 1Hz cadence was 60x over-sampling,
burning watch battery continuously through every active session. New
5s cadence is 12x the threshold — well within responsiveness budget.
Lockstep change across the iOS + watch HandoffPolicyEngine pair (the
/simplify reuse LoopKit#4 follow-up to lift these to OmniBLE/Common is
deferred to B.10). All 22 existing HandoffPolicyEngineTests (11 iOS +
11 watchOS) pass unchanged — they rely on the engine's start()
running evaluateNow() before the first sleep, so the immediate eval
fires regardless of tick rate.
threecee-claude
jeremybarnum pushed a commit to jeremybarnum/Loop that referenced this pull request Jul 16, 2026
…asal — maxTempBasalRate computed from settings, pod proof limit set to match before each temp (no more TEMP-TEST-CAP 3.0, no revert chore, no display/enact mismatch). (LoopKit#4) IOB clamp now EXACT phone parity: min(rate, (maxBolus*2 - IOB)*2 + scheduledBasal) floored at 0, matching DoseMath additionalActiveInsulinClamp — replaces the cruder hold-at-schedule
jeremybarnum pushed a commit to jeremybarnum/Loop that referenced this pull request Jul 17, 2026
…ain journaling
Three criticals, one root cause: the journal (sole IOB source on the watch,
sole reconcile source on the phone) was written only AFTER a command's BLE
round trip confirmed.
C10 - pending-command slot: journaling() now persists a PodLoanPendingCommand
before transmission (wrapper creation is synchronous on main at command
start) and every completion path resolves it. An orphan found at recovery
(app died mid-command) is folded into the active journal by
PodLoanJournalStore.foldPendingIntoActiveJournal(), called from
recoverableData() (reachable only in .idle/.done - no command in flight) and
orphanActiveJournal() (takeover displacement).
C1 - uncertain (unacknowledged) outcomes now journal under an explicit
MAXIMUM-INSULIN-EXPOSURE rule instead of the bolus-only special case: record
the command as applied ONLY when "applied" models MORE insulin than "not
applied". bolus/resume always record; tempBasal records iff above the
scheduled rate (coordinator now pushes currentScheduledBasalRate via
applyControllerPrefs; unknown schedule falls back to rate > 0);
cancelTempBasal records iff it cancels a below-schedule temp (zero-temp
cancel = schedule resumes). The old premise ("a temp is a reduction") was
correct ONLY for reductions - those still deliberately stay unrecorded so
the journal keeps modeling the higher insulin state.
C2 - setTempBasal's internal safe-cancel sets plumbingCancelCommitted (main,
enqueued before the completion); if the follow-on set then fails certainly,
journaling() records .cancelTempBasal so the journal stops modeling a temp
the pod is no longer running; on an uncertain set the true cancel->temp
sequence is recorded.
Tests: 5 new PodLoanJournalPersistenceTests pin the fold rules (bolus folds,
zero-temp does not, positive temp does, cancel folds only over a zero-temp,
takeover displacement folds before orphaning). Full PodSDK suite green.
Approved by Jeremy (fix batch LoopKit#4, max-exposure approach). watchOS build verified.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
jeremybarnum pushed a commit to jeremybarnum/Loop that referenced this pull request Jul 17, 2026
…niature
New WatchApp Extension/StockLoop/ (app code, no PODLOAN needed):
- WatchLoopManager.swift (801 lines): mirrors the phone's stock policy paths
method-for-method, cited inline — loop()/update(for:) effect refresh over
the same GlucoseStore/CarbStore/DoseStore entry points, recency gating via
LoopCoreConstants.inputDataRecencyInterval/futureGlucoseDataInterval,
retrospective correction, LoopMath.predictGlucose, and recommendation via
DoseMath.recommendedTempBasal with additionalActiveInsulinClamp
(= maxBolus×2 − IOB) passed INSIDE the call — never post-hoc. Manual bolus
via the recency-validated path, no fabricated glucose placeholder.
WatchDoseEnactor mirrors DoseEnactor over stock PumpManager methods.
The enact seam is typed against the stock PumpManager protocol (the M2
OmniPumpManager) but UNCONNECTED: pumpManager stays nil, and a nil seam
yields an explicit error, never a silent success. Missing settings deny
dosing — no fabricated defaults. Four TODO(M5-ruling) markers where the
work ends at owner-reserved dosing-semantics decisions (LoopKit#1, LoopKit#2, LoopKit#4).
- StockLoopStack.swift (125 lines): the single assembly point — constructs
stores + the M3 CGM stack and wires G7CGMManager.cgmManagerDelegate →
WatchLoopManager → GlucoseStore → loop(). UNINVOKED in M4: construction +
compile proof, no behavior change to the stock watch app.
Scaffolding retired (purpose absorbed):
- StoreBringup.swift (M1) deleted — store construction lives verbatim in
StockLoopStack.makeStores(), caveats carried along.
- G7TransportBringup (M3) deleted from G7ClientTransportAdapter.swift —
assemble() builds the same stack and adds the delegate wiring.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
jeremybarnum pushed a commit to jeremybarnum/Loop that referenced this pull request Jul 24, 2026
… critical/high)
Two fixes from the 2026-07-20 radio-stack audit, both field-corroborated by
the epoch-27 event (a TestFlight update froze the takeover ladder for 23 min):
1. CRITICAL — attemptTakeoverRead re-checks grant.expiresAt every iteration and
aborts BEFORE honoring a successful read. The lease was validated once at
intake; a ladder suspended mid-flight can drain long past the ~5-min lease,
and flipping .active on an expired grant while the phone has T1-reclaimed
puts two controllers on one pod. Expiry now outranks a good status.
2. HIGH (OBS-1) — a start (requested/takingOver) interrupted by kill/replace no
longer resets silently: init stashes the epoch and drainRecoveredIfNeeded
sends takeoverFailed once send is wired, so the phone leaves .grantOffered
instead of stranding, and the user gets a legible idle note. Also: a relaunch
during .active (or an in-flight drain) with an empty journal now routes to a
recovered drain + Session Ended alert instead of silent abandonment (audit LoopKit#4).
Phone handlers already gate on .grantOffered/.loaned and no-op if it auto-
reclaimed, so both messages unstick without double-acting. 21/21 protocol tests
green. Full audit triage added as docs/RADIO_STACK_AUDIT.md.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@loudnate