formatting of invariants file
This commit is contained in:
		@@ -2,19 +2,19 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
This file contains notes on invariants which must be upheld across running toru commands for the vault and configuration.
 | 
					This file contains notes on invariants which must be upheld across running toru commands for the vault and configuration.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# tasks::Task
 | 
					### tasks::Task
 | 
				
			||||||
- name cannot be purely numeric
 | 
					- name cannot be purely numeric
 | 
				
			||||||
- ID must be unique
 | 
					- ID must be unique
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# tasks::Duration
 | 
					### tasks::Duration
 | 
				
			||||||
- minutes should be less than 60
 | 
					- minutes should be less than 60
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# state::State (in state.toml)
 | 
					### state::State (in state.toml)
 | 
				
			||||||
- the `next_id` should always be greater than the ID of any task within the vault
 | 
					- the `next_id` should always be greater than the ID of any task within the vault
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# index::Index (in state.toml)
 | 
					### index::Index (in state.toml)
 | 
				
			||||||
- the index of name to ID map should be correct given the names and IDs of all vaults
 | 
					- the index of name to ID map should be correct given the names and IDs of all vaults
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# graph::Graph (in state.toml)
 | 
					### graph::Graph (in state.toml)
 | 
				
			||||||
- should always have dependencies the same as specified in each task file
 | 
					- should always have dependencies the same as specified in each task file
 | 
				
			||||||
- no circular dependencies should be allowed to exist between tasks (and by extension should not exist in the state file)
 | 
					- no circular dependencies should be allowed to exist between tasks (and by extension should not exist in the state file)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user