Employment contract is a contract and usually it's fixed hours per workday for a salary. So basically you as employee swap X hours per Y amount of money.

If one of the parties is in breach of that contract it's normal it to be dissolved. If you don't want to work, you don't need to sign that contract.

The really moral part of free market economy is that both parties are voluntary entering a contract. You as a person sell your skilled time, the company buys your skilled time. If you have super unique skills, like Andrej Karpathy you sell something on the market that is very valuable and you have the upper hand. If you know "Microsoft Excel" I'd bet there are many people (or AI agents) that will do the same and what you're selling can be bought in many places (and time zones).

Basic microeconomics... In a free market you need to do something for the others to have something for you. And if it's not useful, they won't pay you for that.

Salaried positions are explicitly not selling time. Whether I work 2 or 12 hours the compensation is the same. The only reason these contracts make sense is the unstated agreement that my employer won’t abuse the contractual power they theoretically have. And what’s the alternative? Signing bad contracts and leaving when things go to shit is probably 10x better for my career than pretending that I have agency in contract negotiations

All the jobs I had in was contractually required to work from X to Y at a place Z. So my experience is that is indeed a selling skilled time.

The ones you describe where there is a contract for output, usually with external contractors not full-time employees.

And you indeed have agency, especially if you provide something hard to find or you're the sole provider for this company of that service and the switching cost is high. Basic microeconomics...